SYMBOL INDEX (2614 symbols across 265 files) FILE: base/hatomic.h type atomic_bool (line 32) | typedef volatile bool atomic_bool; type atomic_char (line 33) | typedef volatile char atomic_char; type atomic_uchar (line 34) | typedef volatile unsigned char atomic_uchar; type atomic_short (line 35) | typedef volatile short atomic_short; type atomic_ushort (line 36) | typedef volatile unsigned short atomic_ushort; type atomic_int (line 37) | typedef volatile int atomic_int; type atomic_uint (line 38) | typedef volatile unsigned int atomic_uint; type atomic_long (line 39) | typedef volatile long atomic_long; type atomic_ulong (line 40) | typedef volatile unsigned long atomic_ulong; type atomic_llong (line 41) | typedef volatile long long atomic_llong; type atomic_ullong (line 42) | typedef volatile unsigned long long atomic_ullong; type atomic_size_t (line 43) | typedef volatile size_t atomic_size_t; type atomic_flag (line 45) | typedef struct atomic_flag { atomic_long _Value; } atomic_flag; function atomic_flag_test_and_set (line 50) | static inline bool atomic_flag_test_and_set(atomic_flag* p) { function atomic_flag_test_and_set (line 62) | static inline bool atomic_flag_test_and_set(atomic_flag* p) { function atomic_flag_test_and_set (line 88) | static inline bool atomic_flag_test_and_set(atomic_flag* p) { function atomic_flag_clear (line 97) | static inline void atomic_flag_clear(atomic_flag* p) { type atomic_flag (line 118) | typedef atomic_flag hatomic_flag_t; type atomic_long (line 123) | typedef atomic_long hatomic_t; FILE: base/hbase.c function hv_alloc_cnt (line 16) | long hv_alloc_cnt() { function hv_free_cnt (line 20) | long hv_free_cnt() { function hv_free (line 69) | void hv_free(void* ptr) { function hv_strstartswith (line 139) | bool hv_strstartswith(const char* str, const char* start) { function hv_strendswith (line 148) | bool hv_strendswith(const char* str, const char* end) { function hv_strcontains (line 165) | bool hv_strcontains(const char* str, const char* sub) { function hv_wildcard_match (line 170) | bool hv_wildcard_match(const char* str, const char* pattern) { function hv_exists (line 286) | bool hv_exists(const char* path) { function hv_isdir (line 290) | bool hv_isdir(const char* path) { function hv_isfile (line 298) | bool hv_isfile(const char* path) { function hv_islink (line 306) | bool hv_islink(const char* path) { function hv_filesize (line 318) | size_t hv_filesize(const char* filepath) { function hv_rand (line 363) | int hv_rand(int min, int max) { function hv_getboolean (line 391) | bool hv_getboolean(const char* str) { function hv_parse_size (line 405) | size_t hv_parse_size(const char* str) { function time_t (line 428) | time_t hv_parse_time(const char* str) { function hv_parse_url (line 452) | int hv_parse_url(hurl_t* stURL, const char* strURL) { FILE: base/hbase.h function HV_INLINE (line 53) | HV_INLINE void hv_memcheck(void) { type hurl_field_e (line 121) | typedef enum { type hurl_t (line 133) | typedef struct hurl_s { FILE: base/hbuf.h type hbuf_s (line 7) | struct hbuf_s { type offset_buf_s (line 24) | struct offset_buf_s { type fifo_buf_s (line 43) | struct fifo_buf_s { function class (line 64) | class HBuf : public hbuf_t { function virtual (line 74) | virtual ~HBuf() { function size (line 79) | size_t size() { return len; } function isNull (line 81) | bool isNull() { return base == NULL || len == 0; } function cleanup (line 83) | void cleanup() { function resize (line 91) | void resize(size_t cap) { function copy (line 104) | void copy(void* data, size_t len) { function copy (line 109) | void copy(hbuf_t* buf) { function class (line 118) | class HVLBuf : public HBuf { function HBuf (line 122) | HVLBuf(size_t cap) : HBuf(cap) {_offset = _size = 0;} function virtual (line 123) | virtual ~HVLBuf() {} function size (line 126) | size_t size() { return _size; } function push_front (line 128) | void push_front(void* ptr, size_t len) { function push_back (line 145) | void push_back(void* ptr, size_t len) { function pop_front (line 159) | void pop_front(void* ptr, size_t len) { function pop_back (line 170) | void pop_back(void* ptr, size_t len) { function clear (line 179) | void clear() { function prepend (line 183) | void prepend(void* ptr, size_t len) { function append (line 187) | void append(void* ptr, size_t len) { function insert (line 191) | void insert(void* ptr, size_t len) { function remove (line 195) | void remove(size_t len) { function class (line 204) | class HRingBuf : public HBuf { FILE: base/heap.h type heap_node (line 7) | struct heap_node { type heap_node (line 13) | struct heap_node type heap_node (line 13) | struct heap_node type heap (line 14) | struct heap { function heap_init (line 22) | static inline void heap_init(struct heap* heap, heap_compare_fn fn) { function heap_replace (line 29) | static inline void heap_replace(struct heap* heap, struct heap_node* s, ... function heap_swap (line 45) | static inline void heap_swap(struct heap* heap, struct heap_node* parent... function heap_insert (line 76) | static inline void heap_insert(struct heap* heap, struct heap_node* node) { function heap_remove (line 109) | static inline void heap_remove(struct heap* heap, struct heap_node* node) { function heap_dequeue (line 168) | static inline void heap_dequeue(struct heap* heap) { FILE: base/hendian.h function htonll (line 46) | __inline unsigned __int64 htonll ( unsigned __int64 Value ) function ntohll (line 54) | __inline unsigned __int64 ntohll ( unsigned __int64 Value ) function htonf (line 62) | __inline unsigned __int32 htonf ( float Value ) function ntohf (line 73) | __inline float ntohf ( unsigned __int32 Value ) function htond (line 83) | __inline unsigned __int64 htond ( double Value ) function ntohd (line 94) | __inline double ntohd ( unsigned __int64 Value ) function detect_endian (line 197) | static inline int detect_endian() { FILE: base/hlog.c type logger_s (line 36) | struct logger_s { function logger_init (line 59) | static void logger_init(logger_t* logger) { function logger_t (line 81) | logger_t* logger_create() { function logger_destroy (line 95) | void logger_destroy(logger_t* logger) { function logger_set_handler (line 110) | void logger_set_handler(logger_t* logger, logger_handler fn) { function logger_set_level (line 114) | void logger_set_level(logger_t* logger, int level) { function logger_set_level_by_str (line 118) | void logger_set_level_by_str(logger_t* logger, const char* szLoglevel) { function logger_set_format (line 140) | void logger_set_format(logger_t* logger, const char* format) { function logger_set_remain_days (line 148) | void logger_set_remain_days(logger_t* logger, int days) { function logger_set_truncate_percent (line 152) | void logger_set_truncate_percent(logger_t* logger, float percent) { function logger_set_max_bufsize (line 157) | void logger_set_max_bufsize(logger_t* logger, unsigned int bufsize) { function logger_enable_color (line 162) | void logger_enable_color(logger_t* logger, int on) { function logger_set_file (line 166) | void logger_set_file(logger_t* logger, const char* filepath) { function logger_set_max_filesize (line 175) | void logger_set_max_filesize(logger_t* logger, unsigned long long filesi... function logger_set_max_filesize_by_str (line 179) | void logger_set_max_filesize_by_str(logger_t* logger, const char* str) { function logger_enable_fsync (line 200) | void logger_enable_fsync(logger_t* logger, int on) { function logger_fsync (line 204) | void logger_fsync(logger_t* logger) { function logfile_name (line 216) | static void logfile_name(const char* filepath, time_t ts, char* buf, int... function logfile_truncate (line 225) | static void logfile_truncate(logger_t* logger) { function FILE (line 286) | static FILE* logfile_shift(logger_t* logger) { function logfile_write (line 339) | static void logfile_write(logger_t* logger, const char* buf, int len) { function i2a (line 349) | static int i2a(int i, char* buf, int len) { function logger_print (line 361) | int logger_print(logger_t* logger, int level, const char* fmt, ...) { function logger_t (line 502) | logger_t* hv_default_logger() { function hv_destroy_default_logger (line 509) | void hv_destroy_default_logger(void) { function stdout_logger (line 517) | void stdout_logger(int loglevel, const char* buf, int len) { function stderr_logger (line 521) | void stderr_logger(int loglevel, const char* buf, int len) { function file_logger (line 525) | void file_logger(int loglevel, const char* buf, int len) { FILE: base/hlog.h type log_level_e (line 56) | typedef enum { type logger_t (line 82) | typedef struct logger_s logger_t; FILE: base/hmain.c function init_arg_kv (line 17) | static void init_arg_kv(int maxsize) { function save_arg_kv (line 22) | static void save_arg_kv(const char* key, int key_len, const char* val, i... function init_arg_list (line 34) | static void init_arg_list(int maxsize) { function save_arg_list (line 39) | static void save_arg_list(const char* arg) { function main_ctx_init (line 69) | int main_ctx_init(int argc, char** argv) { function main_ctx_free (line 173) | void main_ctx_free(void) { function get_arg_type (line 198) | static int get_arg_type(int short_opt, const char* options) { function parse_opt (line 207) | int parse_opt(int argc, char** argv, const char* options) { function option_t (line 243) | static const option_t* get_option(const char* opt, const option_t* long_... function parse_opt_long (line 269) | int parse_opt_long(int argc, char** argv, const option_t* long_options, ... function dump_opt_long (line 350) | int dump_opt_long(const option_t* long_options, int opt_size, char* out_... function setproctitle (line 418) | void setproctitle(const char* fmt, ...) { function create_pidfile (line 432) | int create_pidfile() { function delete_pidfile (line 447) | void delete_pidfile(void) { function pid_t (line 452) | pid_t getpid_from_pidfile() { function signal_handler (line 468) | void signal_handler(int signo) { function signal_init (line 537) | int signal_init(procedure_t reload_fn, void* reload_userdata) { function on_timer (line 557) | static void WINAPI on_timer(UINT uTimerID, UINT uMsg, DWORD_PTR dwUser, ... function signal_cleanup (line 579) | static void signal_cleanup(void) { function signal_init (line 588) | int signal_init(procedure_t reload_fn, void* reload_userdata) { function kill_proc (line 612) | static void kill_proc(int pid) { function signal_handle (line 626) | void signal_handle(const char* signal) { function signal_handle_noexit (line 630) | bool signal_handle_noexit(const char* signal) { function HTHREAD_ROUTINE (line 679) | static HTHREAD_ROUTINE(worker_thread) { function worker_init (line 687) | static void worker_init(void* userdata) { function worker_proc (line 694) | static void worker_proc(void* userdata) { function master_workers_run (line 701) | int master_workers_run(procedure_t worker_fn, void* worker_userdata, FILE: base/hmain.h type main_ctx_t (line 17) | typedef struct main_ctx_s { type option_t (line 66) | typedef struct option_s { FILE: base/hmath.h function floor2e (line 6) | static inline unsigned long floor2e(unsigned long num) { function ceil2e (line 15) | static inline unsigned long ceil2e(unsigned long num) { function varint_encode (line 28) | static inline int varint_encode(long long value, unsigned char* buf) { function varint_decode (line 42) | static inline long long varint_decode(const unsigned char* buf, int* len) { function asn1_encode (line 68) | static inline int asn1_encode(long long value, unsigned char* buf) { function asn1_decode (line 121) | static inline long long asn1_decode(const unsigned char* buf, int* len) { FILE: base/hmutex.h function BOOL (line 59) | static inline BOOL WINAPI s_once_func(INIT_ONCE* once, PVOID arg, PVOID*... function honce (line 64) | static inline void honce(honce_t* once, honce_fn fn) { function timespec_after (line 125) | static inline void timespec_after(struct timespec* ts, unsigned int ms) { function htimed_mutex_lock_for (line 137) | static inline int htimed_mutex_lock_for(htimed_mutex_t* mutex, unsigned ... function hcondvar_wait_for (line 163) | static inline int hcondvar_wait_for(hcondvar_t* cond, hmutex_t* mutex, u... function hsem_wait_for (line 181) | static inline int hsem_wait_for(hsem_t* sem, unsigned int ms) { function BEGIN_NAMESPACE_HV (line 213) | BEGIN_NAMESPACE_HV function class (line 226) | class SpinLock { function class (line 237) | class RWLock { FILE: base/hplatform.h type pid_t (line 230) | typedef int pid_t; type gid_t (line 231) | typedef int gid_t; type uid_t (line 232) | typedef int uid_t; type BOOL (line 236) | typedef int BOOL; type BYTE (line 237) | typedef unsigned char BYTE; type WORD (line 238) | typedef unsigned short WORD; type __int8 (line 313) | typedef __int8 int8_t; type __int16 (line 314) | typedef __int16 int16_t; type __int32 (line 315) | typedef __int32 int32_t; type __int64 (line 316) | typedef __int64 int64_t; type float32_t (line 323) | typedef float float32_t; type float64_t (line 324) | typedef double float64_t; FILE: base/hproc.h type proc_ctx_t (line 6) | typedef struct proc_ctx_s { function hproc_run (line 18) | static inline void hproc_run(proc_ctx_t* ctx) { function hproc_spawn (line 32) | static inline int hproc_spawn(proc_ctx_t* ctx) { function win_thread (line 52) | static void win_thread(void* userdata) { function hproc_spawn (line 57) | static inline int hproc_spawn(proc_ctx_t* ctx) { FILE: base/hsocket.c function WSAInit (line 13) | void WSAInit() { function WSADeinit (line 20) | void WSADeinit() { function socket_errno_negative (line 28) | static inline int socket_errno_negative(int sockfd) { function is_ipv4 (line 49) | bool is_ipv4(const char* host) { function is_ipv6 (line 54) | bool is_ipv6(const char* host) { function ResolveAddr (line 59) | int ResolveAddr(const char* host, sockaddr_u* addr) { function sockaddr_port (line 99) | uint16_t sockaddr_port(sockaddr_u* addr) { function sockaddr_set_ip (line 110) | int sockaddr_set_ip(sockaddr_u* addr, const char* host) { function sockaddr_set_port (line 119) | void sockaddr_set_port(sockaddr_u* addr, int port) { function sockaddr_set_ipport (line 128) | int sockaddr_set_ipport(sockaddr_u* addr, const char* host, int port) { function socklen_t (line 142) | socklen_t sockaddr_len(sockaddr_u* addr) { function else (line 171) | else if (addr->sa.sa_family == AF_UNIX) { function sockaddr_compare (line 178) | int sockaddr_compare(const sockaddr_u* addr1, const sockaddr_u* addr2) { function sockaddr_bind (line 198) | static int sockaddr_bind(sockaddr_u* localaddr, int type) { function ListenFD (line 256) | static int ListenFD(int sockfd) { function ConnectFDTimeout (line 265) | static int ConnectFDTimeout(int connfd, int ms) { function Bind (line 306) | int Bind(int port, const char* host, int type) { function Listen (line 319) | int Listen(int port, const char* host) { function Connect (line 325) | int Connect(const char* host, int port, int nonblock) { function ConnectNonblock (line 338) | int ConnectNonblock(const char* host, int port) { function ConnectTimeout (line 342) | int ConnectTimeout(const char* host, int port, int ms) { function BindUnix (line 356) | int BindUnix(const char* path, int type) { function ListenUnix (line 363) | int ListenUnix(const char* path) { function ConnectUnix (line 369) | int ConnectUnix(const char* path, int nonblock) { function ConnectUnixNonblock (line 376) | int ConnectUnixNonblock(const char* path) { function ConnectUnixTimeout (line 380) | int ConnectUnixTimeout(const char* path, int ms) { function Socketpair (line 387) | int Socketpair(int family, int type, int protocol, int sv[2]) { FILE: base/hsocket.h function socket_errno (line 24) | int socket_errno() { type SOCKET (line 35) | typedef SOCKET hsocket_t; type socklen_t (line 36) | typedef int socklen_t; function HV_INLINE (line 41) | HV_INLINE int blocking(int sockfd) { function HV_INLINE (line 45) | HV_INLINE int nonblocking(int sockfd) { type hsocket_t (line 67) | typedef int hsocket_t; function HV_INLINE (line 77) | HV_INLINE int blocking(int s) { function HV_INLINE (line 81) | HV_INLINE int nonblocking(int s) { function HV_INLINE (line 86) | HV_INLINE int closesocket(int sockfd) { type sockaddr_u (line 98) | typedef union { function HV_INLINE (line 109) | HV_INLINE bool is_ipaddr(const char* host) { function HV_INLINE (line 130) | HV_INLINE void sockaddr_set_path(sockaddr_u* addr, const char* path) { function HV_INLINE (line 138) | HV_INLINE void sockaddr_print(sockaddr_u* addr) { function HV_INLINE (line 178) | HV_INLINE int tcp_nodelay(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 182) | HV_INLINE int tcp_nopush(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 209) | HV_INLINE int udp_broadcast(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 213) | HV_INLINE int ip_v6only(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 222) | HV_INLINE int so_sndtimeo(int sockfd, int timeout) { function HV_INLINE (line 232) | HV_INLINE int so_rcvtimeo(int sockfd, int timeout) { function HV_INLINE (line 242) | HV_INLINE int so_sndbuf(int sockfd, int len) { function HV_INLINE (line 247) | HV_INLINE int so_rcvbuf(int sockfd, int len) { function HV_INLINE (line 251) | HV_INLINE int so_reuseaddr(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 260) | HV_INLINE int so_reuseport(int sockfd, int on DEFAULT(1)) { function HV_INLINE (line 269) | HV_INLINE int so_linger(int sockfd, int timeout DEFAULT(1)) { FILE: base/hsysinfo.h function get_ncpu (line 15) | static inline int get_ncpu() { type meminfo_t (line 28) | typedef struct meminfo_s { function get_meminfo (line 33) | static inline int get_meminfo(meminfo_t* mem) { FILE: base/hthread.h function hv_gettid (line 20) | static inline long hv_gettid() { type HANDLE (line 54) | typedef HANDLE hthread_t; function hthread_t (line 58) | static inline hthread_t hthread_create(hthread_routine fn, void* userdat... function hthread_join (line 62) | static inline int hthread_join(hthread_t th) { type pthread_t (line 70) | typedef pthread_t hthread_t; function hthread_t (line 74) | static inline hthread_t hthread_create(hthread_routine fn, void* userdat... function hthread_join (line 80) | static inline int hthread_join(hthread_t th) { function class (line 98) | class HThread { function virtual (line 134) | virtual int start() { function virtual (line 147) | virtual int stop() { function virtual (line 157) | virtual int pause() { function virtual (line 164) | virtual int resume() { function virtual (line 171) | virtual void run() { function virtual (line 184) | virtual bool doPrepare() {return true;} function virtual (line 185) | virtual void doTask() {} function virtual (line 186) | virtual bool doFinish() {return true;} FILE: base/htime.c function gettick_ms (line 12) | unsigned int gettick_ms() { function gethrtime_us (line 26) | unsigned long long gethrtime_us() { function datetime_t (line 53) | datetime_t datetime_now() { function datetime_t (line 75) | datetime_t datetime_localtime(time_t seconds) { function time_t (line 87) | time_t datetime_mktime(datetime_t* dt) { function days_of_month (line 102) | int days_of_month(int month, int year) { function datetime_t (line 110) | datetime_t* datetime_past(datetime_t* dt, int days) { function datetime_t (line 128) | datetime_t* datetime_future(datetime_t* dt, int days) { type tm (line 174) | struct tm function month_atoi (line 183) | int month_atoi(const char* month) { function weekday_atoi (line 196) | int weekday_atoi(const char* weekday) { function datetime_t (line 210) | datetime_t hv_compile_datetime() { function time_t (line 219) | time_t cron_next_timeout(int minute, int hour, int day, int week, int mo... FILE: base/htime.h type datetime_t (line 16) | typedef struct datetime_s { type timezone (line 35) | struct timezone { function HV_INLINE (line 41) | HV_INLINE int gettimeofday(struct timeval *tv, struct timezone *tz) { function gettimeofday_ms (line 57) | HV_INLINE unsigned long long gettimeofday_ms() { function gettimeofday_us (line 62) | HV_INLINE unsigned long long gettimeofday_us() { FILE: base/hversion.c function version_atoi (line 13) | int version_atoi(const char* str) { function version_itoa (line 30) | void version_itoa(int num, char* str) { FILE: base/hversion.h function HV_INLINE (line 20) | HV_INLINE const char* hv_version() { FILE: base/list.h type list_head (line 24) | struct list_head { type hlist_head (line 29) | struct hlist_head { type hlist_node (line 33) | struct hlist_node { function list_init (line 43) | static inline void list_init(struct list_head *list) function __list_add (line 55) | static inline void __list_add(struct list_head *n, function list_add (line 73) | static inline void list_add(struct list_head *n, struct list_head *head) function list_add_tail (line 87) | static inline void list_add_tail(struct list_head *n, struct list_head *... function __list_del (line 99) | static inline void __list_del(struct list_head * prev, struct list_head ... function __list_del_entry (line 111) | static inline void __list_del_entry(struct list_head *entry) function list_del (line 116) | static inline void list_del(struct list_head *entry) function list_replace (line 130) | static inline void list_replace(struct list_head *old, function list_replace_init (line 139) | static inline void list_replace_init(struct list_head *old, function list_del_init (line 150) | static inline void list_del_init(struct list_head *entry) function list_move (line 161) | static inline void list_move(struct list_head *list, struct list_head *h... function list_move_tail (line 172) | static inline void list_move_tail(struct list_head *list, function list_is_last (line 184) | static inline int list_is_last(const struct list_head *list, function list_empty (line 194) | static inline int list_empty(const struct list_head *head) function list_empty_careful (line 212) | static inline int list_empty_careful(const struct list_head *head) function list_rotate_left (line 222) | static inline void list_rotate_left(struct list_head *head) function list_is_singular (line 236) | static inline int list_is_singular(const struct list_head *head) function __list_cut_position (line 241) | static inline void __list_cut_position(struct list_head *list, function list_cut_position (line 267) | static inline void list_cut_position(struct list_head *list, function __list_splice (line 281) | static inline void __list_splice(const struct list_head *list, function list_splice (line 300) | static inline void list_splice(const struct list_head *list, function list_splice_tail (line 312) | static inline void list_splice_tail(struct list_head *list, function list_splice_init (line 326) | static inline void list_splice_init(struct list_head *list, function list_splice_tail_init (line 343) | static inline void list_splice_tail_init(struct list_head *list, function hlist_init (line 583) | static inline void hlist_init(struct hlist_node *h) function hlist_unhashed (line 589) | static inline int hlist_unhashed(const struct hlist_node *h) function hlist_empty (line 594) | static inline int hlist_empty(const struct hlist_head *h) function __hlist_del (line 599) | static inline void __hlist_del(struct hlist_node *n) function hlist_del (line 608) | static inline void hlist_del(struct hlist_node *n) function hlist_del_init (line 615) | static inline void hlist_del_init(struct hlist_node *n) function hlist_add_head (line 623) | static inline void hlist_add_head(struct hlist_node *n, struct hlist_hea... function hlist_add_before (line 634) | static inline void hlist_add_before(struct hlist_node *n, function hlist_add_after (line 643) | static inline void hlist_add_after(struct hlist_node *n, function hlist_add_fake (line 655) | static inline void hlist_add_fake(struct hlist_node *n) function hlist_move_list (line 664) | static inline void hlist_move_list(struct hlist_head *old, FILE: base/netinet.h type iphdr_t (line 22) | typedef struct iphdr_s { type udphdr_t (line 45) | typedef struct udphdr_s { type tcphdr_t (line 53) | typedef struct tcphdr_s { type icmphdr_t (line 106) | typedef struct icmphdr_s { type icmp_t (line 123) | typedef struct icmp_s { function checksum (line 183) | static inline uint16_t checksum(uint8_t* buf, int len) { FILE: base/rbtree.c function __rb_rotate_left (line 25) | static void __rb_rotate_left(struct rb_node *node, struct rb_root *root) function __rb_rotate_right (line 45) | static void __rb_rotate_right(struct rb_node *node, struct rb_root *root) function rb_insert_color (line 65) | void rb_insert_color(struct rb_node *node, struct rb_root *root) function __rb_erase_color (line 130) | static void __rb_erase_color(struct rb_node *node, struct rb_node *parent, function rb_erase (line 222) | void rb_erase(struct rb_node *node, struct rb_root *root) type rb_node (line 299) | struct rb_node type rb_root (line 299) | struct rb_root type rb_node (line 301) | struct rb_node type rb_node (line 305) | struct rb_node type rb_node (line 311) | struct rb_node type rb_root (line 311) | struct rb_root type rb_node (line 313) | struct rb_node type rb_node (line 317) | struct rb_node type rb_node (line 323) | struct rb_node type rb_node (line 323) | struct rb_node type rb_node (line 346) | struct rb_node type rb_node (line 346) | struct rb_node function rb_replace_node (line 365) | void rb_replace_node(struct rb_node *victim, struct rb_node *newnode, FILE: base/rbtree.h type rb_node (line 99) | struct rb_node type rb_root (line 109) | struct rb_root type rb_node (line 123) | struct rb_node type rb_root (line 123) | struct rb_root type rb_node (line 124) | struct rb_node type rb_root (line 124) | struct rb_root type rb_node (line 127) | struct rb_node type rb_node (line 127) | struct rb_node type rb_node (line 128) | struct rb_node type rb_node (line 128) | struct rb_node type rb_node (line 129) | struct rb_node type rb_root (line 129) | struct rb_root type rb_node (line 130) | struct rb_node type rb_root (line 130) | struct rb_root type rb_node (line 133) | struct rb_node type rb_node (line 133) | struct rb_node type rb_root (line 134) | struct rb_root function rb_link_node (line 140) | static inline void rb_link_node(struct rb_node *node, struct rb_node *pa... FILE: cpputil/LRUCache.h type Node (line 33) | struct Node { function set_eviction_callback (line 71) | void set_eviction_callback(eviction_callback_t callback) { function get (line 82) | bool get(const Key& key, Value& value) { function Value (line 100) | Value* get(const Key& key) { function put (line 118) | bool put(const Key& key, const Value& value) { function remove (line 144) | bool remove(const Key& key) { function contains (line 166) | bool contains(const Key& key) const { FILE: cpputil/RAII.cpp function LONG (line 9) | static LONG UnhandledException(EXCEPTION_POINTERS *pException) { class WsaRAII (line 32) | class WsaRAII { method WsaRAII (line 34) | WsaRAII() { class CurlRAII (line 56) | class CurlRAII { method CurlRAII (line 58) | CurlRAII() { FILE: cpputil/ThreadLocalStorage.cpp type hv (line 5) | namespace hv { FILE: cpputil/ThreadLocalStorage.h function namespace (line 28) | namespace hv { FILE: cpputil/hasync.cpp type hv (line 3) | namespace hv { FILE: cpputil/hasync.h function namespace (line 8) | namespace hv { function class (line 29) | class async { function cleanup (line 42) | static void cleanup() { FILE: cpputil/hdir.cpp function time_t (line 10) | time_t FileTime2Epoch(FILETIME filetime) { function less (line 17) | static bool less(const hdir_t& lhs, const hdir_t& rhs) { function listdir (line 21) | int listdir(const char* dir, std::list& dirs) { FILE: cpputil/hdir.h type hdir_t (line 55) | typedef struct hdir_s { FILE: cpputil/hfile.h function class (line 9) | class HFile { FILE: cpputil/hmap.h function namespace (line 10) | namespace std { function namespace (line 49) | namespace hv { FILE: cpputil/hobjectpool.h function ObjectNum (line 46) | int ObjectNum() { return _object_num; } function IdleNum (line 47) | int IdleNum() { return objects_.size(); } function BorrowNum (line 48) | int BorrowNum() { return ObjectNum() - IdleNum(); } function Return (line 94) | void Return(std::shared_ptr& pObj) { function Add (line 101) | bool Add(std::shared_ptr& pObj) { function Remove (line 112) | bool Remove(std::shared_ptr& pObj) { function Clear (line 128) | void Clear() { function pool_ (line 148) | pool_(pool) function T (line 162) | T* get() { function operator (line 166) | operator bool() { function T (line 174) | T operator*() { FILE: cpputil/hpath.cpp type stat (line 11) | struct stat type stat (line 19) | struct stat type stat (line 30) | struct stat FILE: cpputil/hpath.h function class (line 8) | class HV_EXPORT HPath { FILE: cpputil/hscope.h type std (line 5) | typedef std::function Function; function class (line 10) | class Defer { function class (line 19) | class ScopeCleanup { FILE: cpputil/hstring.cpp type hv (line 8) | namespace hv { function startswith (line 52) | bool startswith(const std::string& str, const std::string& start) { function endswith (line 57) | bool endswith(const std::string& str, const std::string& end) { function contains (line 62) | bool contains(const std::string& str, const std::string& sub) { function vscprintf (line 67) | static inline int vscprintf(const char* fmt, va_list ap) { function asprintf (line 71) | std::string asprintf(const char* fmt, ...) { function StringList (line 89) | StringList split(const std::string& str, char delim) { function splitKV (line 114) | hv::KeyValue splitKV(const std::string& str, char kv_kv, char k_v) { function trim (line 149) | std::string trim(const std::string& str, const char* chars) { function ltrim (line 157) | std::string ltrim(const std::string& str, const char* chars) { function rtrim (line 163) | std::string rtrim(const std::string& str, const char* chars) { function trim_pairs (line 168) | std::string trim_pairs(const std::string& str, const char* pairs) { function replace (line 183) | std::string replace(const std::string& str, const std::string& find, c... function replaceAll (line 192) | std::string replaceAll(const std::string& str, const std::string& find... function wchar_to_string (line 229) | std::string wchar_to_string(const UINT codePage, const std::wstring &w... function string_to_wchar (line 239) | std::wstring string_to_wchar(const UINT codePage, const std::string &s... FILE: cpputil/hstring.h function namespace (line 17) | namespace hv { FILE: cpputil/hthreadpool.h function class (line 25) | class HThreadPool { function setMinThreadNum (line 44) | void setMinThreadNum(int min_threads) { function setMaxThreadNum (line 47) | void setMaxThreadNum(int max_threads) { function setMaxIdleTime (line 50) | void setMaxIdleTime(int ms) { function currentThreadNum (line 53) | int currentThreadNum() { function idleThreadNum (line 56) | int idleThreadNum() { function taskNum (line 59) | size_t taskNum() { function isStarted (line 63) | bool isStarted() { function isStopped (line 66) | bool isStopped() { function stop (line 81) | int stop() { function addThread (line 185) | void addThread(std::thread* thread) { function delThread (line 199) | void delThread(std::thread::id id) { type Status (line 227) | enum Status { type ThreadData (line 232) | struct ThreadData { FILE: cpputil/hurl.cpp function is_unambiguous (line 31) | static inline bool is_unambiguous(char c) { function char_in_str (line 39) | static inline bool char_in_str(char c, const char* str) { function hex2i (line 45) | static inline unsigned char hex2i(char hex) { type hv (line 186) | namespace hv { function escapeHTML (line 188) | std::string escapeHTML(const std::string& str) { FILE: cpputil/hurl.h function class (line 8) | class HV_EXPORT HUrl { function namespace (line 31) | namespace hv { FILE: cpputil/ifconfig.cpp function ifconfig (line 14) | int ifconfig(std::vector& ifcs) { function ifconfig (line 96) | int ifconfig(std::vector& ifcs) { function ifconfig (line 170) | int ifconfig(std::vector& ifcs) { function ifconfig (line 224) | int ifconfig(std::vector& ifcs) { FILE: cpputil/ifconfig.h type ifconfig_t (line 13) | typedef struct ifconfig_s { FILE: cpputil/iniparser.cpp class IniNode (line 23) | class IniNode { type Type (line 25) | enum Type { method Add (line 46) | void Add(IniNode* pNode) { method Del (line 50) | void Del(IniNode* pNode) { method IniNode (line 60) | IniNode* Get(const std::string& label, Type type = INI_NODE_TYPE_KEY_V... class IniSection (line 70) | class IniSection : public IniNode { method IniSection (line 72) | IniSection() : IniNode(), section(label) { class IniKeyValue (line 78) | class IniKeyValue : public IniNode { method IniKeyValue (line 80) | IniKeyValue() : IniNode(), key(label) { class IniComment (line 86) | class IniComment : public IniNode { method IniComment (line 88) | IniComment() : IniNode(), comment(label) { function HV_EXPORT (line 360) | HV_EXPORT bool IniParser::Get(const std::string& key, const std::string&... function HV_EXPORT (line 366) | HV_EXPORT int IniParser::Get(const std::string& key, const std::string& ... function HV_EXPORT (line 372) | HV_EXPORT float IniParser::Get(const std::string& key, const std::string... function HV_EXPORT (line 378) | HV_EXPORT void IniParser::Set(const std::string& key, const bool& value,... function HV_EXPORT (line 383) | HV_EXPORT void IniParser::Set(const std::string& key, const int& value, ... function HV_EXPORT (line 388) | HV_EXPORT void IniParser::Set(const std::string& key, const float& value... FILE: cpputil/iniparser.h function class (line 15) | class HV_EXPORT IniParser { FILE: cpputil/json.hpp function NLOHMANN_JSON_NAMESPACE_BEGIN (line 261) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 272) | NLOHMANN_JSON_NAMESPACE_END function from_json (line 2602) | inline void from_json(const BasicJsonType& j, ENUM_TYPE& e) ... type would_call_std_ (line 2941) | struct would_call_std_ type value_t (line 2999) | enum class value_t : std::uint8_t function NLOHMANN_JSON_NAMESPACE_END (line 3064) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_BEGIN (line 3157) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 3203) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 3394) | NLOHMANN_JSON_NAMESPACE_BEGIN class json_pointer (line 3543) | class json_pointer type ordered_map (line 3554) | struct ordered_map function NLOHMANN_JSON_NAMESPACE_BEGIN (line 3565) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4357) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4500) | NLOHMANN_JSON_NAMESPACE_BEGIN class parse_error (line 4626) | class parse_error : public exception method parse_error (line 4639) | static parse_error create(int id_, const position_t& pos, const std::s... method parse_error (line 4647) | static parse_error create(int id_, std::size_t byte_, const std::strin... method parse_error (line 4667) | parse_error(int id_, std::size_t byte_, const char* what_arg) method position_string (line 4670) | static std::string position_string(const position_t& pos) class invalid_iterator (line 4679) | class invalid_iterator : public exception method invalid_iterator (line 4683) | static invalid_iterator create(int id_, const std::string& what_arg, B... method JSON_HEDLEY_NON_NULL (line 4690) | JSON_HEDLEY_NON_NULL(3) class type_error (line 4697) | class type_error : public exception method type_error (line 4701) | static type_error create(int id_, const std::string& what_arg, BasicJs... method JSON_HEDLEY_NON_NULL (line 4708) | JSON_HEDLEY_NON_NULL(3) class out_of_range (line 4714) | class out_of_range : public exception method out_of_range (line 4718) | static out_of_range create(int id_, const std::string& what_arg, Basic... method JSON_HEDLEY_NON_NULL (line 4725) | JSON_HEDLEY_NON_NULL(3) class other_error (line 4731) | class other_error : public exception method other_error (line 4735) | static other_error create(int id_, const std::string& what_arg, BasicJ... method JSON_HEDLEY_NON_NULL (line 4742) | JSON_HEDLEY_NON_NULL(3) function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4771) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4797) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4805) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 4820) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 5431) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 5452) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_END (line 5632) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_BEGIN (line 5678) | NLOHMANN_JSON_NAMESPACE_BEGIN type adl_serializer (line 6135) | struct adl_serializer method from_json (line 6140) | static auto from_json(BasicJsonType && j, TargetType& val) noexcept( method from_json (line 6150) | static auto from_json(BasicJsonType && j) noexcept( method to_json (line 6160) | static auto to_json(BasicJsonType& j, TargetType && val) noexcept( function set_subtype (line 6241) | void set_subtype(subtype_type subtype_) noexcept function subtype_type (line 6249) | constexpr subtype_type subtype() const noexcept function has_subtype (line 6256) | constexpr bool has_subtype() const noexcept function clear_subtype (line 6263) | void clear_subtype() noexcept function NLOHMANN_JSON_NAMESPACE_BEGIN (line 6302) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 6479) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 7048) | NLOHMANN_JSON_NAMESPACE_BEGIN function reset (line 8345) | void reset() noexcept function char_int_type (line 8363) | char_int_type get() function unget (line 8400) | void unget() function add (line 8427) | void add(char_int_type c) function number_unsigned_t (line 8444) | constexpr number_unsigned_t get_number_unsigned() const noexcept function number_float_t (line 8450) | constexpr number_float_t get_number_float() const noexcept function string_t (line 8456) | string_t& get_string() function position_t (line 8471) | constexpr position_t get_position() const noexcept function get_token_string (line 8479) | std::string get_token_string() const function JSON_HEDLEY_RETURNS_NON_NULL (line 8503) | JSON_HEDLEY_RETURNS_NON_NULL function skip_bom (line 8517) | bool skip_bom() function skip_whitespace (line 8531) | void skip_whitespace() function token_type (line 8540) | token_type scan() function NLOHMANN_JSON_NAMESPACE_END (line 8665) | NLOHMANN_JSON_NAMESPACE_END type detail (line 8796) | namespace detail function unknown_size (line 8798) | constexpr std::size_t unknown_size() class json_sax_dom_parser (line 8817) | class json_sax_dom_parser method json_sax_dom_parser (line 8832) | explicit json_sax_dom_parser(BasicJsonType& r, const bool allow_exce... method json_sax_dom_parser (line 8837) | json_sax_dom_parser(const json_sax_dom_parser&) = delete; method json_sax_dom_parser (line 8838) | json_sax_dom_parser(json_sax_dom_parser&&) = default; method json_sax_dom_parser (line 8839) | json_sax_dom_parser& operator=(const json_sax_dom_parser&) = delete; method json_sax_dom_parser (line 8840) | json_sax_dom_parser& operator=(json_sax_dom_parser&&) = default; method null (line 8843) | bool null() method boolean (line 8849) | bool boolean(bool val) method number_integer (line 8855) | bool number_integer(number_integer_t val) method number_unsigned (line 8861) | bool number_unsigned(number_unsigned_t val) method number_float (line 8867) | bool number_float(number_float_t val, const string_t& /*unused*/) method string (line 8873) | bool string(string_t& val) method binary (line 8879) | bool binary(binary_t& val) method start_object (line 8885) | bool start_object(std::size_t len) method key (line 8908) | bool key(string_t& val) method end_object (line 8918) | bool end_object() method start_array (line 8936) | bool start_array(std::size_t len) method end_array (line 8957) | bool end_array() method parse_error (line 8976) | bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, method is_errored (line 8988) | constexpr bool is_errored() const method handle_diagnostic_positions_for_json_value (line 8996) | void handle_diagnostic_positions_for_json_value(BasicJsonType& v) method JSON_HEDLEY_RETURNS_NON_NULL (line 9070) | JSON_HEDLEY_RETURNS_NON_NULL class json_sax_dom_callback_parser (line 9123) | class json_sax_dom_callback_parser method json_sax_dom_callback_parser (line 9135) | json_sax_dom_callback_parser(BasicJsonType& r, method json_sax_dom_callback_parser (line 9145) | json_sax_dom_callback_parser(const json_sax_dom_callback_parser&) = ... method json_sax_dom_callback_parser (line 9146) | json_sax_dom_callback_parser(json_sax_dom_callback_parser&&) = default; method json_sax_dom_callback_parser (line 9147) | json_sax_dom_callback_parser& operator=(const json_sax_dom_callback_... method json_sax_dom_callback_parser (line 9148) | json_sax_dom_callback_parser& operator=(json_sax_dom_callback_parser... method null (line 9151) | bool null() method boolean (line 9157) | bool boolean(bool val) method number_integer (line 9163) | bool number_integer(number_integer_t val) method number_unsigned (line 9169) | bool number_unsigned(number_unsigned_t val) method number_float (line 9175) | bool number_float(number_float_t val, const string_t& /*unused*/) method string (line 9181) | bool string(string_t& val) method binary (line 9187) | bool binary(binary_t& val) method start_object (line 9193) | bool start_object(std::size_t len) method key (line 9225) | bool key(string_t& val) method end_object (line 9242) | bool end_object() method start_array (line 9292) | bool start_array(std::size_t len) method end_array (line 9324) | bool end_array() method parse_error (line 9371) | bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, method is_errored (line 9383) | constexpr bool is_errored() const method handle_diagnostic_positions_for_json_value (line 9391) | void handle_diagnostic_positions_for_json_value(BasicJsonType& v) method handle_value (line 9470) | std::pair handle_value(Value&& v, const bool s... class json_sax_acceptor (line 9560) | class json_sax_acceptor method null (line 9569) | bool null() method boolean (line 9574) | bool boolean(bool /*unused*/) method number_integer (line 9579) | bool number_integer(number_integer_t /*unused*/) method number_unsigned (line 9584) | bool number_unsigned(number_unsigned_t /*unused*/) method number_float (line 9589) | bool number_float(number_float_t /*unused*/, const string_t& /*unuse... method string (line 9594) | bool string(string_t& /*unused*/) method binary (line 9599) | bool binary(binary_t& /*unused*/) method start_object (line 9604) | bool start_object(std::size_t /*unused*/ = detail::unknown_size()) method key (line 9609) | bool key(string_t& /*unused*/) method end_object (line 9614) | bool end_object() method start_array (line 9619) | bool start_array(std::size_t /*unused*/ = detail::unknown_size()) method end_array (line 9624) | bool end_array() method parse_error (line 9629) | bool parse_error(std::size_t /*unused*/, const std::string& /*unused... function NLOHMANN_JSON_NAMESPACE_BEGIN (line 9664) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 9804) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_BEGIN (line 12885) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 13409) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 13525) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_BEGIN (line 13580) | NLOHMANN_JSON_NAMESPACE_BEGIN function pointer (line 13882) | pointer operator->() const function iter_impl (line 13924) | iter_impl operator++(int)& // NOLINT(cert-dcl21-cpp) function iter_impl (line 13935) | iter_impl& operator++() function iter_impl (line 13975) | iter_impl operator--(int)& // NOLINT(cert-dcl21-cpp) function iter_impl (line 13986) | iter_impl& operator--() function iter_impl (line 14143) | iter_impl& operator+=(difference_type i) function iter_impl (line 14180) | iter_impl& operator-=(difference_type i) function iter_impl (line 14189) | iter_impl operator+(difference_type i) const function friend (line 14200) | friend iter_impl operator+(difference_type i, const iter_impl& it) function iter_impl (line 14211) | iter_impl operator-(difference_type i) const function difference_type (line 14222) | difference_type operator-(const iter_impl& other) const function reference (line 14251) | reference operator[](difference_type n) const function reference (line 14305) | reference value() const function NLOHMANN_JSON_NAMESPACE_BEGIN (line 14340) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 14473) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 14534) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_BASIC_JSON_TPL_DECLARATION (line 14554) | NLOHMANN_BASIC_JSON_TPL_DECLARATION function json_pointer (line 14566) | explicit json_pointer(const string_t& s = "") function string_t (line 14572) | string_t to_string() const function friend (line 14593) | friend std::ostream& operator<<(std::ostream& o, const json_pointer& ptr) function json_pointer (line 14602) | json_pointer& operator/=(const json_pointer& ptr) function json_pointer (line 14612) | json_pointer& operator/=(string_t token) function json_pointer (line 14620) | json_pointer& operator/=(std::size_t array_idx) function friend (line 14627) | friend json_pointer operator/(const json_pointer& lhs, function friend (line 14635) | friend json_pointer operator/(const json_pointer& lhs, string_t token) /... function friend (line 14642) | friend json_pointer operator/(const json_pointer& lhs, std::size_t array... function json_pointer (line 14649) | json_pointer parent_pointer() const function pop_back (line 14663) | void pop_back() function string_t (line 14675) | const string_t& back() const function push_back (line 14687) | void push_back(const string_t& token) function push_back (line 14694) | void push_back(string_t&& token) function empty (line 14701) | bool empty() const noexcept function BasicJsonType (line 14778) | BasicJsonType& get_and_create(BasicJsonType& j) const function BasicJsonType (line 14858) | BasicJsonType& get_unchecked(BasicJsonType* ptr) const function BasicJsonType (line 14926) | BasicJsonType& get_checked(BasicJsonType* ptr) const function BasicJsonType (line 14984) | const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const function BasicJsonType (line 15033) | const BasicJsonType& get_checked(const BasicJsonType* ptr) const function contains (line 15082) | bool contains(const BasicJsonType* ptr) const function split (line 15170) | static std::vector split(const string_t& reference_string) function BasicJsonType (line 15310) | static BasicJsonType function convert (line 15339) | json_pointer convert() const& function convert (line 15346) | json_pointer convert()&& function NLOHMANN_JSON_NAMESPACE_BEGIN (line 15513) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_BEGIN (line 15640) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 15762) | NLOHMANN_JSON_NAMESPACE_END function NLOHMANN_JSON_NAMESPACE_BEGIN (line 17641) | NLOHMANN_JSON_NAMESPACE_BEGIN function NLOHMANN_JSON_NAMESPACE_END (line 18738) | NLOHMANN_JSON_NAMESPACE_END function hex_bytes (line 19398) | static std::string hex_bytes(std::uint8_t byte) function is_negative_number (line 19409) | bool is_negative_number(NumberType x) function is_negative_number (line 19415) | bool is_negative_number(NumberType /*unused*/) function dump_integer (line 19435) | void dump_integer(NumberType x) function dump_float (line 19520) | void dump_float(number_float_t x) function dump_float (line 19541) | void dump_float(number_float_t x, std::true_type /*is_ieee_single_or_dou... function dump_float (line 19549) | void dump_float(number_float_t x, std::false_type /*is_ieee_single_or_do... function decode (line 19621) | static std::uint8_t decode(std::uint8_t& state, std::uint32_t& codep, co... function number_unsigned_t (line 19661) | number_unsigned_t remove_sign(number_unsigned_t x) function number_unsigned_t (line 19676) | number_unsigned_t remove_sign(number_integer_t x) noexcept function ordered_map (line 19763) | ordered_map() noexcept(noexcept(Container())) : Container{} {} function ordered_map (line 19764) | explicit ordered_map(const Allocator& alloc) noexcept(noexcept(Container... function ordered_map (line 19766) | ordered_map(It first, It last, const Allocator& alloc = Allocator()) function ordered_map (line 19768) | ordered_map(std::initializer_list init, const Allocator& all... function emplace (line 19771) | std::pair emplace(const key_type& key, T&& t) function emplace (line 19786) | std::pair emplace(KeyType && key, T && t) function T (line 19799) | T& operator[](const key_type& key) function T (line 19806) | T & operator[](KeyType && key) function T (line 19811) | const T& operator[](const key_type& key) const function T (line 19818) | const T & operator[](KeyType && key) const function T (line 19823) | T& at(const key_type& key) function T (line 19838) | T & at(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward) function T (line 19851) | const T& at(const key_type& key) const function T (line 19866) | const T & at(KeyType && key) const // NOLINT(cppcoreguidelines-missing-s... function size_type (line 19879) | size_type erase(const key_type& key) function size_type (line 19900) | size_type erase(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-... function iterator (line 19919) | iterator erase(iterator pos) function iterator (line 19924) | iterator erase(iterator first, iterator last) function size_type (line 19977) | size_type count(const key_type& key) const function size_type (line 19991) | size_type count(KeyType && key) const // NOLINT(cppcoreguidelines-missin... function iterator (line 20003) | iterator find(const key_type& key) function iterator (line 20017) | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-fo... function const_iterator (line 20029) | const_iterator find(const key_type& key) const function insert (line 20041) | std::pair insert( value_type&& value ) function insert (line 20046) | std::pair insert( const value_type& value ) function insert (line 20064) | void insert(InputIt first, InputIt last) function NLOHMANN_JSON_NAMESPACE_BEGIN (line 20091) | NLOHMANN_JSON_NAMESPACE_BEGIN function set_parents (line 20720) | void set_parents() function iterator (line 20757) | iterator set_parents(iterator it, typename iterator::difference_type cou... function reference (line 20770) | reference set_parent(reference j, std::size_t old_capacity = detail::unk... function basic_json (line 20832) | basic_json(const value_t v) function basic_json (line 20840) | basic_json(std::nullptr_t = nullptr) noexcept // NOLINT(bugprone-excepti... function basic_json (line 20852) | basic_json(CompatibleType && val) noexcept(noexcept( // NOLINT(bugprone-... function basic_json (line 20924) | basic_json(initializer_list_t init, function JSON_HEDLEY_WARN_UNUSED_RESULT (line 20982) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 20993) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 21004) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 21015) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 21026) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 21034) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 21042) | basic_json(size_type cnt, const basic_json& val): function basic_json (line 21054) | basic_json(InputIT first, InputIT last) // NOLINT(performance-unnecessar... function basic_json (line 21163) | basic_json(const JsonRef& ref) : basic_json(ref.moved_or_copied()) {} function basic_json (line 21167) | basic_json(const basic_json& other) function basic_json (line 21240) | basic_json(basic_json&& other) noexcept function basic_json (line 21266) | basic_json& operator=(basic_json other) noexcept ( function value_t (line 21335) | constexpr value_t type() const noexcept function is_primitive (line 21342) | constexpr bool is_primitive() const noexcept function is_structured (line 21349) | constexpr bool is_structured() const noexcept function is_null (line 21356) | constexpr bool is_null() const noexcept function is_boolean (line 21363) | constexpr bool is_boolean() const noexcept function is_number (line 21370) | constexpr bool is_number() const noexcept function is_number_integer (line 21377) | constexpr bool is_number_integer() const noexcept function is_number_unsigned (line 21384) | constexpr bool is_number_unsigned() const noexcept function is_number_float (line 21391) | constexpr bool is_number_float() const noexcept function is_object (line 21398) | constexpr bool is_object() const noexcept function is_array (line 21405) | constexpr bool is_array() const noexcept function is_string (line 21412) | constexpr bool is_string() const noexcept function is_binary (line 21419) | constexpr bool is_binary() const noexcept function is_discarded (line 21426) | constexpr bool is_discarded() const noexcept function object_t (line 21457) | object_t* get_impl_ptr(object_t* /*unused*/) noexcept function object_t (line 21463) | constexpr const object_t* get_impl_ptr(const object_t* /*unused*/) const... function array_t (line 21469) | array_t* get_impl_ptr(array_t* /*unused*/) noexcept function array_t (line 21475) | constexpr const array_t* get_impl_ptr(const array_t* /*unused*/) const n... function string_t (line 21481) | string_t* get_impl_ptr(string_t* /*unused*/) noexcept function string_t (line 21487) | constexpr const string_t* get_impl_ptr(const string_t* /*unused*/) const... function boolean_t (line 21493) | boolean_t* get_impl_ptr(boolean_t* /*unused*/) noexcept function boolean_t (line 21499) | constexpr const boolean_t* get_impl_ptr(const boolean_t* /*unused*/) con... function number_integer_t (line 21505) | number_integer_t* get_impl_ptr(number_integer_t* /*unused*/) noexcept function number_integer_t (line 21511) | constexpr const number_integer_t* get_impl_ptr(const number_integer_t* /... function number_unsigned_t (line 21517) | number_unsigned_t* get_impl_ptr(number_unsigned_t* /*unused*/) noexcept function number_unsigned_t (line 21523) | constexpr const number_unsigned_t* get_impl_ptr(const number_unsigned_t*... function number_float_t (line 21529) | number_float_t* get_impl_ptr(number_float_t* /*unused*/) noexcept function number_float_t (line 21535) | constexpr const number_float_t* get_impl_ptr(const number_float_t* /*unu... function binary_t (line 21541) | binary_t* get_impl_ptr(binary_t* /*unused*/) noexcept function binary_t (line 21547) | constexpr const binary_t* get_impl_ptr(const binary_t* /*unused*/) const... function ReferenceType (line 21564) | static ReferenceType get_ref_impl(ThisType& obj) function get_ptr (line 21597) | constexpr auto get_ptr() const noexcept -> decltype(std::declval /*unused*/) const noexcept(no... function BasicJsonType (line 21714) | BasicJsonType get_impl(detail::priority_tag<2> /*unused*/) const function basic_json (line 21737) | basic_json get_impl(detail::priority_tag<3> /*unused*/) const function get_impl (line 21750) | constexpr auto get_impl(detail::priority_tag<4> /*unused*/) const noexcept function get (line 21826) | auto get() noexcept -> decltype(std::declval().template g... function ValueType (line 21839) | ValueType & get_to(ValueType& v) const noexcept(noexcept( function ValueType (line 21852) | ValueType & get_to(ValueType& v) const function Array (line 21863) | Array get_to(T (&v)[N]) const // NOLINT(cppcoreguidelines-avoid-c-arrays... function ReferenceType (line 21875) | ReferenceType get_ref() function ReferenceType (line 21886) | ReferenceType get_ref() const function binary_t (line 21945) | binary_t& get_binary() function binary_t (line 21957) | const binary_t& get_binary() const function reference (line 21979) | reference at(size_type idx) function const_reference (line 22002) | const_reference at(size_type idx) const function reference (line 22025) | reference at(const typename object_t::key_type& key) function reference (line 22045) | reference at(KeyType && key) function const_reference (line 22063) | const_reference at(const typename object_t::key_type& key) const function const_reference (line 22083) | const_reference at(KeyType && key) const function reference (line 22101) | reference operator[](size_type idx) function const_reference (line 22147) | const_reference operator[](size_type idx) const function reference (line 22160) | reference operator[](typename object_t::key_type key) // NOLINT(performa... function const_reference (line 22182) | const_reference operator[](const typename object_t::key_type& key) const function reference (line 22198) | reference operator[](T* key) function const_reference (line 22204) | const_reference operator[](T* key) const function reference (line 22213) | reference operator[](KeyType && key) function const_reference (line 22237) | const_reference operator[](KeyType && key) const class ValueType (line 22263) | class ValueType function ReturnType (line 22292) | ReturnType value(const typename object_t::key_type& key, ValueType && de... function ValueType (line 22318) | ValueType value(KeyType && key, const ValueType& default_value) const function ReturnType (line 22345) | ReturnType value(KeyType && key, ValueType && default_value) const function ValueType (line 22368) | ValueType value(const json_pointer& ptr, const ValueType& default_value)... function ReturnType (line 22393) | ReturnType value(const json_pointer& ptr, ValueType && default_value) const function ValueType (line 22417) | ValueType value(const ::nlohmann::json_pointer& ptr, cons... function ReturnType (line 22428) | ReturnType value(const ::nlohmann::json_pointer& ptr, Val... function reference (line 22435) | reference front() function const_reference (line 22442) | const_reference front() const function reference (line 22449) | reference back() function const_reference (line 22458) | const_reference back() const function IteratorType (line 22470) | IteratorType erase(IteratorType pos) // NOLINT(performance-unnecessary-v... function IteratorType (line 22540) | IteratorType erase(IteratorType first, IteratorType last) // NOLINT(perf... function erase_internal (line 22608) | private: function size_type (line 22624) | size_type erase_internal(KeyType && key) function size_type (line 22656) | size_type erase(KeyType && key) function erase (line 22663) | void erase(const size_type idx) function iterator (line 22692) | iterator find(const typename object_t::key_type& key) function const_iterator (line 22706) | const_iterator find(const typename object_t::key_type& key) const function iterator (line 22722) | iterator find(KeyType && key) function const_iterator (line 22738) | const_iterator find(KeyType && key) const function size_type (line 22752) | size_type count(const typename object_t::key_type& key) const function size_type (line 22762) | size_type count(KeyType && key) const function contains (line 22770) | bool contains(const typename object_t::key_type& key) const function contains (line 22779) | bool contains(KeyType && key) const function contains (line 22786) | bool contains(const json_pointer& ptr) const function contains (line 22793) | bool contains(const typename ::nlohmann::json_pointer& pt... function iterator (line 22809) | iterator begin() noexcept function const_iterator (line 22818) | const_iterator begin() const noexcept function const_iterator (line 22825) | const_iterator cbegin() const noexcept function iterator (line 22834) | iterator end() noexcept function const_iterator (line 22843) | const_iterator end() const noexcept function const_iterator (line 22850) | const_iterator cend() const noexcept function reverse_iterator (line 22859) | reverse_iterator rbegin() noexcept function const_reverse_iterator (line 22866) | const_reverse_iterator rbegin() const noexcept function reverse_iterator (line 22873) | reverse_iterator rend() noexcept function const_reverse_iterator (line 22880) | const_reverse_iterator rend() const noexcept function const_reverse_iterator (line 22887) | const_reverse_iterator crbegin() const noexcept function const_reverse_iterator (line 22894) | const_reverse_iterator crend() const noexcept function iterator_wrapper (line 22906) | static iteration_proxy iterator_wrapper(reference ref) noexcept function iterator_wrapper (line 22917) | static iteration_proxy iterator_wrapper(const_reference ... function items (line 22924) | iteration_proxy items() noexcept function items (line 22931) | iteration_proxy items() const noexcept function empty (line 22947) | bool empty() const noexcept function size_type (line 22986) | size_type size() const noexcept function size_type (line 23025) | size_type max_size() const noexcept function clear (line 23068) | void clear() noexcept function push_back (line 23129) | void push_back(basic_json&& val) function reference (line 23154) | reference operator+=(basic_json&& val) function push_back (line 23162) | void push_back(const basic_json& val) function reference (line 23186) | reference operator+=(const basic_json& val) function push_back (line 23194) | void push_back(const typename object_t::value_type& val) function reference (line 23217) | reference operator+=(const typename object_t::value_type& val) function push_back (line 23225) | void push_back(initializer_list_t init) function reference (line 23241) | reference operator+=(initializer_list_t init) function reference (line 23250) | reference emplace_back(Args&& ... args) function emplace (line 23275) | std::pair emplace(Args&& ... args) function iterator (line 23307) | iterator insert_iterator(const_iterator pos, Args&& ... args) // NOLINT(... function iterator (line 23326) | iterator insert(const_iterator pos, const basic_json& val) // NOLINT(per... function iterator (line 23346) | iterator insert(const_iterator pos, basic_json&& val) // NOLINT(performa... function iterator (line 23353) | iterator insert(const_iterator pos, size_type cnt, const basic_json& val... function iterator (line 23373) | iterator insert(const_iterator pos, const_iterator first, const_iterator... function iterator (line 23404) | iterator insert(const_iterator pos, initializer_list_t ilist) // NOLINT(... function insert (line 23424) | void insert(const_iterator first, const_iterator last) // NOLINT(perform... function update (line 23450) | void update(const_reference j, bool merge_objects = false) function update (line 23457) | void update(const_iterator first, const_iterator last, bool merge_object... function swap (line 23504) | void swap(reference other) noexcept ( function friend (line 23521) | friend void swap(reference left, reference right) noexcept ( function swap (line 23533) | void swap(array_t& other) // NOLINT(bugprone-exception-escape,cppcoregui... function swap (line 23549) | void swap(object_t& other) // NOLINT(bugprone-exception-escape,cppcoregu... function swap (line 23565) | void swap(string_t& other) // NOLINT(bugprone-exception-escape,cppcoregu... function swap (line 23581) | void swap(binary_t& other) // NOLINT(bugprone-exception-escape,cppcoregu... function swap (line 23597) | void swap(typename binary_t::container_type& other) // NOLINT(bugprone-e... function else (line 23686) | else if(compares_unordered(lhs, rhs))\ function compares_unordered (line 23715) | bool compares_unordered(const_reference rhs, bool inverse = false) const... function friend (line 23828) | friend bool operator==(const_reference lhs, const_reference rhs) noexcept function friend (line 23860) | friend bool operator!=(const_reference lhs, const_reference rhs) noexcept function friend (line 23917) | friend bool operator<=(const_reference lhs, const_reference rhs) noexcept function friend (line 23946) | friend bool operator>(const_reference lhs, const_reference rhs) noexcept function friend (line 23976) | friend bool operator>=(const_reference lhs, const_reference rhs) noexcept function friend (line 24017) | friend std::ostream& operator<<(std::ostream& o, const basic_json& j) function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24056) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24070) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 24084) | static basic_json parse(detail::span_input_adapter&& i, function accept (line 24097) | static bool accept(InputType&& i, function accept (line 24106) | static bool accept(IteratorType first, IteratorType last, function accept (line 24114) | static bool accept(detail::span_input_adapter&& i, function sax_parse (line 24124) | static bool sax_parse(InputType&& i, SAX* sax, function sax_parse (line 24139) | static bool sax_parse(IteratorType first, IteratorType last, SAX* sax, function sax_parse (line 24158) | static bool sax_parse(detail::span_input_adapter&& i, SAX* sax, function JSON_HEDLEY_RETURNS_NON_NULL (line 24199) | JSON_HEDLEY_RETURNS_NON_NULL type data (line 24231) | struct data method data (line 24239) | data(const value_t v) method data (line 24244) | data(size_type cnt, const basic_json& val) method data (line 24250) | data() noexcept = default; method data (line 24251) | data(data&&) noexcept = default; method data (line 24252) | data(const data&) noexcept = delete; method data (line 24253) | data& operator=(data&&) noexcept = delete; method data (line 24254) | data& operator=(const data&) noexcept = delete; function end_pos (line 24280) | constexpr std::size_t end_pos() const noexcept function to_cbor (line 24305) | static void to_cbor(const basic_json& j, detail::output_adapter o) function to_msgpack (line 24319) | static std::vector to_msgpack(const basic_json& j) function to_msgpack (line 24328) | static void to_msgpack(const basic_json& j, detail::output_adapter o) function to_ubjson (line 24342) | static std::vector to_ubjson(const basic_json& j, function to_ubjson (line 24353) | static void to_ubjson(const basic_json& j, detail::output_adapter o, function to_bjdata (line 24369) | static std::vector to_bjdata(const basic_json& j, function to_bjdata (line 24381) | static void to_bjdata(const basic_json& j, detail::output_adapter o, function to_bson (line 24399) | static std::vector to_bson(const basic_json& j) function to_bson (line 24408) | static void to_bson(const basic_json& j, detail::output_adapter o) function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24423) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24439) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 24455) | static basic_json from_cbor(const T* ptr, std::size_t len, function basic_json (line 24465) | static basic_json from_cbor(detail::span_input_adapter&& i, function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24481) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24496) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 24511) | static basic_json from_msgpack(const T* ptr, std::size_t len, function basic_json (line 24520) | static basic_json from_msgpack(detail::span_input_adapter&& i, function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24535) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24550) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 24565) | static basic_json from_ubjson(const T* ptr, std::size_t len, function basic_json (line 24574) | static basic_json from_ubjson(detail::span_input_adapter&& i, function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24589) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24604) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24619) | JSON_HEDLEY_WARN_UNUSED_RESULT function JSON_HEDLEY_WARN_UNUSED_RESULT (line 24634) | JSON_HEDLEY_WARN_UNUSED_RESULT function basic_json (line 24649) | static basic_json from_bson(const T* ptr, std::size_t len, function basic_json (line 24658) | static basic_json from_bson(detail::span_input_adapter&& i, function reference (line 24680) | reference operator[](const json_pointer& ptr) function reference (line 24687) | reference operator[](const ::nlohmann::json_pointer& ptr) function const_reference (line 24694) | const_reference operator[](const json_pointer& ptr) const function const_reference (line 24701) | const_reference operator[](const ::nlohmann::json_pointer... function reference (line 24708) | reference at(const json_pointer& ptr) function reference (line 24715) | reference at(const ::nlohmann::json_pointer& ptr) function const_reference (line 24722) | const_reference at(const json_pointer& ptr) const function const_reference (line 24729) | const_reference at(const ::nlohmann::json_pointer& ptr) c... function basic_json (line 24736) | basic_json flatten() const function basic_json (line 24745) | basic_json unflatten() const function patch_inplace (line 24761) | void patch_inplace(const basic_json& json_patch) function basic_json (line 25032) | basic_json patch(const basic_json& json_patch) const function JSON_HEDLEY_WARN_UNUSED_RESULT (line 25041) | JSON_HEDLEY_WARN_UNUSED_RESULT function merge_patch (line 25184) | void merge_patch(const basic_json& apply_patch) function NLOHMANN_BASIC_JSON_TPL_DECLARATION (line 25215) | NLOHMANN_BASIC_JSON_TPL_DECLARATION function NLOHMANN_JSON_NAMESPACE_END (line 25252) | NLOHMANN_JSON_NAMESPACE_END FILE: echo-servers/asio_echo.cpp class session (line 17) | class session { method session (line 19) | session(boost::asio::io_service& io_service) : method start (line 27) | void start() { method handle_read (line 34) | void handle_read(const boost::system::error_code& error, method handle_write (line 45) | void handle_write(const boost::system::error_code& error) { class server (line 64) | class server { method server (line 66) | server(boost::asio::io_service& io_service, short port) : method handle_accept (line 75) | void handle_accept(session* new_session, function main (line 93) | int main(int argc, char** argv) { FILE: echo-servers/libev_echo.c function do_recv (line 15) | void do_recv(struct ev_loop *loop, struct ev_io *io, int revents) { function do_accept (line 33) | void do_accept(struct ev_loop *loop, struct ev_io *listenio, int revents) { function main (line 46) | int main(int argc, char** argv) { FILE: echo-servers/libevent_echo.c function error_cb (line 12) | void error_cb(struct bufferevent* bev, short event, void* userdata) { function read_cb (line 16) | void read_cb(struct bufferevent* bev, void* userdata) { function on_accept (line 28) | void on_accept(struct evconnlistener* listener, evutil_socket_t connfd, ... function main (line 35) | int main(int argc, char** argv) { FILE: echo-servers/libhv_echo.c function on_close (line 3) | void on_close(hio_t* io) { function on_recv (line 6) | void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 10) | void on_accept(hio_t* io) { function main (line 16) | int main(int argc, char** argv) { FILE: echo-servers/libuv_echo.c type uv_write_req_t (line 8) | typedef struct { function alloc_cb (line 13) | void alloc_cb(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) { function close_cb (line 18) | void close_cb(uv_handle_t* handle) { function write_cb (line 22) | void write_cb(uv_write_t* req, int status) { function read_cb (line 28) | void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { function do_accept (line 39) | void do_accept(uv_stream_t* server, int status) { function main (line 46) | int main(int argc, char** argv) { FILE: echo-servers/muduo_echo.cpp class EchoTcpServer (line 19) | class EchoTcpServer { method EchoTcpServer (line 21) | EchoTcpServer(EventLoop* loop, const InetAddress& addr) method start (line 28) | void start() { method onConnection (line 33) | void onConnection(const TcpConnectionPtr& conn) { method onMessage (line 36) | void onMessage(const TcpConnectionPtr& conn, function main (line 45) | int main(int argc, char** argv) { FILE: echo-servers/pingpong_client.cpp function print_help (line 36) | static void print_help() { function print_cmd (line 41) | static void print_cmd() { function print_result (line 46) | static void print_result() { function on_close (line 53) | static void on_close(hio_t* io) { function on_recv (line 61) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_connect (line 67) | static void on_connect(hio_t* io) { function start_connect (line 80) | static void start_connect(hloop_t* loop) { function main (line 92) | int main(int argc, char** argv) { FILE: echo-servers/poco_echo.cpp class EchoServiceHandler (line 66) | class EchoServiceHandler method EchoServiceHandler (line 69) | EchoServiceHandler(StreamSocket& socket, SocketReactor& reactor): method onReadable (line 91) | void onReadable(const AutoPtr& pNf) method onShutdown (line 100) | void onShutdown(const AutoPtr& pNf) class EchoServer (line 117) | class EchoServer: public Poco::Util::ServerApplication method EchoServer (line 137) | EchoServer(): _helpRequested(false) method initialize (line 146) | void initialize(Application& self) method uninitialize (line 152) | void uninitialize() method defineOptions (line 157) | void defineOptions(OptionSet& options) method handleOption (line 167) | void handleOption(const std::string& name, const std::string& value) method displayHelp (line 175) | void displayHelp() method main (line 184) | int main(const std::vector& args) function main (line 221) | int main(int argc, char** argv) FILE: event/epoll.c type HANDLE (line 10) | typedef HANDLE epoll_handle_t; type epoll_handle_t (line 13) | typedef int epoll_handle_t; type epoll_event (line 19) | struct epoll_event type epoll_ctx_t (line 21) | typedef struct epoll_ctx_s { function iowatcher_init (line 26) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 36) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 45) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 80) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 110) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/evport.c type evport_ctx_t (line 13) | typedef struct evport_ctx_s { function evport_ctx_resize (line 20) | static void evport_ctx_resize(evport_ctx_t* evport_ctx, int size) { function iowatcher_init (line 27) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 40) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 49) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 79) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 106) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/hevent.c function hloop_next_event_id (line 9) | uint64_t hloop_next_event_id() { function hio_next_id (line 14) | uint32_t hio_next_id() { function fill_io_type (line 19) | static void fill_io_type(hio_t* io) { function hio_socket_init (line 45) | static void hio_socket_init(hio_t* io) { function hio_init (line 65) | void hio_init(hio_t* io) { function hio_ready (line 82) | void hio_ready(hio_t* io) { function hio_done (line 161) | void hio_done(hio_t* io) { function hio_free (line 188) | void hio_free(hio_t* io) { function hio_is_opened (line 198) | bool hio_is_opened(hio_t* io) { function hio_is_connected (line 203) | bool hio_is_connected(hio_t* io) { function hio_is_closed (line 208) | bool hio_is_closed(hio_t* io) { function hio_id (line 213) | uint32_t hio_id (hio_t* io) { function hio_fd (line 217) | int hio_fd(hio_t* io) { function hio_type_e (line 221) | hio_type_e hio_type(hio_t* io) { function hio_error (line 225) | int hio_error(hio_t* io) { function hio_events (line 229) | int hio_events(hio_t* io) { function hio_revents (line 233) | int hio_revents(hio_t* io) { type sockaddr (line 237) | struct sockaddr type sockaddr (line 241) | struct sockaddr function hio_set_context (line 245) | void hio_set_context(hio_t* io, void* ctx) { function haccept_cb (line 253) | haccept_cb hio_getcb_accept(hio_t* io) { function hconnect_cb (line 257) | hconnect_cb hio_getcb_connect(hio_t* io) { function hread_cb (line 261) | hread_cb hio_getcb_read(hio_t* io) { function hwrite_cb (line 265) | hwrite_cb hio_getcb_write(hio_t* io) { function hclose_cb (line 269) | hclose_cb hio_getcb_close(hio_t* io) { function hio_setcb_accept (line 273) | void hio_setcb_accept(hio_t* io, haccept_cb accept_cb) { function hio_setcb_connect (line 277) | void hio_setcb_connect(hio_t* io, hconnect_cb connect_cb) { function hio_setcb_read (line 281) | void hio_setcb_read(hio_t* io, hread_cb read_cb) { function hio_setcb_write (line 285) | void hio_setcb_write(hio_t* io, hwrite_cb write_cb) { function hio_setcb_close (line 289) | void hio_setcb_close(hio_t* io, hclose_cb close_cb) { function hio_accept_cb (line 293) | void hio_accept_cb(hio_t* io) { function hio_connect_cb (line 308) | void hio_connect_cb(hio_t* io) { function hio_handle_read (line 324) | void hio_handle_read(hio_t* io, void* buf, int readbytes) { function hio_read_cb (line 392) | void hio_read_cb(hio_t* io, void* buf, int len) { function hio_write_cb (line 415) | void hio_write_cb(hio_t* io, const void* buf, int len) { function hio_close_cb (line 423) | void hio_close_cb(hio_t* io) { function hio_set_type (line 434) | void hio_set_type(hio_t* io, hio_type_e type) { function hio_set_localaddr (line 438) | void hio_set_localaddr(hio_t* io, struct sockaddr* addr, int addrlen) { function hio_set_peeraddr (line 445) | void hio_set_peeraddr (hio_t* io, struct sockaddr* addr, int addrlen) { function hio_enable_ssl (line 452) | int hio_enable_ssl(hio_t* io) { function hio_is_ssl (line 457) | bool hio_is_ssl(hio_t* io) { function hssl_t (line 461) | hssl_t hio_get_ssl(hio_t* io) { function hssl_ctx_t (line 465) | hssl_ctx_t hio_get_ssl_ctx(hio_t* io) { function hio_set_ssl (line 469) | int hio_set_ssl(hio_t* io, hssl_t ssl) { function hio_set_ssl_ctx (line 475) | int hio_set_ssl_ctx(hio_t* io, hssl_ctx_t ssl_ctx) { function hio_new_ssl_ctx (line 481) | int hio_new_ssl_ctx(hio_t* io, hssl_ctx_opt_t* opt) { function hio_set_hostname (line 488) | int hio_set_hostname(hio_t* io, const char* hostname) { function hio_del_connect_timer (line 498) | void hio_del_connect_timer(hio_t* io) { function hio_del_close_timer (line 506) | void hio_del_close_timer(hio_t* io) { function hio_del_read_timer (line 514) | void hio_del_read_timer(hio_t* io) { function hio_del_write_timer (line 522) | void hio_del_write_timer(hio_t* io) { function hio_del_keepalive_timer (line 530) | void hio_del_keepalive_timer(hio_t* io) { function hio_del_heartbeat_timer (line 538) | void hio_del_heartbeat_timer(hio_t* io) { function hio_set_connect_timeout (line 547) | void hio_set_connect_timeout(hio_t* io, int timeout_ms) { function hio_set_close_timeout (line 551) | void hio_set_close_timeout(hio_t* io, int timeout_ms) { function __read_timeout_cb (line 555) | static void __read_timeout_cb(htimer_t* timer) { function hio_set_read_timeout (line 573) | void hio_set_read_timeout(hio_t* io, int timeout_ms) { function __write_timeout_cb (line 591) | static void __write_timeout_cb(htimer_t* timer) { function hio_set_write_timeout (line 609) | void hio_set_write_timeout(hio_t* io, int timeout_ms) { function __keepalive_timeout_cb (line 627) | static void __keepalive_timeout_cb(htimer_t* timer) { function hio_set_keepalive_timeout (line 646) | void hio_set_keepalive_timeout(hio_t* io, int timeout_ms) { function __heartbeat_timer_cb (line 664) | static void __heartbeat_timer_cb(htimer_t* timer) { function hio_set_heartbeat (line 671) | void hio_set_heartbeat(hio_t* io, int interval_ms, hio_send_heartbeat_fn... function hio_alloc_readbuf (line 691) | void hio_alloc_readbuf(hio_t* io, int len) { function hio_free_readbuf (line 708) | void hio_free_readbuf(hio_t* io) { function hio_memmove_readbuf (line 718) | void hio_memmove_readbuf(hio_t* io) { function hio_set_readbuf (line 733) | void hio_set_readbuf(hio_t* io, void* buf, size_t len) { function hio_readbuf_t (line 742) | hio_readbuf_t* hio_get_readbuf(hio_t* io) { function hio_set_max_read_bufsize (line 746) | void hio_set_max_read_bufsize (hio_t* io, uint32_t size) { function hio_set_max_write_bufsize (line 750) | void hio_set_max_write_bufsize(hio_t* io, uint32_t size) { function hio_write_bufsize (line 754) | size_t hio_write_bufsize(hio_t* io) { function hio_read_once (line 758) | int hio_read_once (hio_t* io) { function hio_read_until_length (line 763) | int hio_read_until_length(hio_t* io, unsigned int len) { function hio_read_until_delim (line 788) | int hio_read_until_delim(hio_t* io, unsigned char delim) { function hio_read_remain (line 816) | int hio_read_remain(hio_t* io) { function hio_set_unpack (line 827) | void hio_set_unpack(hio_t* io, unpack_setting_t* setting) { function hio_unset_unpack (line 863) | void hio_unset_unpack(hio_t* io) { function hio_read_upstream (line 872) | void hio_read_upstream(hio_t* io) { function hio_read_upstream_on_write_complete (line 880) | void hio_read_upstream_on_write_complete(hio_t* io, const void* buf, int... function hio_write_upstream (line 888) | void hio_write_upstream(hio_t* io, void* buf, int bytes) { function hio_close_upstream (line 900) | void hio_close_upstream(hio_t* io) { function hio_setup_upstream (line 907) | void hio_setup_upstream(hio_t* io1, hio_t* io2) { function hio_t (line 912) | hio_t* hio_get_upstream(hio_t* io) { function hio_t (line 916) | hio_t* hio_setup_tcp_upstream(hio_t* io, const char* host, int port, int... function hio_t (line 930) | hio_t* hio_setup_udp_upstream(hio_t* io, const char* host, int port) { FILE: event/hevent.h type hloop_s (line 31) | struct hloop_s { type hidle_s (line 73) | struct hidle_s { type htimer_s (line 86) | struct htimer_s { function hio_is_loop_readbuf (line 235) | static inline bool hio_is_loop_readbuf(hio_t* io) { function hio_is_alloced_readbuf (line 238) | static inline bool hio_is_alloced_readbuf(hio_t* io) { FILE: event/hloop.c function timers_compare (line 30) | static int timers_compare(const struct heap_node* lhs, const struct heap... function hloop_process_idles (line 34) | static int hloop_process_idles(hloop_t* loop) { function __hloop_process_timers (line 55) | static int __hloop_process_timers(struct heap* timers, uint64_t timeout) { function hloop_process_timers (line 93) | static int hloop_process_timers(hloop_t* loop) { function hloop_process_ios (line 100) | static int hloop_process_ios(hloop_t* loop, int timeout) { function hloop_process_pendings (line 109) | static int hloop_process_pendings(hloop_t* loop) { function hloop_process_events (line 140) | int hloop_process_events(hloop_t* loop, int timeout_ms) { function hloop_stat_timer_cb (line 194) | static void hloop_stat_timer_cb(htimer_t* timer) { function eventfd_read_cb (line 205) | static void eventfd_read_cb(hio_t* io, void* buf, int readbytes) { function hloop_create_eventfds (line 236) | static int hloop_create_eventfds(hloop_t* loop) { function hloop_destroy_eventfds (line 261) | static void hloop_destroy_eventfds(hloop_t* loop) { function hloop_post_event (line 276) | void hloop_post_event(hloop_t* loop, hevent_t* ev) { function hloop_init (line 314) | static void hloop_init(hloop_t* loop) { function hloop_cleanup (line 356) | static void hloop_cleanup(hloop_t* loop) { function hloop_t (line 426) | hloop_t* hloop_new(int flags) { function hloop_free (line 435) | void hloop_free(hloop_t** pp) { function hloop_run (line 447) | int hloop_run(hloop_t* loop) { function hloop_wakeup (line 495) | int hloop_wakeup(hloop_t* loop) { function hloop_stop (line 502) | int hloop_stop(hloop_t* loop) { function hloop_pause (line 513) | int hloop_pause(hloop_t* loop) { function hloop_resume (line 520) | int hloop_resume(hloop_t* loop) { function hloop_status_e (line 527) | hloop_status_e hloop_status(hloop_t* loop) { function hloop_update_time (line 531) | void hloop_update_time(hloop_t* loop) { function hloop_now (line 539) | uint64_t hloop_now(hloop_t* loop) { function hloop_now_ms (line 543) | uint64_t hloop_now_ms(hloop_t* loop) { function hloop_now_us (line 547) | uint64_t hloop_now_us(hloop_t* loop) { function hloop_now_hrtime (line 551) | uint64_t hloop_now_hrtime(hloop_t* loop) { function hio_last_read_time (line 555) | uint64_t hio_last_read_time(hio_t* io) { function hio_last_write_time (line 560) | uint64_t hio_last_write_time(hio_t* io) { function hloop_pid (line 565) | long hloop_pid(hloop_t* loop) { function hloop_tid (line 569) | long hloop_tid(hloop_t* loop) { function hloop_count (line 573) | uint64_t hloop_count(hloop_t* loop) { function hloop_nios (line 577) | uint32_t hloop_nios(hloop_t* loop) { function hloop_ntimers (line 581) | uint32_t hloop_ntimers(hloop_t* loop) { function hloop_nidles (line 585) | uint32_t hloop_nidles(hloop_t* loop) { function hloop_nactives (line 589) | uint32_t hloop_nactives(hloop_t* loop) { function hloop_set_userdata (line 593) | void hloop_set_userdata(hloop_t* loop, void* userdata) { function signal_handler (line 602) | static void signal_handler(int signo) { function hsignal_t (line 610) | hsignal_t* hsignal_add(hloop_t* loop, hsignal_cb cb, int signo) { function hsignal_del (line 640) | void hsignal_del(hsignal_t* sig) { function hidle_t (line 650) | hidle_t* hidle_add(hloop_t* loop, hidle_cb cb, uint32_t repeat) { function __hidle_del (line 662) | static void __hidle_del(hidle_t* idle) { function hidle_del (line 669) | void hidle_del(hidle_t* idle) { function htimer_t (line 675) | htimer_t* htimer_add(hloop_t* loop, htimer_cb cb, uint32_t timeout_ms, u... function htimer_reset (line 695) | void htimer_reset(htimer_t* timer, uint32_t timeout_ms) { function htimer_t (line 721) | htimer_t* htimer_add_period(hloop_t* loop, htimer_cb cb, function __htimer_del (line 744) | static void __htimer_del(htimer_t* timer) { function htimer_del (line 755) | void htimer_del(htimer_t* timer) { function hio_t (line 781) | static inline hio_t* __hio_get(hloop_t* loop, int fd) { function hio_t (line 790) | hio_t* hio_get(hloop_t* loop, int fd) { function hio_detach (line 808) | void hio_detach(hio_t* io) { function hio_attach (line 815) | void hio_attach(hloop_t* loop, hio_t* io) { function hio_exists (line 830) | bool hio_exists(hloop_t* loop, int fd) { function hio_add (line 837) | int hio_add(hio_t* io, hio_cb cb, int events) { function hio_del (line 864) | int hio_del(hio_t* io, int events) { function hio_close_event_cb (line 885) | static void hio_close_event_cb(hevent_t* ev) { function hio_close_async (line 892) | int hio_close_async(hio_t* io) { function hio_t (line 903) | hio_t* hread(hloop_t* loop, int fd, void* buf, size_t len, hread_cb read... function hio_t (line 917) | hio_t* hwrite(hloop_t* loop, int fd, const void* buf, size_t len, hwrite... function hio_t (line 927) | hio_t* haccept(hloop_t* loop, int listenfd, haccept_cb accept_cb) { function hio_t (line 937) | hio_t* hconnect (hloop_t* loop, int connfd, hconnect_cb connect_cb) { function hclose (line 947) | void hclose (hloop_t* loop, int fd) { function hio_t (line 953) | hio_t* hrecv (hloop_t* loop, int connfd, void* buf, size_t len, hread_cb... function hio_t (line 963) | hio_t* hsend (hloop_t* loop, int connfd, const void* buf, size_t len, hw... function hio_t (line 973) | hio_t* hrecvfrom (hloop_t* loop, int sockfd, void* buf, size_t len, hrea... function hio_t (line 981) | hio_t* hsendto (hloop_t* loop, int sockfd, const void* buf, size_t len, ... function hio_t (line 990) | hio_t* hio_create_socket(hloop_t* loop, const char* host, int port, hio_... function hio_t (line 1045) | hio_t* hloop_create_tcp_server (hloop_t* loop, const char* host, int por... function hio_t (line 1053) | hio_t* hloop_create_tcp_client (hloop_t* loop, const char* host, int por... function hio_t (line 1062) | hio_t* hloop_create_ssl_server (hloop_t* loop, const char* host, int por... function hio_t (line 1070) | hio_t* hloop_create_ssl_client (hloop_t* loop, const char* host, int por... function hio_t (line 1079) | hio_t* hloop_create_udp_server(hloop_t* loop, const char* host, int port) { function hio_t (line 1083) | hio_t* hloop_create_udp_client(hloop_t* loop, const char* host, int port) { function hio_create_pipe (line 1087) | int hio_create_pipe(hloop_t* loop, hio_t* pipeio[2]) { FILE: event/hloop.h type hloop_t (line 9) | typedef struct hloop_s hloop_t; type hevent_t (line 10) | typedef struct hevent_s hevent_t; type hio_t (line 14) | typedef struct hio_s hio_t; type hidle_t (line 15) | typedef struct hidle_s hidle_t; type htimer_t (line 16) | typedef struct htimer_s htimer_t; type htimeout_t (line 17) | typedef struct htimeout_s htimeout_t; type hperiod_t (line 18) | typedef struct hperiod_s hperiod_t; type hsignal_t (line 19) | typedef struct hevent_s hsignal_t; type hloop_status_e (line 33) | typedef enum { type hevent_type_e (line 40) | typedef enum { type hevent_s (line 76) | struct hevent_s { type hio_type_e (line 92) | typedef enum { type hio_side_e (line 118) | typedef enum { type hio_readbuf_t (line 291) | typedef struct fifo_buf_s hio_readbuf_t; type sockaddr (line 381) | struct sockaddr type sockaddr (line 409) | struct sockaddr type sockaddr (line 410) | struct sockaddr type unpack_mode_e (line 485) | typedef enum { type unpack_coding_e (line 498) | typedef enum { function HV_INLINE (line 629) | HV_INLINE void reconn_setting_init(reconn_setting_t* reconn) { function HV_INLINE (line 639) | HV_INLINE void reconn_setting_reset(reconn_setting_t* reconn) { function HV_INLINE (line 644) | HV_INLINE bool reconn_setting_can_retry(reconn_setting_t* reconn) { function HV_INLINE (line 650) | HV_INLINE uint32_t reconn_setting_calc_delay(reconn_setting_t* reconn) { type load_balance_e (line 667) | typedef enum { type sockaddr (line 682) | struct sockaddr function HV_INLINE (line 727) | HV_INLINE void kcp_setting_init_with_normal_mode(kcp_setting_t* setting) { function HV_INLINE (line 735) | HV_INLINE void kcp_setting_init_with_fast_mode(kcp_setting_t* setting) { function HV_INLINE (line 743) | HV_INLINE void kcp_setting_init_with_fast2_mode(kcp_setting_t* setting) { function HV_INLINE (line 751) | HV_INLINE void kcp_setting_init_with_fast3_mode(kcp_setting_t* setting) { FILE: event/io_uring.c type io_uring_ctx_t (line 14) | typedef struct io_uring_ctx_s { function iowatcher_init (line 19) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 33) | int iowatcher_cleanup(hloop_t* loop) { type io_uring_sqe (line 41) | struct io_uring_sqe type io_uring (line 41) | struct io_uring type io_uring_sqe (line 42) | struct io_uring_sqe function iowatcher_add_event (line 51) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 98) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 140) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/iocp.c type iocp_ctx_t (line 10) | typedef struct iocp_ctx_s { function iowatcher_init (line 14) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 23) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 31) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 43) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 51) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/kcp/hkcp.c function __kcp_output (line 11) | static int __kcp_output(const char* buf, int len, ikcpcb* ikcp, void* us... function __kcp_update_timer_cb (line 20) | static void __kcp_update_timer_cb(htimer_t* timer) { function kcp_release (line 26) | void kcp_release(kcp_t* kcp) { function hio_set_kcp (line 39) | int hio_set_kcp(hio_t* io, kcp_setting_t* setting) { function kcp_t (line 45) | kcp_t* hio_get_kcp(hio_t* io, uint32_t conv, struct sockaddr* addr) { function hio_write_kcp_event_cb (line 83) | static void hio_write_kcp_event_cb(hevent_t* ev) { function hio_write_kcp_async (line 92) | static int hio_write_kcp_async(hio_t* io, const void* data, size_t len, ... function hio_write_kcp (line 109) | int hio_write_kcp(hio_t* io, const void* buf, size_t len, struct sockadd... function hio_read_kcp (line 126) | int hio_read_kcp (hio_t* io, void* buf, int readbytes) { FILE: event/kcp/hkcp.h type kcp_t (line 14) | typedef struct kcp_s { type sockaddr (line 24) | struct sockaddr type sockaddr (line 26) | struct sockaddr FILE: event/kcp/ikcp.c function IUINT32 (line 123) | static inline IUINT32 _imin_(IUINT32 a, IUINT32 b) { function IUINT32 (line 127) | static inline IUINT32 _imax_(IUINT32 a, IUINT32 b) { function IUINT32 (line 131) | static inline IUINT32 _ibound_(IUINT32 lower, IUINT32 middle, IUINT32 up... function _itimediff (line 136) | static inline long _itimediff(IUINT32 later, IUINT32 earlier) type IKCPSEG (line 144) | typedef struct IKCPSEG IKCPSEG; function ikcp_free (line 157) | static void ikcp_free(void *ptr) { function ikcp_allocator (line 166) | void ikcp_allocator(void* (*new_malloc)(size_t), void (*new_free)(void*)) function IKCPSEG (line 173) | static IKCPSEG* ikcp_segment_new(ikcpcb *kcp, int size) function ikcp_segment_delete (line 179) | static void ikcp_segment_delete(ikcpcb *kcp, IKCPSEG *seg) function ikcp_log (line 185) | void ikcp_log(ikcpcb *kcp, int mask, const char *fmt, ...) function ikcp_canlog (line 197) | static int ikcp_canlog(const ikcpcb *kcp, int mask) function ikcp_output (line 204) | static int ikcp_output(ikcpcb *kcp, const void *data, int size) function ikcp_qprint (line 216) | void ikcp_qprint(const char *name, const struct IQUEUEHEAD *head) function ikcpcb (line 234) | ikcpcb* ikcp_create(IUINT32 conv, void *user) function ikcp_release (line 301) | void ikcp_release(ikcpcb *kcp) function ikcp_setoutput (line 348) | void ikcp_setoutput(ikcpcb *kcp, int (*output)(const char *buf, int len, function ikcp_recv (line 358) | int ikcp_recv(ikcpcb *kcp, char *buffer, int len) function ikcp_peeksize (line 441) | int ikcp_peeksize(const ikcpcb *kcp) function ikcp_send (line 469) | int ikcp_send(ikcpcb *kcp, const char *buffer, int len) function ikcp_update_ack (line 543) | static void ikcp_update_ack(ikcpcb *kcp, IINT32 rtt) function ikcp_shrink_buf (line 560) | static void ikcp_shrink_buf(ikcpcb *kcp) function ikcp_parse_ack (line 571) | static void ikcp_parse_ack(ikcpcb *kcp, IUINT32 sn) function ikcp_parse_una (line 593) | static void ikcp_parse_una(ikcpcb *kcp, IUINT32 una) function ikcp_parse_fastack (line 609) | static void ikcp_parse_fastack(ikcpcb *kcp, IUINT32 sn, IUINT32 ts) function ikcp_ack_push (line 637) | static void ikcp_ack_push(ikcpcb *kcp, IUINT32 sn, IUINT32 ts) function ikcp_ack_get (line 673) | static void ikcp_ack_get(const ikcpcb *kcp, int p, IUINT32 *sn, IUINT32 ... function ikcp_parse_data (line 683) | void ikcp_parse_data(ikcpcb *kcp, IKCPSEG *newseg) function ikcp_input (line 749) | int ikcp_input(ikcpcb *kcp, const char *data, long size) function ikcp_wnd_unused (line 919) | static int ikcp_wnd_unused(const ikcpcb *kcp) function ikcp_flush (line 931) | void ikcp_flush(ikcpcb *kcp) function ikcp_update (line 1146) | void ikcp_update(ikcpcb *kcp, IUINT32 current) function IUINT32 (line 1183) | IUINT32 ikcp_check(const ikcpcb *kcp, IUINT32 current) function ikcp_setmtu (line 1223) | int ikcp_setmtu(ikcpcb *kcp, int mtu) function ikcp_interval (line 1238) | int ikcp_interval(ikcpcb *kcp, int interval) function ikcp_nodelay (line 1246) | int ikcp_nodelay(ikcpcb *kcp, int nodelay, int interval, int resend, int... function ikcp_wndsize (line 1272) | int ikcp_wndsize(ikcpcb *kcp, int sndwnd, int rcvwnd) function ikcp_waitsnd (line 1285) | int ikcp_waitsnd(const ikcpcb *kcp) function IUINT32 (line 1292) | IUINT32 ikcp_getconv(const void *ptr) FILE: event/kcp/ikcp.h type ISTDUINT32 (line 28) | typedef unsigned int ISTDUINT32; type ISTDINT32 (line 29) | typedef int ISTDINT32; type ISTDUINT32 (line 32) | typedef unsigned long ISTDUINT32; type ISTDINT32 (line 33) | typedef long ISTDINT32; type UInt32 (line 35) | typedef UInt32 ISTDUINT32; type SInt32 (line 36) | typedef SInt32 ISTDINT32; type u_int32_t (line 39) | typedef u_int32_t ISTDUINT32; type ISTDINT32 (line 40) | typedef int32_t ISTDINT32; type u_int32_t (line 43) | typedef u_int32_t ISTDUINT32; type ISTDINT32 (line 44) | typedef int32_t ISTDINT32; type ISTDUINT32 (line 46) | typedef unsigned __int32 ISTDUINT32; type __int32 (line 47) | typedef __int32 ISTDINT32; type ISTDUINT32 (line 50) | typedef uint32_t ISTDUINT32; type ISTDINT32 (line 51) | typedef int32_t ISTDINT32; type ISTDUINT32 (line 53) | typedef unsigned long ISTDUINT32; type ISTDINT32 (line 54) | typedef long ISTDINT32; type IINT8 (line 64) | typedef char IINT8; type IUINT8 (line 69) | typedef unsigned char IUINT8; type IUINT16 (line 74) | typedef unsigned short IUINT16; type IINT16 (line 79) | typedef short IINT16; type ISTDINT32 (line 84) | typedef ISTDINT32 IINT32; type ISTDUINT32 (line 89) | typedef ISTDUINT32 IUINT32; type __int64 (line 95) | typedef __int64 IINT64; type IINT64 (line 97) | typedef long long IINT64; type IUINT64 (line 104) | typedef unsigned __int64 IUINT64; type IUINT64 (line 106) | typedef unsigned long long IUINT64; type IQUEUEHEAD (line 137) | struct IQUEUEHEAD { type iqueue_head (line 141) | typedef struct IQUEUEHEAD iqueue_head; type IKCPSEG (line 267) | struct IKCPSEG type IKCPCB (line 289) | struct IKCPCB type ikcpcb (line 320) | typedef struct IKCPCB ikcpcb; FILE: event/kqueue.c type kqueue_ctx_t (line 17) | typedef struct kqueue_ctx_s { function kqueue_ctx_resize (line 26) | static void kqueue_ctx_resize(kqueue_ctx_t* kqueue_ctx, int size) { function iowatcher_init (line 34) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 48) | int iowatcher_cleanup(hloop_t* loop) { function __add_event (line 58) | static int __add_event(hloop_t* loop, int fd, int event) { function iowatcher_add_event (line 84) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function __del_event (line 94) | static int __del_event(hloop_t* loop, int fd, int event) { function iowatcher_del_event (line 123) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 133) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/nio.c function __connect_timeout_cb (line 10) | static void __connect_timeout_cb(htimer_t* timer) { function __close_timeout_cb (line 23) | static void __close_timeout_cb(htimer_t* timer) { function __accept_cb (line 36) | static void __accept_cb(hio_t* io) { function __connect_cb (line 40) | static void __connect_cb(hio_t* io) { function __read_cb (line 45) | static void __read_cb(hio_t* io, void* buf, int readbytes) { function __write_cb (line 51) | static void __write_cb(hio_t* io, const void* buf, int writebytes) { function __close_cb (line 57) | static void __close_cb(hio_t* io) { function ssl_server_handshake (line 68) | static void ssl_server_handshake(hio_t* io) { function ssl_client_handshake (line 89) | static void ssl_client_handshake(hio_t* io) { function nio_accept (line 110) | static void nio_accept(hio_t* io) { function nio_connect (line 177) | static void nio_connect(hio_t* io) { function nio_connect_event_cb (line 230) | static void nio_connect_event_cb(hevent_t* ev) { function nio_connect_async (line 237) | static int nio_connect_async(hio_t* io) { function __nio_read (line 247) | static int __nio_read(hio_t* io, void* buf, int len) { function __nio_write (line 272) | static int __nio_write(hio_t* io, const void* buf, int len, struct socka... function nio_read (line 307) | static void nio_read(hio_t* io) { function nio_write (line 358) | static void nio_write(hio_t* io) { function hio_handle_events (line 418) | static void hio_handle_events(hio_t* io) { function hio_accept (line 450) | int hio_accept(hio_t* io) { function hio_read (line 479) | int hio_read (hio_t* io) { function hio_write4 (line 493) | static int hio_write4 (hio_t* io, const void* buf, size_t len, struct so... function hio_write (line 585) | int hio_write (hio_t* io, const void* buf, size_t len) { function hio_sendto (line 589) | int hio_sendto (hio_t* io, const void* buf, size_t len, struct sockaddr*... function hio_close (line 593) | int hio_close (hio_t* io) { FILE: event/nlog.c type network_logger_t (line 9) | typedef struct network_logger_s { type nlog_client (line 15) | typedef struct nlog_client { function on_close (line 23) | static void on_close(hio_t* io) { function on_read (line 38) | static void on_read(hio_t* io, void* buf, int readbytes) { function on_accept (line 44) | static void on_accept(hio_t* io) { function network_logger (line 69) | void network_logger(int loglevel, const char* buf, int len) { function hio_t (line 81) | hio_t* nlog_listen(hloop_t* loop, int port) { FILE: event/noevent.c function iowatcher_init (line 4) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 8) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 12) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 16) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 20) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/overlapio.c function post_acceptex (line 10) | int post_acceptex(hio_t* listenio, hoverlapped_t* hovlp) { function post_recv (line 43) | int post_recv(hio_t* io, hoverlapped_t* hovlp) { function on_acceptex_complete (line 86) | static void on_acceptex_complete(hio_t* io) { function on_connectex_complete (line 128) | static void on_connectex_complete(hio_t* io) { function on_wsarecv_complete (line 156) | static void on_wsarecv_complete(hio_t* io) { function on_wsasend_complete (line 190) | static void on_wsasend_complete(hio_t* io) { function hio_handle_events (line 215) | static void hio_handle_events(hio_t* io) { function hio_accept (line 243) | int hio_accept (hio_t* io) { function hio_connect (line 251) | int hio_connect (hio_t* io) { function hio_read (line 294) | int hio_read (hio_t* io) { function hio_write4 (line 299) | static int hio_write4 (hio_t* io, const void* buf, size_t len, struct so... function hio_write (line 382) | int hio_write (hio_t* io, const void* buf, size_t len) { function hio_sendto (line 386) | int hio_sendto (hio_t* io, const void* buf, size_t len, struct sockaddr*... function hio_close (line 390) | int hio_close (hio_t* io) { FILE: event/overlapio.h type hoverlapped_t (line 15) | typedef struct hoverlapped_s { FILE: event/poll.c type pollfd (line 18) | struct pollfd type poll_ctx_t (line 20) | typedef struct poll_ctx_s { function iowatcher_init (line 25) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 34) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 42) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 74) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function iowatcher_poll_events (line 101) | int iowatcher_poll_events(hloop_t* loop, int timeout) { FILE: event/rudp.c function rudp_entry_free (line 8) | void rudp_entry_free(rudp_entry_t* entry) { function rudp_init (line 15) | void rudp_init(rudp_t* rudp) { function rudp_cleanup (line 21) | void rudp_cleanup(rudp_t* rudp) { function rudp_insert (line 33) | bool rudp_insert(rudp_t* rudp, rudp_entry_t* entry) { function rudp_entry_t (line 60) | rudp_entry_t* rudp_search(rudp_t* rudp, struct sockaddr* addr) { function rudp_entry_t (line 80) | rudp_entry_t* rudp_remove(rudp_t* rudp, struct sockaddr* addr) { function rudp_entry_t (line 92) | rudp_entry_t* rudp_get(rudp_t* rudp, struct sockaddr* addr) { function rudp_del (line 127) | void rudp_del(rudp_t* rudp, struct sockaddr* addr) { function rudp_entry_t (line 139) | rudp_entry_t* hio_get_rudp(hio_t* io, struct sockaddr* addr) { function hio_close_rudp_event_cb (line 145) | static void hio_close_rudp_event_cb(hevent_t* ev) { function hio_close_rudp (line 151) | int hio_close_rudp(hio_t* io, struct sockaddr* peeraddr) { FILE: event/rudp.h type rudp_t (line 15) | typedef struct rudp_s { type rudp_entry_t (line 20) | typedef struct rudp_entry_s { type sockaddr (line 38) | struct sockaddr type sockaddr (line 39) | struct sockaddr type sockaddr (line 43) | struct sockaddr type sockaddr (line 45) | struct sockaddr type sockaddr (line 48) | struct sockaddr FILE: event/select.c type select_ctx_t (line 9) | typedef struct select_ctx_s { function iowatcher_init (line 17) | int iowatcher_init(hloop_t* loop) { function iowatcher_cleanup (line 30) | int iowatcher_cleanup(hloop_t* loop) { function iowatcher_add_event (line 35) | int iowatcher_add_event(hloop_t* loop, int fd, int events) { function iowatcher_del_event (line 58) | int iowatcher_del_event(hloop_t* loop, int fd, int events) { function find_max_active_fd (line 79) | static int find_max_active_fd(hloop_t* loop) { function remove_bad_fds (line 88) | static int remove_bad_fds(hloop_t* loop) { type timeval (line 123) | struct timeval FILE: event/unpack.c function hio_unpack (line 7) | int hio_unpack(hio_t* io, void* buf, int readbytes) { function hio_unpack_by_fixed_length (line 22) | int hio_unpack_by_fixed_length(hio_t* io, void* buf, int readbytes) { function hio_unpack_by_delimiter (line 52) | int hio_unpack_by_delimiter(hio_t* io, void* buf, int readbytes) { function hio_unpack_by_length_field (line 106) | int hio_unpack_by_length_field(hio_t* io, void* buf, int readbytes) { FILE: event/wepoll/wepoll.c type EPOLL_EVENTS (line 38) | enum EPOLL_EVENTS { type SOCKET (line 71) | typedef uintptr_t SOCKET; type epoll_data_t (line 73) | typedef union epoll_data { type epoll_event (line 82) | struct epoll_event { type epoll_event (line 99) | struct epoll_event type epoll_event (line 102) | struct epoll_event type LONG (line 143) | typedef LONG NTSTATUS; type NTSTATUS (line 144) | typedef NTSTATUS* PNTSTATUS; type IO_STATUS_BLOCK (line 166) | typedef struct _IO_STATUS_BLOCK { type UNICODE_STRING (line 175) | typedef struct _UNICODE_STRING { type OBJECT_ATTRIBUTES (line 184) | typedef struct _OBJECT_ATTRIBUTES { type AFD_POLL_HANDLE_INFO (line 282) | typedef struct _AFD_POLL_HANDLE_INFO { type AFD_POLL_INFO (line 288) | typedef struct _AFD_POLL_INFO { function afd_create_device_handle (line 328) | int afd_create_device_handle(HANDLE iocp_handle, function afd_poll (line 366) | int afd_poll(HANDLE afd_device_handle, function afd_cancel_poll (line 394) | int afd_cancel_poll(HANDLE afd_device_handle, type port_state_t (line 419) | typedef struct port_state port_state_t; type queue_t (line 420) | typedef struct queue queue_t; type sock_state_t (line 421) | typedef struct sock_state sock_state_t; type ts_tree_node_t (line 422) | typedef struct ts_tree_node ts_tree_node_t; type epoll_event (line 429) | struct epoll_event type epoll_event (line 436) | struct epoll_event type reflock_t (line 482) | typedef struct reflock { type tree_t (line 499) | typedef struct tree tree_t; type tree_node_t (line 500) | typedef struct tree_node tree_node_t; type tree_t (line 502) | typedef struct tree { type tree_node_t (line 506) | typedef struct tree_node { type ts_tree_t (line 523) | typedef struct ts_tree { type ts_tree_node_t (line 528) | typedef struct ts_tree_node { function epoll_global_init (line 550) | int epoll_global_init(void) { function HANDLE (line 555) | static HANDLE epoll__create(void) { function HANDLE (line 577) | HANDLE epoll_create(int size) { function HANDLE (line 584) | HANDLE epoll_create1(int flags) { function epoll_close (line 591) | int epoll_close(HANDLE ephnd) { function epoll_ctl (line 616) | int epoll_ctl(HANDLE ephnd, int op, SOCKET sock, struct epoll_event* ev) { function epoll_wait (line 648) | int epoll_wait(HANDLE ephnd, function errno_t (line 788) | static errno_t err__map_win_error_to_errno(DWORD error) { function err_map_win_error (line 799) | void err_map_win_error(void) { function err_set_win_error (line 803) | void err_set_win_error(DWORD error) { function err_check_handle (line 808) | int err_check_handle(HANDLE handle) { function BOOL (line 842) | static BOOL CALLBACK init__once_callback(INIT_ONCE* once, function init (line 858) | int init(void) { type FARPROC (line 879) | typedef FARPROC nt__fn_ptr_cast_t; function nt_global_init (line 887) | int nt_global_init(void) { type poll_group_t (line 908) | typedef struct poll_group poll_group_t; type queue_node_t (line 910) | typedef struct queue_node queue_node_t; type queue_node_t (line 922) | typedef struct queue_node { type queue_t (line 927) | typedef struct queue { type poll_group_t (line 948) | typedef struct poll_group { function poll_group_t (line 955) | static poll_group_t* poll_group__new(port_state_t* port_state) { function poll_group_delete (line 979) | void poll_group_delete(poll_group_t* poll_group) { function poll_group_t (line 986) | poll_group_t* poll_group_from_queue_node(queue_node_t* queue_node) { function HANDLE (line 990) | HANDLE poll_group_get_afd_device_handle(poll_group_t* poll_group) { function poll_group_t (line 994) | poll_group_t* poll_group_acquire(port_state_t* port_state) { function poll_group_release (line 1014) | void poll_group_release(poll_group_t* poll_group) { type epoll_event (line 1035) | struct epoll_event type epoll_event (line 1041) | struct epoll_event type port_state_t (line 1053) | typedef struct port_state { function port_state_t (line 1064) | static inline port_state_t* port__alloc(void) { function port__free (line 1072) | static inline void port__free(port_state_t* port) { function HANDLE (line 1077) | static inline HANDLE port__create_iocp(void) { function port_state_t (line 1086) | port_state_t* port_new(HANDLE* iocp_handle_out) { function port__close_iocp (line 1117) | static inline int port__close_iocp(port_state_t* port_state) { function port_close (line 1127) | int port_close(port_state_t* port_state) { function port_delete (line 1137) | int port_delete(port_state_t* port_state) { function port__update_events (line 1168) | static int port__update_events(port_state_t* port_state) { function port__update_events_if_polling (line 1186) | static inline void port__update_events_if_polling(port_state_t* port_sta... function port__feed_events (line 1191) | static inline int port__feed_events(port_state_t* port_state, function port__poll (line 1209) | static inline int port__poll(port_state_t* port_state, function port_wait (line 1241) | int port_wait(port_state_t* port_state, function port__ctl_add (line 1319) | static inline int port__ctl_add(port_state_t* port_state, function port__ctl_mod (line 1336) | static inline int port__ctl_mod(port_state_t* port_state, function port__ctl_del (line 1351) | static inline int port__ctl_del(port_state_t* port_state, SOCKET sock) { function port__ctl_op (line 1361) | static inline int port__ctl_op(port_state_t* port_state, function port_ctl (line 1377) | int port_ctl(port_state_t* port_state, function port_register_socket (line 1390) | int port_register_socket(port_state_t* port_state, function port_unregister_socket (line 1400) | void port_unregister_socket(port_state_t* port_state, function sock_state_t (line 1405) | sock_state_t* port_find_socket(port_state_t* port_state, SOCKET socket) { function port_request_socket_update (line 1412) | void port_request_socket_update(port_state_t* port_state, function port_cancel_socket_update (line 1420) | void port_cancel_socket_update(port_state_t* port_state, function port_add_deleted_socket (line 1428) | void port_add_deleted_socket(port_state_t* port_state, function port_remove_deleted_socket (line 1436) | void port_remove_deleted_socket(port_state_t* port_state, function HANDLE (line 1444) | HANDLE port_get_iocp_handle(port_state_t* port_state) { function queue_t (line 1449) | queue_t* port_get_poll_group_queue(port_state_t* port_state) { function port_state_t (line 1453) | port_state_t* port_state_from_handle_tree_node(ts_tree_node_t* tree_node) { function ts_tree_node_t (line 1457) | ts_tree_node_t* port_state_to_handle_tree_node(port_state_t* port_state) { function queue_init (line 1461) | void queue_init(queue_t* queue) { function queue_node_init (line 1465) | void queue_node_init(queue_node_t* node) { function queue__detach_node (line 1470) | static inline void queue__detach_node(queue_node_t* node) { function queue_node_t (line 1475) | queue_node_t* queue_first(const queue_t* queue) { function queue_node_t (line 1479) | queue_node_t* queue_last(const queue_t* queue) { function queue_prepend (line 1483) | void queue_prepend(queue_t* queue, queue_node_t* node) { function queue_append (line 1490) | void queue_append(queue_t* queue, queue_node_t* node) { function queue_move_to_start (line 1497) | void queue_move_to_start(queue_t* queue, queue_node_t* node) { function queue_move_to_end (line 1502) | void queue_move_to_end(queue_t* queue, queue_node_t* node) { function queue_remove (line 1507) | void queue_remove(queue_node_t* node) { function queue_is_empty (line 1512) | bool queue_is_empty(const queue_t* queue) { function queue_is_enqueued (line 1516) | bool queue_is_enqueued(const queue_node_t* node) { function reflock_global_init (line 1528) | int reflock_global_init(void) { function reflock_init (line 1536) | void reflock_init(reflock_t* reflock) { function reflock__signal_event (line 1540) | static void reflock__signal_event(void* address) { function reflock__await_event (line 1547) | static void reflock__await_event(void* address) { function reflock_ref (line 1554) | void reflock_ref(reflock_t* reflock) { function reflock_unref (line 1562) | void reflock_unref(reflock_t* reflock) { function reflock_unref_and_destroy (line 1572) | void reflock_unref_and_destroy(reflock_t* reflock) { type sock__poll_status_t (line 1591) | typedef enum sock__poll_status { type sock_state_t (line 1597) | typedef struct sock_state { function sock_state_t (line 1611) | static inline sock_state_t* sock__alloc(void) { function sock__free (line 1618) | static inline void sock__free(sock_state_t* sock_state) { function sock__cancel_poll (line 1623) | static inline int sock__cancel_poll(sock_state_t* sock_state) { function sock_state_t (line 1635) | sock_state_t* sock_new(port_state_t* port_state, SOCKET socket) { function sock__delete (line 1676) | static int sock__delete(port_state_t* port_state, function sock_delete (line 1705) | void sock_delete(port_state_t* port_state, sock_state_t* sock_state) { function sock_force_delete (line 1709) | void sock_force_delete(port_state_t* port_state, sock_state_t* sock_stat... function sock_set_event (line 1713) | int sock_set_event(port_state_t* port_state, function DWORD (line 1730) | static inline DWORD sock__epoll_events_to_afd_events(uint32_t epoll_even... function sock__afd_events_to_epoll_events (line 1751) | static inline uint32_t sock__afd_events_to_epoll_events(DWORD afd_events) { function sock_update (line 1772) | int sock_update(port_state_t* port_state, sock_state_t* sock_state) { function sock_feed_event (line 1834) | int sock_feed_event(port_state_t* port_state, function sock_state_t (line 1889) | sock_state_t* sock_state_from_queue_node(queue_node_t* queue_node) { function queue_node_t (line 1893) | queue_node_t* sock_state_to_queue_node(sock_state_t* sock_state) { function sock_state_t (line 1897) | sock_state_t* sock_state_from_tree_node(tree_node_t* tree_node) { function tree_node_t (line 1901) | tree_node_t* sock_state_to_tree_node(sock_state_t* sock_state) { function ts_tree_init (line 1905) | void ts_tree_init(ts_tree_t* ts_tree) { function ts_tree_node_init (line 1910) | void ts_tree_node_init(ts_tree_node_t* node) { function ts_tree_add (line 1915) | int ts_tree_add(ts_tree_t* ts_tree, ts_tree_node_t* node, uintptr_t key) { function ts_tree_node_t (line 1925) | static inline ts_tree_node_t* ts_tree__find_node(ts_tree_t* ts_tree, function ts_tree_node_t (line 1934) | ts_tree_node_t* ts_tree_del_and_ref(ts_tree_t* ts_tree, uintptr_t key) { function ts_tree_node_t (line 1950) | ts_tree_node_t* ts_tree_find_and_ref(ts_tree_t* ts_tree, uintptr_t key) { function ts_tree_node_unref (line 1964) | void ts_tree_node_unref(ts_tree_node_t* node) { function ts_tree_node_unref_and_destroy (line 1968) | void ts_tree_node_unref_and_destroy(ts_tree_node_t* node) { function tree_init (line 1972) | void tree_init(tree_t* tree) { function tree_node_init (line 1976) | void tree_node_init(tree_node_t* node) { function tree__rotate_left (line 2001) | static inline void tree__rotate_left(tree_t* tree, tree_node_t* node) { function tree__rotate_right (line 2005) | static inline void tree__rotate_right(tree_t* tree, tree_node_t* node) { function tree_add (line 2036) | int tree_add(tree_t* tree, tree_node_t* node, uintptr_t key) { function tree_del (line 2096) | void tree_del(tree_t* tree, tree_node_t* node) { function tree_node_t (line 2169) | tree_node_t* tree_find(const tree_t* tree, uintptr_t key) { function tree_node_t (line 2182) | tree_node_t* tree_root(const tree_t* tree) { function ws_global_init (line 2194) | int ws_global_init(void) { function SOCKET (line 2205) | static inline SOCKET ws__ioctl_get_bsp_socket(SOCKET socket, DWORD ioctl) { function SOCKET (line 2223) | SOCKET ws_get_base_socket(SOCKET socket) { FILE: event/wepoll/wepoll.h type EPOLL_EVENTS (line 41) | enum EPOLL_EVENTS { type SOCKET (line 74) | typedef uintptr_t SOCKET; type epoll_data_t (line 76) | typedef union epoll_data { type epoll_event (line 85) | struct epoll_event { type epoll_event (line 102) | struct epoll_event type epoll_event (line 105) | struct epoll_event FILE: evpp/Buffer.h function namespace (line 8) | namespace hv { FILE: evpp/Channel.h function namespace (line 14) | namespace hv { function class (line 237) | class SocketChannel : public Channel { function startConnect (line 326) | int startConnect(struct sockaddr* peeraddr) { function startConnect (line 332) | int startConnect() { function isConnected (line 339) | bool isConnected() { type sockaddr (line 345) | struct sockaddr type sockaddr (line 352) | struct sockaddr function send_heartbeat (line 368) | static void send_heartbeat(hio_t* io) { type std (line 376) | typedef std::shared_ptr ChannelPtr; type std (line 377) | typedef std::shared_ptr SocketChannelPtr; FILE: evpp/Event.h function namespace (line 9) | namespace hv { FILE: evpp/EventLoop.h function namespace (line 16) | namespace hv { type std (line 239) | typedef std::shared_ptr EventLoopPtr; function EventLoop (line 242) | static inline EventLoop* tlsEventLoop() { function TimerID (line 247) | static inline TimerID setTimer(int timeout_ms, TimerCallback cb, uint32_... function killTimer (line 254) | static inline void killTimer(TimerID timerID) { function resetTimer (line 261) | static inline void resetTimer(TimerID timerID, int timeout_ms) { function TimerID (line 268) | static inline TimerID setTimeout(int timeout_ms, TimerCallback cb) { function TimerID (line 272) | static inline TimerID setInterval(int interval_ms, TimerCallback cb) { FILE: evpp/EventLoopThread.h function namespace (line 10) | namespace hv { function join (line 76) | void join() { type std (line 112) | typedef std::shared_ptr EventLoopThreadPtr; FILE: evpp/EventLoopThreadPool.h function namespace (line 7) | namespace hv { FILE: evpp/EventLoopThreadPool_test.cpp function onTimer (line 14) | static void onTimer(TimerID timerID, int n) { function main (line 18) | int main(int argc, char* argv[]) { FILE: evpp/EventLoopThread_test.cpp function onTimer (line 14) | static void onTimer(TimerID timerID, int n) { function main (line 18) | int main(int argc, char* argv[]) { FILE: evpp/EventLoop_test.cpp function onTimer (line 14) | static void onTimer(TimerID timerID, int n) { function main (line 18) | int main(int argc, char* argv[]) { FILE: evpp/Status.h function namespace (line 6) | namespace hv { FILE: evpp/TcpClient.h function namespace (line 11) | namespace hv { function createsocket (line 58) | int createsocket(struct sockaddr* remote_addr) { function bind (line 83) | int bind(struct sockaddr* local_addr) { function closesocket (line 95) | void closesocket() { function startConnect (line 106) | int startConnect() { function startReconnect (line 174) | int startReconnect() { function start (line 187) | void start() { function isConnected (line 191) | bool isConnected() { function send (line 197) | int send(const void* data, int size) { function send (line 201) | int send(Buffer* buf) { function send (line 204) | int send(const std::string& str) { function setConnectTimeout (line 220) | void setConnectTimeout(int ms) { function setReconnect (line 224) | void setReconnect(reconn_setting_t* setting) { function isReconnect (line 234) | bool isReconnect() { function setUnpack (line 238) | void setUnpack(unpack_setting_t* setting) { function EventLoopPtr (line 283) | const EventLoopPtr& loop() { type TcpClientTmpl (line 311) | typedef TcpClientTmpl TcpClient; FILE: evpp/TcpClientEventLoop_test.cpp class MyTcpClient (line 20) | class MyTcpClient : public TcpClient { method MyTcpClient (line 22) | MyTcpClient(EventLoopPtr loop = NULL) : TcpClient(loop) { method connect (line 53) | int connect(int port) { function TestMultiClientsRunInOneEventLoop (line 78) | int TestMultiClientsRunInOneEventLoop(int port, int nclients) { function main (line 118) | int main(int argc, char* argv[]) { FILE: evpp/TcpClient_test.cpp function main (line 20) | int main(int argc, char* argv[]) { FILE: evpp/TcpServer.h function namespace (line 11) | namespace hv { function closesocket (line 51) | void closesocket() { function setMaxConnectionNum (line 63) | void setMaxConnectionNum(uint32_t num) { function setLoadBalance (line 67) | void setLoadBalance(load_balance_e lb) { function setThreadNum (line 72) | void setThreadNum(int num) { function startAccept (line 76) | int startAccept() { function stopAccept (line 103) | int stopAccept() { function setUnpack (line 139) | void setUnpack(unpack_setting_t* setting) { function TSocketChannelPtr (line 151) | const TSocketChannelPtr& addChannel(hio_t* io) { function TSocketChannelPtr (line 159) | TSocketChannelPtr getChannelById(uint32_t id) { function removeChannel (line 165) | void removeChannel(const TSocketChannelPtr& channel) { function connectionNum (line 171) | size_t connectionNum() { function foreachChannel (line 176) | int foreachChannel(std::function... function broadcast (line 191) | int broadcast(const std::string& str) { function onAccept (line 245) | static void onAccept(hio_t* connio) { type TcpServerTmpl (line 318) | typedef TcpServerTmpl TcpServer; FILE: evpp/TcpServer_test.cpp function main (line 18) | int main(int argc, char* argv[]) { FILE: evpp/TimerThread.h function namespace (line 6) | namespace hv { FILE: evpp/TimerThread_test.cpp type hv (line 11) | namespace hv { class GlobalTimerThread (line 13) | class GlobalTimerThread : public TimerThread { method GlobalTimerThread (line 16) | GlobalTimerThread() : TimerThread() {} method TimerID (line 20) | static TimerID setTimeout(int timeout_ms, TimerCallback cb) { method clearTimeout (line 24) | static void clearTimeout(TimerID timerID) { method TimerID (line 28) | static TimerID setInterval(int interval_ms, TimerCallback cb) { method clearInterval (line 32) | static void clearInterval(TimerID timerID) { function main (line 41) | int main(int argc, char* argv[]) { FILE: evpp/UdpClient.h function namespace (line 9) | namespace hv { function closesocket (line 68) | void closesocket() { function startRecv (line 74) | int startRecv() { function stopRecv (line 103) | int stopRecv() { function start (line 109) | void start() { type sockaddr (line 114) | struct sockaddr type sockaddr (line 118) | struct sockaddr type sockaddr (line 121) | struct sockaddr function setKcp (line 126) | void setKcp(kcp_setting_t* setting) { function EventLoopPtr (line 168) | const EventLoopPtr& loop() { type UdpClientTmpl (line 193) | typedef UdpClientTmpl UdpClient; FILE: evpp/UdpClient_test.cpp function main (line 17) | int main(int argc, char* argv[]) { FILE: evpp/UdpServer.h function namespace (line 9) | namespace hv { type sockaddr (line 94) | struct sockaddr type sockaddr (line 97) | struct sockaddr function setKcp (line 102) | void setKcp(kcp_setting_t* setting) { function EventLoopPtr (line 142) | const EventLoopPtr& loop() { type UdpServerTmpl (line 167) | typedef UdpServerTmpl UdpServer; FILE: evpp/UdpServer_test.cpp function main (line 16) | int main(int argc, char* argv[]) { FILE: examples/consul/consul.cpp function make_url (line 16) | static std::string make_url(const char* ip, int port, const char* url) { function make_ServiceID (line 20) | static std::string make_ServiceID(consul_service_t* service) { function register_service (line 51) | int register_service(consul_node_t* node, consul_service_t* service, con... function deregister_service (line 84) | int deregister_service(consul_node_t* node, consul_service_t* service) { function discover_services (line 101) | int discover_services(consul_node_t* node, const char* service_name, std... FILE: examples/consul/main.cpp function main (line 7) | int main(int argc, char* argv[]) { FILE: examples/curl.cpp type option (line 35) | struct option function print_usage (line 90) | static void print_usage() { function print_version (line 93) | static void print_version() { function print_help (line 96) | static void print_help() { function is_upper_string (line 102) | static bool is_upper_string(const char* str) { function parse_data (line 108) | static int parse_data(char* arg, HttpRequest* req) { function parse_cmdline (line 151) | static int parse_cmdline(int argc, char* argv[], HttpRequest* req) { function main (line 247) | int main(int argc, char* argv[]) { FILE: examples/hloop_test.c function mylogger (line 14) | void mylogger(int loglevel, const char* buf, int len) { function on_idle (line 26) | void on_idle(hidle_t* idle) { function on_timer (line 31) | void on_timer(htimer_t* timer) { function cron_minutely (line 38) | void cron_minutely(htimer_t* timer) { function cron_hourly (line 43) | void cron_hourly(htimer_t* timer) { function timer_write_log (line 48) | void timer_write_log(htimer_t* timer) { function on_stdin (line 55) | void on_stdin(hio_t* io, void* buf, int readbytes) { function on_custom_events (line 63) | void on_custom_events(hevent_t* ev) { function on_signal (line 67) | void on_signal(hsignal_t* sig) { function main (line 72) | int main() { FILE: examples/hmain_test.cpp type conf_ctx_s (line 18) | struct conf_ctx_s { function conf_ctx_init (line 27) | inline void conf_ctx_init(conf_ctx_t* ctx) { function print_version (line 52) | void print_version() { function print_help (line 56) | void print_help() { function parse_confile (line 62) | int parse_confile(const char* confile) { function on_reload (line 150) | static void on_reload(void* userdata) { function main (line 155) | int main(int argc, char** argv) { function worker_fn (line 239) | void worker_fn(void* userdata) { FILE: examples/htimer_test.c function on_timer (line 4) | void on_timer(htimer_t* timer) { function on_timer_add (line 9) | void on_timer_add(htimer_t* timer) { function on_timer_del (line 15) | void on_timer_del(htimer_t* timer) { function on_timer_reset (line 21) | void on_timer_reset(htimer_t* timer) { function on_timer_quit (line 27) | void on_timer_quit(htimer_t* timer) { function cron_hourly (line 33) | void cron_hourly(htimer_t* timer) { function main (line 38) | int main() { FILE: examples/http_client_test.cpp function test_http_async_client (line 16) | static void test_http_async_client(HttpClient* cli, int* resp_cnt) { function test_http_sync_client (line 36) | static void test_http_sync_client(HttpClient* cli) { function test_requests (line 53) | static void test_requests() { function test_axios (line 120) | static void test_axios() { function main (line 163) | int main(int argc, char* argv[]) { FILE: examples/http_server_test.cpp function main (line 28) | int main(int argc, char** argv) { FILE: examples/httpd/handler.h function class (line 6) | class Handler { FILE: examples/httpd/httpd.cpp function print_version (line 30) | void print_version() { function print_help (line 34) | void print_help() { function parse_confile (line 40) | int parse_confile(const char* confile) { function on_reload (line 259) | static void on_reload(void* userdata) { function main (line 264) | int main(int argc, char** argv) { FILE: examples/httpd/router.h function class (line 6) | class Router { FILE: examples/jsonrpc/cJSON.c type error (line 88) | typedef struct { function cJSON_GetErrorPtr (line 94) | CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void) function cJSON_GetStringValue (line 99) | CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item) function cJSON_GetNumberValue (line 109) | CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item) function cJSON_Version (line 124) | CJSON_PUBLIC(const char*) cJSON_Version(void) function case_insensitive_strcmp (line 133) | static int case_insensitive_strcmp(const unsigned char *string1, const u... type internal_hooks (line 156) | typedef struct internal_hooks function internal_free (line 169) | static void CJSON_CDECL internal_free(void *pointer) function cJSON_InitHooks (line 209) | CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks) function cJSON (line 241) | static cJSON *cJSON_New_Item(const internal_hooks * const hooks) function cJSON_Delete (line 253) | CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) function get_decimal_point (line 277) | static unsigned char get_decimal_point(void) type parse_buffer (line 287) | typedef struct function cJSON_bool (line 305) | static cJSON_bool parse_number(cJSON * const item, parse_buffer * const ... function cJSON_SetNumberHelper (line 382) | CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) function cJSON_SetValuestring (line 400) | CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valu... type printbuffer (line 427) | typedef struct function update_offset (line 525) | static void update_offset(printbuffer * const buffer) function cJSON_bool (line 538) | static cJSON_bool compare_double(double a, double b) function cJSON_bool (line 545) | static cJSON_bool print_number(const cJSON * const item, printbuffer * c... function parse_hex4 (line 611) | static unsigned parse_hex4(const unsigned char * const input) function utf16_literal_to_utf8 (line 648) | static unsigned char utf16_literal_to_utf8(const unsigned char * const i... function cJSON_bool (line 769) | static cJSON_bool parse_string(cJSON * const item, parse_buffer * const ... function cJSON_bool (line 898) | static cJSON_bool print_string_ptr(const unsigned char * const input, pr... function cJSON_bool (line 1020) | static cJSON_bool print_string(const cJSON * const item, printbuffer * c... function parse_buffer (line 1034) | static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer) function parse_buffer (line 1060) | static parse_buffer *skip_utf8_bom(parse_buffer * const buffer) function cJSON_ParseWithOpts (line 1075) | CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char ... function cJSON_ParseWithLengthOpts (line 1091) | CJSON_PUBLIC(cJSON *) cJSON_ParseWithLengthOpts(const char *value, size_... function cJSON_Parse (line 1171) | CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value) function cJSON_ParseWithLength (line 1176) | CJSON_PUBLIC(cJSON *) cJSON_ParseWithLength(const char *value, size_t bu... function cJSON_Print (line 1248) | CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item) function cJSON_PrintUnformatted (line 1253) | CJSON_PUBLIC(char *) cJSON_PrintUnformatted(const cJSON *item) function cJSON_PrintBuffered (line 1258) | CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffe... function cJSON_PrintPreallocated (line 1288) | CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buff... function cJSON_bool (line 1308) | static cJSON_bool parse_value(cJSON * const item, parse_buffer * const i... function cJSON_bool (line 1363) | static cJSON_bool print_value(const cJSON * const item, printbuffer * co... function cJSON_bool (line 1437) | static cJSON_bool parse_array(cJSON * const item, parse_buffer * const i... function cJSON_bool (line 1535) | static cJSON_bool print_array(const cJSON * const item, printbuffer * co... function cJSON_bool (line 1597) | static cJSON_bool parse_object(cJSON * const item, parse_buffer * const ... function cJSON_bool (line 1710) | static cJSON_bool print_object(const cJSON * const item, printbuffer * c... function cJSON_GetArraySize (line 1824) | CJSON_PUBLIC(int) cJSON_GetArraySize(const cJSON *array) function cJSON (line 1847) | static cJSON* get_array_item(const cJSON *array, size_t index) function cJSON_GetArrayItem (line 1866) | CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index) function cJSON (line 1876) | static cJSON *get_object_item(const cJSON * const object, const char * c... function cJSON_GetObjectItem (line 1908) | CJSON_PUBLIC(cJSON *) cJSON_GetObjectItem(const cJSON * const object, co... function cJSON_GetObjectItemCaseSensitive (line 1913) | CJSON_PUBLIC(cJSON *) cJSON_GetObjectItemCaseSensitive(const cJSON * con... function cJSON_HasObjectItem (line 1918) | CJSON_PUBLIC(cJSON_bool) cJSON_HasObjectItem(const cJSON *object, const ... function suffix_object (line 1924) | static void suffix_object(cJSON *prev, cJSON *item) function cJSON (line 1931) | static cJSON *create_reference(const cJSON *item, const internal_hooks *... function cJSON_bool (line 1952) | static cJSON_bool add_item_to_array(cJSON *array, cJSON *item) function cJSON_AddItemToArray (line 1986) | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToArray(cJSON *array, cJSON *item) function cJSON_bool (line 2007) | static cJSON_bool add_item_to_object(cJSON * const object, const char * ... function cJSON_AddItemToObject (line 2044) | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObject(cJSON *object, const char... function cJSON_AddItemToObjectCS (line 2050) | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObjectCS(cJSON *object, const ch... function cJSON_AddItemReferenceToArray (line 2055) | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToArray(cJSON *array, cJS... function cJSON_AddItemReferenceToObject (line 2065) | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToObject(cJSON *object, c... function cJSON_AddNullToObject (line 2075) | CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const c... function cJSON_AddTrueToObject (line 2087) | CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const c... function cJSON_AddFalseToObject (line 2099) | CJSON_PUBLIC(cJSON*) cJSON_AddFalseToObject(cJSON * const object, const ... function cJSON_AddBoolToObject (line 2111) | CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const c... function cJSON_AddNumberToObject (line 2123) | CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const... function cJSON_AddStringToObject (line 2135) | CJSON_PUBLIC(cJSON*) cJSON_AddStringToObject(cJSON * const object, const... function cJSON_AddRawToObject (line 2147) | CJSON_PUBLIC(cJSON*) cJSON_AddRawToObject(cJSON * const object, const ch... function cJSON_AddObjectToObject (line 2159) | CJSON_PUBLIC(cJSON*) cJSON_AddObjectToObject(cJSON * const object, const... function cJSON_AddArrayToObject (line 2171) | CJSON_PUBLIC(cJSON*) cJSON_AddArrayToObject(cJSON * const object, const ... function cJSON_DetachItemViaPointer (line 2183) | CJSON_PUBLIC(cJSON *) cJSON_DetachItemViaPointer(cJSON *parent, cJSON * ... function cJSON_DetachItemFromArray (line 2219) | CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which) function cJSON_DeleteItemFromArray (line 2229) | CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which) function cJSON_DetachItemFromObject (line 2234) | CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const ch... function cJSON_DetachItemFromObjectCaseSensitive (line 2241) | CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *obj... function cJSON_DeleteItemFromObject (line 2248) | CJSON_PUBLIC(void) cJSON_DeleteItemFromObject(cJSON *object, const char ... function cJSON_DeleteItemFromObjectCaseSensitive (line 2253) | CJSON_PUBLIC(void) cJSON_DeleteItemFromObjectCaseSensitive(cJSON *object... function cJSON_InsertItemInArray (line 2259) | CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which... function cJSON_ReplaceItemViaPointer (line 2288) | CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemViaPointer(cJSON * const paren... function cJSON_ReplaceItemInArray (line 2337) | CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int whic... function cJSON_bool (line 2347) | static cJSON_bool replace_item_in_object(cJSON *object, const char *stri... function cJSON_ReplaceItemInObject (line 2365) | CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObject(cJSON *object, const ... function cJSON_ReplaceItemInObjectCaseSensitive (line 2370) | CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObjectCaseSensitive(cJSON *o... function cJSON_CreateNull (line 2376) | CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void) function cJSON_CreateTrue (line 2387) | CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void) function cJSON_CreateFalse (line 2398) | CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void) function cJSON_CreateBool (line 2409) | CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool boolean) function cJSON_CreateNumber (line 2420) | CJSON_PUBLIC(cJSON *) cJSON_CreateNumber(double num) function cJSON_CreateString (line 2446) | CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string) function cJSON_CreateStringReference (line 2463) | CJSON_PUBLIC(cJSON *) cJSON_CreateStringReference(const char *string) function cJSON_CreateObjectReference (line 2475) | CJSON_PUBLIC(cJSON *) cJSON_CreateObjectReference(const cJSON *child) function cJSON_CreateArrayReference (line 2486) | CJSON_PUBLIC(cJSON *) cJSON_CreateArrayReference(const cJSON *child) { function cJSON_CreateRaw (line 2496) | CJSON_PUBLIC(cJSON *) cJSON_CreateRaw(const char *raw) function cJSON_CreateArray (line 2513) | CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void) function cJSON_CreateObject (line 2524) | CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void) function cJSON_CreateIntArray (line 2536) | CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count) function cJSON_CreateFloatArray (line 2576) | CJSON_PUBLIC(cJSON *) cJSON_CreateFloatArray(const float *numbers, int c... function cJSON_CreateDoubleArray (line 2616) | CJSON_PUBLIC(cJSON *) cJSON_CreateDoubleArray(const double *numbers, int... function cJSON_CreateStringArray (line 2656) | CJSON_PUBLIC(cJSON *) cJSON_CreateStringArray(const char *const *strings... function cJSON_Duplicate (line 2697) | CJSON_PUBLIC(cJSON *) cJSON_Duplicate(const cJSON *item, cJSON_bool recu... function skip_oneline_comment (line 2780) | static void skip_oneline_comment(char **input) function skip_multiline_comment (line 2793) | static void skip_multiline_comment(char **input) function minify_string (line 2807) | static void minify_string(char **input, char **output) { function cJSON_Minify (line 2829) | CJSON_PUBLIC(void) cJSON_Minify(char *json) function cJSON_IsInvalid (line 2877) | CJSON_PUBLIC(cJSON_bool) cJSON_IsInvalid(const cJSON * const item) function cJSON_IsFalse (line 2887) | CJSON_PUBLIC(cJSON_bool) cJSON_IsFalse(const cJSON * const item) function cJSON_IsTrue (line 2897) | CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item) function cJSON_IsBool (line 2908) | CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item) function cJSON_IsNull (line 2917) | CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item) function cJSON_IsNumber (line 2927) | CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item) function cJSON_IsString (line 2937) | CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item) function cJSON_IsArray (line 2947) | CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item) function cJSON_IsObject (line 2957) | CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item) function cJSON_IsRaw (line 2967) | CJSON_PUBLIC(cJSON_bool) cJSON_IsRaw(const cJSON * const item) function cJSON_Compare (line 2977) | CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSO... function cJSON_malloc (line 3102) | CJSON_PUBLIC(void *) cJSON_malloc(size_t size) function cJSON_free (line 3107) | CJSON_PUBLIC(void) cJSON_free(void *object) FILE: examples/jsonrpc/cJSON.h type cJSON (line 103) | typedef struct cJSON type cJSON_Hooks (line 125) | typedef struct cJSON_Hooks type cJSON_bool (line 132) | typedef int cJSON_bool; FILE: examples/jsonrpc/handler.h function error_response (line 6) | void error_response(cJSON* jres, int code, const char* message) { function not_found (line 13) | void not_found(cJSON* jreq, cJSON* jres) { function bad_request (line 17) | void bad_request(cJSON* jreq, cJSON* jres) { function calc_add (line 21) | void calc_add(cJSON* jreq, cJSON* jres) { function calc_sub (line 35) | void calc_sub(cJSON* jreq, cJSON* jres) { function calc_mul (line 49) | void calc_mul(cJSON* jreq, cJSON* jres) { function calc_div (line 63) | void calc_div(cJSON* jreq, cJSON* jres) { FILE: examples/jsonrpc/jsonrpc_client.c function on_close (line 22) | static void on_close(hio_t* io) { function on_recv (line 33) | static void on_recv(hio_t* io, void* readbuf, int readbytes) { function on_connect (line 55) | static void on_connect(hio_t* io) { function jsonrpc_call (line 83) | static int jsonrpc_call(hloop_t* loop, const char* host, int port, const... function main (line 107) | int main(int argc, char** argv) { FILE: examples/jsonrpc/jsonrpc_server.c function on_close (line 31) | static void on_close(hio_t* io) { function on_recv (line 35) | static void on_recv(hio_t* io, void* readbuf, int readbytes) { function on_accept (line 84) | static void on_accept(hio_t* io) { function main (line 100) | int main(int argc, char** argv) { FILE: examples/jsonrpc/router.h type jsonrpc_router (line 8) | typedef struct { FILE: examples/kcptun/client/main.cpp function print_version (line 43) | static void print_version() { function print_help (line 47) | static void print_help() { type kcp_ctx_s (line 68) | struct kcp_ctx_s { function send_hearbeat (line 85) | static void send_hearbeat(htimer_t* timer) { function on_close (line 96) | static void on_close(hio_t* io) { function on_recv (line 130) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 150) | static void on_accept(hio_t* io) { function on_kcp_recvfrom (line 189) | static void on_kcp_recvfrom(hio_t* io, void* buf, int readbytes) { function main (line 242) | int main(int argc, char** argv) { FILE: examples/kcptun/server/main.cpp function print_version (line 42) | static void print_version() { function print_help (line 46) | static void print_help() { function on_close (line 84) | static void on_close(hio_t* io) { function on_recv (line 118) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_connect (line 138) | static void on_connect(hio_t* io) { function on_kcp_recvfrom (line 162) | static void on_kcp_recvfrom(hio_t* io, void* buf, int readbytes) { function main (line 219) | int main(int argc, char** argv) { FILE: examples/kcptun/smux/smux.cpp function smux_frame_pack (line 5) | int smux_frame_pack(const smux_frame_t* frame, void* buf, int len) { function smux_frame_unpack (line 45) | int smux_frame_unpack(smux_frame_t* frame, const void* buf, int len) { FILE: examples/kcptun/smux/smux.h type smux_cmd_e (line 17) | typedef enum { type smux_head_t (line 27) | typedef struct { type smux_frame_t (line 36) | typedef struct { function smux_package_length (line 41) | static inline unsigned int smux_package_length(const smux_head_t* head) { function smux_head_init (line 45) | static inline void smux_head_init(smux_head_t* head) { function smux_frame_init (line 52) | static inline void smux_frame_init(smux_frame_t* frame) { type smux_stream_t (line 76) | typedef struct { function smux_stream_output (line 86) | static inline int smux_stream_output(smux_stream_t* stream, smux_frame_t... function smux_stream_output (line 90) | static inline int smux_stream_output(smux_stream_t* stream, smux_cmd_e c... function smux_stream_input (line 99) | static inline int smux_stream_input(smux_stream_t* stream, const void* b... type smux_session_t (line 103) | typedef struct { function smux_stream_t (line 122) | static inline smux_stream_t* smux_session_get_stream(smux_session_t* ses... function smux_session_close_stream (line 130) | static inline void smux_session_close_stream(smux_session_t* session, ui... FILE: examples/mqtt/mqtt_client_test.cpp function main (line 25) | int main(int argc, char** argv) { FILE: examples/mqtt/mqtt_pub.c function on_mqtt (line 35) | static void on_mqtt(mqtt_client_t* cli, int type) { function mqtt_publish (line 83) | static int mqtt_publish(const char* host, int port, const char* topic, c... function main (line 123) | int main(int argc, char** argv) { FILE: examples/mqtt/mqtt_sub.c function handle_message (line 35) | static void handle_message(mqtt_client_t* cli, mqtt_message_t* msg) { function on_mqtt (line 40) | static void on_mqtt(mqtt_client_t* cli, int type) { function mqtt_subscribe (line 73) | static int mqtt_subscribe(const char* host, int port, const char* topic) { function main (line 104) | int main(int argc, char** argv) { FILE: examples/multi-thread/multi-acceptor-processes.c function on_close (line 21) | static void on_close(hio_t* io) { function on_recv (line 25) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 30) | static void on_accept(hio_t* io) { function loop_proc (line 44) | static void loop_proc(void* userdata) { function main (line 59) | int main(int argc, char** argv) { FILE: examples/multi-thread/multi-acceptor-threads.c function on_close (line 20) | static void on_close(hio_t* io) { function on_recv (line 24) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 29) | static void on_accept(hio_t* io) { function HTHREAD_ROUTINE (line 43) | static HTHREAD_ROUTINE(loop_thread) { function main (line 59) | int main(int argc, char** argv) { FILE: examples/multi-thread/one-acceptor-multi-workers.c function hloop_t (line 20) | static hloop_t* get_next_loop() { function on_close (line 28) | static void on_close(hio_t* io) { function on_recv (line 32) | static void on_recv(hio_t* io, void* buf, int readbytes) { function new_conn_event (line 37) | static void new_conn_event(hevent_t* ev) { function on_accept (line 55) | static void on_accept(hio_t* io) { function HTHREAD_ROUTINE (line 67) | static HTHREAD_ROUTINE(worker_thread) { function HTHREAD_ROUTINE (line 73) | static HTHREAD_ROUTINE(accept_thread) { function main (line 83) | int main(int argc, char** argv) { FILE: examples/nc.c function send_heartbeat (line 53) | static void send_heartbeat(hio_t* io) { function on_recv (line 59) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_stdin (line 84) | static void on_stdin(hio_t* io, void* buf, int readbytes) { function on_close (line 135) | static void on_close(hio_t* io) { function on_connect (line 140) | static void on_connect(hio_t* io) { function main (line 155) | int main(int argc, char** argv) { FILE: examples/nmap/main.cpp function host_discover_task (line 10) | int host_discover_task(std::string segment, void* nmap) { function main (line 15) | int main(int argc, char* argv[]) { FILE: examples/nmap/nmap.cpp type nmap_ctx_s (line 12) | struct nmap_ctx_s { function on_idle (line 20) | static void on_idle(hidle_t* idle) { function on_timer (line 30) | static void on_timer(htimer_t* timer) { function on_recvfrom (line 35) | static void on_recvfrom(hio_t* io, void* buf, int readbytes) { function nmap_discover (line 62) | int nmap_discover(Nmap* nmap) { function segment_discover (line 143) | int segment_discover(const char* segment16, Nmap* nmap) { function host_discover (line 160) | int host_discover(const char* segment24, Nmap* nmap) { FILE: examples/nmap/nmap.h type std (line 8) | typedef std::map Nmap; FILE: examples/pipe_test.c function on_read (line 14) | static void on_read(hio_t* io, void* buf, int readbytes) { function on_timer_write (line 18) | static void on_timer_write(htimer_t* timer) { function on_timer_stop (line 25) | static void on_timer_stop(htimer_t* timer) { function main (line 31) | int main(int argc, char** argv) { FILE: examples/protorpc/handler/calc.h function calc_add (line 8) | void calc_add(const protorpc::Request& req, protorpc::Response* res) { function calc_sub (line 25) | void calc_sub(const protorpc::Request& req, protorpc::Response* res) { function calc_mul (line 42) | void calc_mul(const protorpc::Request& req, protorpc::Response* res) { function calc_div (line 59) | void calc_div(const protorpc::Request& req, protorpc::Response* res) { FILE: examples/protorpc/handler/handler.h function error_response (line 6) | void error_response(protorpc::Response* res, int code, const std::string... function not_found (line 11) | void not_found(const protorpc::Request& req, protorpc::Response* res) { function bad_request (line 15) | void bad_request(const protorpc::Request& req, protorpc::Response* res) { FILE: examples/protorpc/handler/login.h function login (line 8) | void login(const protorpc::Request& req, protorpc::Response* res) { FILE: examples/protorpc/protorpc.c function protorpc_pack (line 5) | int protorpc_pack(const protorpc_message* msg, void* buf, int len) { function protorpc_unpack (line 36) | int protorpc_unpack(protorpc_message* msg, const void* buf, int len) { FILE: examples/protorpc/protorpc.h type protorpc_head (line 17) | typedef struct { type protorpc_message (line 27) | typedef struct { function protorpc_package_length (line 32) | static inline unsigned int protorpc_package_length(const protorpc_head* ... function protorpc_head_init (line 36) | static inline void protorpc_head_init(protorpc_head* head) { function protorpc_message_init (line 44) | static inline void protorpc_message_init(protorpc_message* msg) { function protorpc_head_check (line 49) | static inline int protorpc_head_check(protorpc_head* head) { FILE: examples/protorpc/protorpc_client.cpp class ProtobufRAII (line 24) | class ProtobufRAII { method ProtobufRAII (line 26) | ProtobufRAII() { type protorpc (line 34) | namespace protorpc { type ProtoRpcResult (line 38) | enum ProtoRpcResult { class ProtoRpcContext (line 46) | class ProtoRpcContext { class ProtoRpcClient (line 53) | class ProtoRpcClient : public TcpClient { method ProtoRpcClient (line 55) | ProtoRpcClient() : TcpClient() method connect (line 122) | int connect(int port, const char* host = "127.0.0.1", bool wait_conn... method isConnected (line 137) | bool isConnected() { method call (line 141) | protorpc::ResponsePtr call(protorpc::RequestPtr& req, int timeout_ms... method calc (line 190) | int calc(const char* method, int num1, int num2, int& out) { method login (line 212) | int login(const protorpc::LoginParam& param, protorpc::LoginResult* ... type ConnectStatus (line 229) | enum ConnectStatus { function main (line 241) | int main(int argc, char** argv) { FILE: examples/protorpc/protorpc_server.cpp class ProtobufRAII (line 21) | class ProtobufRAII { method ProtobufRAII (line 23) | ProtobufRAII() { class ProtoRpcServer (line 40) | class ProtoRpcServer : public TcpServer { method ProtoRpcServer (line 42) | ProtoRpcServer() : TcpServer() method listen (line 65) | int listen(int port) { return createsocket(port); } method handleMessage (line 68) | static void handleMessage(const SocketChannelPtr& channel, Buffer* buf) { function main (line 123) | int main(int argc, char** argv) { FILE: examples/protorpc/router.h type protorpc_router (line 8) | typedef struct { FILE: examples/socks5_proxy_server.c type socks5_auth_method (line 29) | typedef enum { type socks5_command (line 35) | typedef enum { type socks5_addr_type (line 41) | typedef enum { type socks5_reply_code (line 47) | typedef enum { type socks5_state_e (line 59) | typedef enum { type socks5_conn_t (line 76) | typedef struct { function on_upstream_connect (line 102) | static void on_upstream_connect(hio_t* upstream_io) { function on_close (line 124) | static void on_close(hio_t* io) { function on_recv (line 134) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 366) | static void on_accept(hio_t* io) { function main (line 388) | int main(int argc, char** argv) { FILE: examples/tcp_chat_server.c type chatroom_t (line 23) | typedef struct chatroom_s { type connection_t (line 30) | typedef struct connection_s { function join (line 42) | void join(chatroom_t* room, connection_t* conn) { function leave (line 63) | void leave(chatroom_t* room, connection_t* conn) { function broadcast (line 71) | void broadcast(chatroom_t* room, const char* msg, int msglen) { function on_close (line 81) | static void on_close(hio_t* io) { function on_recv (line 93) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 110) | static void on_accept(hio_t* io) { function main (line 132) | int main(int argc, char** argv) { FILE: examples/tcp_client_test.c type tcp_client_t (line 22) | typedef struct tcp_client_s { function reconnect_timer_cb (line 64) | static void reconnect_timer_cb(htimer_t* timer) { function on_close (line 71) | static void on_close(hio_t* io) { function on_message (line 84) | static void on_message(hio_t* io, void* buf, int len) { function on_connect (line 90) | static void on_connect(hio_t* io) { function tcp_client_t (line 112) | tcp_client_t* tcp_client_new(hloop_t* loop) { function tcp_client_free (line 126) | void tcp_client_free(tcp_client_t* cli) { function tcp_client_run (line 137) | void tcp_client_run (tcp_client_t* cli) { function tcp_client_stop (line 142) | void tcp_client_stop(tcp_client_t* cli) { function tcp_client_set_ssl_ctx (line 147) | int tcp_client_set_ssl_ctx(tcp_client_t* cli, hssl_ctx_t ssl_ctx) { function tcp_client_new_ssl_ctx (line 153) | int tcp_client_new_ssl_ctx(tcp_client_t* cli, hssl_ctx_opt_t* opt) { function tcp_client_set_reconnect (line 161) | int tcp_client_set_reconnect(tcp_client_t* cli, reconn_setting_t* reconn) { function tcp_client_reconnect (line 173) | int tcp_client_reconnect(tcp_client_t* cli) { function tcp_client_connect (line 178) | int tcp_client_connect(tcp_client_t* cli, const char* host, int port, in... function tcp_client_disconnect (line 201) | int tcp_client_disconnect(tcp_client_t* cli) { function tcp_client_is_connected (line 208) | bool tcp_client_is_connected(tcp_client_t* cli) { function tcp_client_send (line 212) | int tcp_client_send(tcp_client_t* cli, const void* buf, int len) { function main (line 222) | int main(int argc, char** argv) { FILE: examples/tcp_echo_server.c function on_close (line 38) | static void on_close(hio_t* io) { function on_recv (line 42) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_accept (line 67) | static void on_accept(hio_t* io) { function main (line 95) | int main(int argc, char** argv) { FILE: examples/tcp_proxy_server.c function on_accept (line 39) | static void on_accept(hio_t* io) { function main (line 53) | int main(int argc, char** argv) { FILE: examples/tinyhttpd.c type http_state_e (line 52) | typedef enum { type http_msg_t (line 63) | typedef struct { type http_conn_t (line 91) | typedef struct { function update_date (line 102) | static void update_date(htimer_t* timer) { function http_response_dump (line 107) | static int http_response_dump(http_msg_t* msg, char* buf, int len) { function http_reply (line 133) | static int http_reply(http_conn_t* conn, function http_send_file (line 158) | static void http_send_file(http_conn_t* conn) { function on_write (line 178) | static void on_write(hio_t* io, const void* buf, int writebytes) { function http_serve_file (line 185) | static int http_serve_file(http_conn_t* conn) { function parse_http_request_line (line 216) | static bool parse_http_request_line(http_conn_t* conn, char* buf, int le... function parse_http_head (line 226) | static bool parse_http_head(http_conn_t* conn, char* buf, int len) { function on_request (line 252) | static int on_request(http_conn_t* conn) { function on_close (line 279) | static void on_close(hio_t* io) { function on_recv (line 295) | static void on_recv(hio_t* io, void* buf, int readbytes) { function new_conn_event (line 385) | static void new_conn_event(hevent_t* ev) { function hloop_t (line 413) | static hloop_t* get_next_loop() { function on_accept (line 421) | static void on_accept(hio_t* io) { function HTHREAD_ROUTINE (line 433) | static HTHREAD_ROUTINE(worker_thread) { function HTHREAD_ROUTINE (line 439) | static HTHREAD_ROUTINE(accept_thread) { function main (line 453) | int main(int argc, char** argv) { FILE: examples/tinyproxyd.c type http_state_e (line 45) | typedef enum { type http_msg_t (line 56) | typedef struct { type http_conn_t (line 85) | typedef struct { function http_request_dump (line 92) | static int http_request_dump(http_conn_t* conn, char* buf, int len) { function parse_http_request_line (line 132) | static bool parse_http_request_line(http_conn_t* conn, char* buf, int le... function parse_http_head (line 142) | static bool parse_http_head(http_conn_t* conn, char* buf, int len) { function on_upstream_connect (line 168) | static void on_upstream_connect(hio_t* upstream_io) { function on_head_end (line 195) | static int on_head_end(http_conn_t* conn) { function on_body (line 239) | static int on_body(http_conn_t* conn, void* buf, int readbytes) { function on_request (line 247) | static int on_request(http_conn_t* conn) { function on_close (line 257) | static void on_close(hio_t* io) { function on_recv (line 267) | static void on_recv(hio_t* io, void* buf, int readbytes) { function new_conn_event (line 388) | static void new_conn_event(hevent_t* ev) { function hloop_t (line 416) | static hloop_t* get_next_loop() { function on_accept (line 424) | static void on_accept(hio_t* io) { function HTHREAD_ROUTINE (line 436) | static HTHREAD_ROUTINE(worker_thread) { function HTHREAD_ROUTINE (line 442) | static HTHREAD_ROUTINE(accept_thread) { function main (line 457) | int main(int argc, char** argv) { FILE: examples/udp_echo_server.c function on_recvfrom (line 25) | static void on_recvfrom(hio_t* io, void* buf, int readbytes) { function main (line 46) | int main(int argc, char** argv) { FILE: examples/udp_proxy_server.c function main (line 22) | int main(int argc, char** argv) { FILE: examples/websocket_client_test.cpp class MyWebSocketClient (line 17) | class MyWebSocketClient : public WebSocketClient { method MyWebSocketClient (line 19) | MyWebSocketClient(EventLoopPtr loop = NULL) : WebSocketClient(loop) {} method connect (line 22) | int connect(const char* url) { function TestMultiClientsRunInOneEventLoop (line 65) | int TestMultiClientsRunInOneEventLoop(const char* url, int nclients) { function main (line 84) | int main(int argc, char** argv) { FILE: examples/websocket_server_test.cpp class MyContext (line 33) | class MyContext { method MyContext (line 35) | MyContext() { method handleMessage (line 43) | int handleMessage(const std::string& msg, enum ws_opcode opcode) { function main (line 52) | int main(int argc, char** argv) { FILE: examples/wget.cpp function wget (line 13) | static int wget(const char* url, const char* filepath, wget_progress_cb ... function main (line 129) | int main(int argc, char** argv) { FILE: examples/wrk.cpp type connection_s (line 50) | struct connection_s { method connection_s (line 61) | connection_s() method SendRequest (line 74) | void SendRequest() { method RecvResponse (line 81) | bool RecvResponse(const char* data, int size) { function print_help (line 107) | static void print_help() { function print_cmd (line 112) | static void print_cmd() { function print_result (line 117) | static void print_result() { function on_close (line 160) | static void on_close(hio_t* io) { function on_recv (line 173) | static void on_recv(hio_t* io, void* buf, int readbytes) { function send_heartbeat (line 182) | static void send_heartbeat(hio_t* io) { function on_connect (line 187) | static void on_connect(hio_t* io) { function start_connect (line 205) | static void start_connect(hloop_t* loop, connection_t* conn) { function start_reconnect (line 222) | static void start_reconnect(hio_t* io) { function main (line 228) | int main(int argc, char** argv) { FILE: http/Http1Parser.cpp function on_url (line 41) | int on_url(http_parser* parser, const char *at, size_t length) { function on_status (line 49) | int on_status(http_parser* parser, const char *at, size_t length) { function on_header_field (line 56) | int on_header_field(http_parser* parser, const char *at, size_t length) { function on_header_value (line 67) | int on_header_value(http_parser* parser, const char *at, size_t length) { function on_body (line 75) | int on_body(http_parser* parser, const char *at, size_t length) { function on_message_begin (line 86) | int on_message_begin(http_parser* parser) { function on_headers_complete (line 94) | int on_headers_complete(http_parser* parser) { function on_message_complete (line 134) | int on_message_complete(http_parser* parser) { function on_chunk_header (line 142) | int on_chunk_header(http_parser* parser) { function on_chunk_complete (line 155) | int on_chunk_complete(http_parser* parser) { FILE: http/Http1Parser.h function class (line 7) | class Http1Parser : public HttpParser { FILE: http/Http2Parser.cpp function nghttp2_nv (line 5) | static nghttp2_nv make_nv(const char* name, const char* value) { function nghttp2_nv (line 15) | static nghttp2_nv make_nv2(const char* name, const char* value, function print_frame_hd (line 25) | static void print_frame_hd(const nghttp2_frame_hd* hd) { function on_header_callback (line 313) | int on_header_callback(nghttp2_session *session, function on_data_chunk_recv_callback (line 360) | int on_data_chunk_recv_callback(nghttp2_session *session, function on_frame_recv_callback (line 387) | int on_frame_recv_callback(nghttp2_session *session, FILE: http/Http2Parser.h type http2_session_state (line 11) | enum http2_session_state { function class (line 29) | class Http2Parser : public HttpParser { FILE: http/HttpMessage.cpp function HV_EXPORT (line 251) | HV_EXPORT int64_t HttpMessage::Get(const char* key, int64_t defvalue) { function HV_EXPORT (line 282) | HV_EXPORT int HttpMessage::Get(const char* key, int defvalue) { function HV_EXPORT (line 287) | HV_EXPORT double HttpMessage::Get(const char* key, double defvalue) { function HV_EXPORT (line 314) | HV_EXPORT float HttpMessage::Get(const char* key, float defvalue) { function HV_EXPORT (line 319) | HV_EXPORT bool HttpMessage::Get(const char* key, bool defvalue) { function HttpCookie (line 477) | const HttpCookie& HttpMessage::GetCookie(const std::string& name) { FILE: http/HttpMessage.h function HttpCookie (line 51) | struct HV_EXPORT HttpCookie { type std (line 83) | typedef std::map http_hea... type std (line 84) | typedef std::vector http_coo... type std (line 85) | typedef std::string http_body; function class (line 91) | class HV_EXPORT HttpMessage { function hv (line 165) | const hv::Json& GetJson() { function SetFormFile (line 177) | void SetFormFile(const char* name, const char* filepath) { function FormFile (line 180) | int FormFile(const char* name, const char* filepath) { function hv (line 185) | const hv::MultiPart& GetForm() { function SaveFormFile (line 198) | int SaveFormFile(const char* name, const char* path) { function hv (line 231) | const hv::KeyValue& GetUrlEncoded() { function ContentLength (line 293) | size_t ContentLength() { function http_content_type (line 300) | http_content_type ContentType() { function SetContentType (line 306) | void SetContentType(http_content_type type) { function SetContentType (line 309) | void SetContentType(const char* type) { function SetContentTypeByFilename (line 312) | void SetContentTypeByFilename(const char* filepath) { function String (line 322) | int String(const std::string& str) { function File (line 342) | int File(const char* filepath) { function SaveFile (line 352) | int SaveFile(const char* filepath) { function SetMethod (line 398) | void SetMethod(const char* method) { function IsHttps (line 406) | bool IsHttps() { function SetUrl (line 412) | void SetUrl(const char* url) { function std (line 415) | const std::string& Url() { function IsProxy (line 447) | bool IsProxy() { return proxy; } function SetTimeout (line 454) | void SetTimeout(int sec) { timeout = sec; } function SetConnectTimeout (line 455) | void SetConnectTimeout(int sec) { connect_timeout = sec; } function SetRetry (line 460) | void SetRetry(int count = DEFAULT_HTTP_FAIL_RETRY_COUNT, function Cancel (line 465) | void Cancel() { cancel = 1; } function IsCanceled (line 466) | bool IsCanceled() { return cancel == 1; } function Redirect (line 491) | int Redirect(const std::string& location, http_status status = HTTP_STAT... type std (line 498) | typedef std::shared_ptr HttpRequestPtr; type std (line 499) | typedef std::shared_ptr HttpResponsePtr; type std (line 500) | typedef std::function HttpResponseCallback; FILE: http/HttpParser.cpp function HttpParser (line 7) | HttpParser* HttpParser::New(http_session_type type, http_version version) { FILE: http/HttpParser.h function class (line 7) | class HV_EXPORT HttpParser { type std (line 51) | typedef std::shared_ptr HttpParserPtr; FILE: http/WebSocketChannel.cpp type hv (line 3) | namespace hv { type ws_opcode (line 5) | enum ws_opcode type ws_opcode (line 24) | enum ws_opcode type ws_opcode (line 66) | enum ws_opcode FILE: http/WebSocketChannel.h function namespace (line 11) | namespace hv { type std (line 53) | typedef std::shared_ptr WebSocketChannelPtr; FILE: http/WebSocketParser.cpp function on_frame_header (line 8) | static int on_frame_header(websocket_parser* parser) { function on_frame_body (line 28) | static int on_frame_body(websocket_parser* parser, const char * at, size... function on_frame_end (line 39) | static int on_frame_end(websocket_parser* parser) { FILE: http/WebSocketParser.h type websocket_parser_state (line 10) | enum websocket_parser_state { type websocket_parser (line 18) | struct websocket_parser function class (line 19) | class HV_EXPORT WebSocketParser { type std (line 33) | typedef std::shared_ptr WebSocketParserPtr; FILE: http/client/AsyncHttpClient.cpp type hv (line 3) | namespace hv { FILE: http/client/AsyncHttpClient.h function namespace (line 13) | namespace hv { function send (line 118) | int send(const HttpClientTaskPtr& task) { function SocketChannelPtr (line 135) | const SocketChannelPtr& getChannel(int fd) { function SocketChannelPtr (line 140) | const SocketChannelPtr& addChannel(hio_t* io) { function removeChannel (line 148) | void removeChannel(const SocketChannelPtr& channel) { FILE: http/client/HttpClient.cpp type http_client_s (line 22) | struct http_client_s { method http_client_s (line 51) | http_client_s() { method Close (line 76) | void Close() { function http_client_t (line 91) | http_client_t* http_client_new(const char* host, int port, int https) { function http_client_del (line 100) | int http_client_del(http_client_t* cli) { function http_client_set_timeout (line 106) | int http_client_set_timeout(http_client_t* cli, int timeout) { function http_client_set_ssl_ctx (line 111) | int http_client_set_ssl_ctx(http_client_t* cli, hssl_ctx_t ssl_ctx) { function http_client_new_ssl_ctx (line 116) | int http_client_new_ssl_ctx(http_client_t* cli, hssl_ctx_opt_t* opt) { function http_client_clear_headers (line 124) | int http_client_clear_headers(http_client_t* cli) { function http_client_set_header (line 129) | int http_client_set_header(http_client_t* cli, const char* key, const ch... function http_client_del_header (line 134) | int http_client_del_header(http_client_t* cli, const char* key) { function http_client_set_http_proxy (line 150) | int http_client_set_http_proxy(http_client_t* cli, const char* host, int... function http_client_set_https_proxy (line 156) | int http_client_set_https_proxy(http_client_t* cli, const char* host, in... function http_client_add_no_proxy (line 162) | int http_client_add_no_proxy(http_client_t* cli, const char* host) { function http_client_make_request (line 167) | static int http_client_make_request(http_client_t* cli, HttpRequest* req) { function http_client_connect (line 208) | int http_client_connect(http_client_t* cli, const char* host, int port, ... function http_client_close (line 270) | int http_client_close(http_client_t* cli) { function http_client_send_data (line 276) | int http_client_send_data(http_client_t* cli, const char* data, int size) { function http_client_recv_data (line 286) | int http_client_recv_data(http_client_t* cli, char* data, int size) { function http_client_exec (line 296) | static int http_client_exec(http_client_t* cli, HttpRequest* req, HttpRe... function http_client_send_header (line 424) | int http_client_send_header(http_client_t* cli, HttpRequest* req) { function http_client_recv_response (line 432) | int http_client_recv_response(http_client_t* cli, HttpResponse* resp) { function s_header_cb (line 460) | static size_t s_header_cb(char* buf, size_t size, size_t cnt, void* user... function s_body_cb (line 497) | static size_t s_body_cb(char* buf, size_t size, size_t cnt, void *userda... function http_client_exec_curl (line 514) | static int http_client_exec_curl(http_client_t* cli, HttpRequest* req, H... function http_client_redirect (line 655) | static int http_client_redirect(HttpRequest* req, HttpResponse* resp) { function http_client_send (line 668) | int http_client_send(http_client_t* cli, HttpRequest* req, HttpResponse*... function http_client_send (line 689) | int http_client_send(HttpRequest* req, HttpResponse* resp) { function http_client_exec_async (line 697) | static int http_client_exec_async(http_client_t* cli, HttpRequestPtr req... function http_client_send_async (line 709) | int http_client_send_async(http_client_t* cli, HttpRequestPtr req, HttpR... function hv_destroy_default_async_http_client (line 716) | static void hv_destroy_default_async_http_client() { function http_client_t (line 723) | static http_client_t* hv_default_async_http_client() { function http_client_send_async (line 738) | int http_client_send_async(HttpRequestPtr req, HttpResponseCallback resp... FILE: http/client/HttpClient.h type http_client_t (line 30) | typedef struct http_client_s http_client_t; function namespace (line 80) | namespace hv { function sendHeader (line 142) | int sendHeader(HttpRequest* req) { function sendData (line 145) | int sendData(const char* data, int size) { function recvData (line 148) | int recvData(char* data, int size) { function recvResponse (line 151) | int recvResponse(HttpResponse* resp) { function close (line 154) | int close() { type http_client_deleter (line 159) | struct http_client_deleter { FILE: http/client/WebSocketClient.cpp type hv (line 8) | namespace hv { type ws_opcode (line 143) | enum ws_opcode type ws_opcode (line 212) | enum ws_opcode FILE: http/client/WebSocketClient.h function namespace (line 16) | namespace hv { FILE: http/client/axios.h function namespace (line 65) | namespace axios { function HV_INLINE (line 128) | HV_INLINE Response axios(const char* req_str, http_method method = HTTP_... function HV_INLINE (line 141) | HV_INLINE Response get(const char* url, const json& jreq) { function HV_INLINE (line 149) | HV_INLINE Response post(const char* url, const json& jreq) { function HV_INLINE (line 157) | HV_INLINE Response put(const char* url, const json& jreq) { function HV_INLINE (line 165) | HV_INLINE Response patch(const char* url, const json& jreq) { function HV_INLINE (line 169) | HV_INLINE Response patch(const char* url, const char* req_str = nullptr) { function HV_INLINE (line 182) | HV_INLINE int axios(const json& jreq, ResponseCallback resp_cb) { function HV_INLINE (line 187) | HV_INLINE int axios(const char* req_str, ResponseCallback resp_cb) { FILE: http/client/requests.h type HttpRequestPtr (line 38) | typedef HttpRequestPtr Request; type HttpResponsePtr (line 39) | typedef HttpResponsePtr Response; type HttpResponseCallback (line 40) | typedef HttpResponseCallback ResponseCallback; function HV_INLINE (line 42) | HV_INLINE Response request(Request req) { function HV_INLINE (line 48) | HV_INLINE Response request(http_method method, const char* url, const ht... function HV_INLINE (line 86) | HV_INLINE int async(Request req, ResponseCallback resp_cb) { function HV_INLINE (line 91) | HV_INLINE Response uploadFile(const char* url, const char* filepath, htt... function HV_INLINE (line 104) | HV_INLINE Response uploadFormFile(const char* url, const char* name, con... type std (line 274) | typedef std::function d... FILE: http/grpcdef.h type grpc_message_hd (line 13) | typedef struct { type grpc_message (line 18) | typedef struct { function grpc_message_hd_pack (line 24) | static inline void grpc_message_hd_pack(const grpc_message_hd* hd, unsig... function grpc_message_hd_unpack (line 36) | static inline void grpc_message_hd_unpack(grpc_message_hd* hd, const uns... type wire_type (line 50) | typedef enum { type field_type (line 59) | typedef enum { FILE: http/http2def.h type http2_frame_type (line 20) | typedef enum { type http2_flag (line 35) | typedef enum { type http2_frame_hd (line 43) | typedef struct { function http2_frame_hd_pack (line 50) | static inline void http2_frame_hd_pack(const http2_frame_hd* hd, unsigne... function http2_frame_hd_unpack (line 66) | static inline void http2_frame_hd_unpack(const unsigned char* buf, http2... FILE: http/http_content.cpp function BEGIN_NAMESPACE_HV (line 7) | BEGIN_NAMESPACE_HV function parse_query_params (line 22) | int parse_query_params(const char* query_string, QueryParams& query_para... function dump_multipart (line 70) | std::string dump_multipart(MultiPart& mp, const char* boundary) { type multipart_parser_state_e (line 112) | enum multipart_parser_state_e { type multipart_parser_userdata (line 122) | struct multipart_parser_userdata { method handle_header (line 132) | void handle_header() { method handle_data (line 155) | void handle_data() { function on_header_field (line 167) | static int on_header_field(multipart_parser* parser, const char *at, siz... function on_header_value (line 175) | static int on_header_value(multipart_parser* parser, const char *at, siz... function on_part_data (line 182) | static int on_part_data(multipart_parser* parser, const char *at, size_t... function on_part_data_begin (line 189) | static int on_part_data_begin(multipart_parser* parser) { function on_headers_complete (line 195) | static int on_headers_complete(multipart_parser* parser) { function on_part_data_end (line 202) | static int on_part_data_end(multipart_parser* parser) { function on_body_end (line 209) | static int on_body_end(multipart_parser* parser) { function parse_multipart (line 215) | int parse_multipart(const std::string& str, MultiPart& mp, const char* b... function dump_json (line 237) | std::string dump_json(const hv::Json& json, int indent) { function parse_json (line 242) | int parse_json(const char* str, hv::Json& json, std::string& errmsg) { FILE: http/http_content.h function if (line 35) | struct FormData { function FormData (line 53) | struct FormFile : public FormData { type HV_MAP (line 63) | typedef HV_MAP MultiPart; FILE: http/http_parser.c type state (line 279) | enum state type header_states (line 365) | enum header_states type http_host_state (line 397) | enum http_host_state function parse_url_char (line 490) | static enum state function http_parser_execute (line 638) | size_t http_parser_execute (http_parser *parser, function http_message_needs_eof (line 2093) | int function http_should_keep_alive (line 2116) | int function http_parser_init (line 2134) | void function http_parser_settings_init (line 2145) | void type http_errno (line 2152) | enum http_errno type http_errno (line 2158) | enum http_errno function http_parse_host_char (line 2164) | static enum http_host_state function http_parse_host (line 2246) | static int function http_parser_url_init (line 2328) | void function http_parser_parse_url (line 2333) | int function http_parser_pause (line 2457) | void function http_body_is_final (line 2472) | int function http_parser_version (line 2477) | unsigned long function http_parser_set_max_header_size (line 2484) | void FILE: http/http_parser.h type __int8 (line 37) | typedef __int8 int8_t; type __int16 (line 39) | typedef __int16 int16_t; type __int32 (line 41) | typedef __int32 int32_t; type __int64 (line 43) | typedef __int64 int64_t; type http_parser (line 67) | typedef struct http_parser http_parser; type http_parser_settings (line 68) | typedef struct http_parser_settings http_parser_settings; type flags (line 93) | enum flags type http_errno (line 157) | enum http_errno { type http_parser (line 167) | struct http_parser { type http_parser_settings (line 198) | struct http_parser_settings { type http_parser_url_fields (line 216) | enum http_parser_url_fields type http_parser_url (line 235) | struct http_parser_url { type http_parser_type (line 259) | enum http_parser_type type http_errno (line 284) | enum http_errno type http_errno (line 287) | enum http_errno type http_parser_url (line 291) | struct http_parser_url type http_parser_url (line 296) | struct http_parser_url FILE: http/httpdef.c function strstartswith (line 5) | static int strstartswith(const char* str, const char* start) { type http_status (line 13) | enum http_status type http_method (line 22) | enum http_method type http_content_type (line 31) | enum http_content_type function http_status_enum (line 40) | enum http_status http_status_enum(const char* str) { function http_method_enum (line 50) | enum http_method http_method_enum(const char* str) { function http_content_type_enum (line 60) | enum http_content_type http_content_type_enum(const char* str) { type http_content_type (line 73) | enum http_content_type function http_content_type_enum_by_suffix (line 95) | enum http_content_type http_content_type_enum_by_suffix(const char* str) { FILE: http/httpdef.h type http_version (line 9) | enum http_version { HTTP_V1 = 1, HTTP_V2 = 2 } type http_session_type (line 10) | enum http_session_type { HTTP_CLIENT, HTTP_SERVER } type http_parser_type (line 11) | enum http_parser_type { HTTP_REQUEST, HTTP_RESPONSE, HTTP_BOTH } type http_parser_state (line 12) | enum http_parser_state { type http_status (line 91) | enum http_status { type http_method (line 154) | enum http_method { type http_content_type (line 250) | enum http_content_type { type http_status (line 281) | enum http_status type http_method (line 282) | enum http_method type http_content_type (line 283) | enum http_content_type type http_content_type (line 289) | enum http_content_type FILE: http/multipart_parser.c function multipart_log (line 12) | static void multipart_log(const char * format, ...) type multipart_parser (line 48) | struct multipart_parser { type state (line 62) | enum state { function multipart_parser (line 82) | multipart_parser* multipart_parser_init function multipart_parser_free (line 101) | void multipart_parser_free(multipart_parser* p) { function multipart_parser_set_data (line 105) | void multipart_parser_set_data(multipart_parser *p, void *data) { function multipart_parser_execute (line 113) | size_t multipart_parser_execute(multipart_parser* p, const char *buf, si... FILE: http/multipart_parser.h type multipart_parser (line 16) | typedef struct multipart_parser multipart_parser; type multipart_parser_settings (line 17) | typedef struct multipart_parser_settings multipart_parser_settings; type multipart_parser_state (line 18) | typedef struct multipart_parser_state multipart_parser_state; type multipart_parser_settings (line 23) | struct multipart_parser_settings { FILE: http/server/FileCache.cpp function file_cache_ptr (line 22) | file_cache_ptr FileCache::Open(const char* filepath, OpenParam* param) { function file_cache_ptr (line 146) | file_cache_ptr FileCache::Get(const char* filepath) { FILE: http/server/FileCache.h type file_cache_s (line 17) | struct file_cache_s { function resize_buf (line 45) | void resize_buf(int filesize) { function prepend_header (line 51) | void prepend_header(const char* header, int len) { type std (line 59) | typedef std::shared_ptr file_cache_ptr; FILE: http/server/HttpContext.h function namespace (line 8) | namespace hv { type std (line 211) | typedef std::shared_ptr HttpContextPtr; FILE: http/server/HttpHandler.cpp type http_version (line 65) | enum http_version type ws_opcode (line 175) | enum ws_opcode function HttpContextPtr (line 219) | const HttpContextPtr& HttpHandler::context() { FILE: http/server/HttpHandler.h function class (line 11) | class HttpHandler { FILE: http/server/HttpMiddleware.cpp function BEGIN_NAMESPACE_HV (line 4) | BEGIN_NAMESPACE_HV FILE: http/server/HttpMiddleware.h function BEGIN_NAMESPACE_HV (line 7) | BEGIN_NAMESPACE_HV FILE: http/server/HttpResponseWriter.cpp type hv (line 3) | namespace hv { FILE: http/server/HttpResponseWriter.h function namespace (line 7) | namespace hv { type std (line 98) | typedef std::shared_ptr HttpResponseWriterPtr; FILE: http/server/HttpServer.cpp type HttpServerPrivdata (line 17) | struct HttpServerPrivdata { function on_recv (line 25) | static void on_recv(hio_t* io, void* buf, int readbytes) { function on_close (line 37) | static void on_close(hio_t* io) { function on_accept (line 50) | static void on_accept(hio_t* io) { function loop_thread (line 95) | static void loop_thread(void* userdata) { function loop_thread_stdcall (line 167) | static void WINAPI loop_thread_stdcall(void* userdata) { function http_server_run (line 179) | int http_server_run(http_server_t* server, int wait) { function http_server_stop (line 241) | int http_server_stop(http_server_t* server) { type hv (line 292) | namespace hv { FILE: http/server/HttpServer.h function namespace (line 9) | namespace hv { type http_server_s (line 16) | struct http_server_s { function stop (line 156) | int stop() { FILE: http/server/HttpService.cpp type hv (line 6) | namespace hv { FILE: http/server/HttpService.h type std (line 40) | typedef std::function ... type std (line 42) | typedef std::function ... type std (line 46) | typedef std::function http_handlers; type http_method_handler (line 96) | struct http_method_handler { FILE: http/server/WebSocketServer.h function namespace (line 15) | namespace hv { FILE: http/server/http_page.cpp function make_http_status_page (line 7) | void make_http_status_page(http_status status_code, std::string& page) { function make_index_of_page (line 27) | void make_index_of_page(const char* dir, std::string& page, const char* ... FILE: http/websocket_parser.c type state (line 34) | enum state { function websocket_parser_init (line 42) | void websocket_parser_init(websocket_parser * parser) { function websocket_parser_settings_init (line 49) | void websocket_parser_settings_init(websocket_parser_settings *settings) { function websocket_parser_execute (line 53) | size_t websocket_parser_execute(websocket_parser *parser, const websocke... function websocket_parser_decode (line 173) | void websocket_parser_decode(char * dst, const char * src, size_t len, w... function websocket_decode (line 182) | uint8_t websocket_decode(char * dst, const char * src, size_t len, const... function websocket_calc_frame_size (line 191) | size_t websocket_calc_frame_size(websocket_flags flags, size_t data_len) { function websocket_build_frame (line 207) | size_t websocket_build_frame(char * frame, websocket_flags flags, const ... FILE: http/websocket_parser.h type __int8 (line 13) | typedef __int8 int8_t; type __int16 (line 15) | typedef __int16 int16_t; type __int32 (line 17) | typedef __int32 int32_t; type __int64 (line 19) | typedef __int64 int64_t; type websocket_parser (line 27) | typedef struct websocket_parser websocket_parser; type websocket_parser_settings (line 28) | typedef struct websocket_parser_settings websocket_parser_settings; type websocket_flags (line 30) | typedef enum websocket_flags { type websocket_parser (line 50) | struct websocket_parser { type websocket_parser_settings (line 64) | struct websocket_parser_settings { FILE: http/wsdef.c function ws_encode_key (line 11) | void ws_encode_key(const char* key, char accept[]) { function ws_calc_frame_size (line 23) | int ws_calc_frame_size(int data_len, bool has_mask) { function ws_build_frame (line 36) | int ws_build_frame( FILE: http/wsdef.h type ws_session_type (line 27) | enum ws_session_type { type ws_opcode (line 32) | enum ws_opcode { type ws_opcode (line 55) | enum ws_opcode function HV_INLINE (line 58) | HV_INLINE int ws_client_build_frame( function HV_INLINE (line 75) | HV_INLINE int ws_server_build_frame( FILE: misc/grpc_server.h function class (line 15) | class GrpcServer { FILE: misc/win32_getopt.h type option (line 119) | struct option type option (line 121) | struct option function _vwarnx (line 139) | static void function warnx (line 148) | static void function gcd (line 160) | static int function permute_args (line 180) | static void function getopt (line 219) | int type option (line 268) | struct option /* specification for a long form option... */ function parse_long_options (line 288) | static int function getopt_internal (line 416) | static int function getopt_long (line 613) | int function getopt_long_only (line 626) | int FILE: mqtt/mqtt_client.c function mqtt_next_mid (line 9) | static unsigned short mqtt_next_mid() { function mqtt_client_send (line 14) | static int mqtt_client_send(mqtt_client_t* cli, const void* buf, int len) { function mqtt_send_head (line 22) | static int mqtt_send_head(hio_t* io, int type, int length) { function mqtt_send_head_with_mid (line 33) | static int mqtt_send_head_with_mid(hio_t* io, int type, unsigned short m... function mqtt_send_ping (line 50) | static void mqtt_send_ping(hio_t* io) { function mqtt_send_pong (line 60) | static void mqtt_send_pong(hio_t* io) { function mqtt_send_disconnect (line 64) | static void mqtt_send_disconnect(hio_t* io) { function mqtt_v5_skip_properties (line 70) | static int mqtt_v5_skip_properties(unsigned char** pp, unsigned char* en... function mqtt_client_login (line 91) | static int mqtt_client_login(mqtt_client_t* cli) { function connect_timeout_cb (line 202) | static void connect_timeout_cb(htimer_t* timer) { function reconnect_timer_cb (line 217) | static void reconnect_timer_cb(htimer_t* timer) { function mqtt_client_add_reconnect_timer (line 224) | static void mqtt_client_add_reconnect_timer(mqtt_client_t* cli) { function on_close (line 232) | static void on_close(hio_t* io) { function on_packet (line 243) | static void on_packet(hio_t* io, void* buf, int len) { function on_connect (line 417) | static void on_connect(hio_t* io) { function mqtt_client_t (line 443) | mqtt_client_t* mqtt_client_new(hloop_t* loop) { function mqtt_client_free (line 458) | void mqtt_client_free(mqtt_client_t* cli) { function mqtt_client_run (line 470) | void mqtt_client_run (mqtt_client_t* cli) { function mqtt_client_stop (line 475) | void mqtt_client_stop(mqtt_client_t* cli) { function mqtt_client_set_id (line 480) | void mqtt_client_set_id(mqtt_client_t* cli, const char* id) { function mqtt_client_set_will (line 485) | void mqtt_client_set_will(mqtt_client_t* cli, mqtt_message_t* will) { function mqtt_client_set_auth (line 493) | void mqtt_client_set_auth(mqtt_client_t* cli, const char* username, cons... function mqtt_client_set_callback (line 503) | void mqtt_client_set_callback(mqtt_client_t* cli, mqtt_client_cb cb) { function mqtt_client_set_userdata (line 508) | void mqtt_client_set_userdata(mqtt_client_t* cli, void* userdata) { function mqtt_client_get_last_error (line 518) | int mqtt_client_get_last_error(mqtt_client_t* cli) { function mqtt_client_set_ssl_ctx (line 523) | int mqtt_client_set_ssl_ctx(mqtt_client_t* cli, hssl_ctx_t ssl_ctx) { function mqtt_client_new_ssl_ctx (line 528) | int mqtt_client_new_ssl_ctx(mqtt_client_t* cli, hssl_ctx_opt_t* opt) { function mqtt_client_set_reconnect (line 536) | int mqtt_client_set_reconnect(mqtt_client_t* cli, reconn_setting_t* reco... function mqtt_client_reconnect (line 548) | int mqtt_client_reconnect(mqtt_client_t* cli) { function mqtt_client_set_connect_timeout (line 556) | void mqtt_client_set_connect_timeout(mqtt_client_t* cli, int ms) { function mqtt_client_set_host (line 560) | void mqtt_client_set_host(mqtt_client_t* cli, const char* host, int port... function mqtt_client_connect (line 566) | int mqtt_client_connect(mqtt_client_t* cli, const char* host, int port, ... function mqtt_client_is_connected (line 590) | bool mqtt_client_is_connected(mqtt_client_t* cli) { function mqtt_client_disconnect (line 594) | int mqtt_client_disconnect(mqtt_client_t* cli) { function mqtt_client_publish (line 602) | int mqtt_client_publish(mqtt_client_t* cli, mqtt_message_t* msg) { function mqtt_client_subscribe (line 654) | int mqtt_client_subscribe(mqtt_client_t* cli, const char* topic, int qos) { function mqtt_client_unsubscribe (line 688) | int mqtt_client_unsubscribe(mqtt_client_t* cli, const char* topic) { FILE: mqtt/mqtt_client.h type mqtt_client_t (line 11) | typedef struct mqtt_client_s mqtt_client_t; type mqtt_client_s (line 17) | struct mqtt_client_s { function namespace (line 137) | namespace hv { function reconnect (line 219) | int reconnect() { function disconnect (line 223) | int disconnect() { function isConnected (line 227) | bool isConnected() { function invokeAckCallback (line 274) | void invokeAckCallback(int mid) { function on_mqtt (line 286) | static void on_mqtt(mqtt_client_t* cli, int type) { FILE: mqtt/mqtt_protocol.c function mqtt_head_pack (line 4) | int mqtt_head_pack(mqtt_head_t* head, unsigned char buf[]) { function mqtt_head_unpack (line 13) | int mqtt_head_unpack(mqtt_head_t* head, const unsigned char* buf, int le... FILE: mqtt/mqtt_protocol.h type mqtt_type_e (line 26) | typedef enum { type mqtt_connack_e (line 44) | typedef enum { type mqtt_head_t (line 53) | typedef struct mqtt_head_s { type mqtt_message_t (line 61) | typedef struct mqtt_message_s { function HV_INLINE (line 73) | HV_INLINE int mqtt_estimate_length(mqtt_head_t* head) { FILE: protocol/dns.c function dns_free (line 7) | void dns_free(dns_t* dns) { function dns_name_encode (line 15) | int dns_name_encode(const char* domain, char* buf) { function dns_name_decode (line 45) | int dns_name_decode(const char* buf, char* domain) { function dns_rr_pack (line 68) | int dns_rr_pack(dns_rr_t* rr, char* buf, int len) { function dns_rr_unpack (line 100) | int dns_rr_unpack(char* buf, int len, dns_rr_t* rr, int is_question) { function dns_pack (line 142) | int dns_pack(dns_t* dns, char* buf, int len) { function dns_unpack (line 178) | int dns_unpack(char* buf, int len, dns_t* dns) { function dns_query (line 231) | int dns_query(dns_t* query, dns_t* response, const char* nameserver) { function nslookup (line 281) | int nslookup(const char* domain, uint32_t* addrs, int naddr, const char*... FILE: protocol/dns.h type dnshdr_t (line 29) | typedef struct dnshdr_s { type dns_rr_t (line 65) | typedef struct dns_rr_s { type dns_t (line 74) | typedef struct dns_s { FILE: protocol/ftp.c type ftp_command (line 5) | enum ftp_command type ftp_status (line 14) | enum ftp_status function ftp_connect (line 23) | int ftp_connect(ftp_handle_t* hftp, const char* host, int port) { function ftp_login (line 51) | int ftp_login(ftp_handle_t* hftp, const char* username, const char* pass... function ftp_quit (line 57) | int ftp_quit(ftp_handle_t* hftp) { function ftp_exec (line 63) | int ftp_exec(ftp_handle_t* hftp, const char* cmd, const char* param) { function ftp_parse_pasv (line 93) | static int ftp_parse_pasv(const char* resp, char* host, int* port) { function ftp_download_with_cb (line 107) | int ftp_download_with_cb(ftp_handle_t* hftp, const char* filepath, ftp_d... function ftp_upload (line 162) | int ftp_upload(ftp_handle_t* hftp, const char* local_filepath, const cha... function s_ftp_download_cb (line 222) | static int s_ftp_download_cb(ftp_handle_t* hftp, char* buf, int len) { function ftp_download (line 234) | int ftp_download(ftp_handle_t* hftp, const char* remote_filepath, const ... FILE: protocol/ftp.h type ftp_command (line 34) | enum ftp_command { type ftp_status (line 53) | enum ftp_status { type ftp_handle_t (line 69) | typedef struct ftp_handle_s { type ftp_command (line 77) | enum ftp_command type ftp_status (line 78) | enum ftp_status FILE: protocol/icmp.c function ping (line 9) | int ping(const char* host, int cnt) { FILE: protocol/smtp.c type smtp_command (line 7) | enum smtp_command type smtp_status (line 16) | enum smtp_status function smtp_build_command (line 25) | int smtp_build_command(enum smtp_command cmd, const char* param, char* b... function sendmail (line 41) | int sendmail(const char* smtp_server, FILE: protocol/smtp.h type smtp_command (line 22) | enum smtp_command { type smtp_status (line 45) | enum smtp_status { type mail_t (line 51) | typedef struct mail_s { type smtp_command (line 60) | enum smtp_command type smtp_status (line 61) | enum smtp_status type smtp_command (line 64) | enum smtp_command FILE: scripts/consul.py function gen_ServiceID (line 14) | def gen_ServiceID(service_name, service_ip, service_port): function register_service (line 17) | def register_service(service_name, service_ip, service_port , node=_node): function deregister_service (line 38) | def deregister_service(ServiceID, node=_node): function discover_service (line 49) | def discover_service(service_name, node=_node): function main (line 60) | def main(): FILE: scripts/websocket_server.py function echo (line 8) | async def echo(websocket): function serve (line 13) | async def serve(port): FILE: ssl/appletls.c type st_cipher (line 100) | struct st_cipher { type st_cipher (line 186) | struct st_cipher function is_cipher_suite_strong (line 747) | static bool is_cipher_suite_strong(SSLCipherSuite suite_num) type appletls_ctx_t (line 764) | typedef struct appletls_ctx { function hssl_ctx_t (line 769) | hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* param) { function hssl_ctx_free (line 777) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) { type appletls_t (line 787) | typedef struct appletls_s { function hssl_t (line 793) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) { function OSStatus (line 803) | static OSStatus SocketRead(SSLConnectionRef conn, void* data, size_t* le... function OSStatus (line 849) | static OSStatus SocketWrite(SSLConnectionRef conn, const void* data, siz... function hssl_init (line 876) | static int hssl_init(hssl_t ssl, int endpoint) { function hssl_free (line 996) | void hssl_free(hssl_t ssl) { function hssl_handshake (line 1010) | static int hssl_handshake(hssl_t ssl) { function hssl_accept (line 1039) | int hssl_accept(hssl_t ssl) { function hssl_connect (line 1048) | int hssl_connect(hssl_t ssl) { function hssl_read (line 1057) | int hssl_read(hssl_t ssl, void* buf, int len) { function hssl_write (line 1077) | int hssl_write(hssl_t ssl, const void* buf, int len) { function hssl_close (line 1097) | int hssl_close(hssl_t ssl) { function hssl_set_sni_hostname (line 1104) | int hssl_set_sni_hostname(hssl_t ssl, const char* hostname) { FILE: ssl/gnutls.c type gnutls_certificate_credentials_t (line 11) | typedef gnutls_certificate_credentials_t gnutls_ctx_t; function hssl_ctx_t (line 13) | hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* param) { function hssl_ctx_free (line 79) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) { type gnutls_t (line 85) | typedef struct gnutls_s { function hssl_t (line 91) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) { function hssl_init (line 100) | static int hssl_init(hssl_t ssl, int endpoint) { function hssl_free (line 112) | void hssl_free(hssl_t ssl) { function hssl_handshake (line 122) | static int hssl_handshake(hssl_t ssl) { function hssl_accept (line 143) | int hssl_accept(hssl_t ssl) { function hssl_connect (line 152) | int hssl_connect(hssl_t ssl) { function hssl_read (line 161) | int hssl_read(hssl_t ssl, void* buf, int len) { function hssl_write (line 170) | int hssl_write(hssl_t ssl, const void* buf, int len) { function hssl_close (line 179) | int hssl_close(hssl_t ssl) { function hssl_set_sni_hostname (line 187) | int hssl_set_sni_hostname(hssl_t ssl, const char* hostname) { FILE: ssl/hssl.c function hssl_ctx_t (line 5) | hssl_ctx_t hssl_ctx_init(hssl_ctx_init_param_t* param) { function hssl_ctx_cleanup (line 12) | void hssl_ctx_cleanup(hssl_ctx_t ssl_ctx) { function hssl_ctx_t (line 19) | hssl_ctx_t hssl_ctx_instance() { FILE: ssl/hssl.h type hssl_ctx_opt_t (line 39) | typedef struct { FILE: ssl/mbedtls.c type mbedtls_ctx (line 29) | struct mbedtls_ctx { type mbedtls_ctx (line 41) | struct mbedtls_ctx type mbedtls_ctx (line 41) | struct mbedtls_ctx type mbedtls_ctx (line 41) | struct mbedtls_ctx function hssl_ctx_free (line 107) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) { function __mbedtls_net_send (line 121) | static int __mbedtls_net_send(void *ctx, const unsigned char *buf, size_... function __mbedtls_net_recv (line 129) | static int __mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) { function hssl_t (line 137) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) { function hssl_free (line 147) | void hssl_free(hssl_t ssl) { function hssl_handshake (line 154) | static int hssl_handshake(hssl_t ssl) { function hssl_accept (line 167) | int hssl_accept(hssl_t ssl) { function hssl_connect (line 171) | int hssl_connect(hssl_t ssl) { function hssl_read (line 175) | int hssl_read(hssl_t ssl, void* buf, int len) { function hssl_write (line 179) | int hssl_write(hssl_t ssl, const void* buf, int len) { function hssl_close (line 183) | int hssl_close(hssl_t ssl) { function hssl_set_sni_hostname (line 187) | int hssl_set_sni_hostname(hssl_t ssl, const char* hostname) { FILE: ssl/nossl.c function hssl_ctx_t (line 9) | hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* opt) { function hssl_ctx_free (line 14) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) { function hssl_t (line 17) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) { function hssl_free (line 21) | void hssl_free(hssl_t ssl) { function hssl_accept (line 24) | int hssl_accept(hssl_t ssl) { function hssl_connect (line 28) | int hssl_connect(hssl_t ssl) { function hssl_read (line 32) | int hssl_read(hssl_t ssl, void* buf, int len) { function hssl_write (line 37) | int hssl_write(hssl_t ssl, const void* buf, int len) { function hssl_close (line 42) | int hssl_close(hssl_t ssl) { function hssl_set_sni_hostname (line 46) | int hssl_set_sni_hostname(hssl_t ssl, const char* hostname) { FILE: ssl/openssl.c function hssl_ctx_t (line 16) | hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* param) { function hssl_ctx_free (line 90) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) { function hssl_t (line 95) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) { function hssl_free (line 102) | void hssl_free(hssl_t ssl) { function hssl_accept (line 109) | int hssl_accept(hssl_t ssl) { function hssl_connect (line 129) | int hssl_connect(hssl_t ssl) { function hssl_read (line 149) | int hssl_read(hssl_t ssl, void* buf, int len) { function hssl_write (line 153) | int hssl_write(hssl_t ssl, const void* buf, int len) { function hssl_close (line 157) | int hssl_close(hssl_t ssl) { function hssl_set_sni_hostname (line 162) | int hssl_set_sni_hostname(hssl_t ssl, const char* hostname) { function hssl_ctx_alpn_select_cb (line 170) | static int hssl_ctx_alpn_select_cb(SSL *ssl, function hssl_ctx_set_alpn_protos (line 186) | int hssl_ctx_set_alpn_protos(hssl_ctx_t ssl_ctx, const unsigned char* pr... FILE: ssl/wintls.c function PCCERT_CONTEXT (line 88) | static inline PCCERT_CONTEXT getservercert(const char* path) function hssl_ctx_t (line 102) | hssl_ctx_t hssl_ctx_new(hssl_ctx_opt_t* opt) function hssl_ctx_free (line 183) | void hssl_ctx_free(hssl_ctx_t ssl_ctx) function init_sec_buffer (line 192) | static void init_sec_buffer(SecBuffer* secure_buffer, unsigned long type... function init_sec_buffer_desc (line 199) | static void init_sec_buffer_desc(SecBufferDesc* secure_buffer_desc, unsi... type ssl_connect_state (line 207) | typedef enum { type wintls_s (line 216) | struct wintls_s { function hssl_t (line 233) | hssl_t hssl_new(hssl_ctx_t ssl_ctx, int fd) function hssl_free (line 246) | void hssl_free(hssl_t _ssl) function free_all_buffers (line 259) | static void free_all_buffers(SecBufferDesc* secure_buffer_desc) function __sendwrapper (line 269) | static int __sendwrapper(SOCKET fd, const char* buf, size_t len, int flags) function __recvwrapper (line 286) | static int __recvwrapper(SOCKET fd, char* buf, int len, int flags) function hssl_accept (line 295) | int hssl_accept(hssl_t ssl) function schannel_connect_step1 (line 386) | static int schannel_connect_step1(struct wintls_s* ssl) function schannel_connect_step2 (line 422) | static int schannel_connect_step2(struct wintls_s* ssl) function dumpconninfo (line 530) | static void dumpconninfo(SecHandle* sechandle) function hssl_connect (line 633) | int hssl_connect(hssl_t _ssl) function decrypt_message (line 659) | static int decrypt_message(SecHandle security_context, unsigned long* ex... function hssl_read (line 702) | int hssl_read(hssl_t _ssl, void* buf, int len) function hssl_write (line 766) | int hssl_write(hssl_t _ssl, const void* buf, int len) function hssl_close (line 826) | int hssl_close(hssl_t _ssl) function hssl_set_sni_hostname (line 831) | int hssl_set_sni_hostname(hssl_t _ssl, const char* hostname) FILE: unittest/base64_test.c function test (line 13) | static void test() { function main (line 31) | int main(int argc, char* argv[]) { FILE: unittest/connect_test.c function main (line 4) | int main(int argc, char* argv[]) { FILE: unittest/date_test.c function main (line 3) | int main(int argc, char* argv[]) { FILE: unittest/defer_test.cpp function main (line 5) | int main() { FILE: unittest/ftp_test.c function print_help (line 7) | void print_help() { function main (line 16) | int main(int argc, char** argv) { FILE: unittest/hatomic_test.c function HTHREAD_ROUTINE (line 9) | HTHREAD_ROUTINE(test_hatomic_flag) { function HTHREAD_ROUTINE (line 19) | HTHREAD_ROUTINE(test_hatomic) { function main (line 28) | int main() { FILE: unittest/hatomic_test.cpp function HTHREAD_ROUTINE (line 9) | HTHREAD_ROUTINE(test_hatomic_flag) { function HTHREAD_ROUTINE (line 19) | HTHREAD_ROUTINE(test_hatomic) { function main (line 28) | int main() { FILE: unittest/hbase_test.c function main (line 3) | int main(int argc, char* argv[]) { FILE: unittest/hlog_test.c function main (line 3) | int main(int argc, char* argv[]) { FILE: unittest/hmutex_test.c function once_print (line 5) | void once_print() { function HTHREAD_ROUTINE (line 9) | HTHREAD_ROUTINE(test_once) { function HTHREAD_ROUTINE (line 18) | HTHREAD_ROUTINE(test_mutex) { function HTHREAD_ROUTINE (line 28) | HTHREAD_ROUTINE(test_recursive_mutex) { function HTHREAD_ROUTINE (line 40) | HTHREAD_ROUTINE(test_spinlock) { function HTHREAD_ROUTINE (line 50) | HTHREAD_ROUTINE(test_rwlock) { function HTHREAD_ROUTINE (line 62) | HTHREAD_ROUTINE(test_timed_mutex) { function HTHREAD_ROUTINE (line 76) | HTHREAD_ROUTINE(test_condvar) { function HTHREAD_ROUTINE (line 97) | HTHREAD_ROUTINE(test_sem) { function main (line 114) | int main(int argc, char* argv[]) { FILE: unittest/hpath_test.cpp function main (line 3) | int main(int argc, char** argv) { FILE: unittest/hstring_test.cpp function main (line 4) | int main(int argc, char** argv) { FILE: unittest/hthread_test.cpp function HTHREAD_ROUTINE (line 4) | HTHREAD_ROUTINE(test_thread1) { class TestThread2 (line 13) | class TestThread2 : public HThread { method run (line 15) | virtual void run() { class TestThread3 (line 24) | class TestThread3 : public HThread { method doPrepare (line 26) | virtual bool doPrepare() { method doTask (line 31) | virtual void doTask() { method doFinish (line 35) | virtual bool doFinish() { function main (line 41) | int main() { FILE: unittest/hurl_test.cpp function main (line 5) | int main(int argc, char** argv) { FILE: unittest/ifconfig_test.cpp function main (line 5) | int main() { FILE: unittest/listdir_test.cpp function main (line 5) | int main(int argc, char* argv[]) { FILE: unittest/md5_test.c function test (line 13) | static void test() { function main (line 20) | int main(int argc, char* argv[]) { FILE: unittest/mkdir_test.c function main (line 3) | int main(int argc, char* argv[]) { FILE: unittest/nslookup_test.c function main (line 6) | int main(int argc, char* argv[]) { FILE: unittest/objectpool_test.cpp function msleep (line 12) | void msleep(unsigned int ms) { class Task (line 20) | class Task { method Task (line 22) | Task() {printf("Task()\n");} method Do (line 25) | void Do() { function task_thread (line 34) | void task_thread(int id) { function main (line 46) | int main(int argc, char** argv) { FILE: unittest/ping_test.c function main (line 5) | int main(int argc, char* argv[]) { FILE: unittest/rbtree_test.c type rbtree_key_type (line 6) | typedef int rbtree_key_type; type rbtree_val_type (line 7) | typedef int rbtree_val_type; type rbtree_entry (line 9) | struct rbtree_entry { function rbtree_insert (line 15) | int rbtree_insert(struct rb_root* root, struct rbtree_entry* entry) { function rbtree_remove (line 37) | int rbtree_remove(struct rb_root* root, struct rbtree_entry* entry) { type rbtree_entry (line 43) | struct rbtree_entry type rb_root (line 43) | struct rb_root type rb_node (line 44) | struct rb_node type rbtree_entry (line 45) | struct rbtree_entry function rbtree_entry_print (line 59) | void rbtree_entry_print(struct rbtree_entry* entry) { function main (line 67) | int main() { FILE: unittest/rmdir_test.c function main (line 3) | int main(int argc, char* argv[]) { FILE: unittest/sendmail_test.c function main (line 5) | int main(int argc, char** argv) { FILE: unittest/sha1_test.c function test (line 13) | static void test() { function main (line 20) | int main(int argc, char* argv[]) { FILE: unittest/sizeof_test.cpp function main (line 29) | int main() { FILE: unittest/socketpair_test.c function main (line 5) | int main(int argc, char* argv[]) { FILE: unittest/synchronized_test.cpp function HTHREAD_ROUTINE (line 7) | HTHREAD_ROUTINE(test_synchronized) { function main (line 15) | int main() { FILE: unittest/threadpool_test.cpp function print_task (line 7) | void print_task(int i) { function main (line 12) | int main(int argc, char** argv) { FILE: unittest/webbench.c function Connect (line 17) | int Connect(const char* host, int port) { type option (line 73) | struct option function print_usage (line 91) | void print_usage() { function parse_cmdline (line 112) | int parse_cmdline(int argc, char** argv) { function alarm_handler (line 155) | static void alarm_handler(int singal) { function main (line 159) | int main(int argc, char** argv) { FILE: util/base64.c function hv_base64_encode (line 53) | int hv_base64_encode(const unsigned char *in, unsigned int inlen, char *... function hv_base64_decode (line 88) | int hv_base64_decode(const char *in, unsigned int inlen, unsigned char *... FILE: util/base64.h function namespace (line 24) | namespace hv { FILE: util/md5.c function HV_MD5Init (line 46) | void HV_MD5Init(HV_MD5_CTX *ctx) { function HV_MD5Update (line 55) | void HV_MD5Update(HV_MD5_CTX *ctx,unsigned char *input,unsigned int inpu... function HV_MD5Final (line 79) | void HV_MD5Final(HV_MD5_CTX *ctx,unsigned char digest[16]) { function HV_MD5Encode (line 90) | void HV_MD5Encode(unsigned char *output,unsigned int *input,unsigned int... function HV_MD5Decode (line 102) | void HV_MD5Decode(unsigned int *output,unsigned char *input,unsigned int... function HV_MD5Transform (line 111) | void HV_MD5Transform(unsigned int state[4],unsigned char block[64]) { function hv_md5 (line 194) | void hv_md5(unsigned char* input, unsigned int inputlen, unsigned char d... function i2hex (line 201) | static inline char i2hex(unsigned char i) { function hv_md5_hex (line 205) | void hv_md5_hex(unsigned char* input, unsigned int inputlen, char* outpu... FILE: util/md5.h type HV_MD5_CTX (line 6) | typedef struct { FILE: util/sha1.c function HV_SHA1Transform (line 49) | void HV_SHA1Transform( function HV_SHA1Init (line 177) | void HV_SHA1Init( function HV_SHA1Update (line 193) | void HV_SHA1Update( function HV_SHA1Final (line 226) | void HV_SHA1Final( function HV_SHA1 (line 277) | void HV_SHA1( function hv_sha1 (line 292) | void hv_sha1(unsigned char* input, uint32_t inputlen, unsigned char dige... function i2hex (line 299) | static inline char i2hex(unsigned char i) { function hv_sha1_hex (line 303) | void hv_sha1_hex(unsigned char* input, uint32_t inputlen, char* output, ... FILE: util/sha1.h type HV_SHA1_CTX (line 15) | typedef struct {