/third_party/node/deps/cares/src/lib/ |
H A D | ares__buf.h | 48 typedef struct ares__buf ares__buf_t; typedef 54 ares__buf_t *ares__buf_create(void); 65 ares__buf_t *ares__buf_create_const(const unsigned char *data, size_t data_len); 72 void ares__buf_destroy(ares__buf_t *buf); 82 ares_status_t ares__buf_append(ares__buf_t *buf, const unsigned char *data, 91 ares_status_t ares__buf_append_byte(ares__buf_t *buf, unsigned char byte); 99 ares_status_t ares__buf_append_str(ares__buf_t *buf, const char *str); 107 ares_status_t ares__buf_append_be16(ares__buf_t *buf, unsigned short u16); 115 ares_status_t ares__buf_append_be32(ares__buf_t *buf, unsigned int u32); 124 ares_status_t ares__buf_append_num_dec(ares__buf_t *bu [all...] |
H A D | ares__buf.c | 89 ares__buf_t *ares__buf_create(void) in ares__buf_create() 91 ares__buf_t *buf = ares_malloc_zero(sizeof(*buf)); in ares__buf_create() 100 ares__buf_t *ares__buf_create_const(const unsigned char *data, size_t data_len) in ares__buf_create_const() 102 ares__buf_t *buf; in ares__buf_create_const() 119 void ares__buf_destroy(ares__buf_t *buf) in ares__buf_destroy() 128 static ares_bool_t ares__buf_is_const(const ares__buf_t *buf) in ares__buf_is_const() 141 void ares__buf_reclaim(ares__buf_t *buf) in ares__buf_reclaim() 183 static ares_status_t ares__buf_ensure_space(ares__buf_t *buf, in ares__buf_ensure_space() 242 ares_status_t ares__buf_set_length(ares__buf_t *buf, size_t len) in ares__buf_set_length() 256 ares_status_t ares__buf_append(ares__buf_t *bu [all...] |
H A D | ares_dns_parse.c | 34 static size_t ares_dns_rr_remaining_len(const ares__buf_t *buf, size_t orig_len, in ares_dns_rr_remaining_len() 44 static ares_status_t ares_dns_parse_and_set_dns_name(ares__buf_t *buf, in ares_dns_parse_and_set_dns_name() 66 ares__buf_t *buf, size_t max_len, ares_bool_t allow_multiple, in ares_dns_parse_and_set_dns_str() 91 ares_dns_parse_and_set_dns_binstr(ares__buf_t *buf, size_t max_len, in ares_dns_parse_and_set_dns_binstr() 113 static ares_status_t ares_dns_parse_and_set_be32(ares__buf_t *buf, in ares_dns_parse_and_set_be32() 128 static ares_status_t ares_dns_parse_and_set_be16(ares__buf_t *buf, in ares_dns_parse_and_set_be16() 143 static ares_status_t ares_dns_parse_and_set_u8(ares__buf_t *buf, in ares_dns_parse_and_set_u8() 158 static ares_status_t ares_dns_parse_rr_a(ares__buf_t *buf, ares_dns_rr_t *rr, in ares_dns_parse_rr_a() 174 static ares_status_t ares_dns_parse_rr_ns(ares__buf_t *buf, ares_dns_rr_t *rr, in ares_dns_parse_rr_ns() 183 static ares_status_t ares_dns_parse_rr_cname(ares__buf_t *bu [all...] |
H A D | ares_dns_write.c | 36 ares__buf_t *buf) in ares_dns_write_header() 138 ares__buf_t *buf) in ares_dns_write_questions() 175 static ares_status_t ares_dns_write_rr_name(ares__buf_t *buf, in ares_dns_write_rr_name() 191 static ares_status_t ares_dns_write_rr_str(ares__buf_t *buf, in ares_dns_write_rr_str() 223 static ares_status_t ares_dns_write_rr_binstrs(ares__buf_t *buf, in ares_dns_write_rr_binstrs() 267 static ares_status_t ares_dns_write_rr_be32(ares__buf_t *buf, in ares_dns_write_rr_be32() 277 static ares_status_t ares_dns_write_rr_be16(ares__buf_t *buf, in ares_dns_write_rr_be16() 287 static ares_status_t ares_dns_write_rr_u8(ares__buf_t *buf, in ares_dns_write_rr_u8() 297 static ares_status_t ares_dns_write_rr_a(ares__buf_t *buf, in ares_dns_write_rr_a() 312 static ares_status_t ares_dns_write_rr_ns(ares__buf_t *bu [all...] |
H A D | ares_dns_name.c | 132 ares__buf_t **label; 153 static ares__buf_t *ares_dns_labels_add(ares_dns_labels_t *labels) in ares_dns_labels_add() 178 static const ares__buf_t * 199 static ares_status_t ares_parse_dns_name_escape(ares__buf_t *namebuf, in ares_parse_dns_name_escape() 200 ares__buf_t *label, in ares_parse_dns_name_escape() 256 ares__buf_t *label = NULL; in ares_split_dns_name() 257 ares__buf_t *namebuf = NULL; in ares_split_dns_name() 359 ares_status_t ares__dns_name_write(ares__buf_t *buf, ares__llist_t **list, in ares__dns_name_write() 470 static ares_status_t ares__fetch_dnsname_into_buf(ares__buf_t *buf, in ares__fetch_dnsname_into_buf() 471 ares__buf_t *des in ares__fetch_dnsname_into_buf() [all...] |
H A D | ares_strsplit.c | 77 ares__buf_t *buf = NULL; in ares__strsplit() 117 ares__buf_t *val = ares__llist_node_val(node); in ares__strsplit()
|
H A D | ares_private.h | 181 ares__buf_t *tcp_parser; 184 ares__buf_t *tcp_send; 514 ares_status_t ares__dns_name_parse(ares__buf_t *buf, char **name, 534 ares_status_t ares__dns_name_write(ares__buf_t *buf, ares__llist_t **list,
|
H A D | ares_expand_string.c | 49 ares__buf_t *buf = NULL; in ares_expand_string_ex()
|
H A D | ares_sysconfig_files.c | 117 static ares_status_t parse_sort(ares__buf_t *buf, struct apattern *pat) in parse_sort() 220 ares__buf_t *buf = NULL; in ares__parse_sortlist() 251 ares__buf_t *entry = ares__llist_node_val(node); in ares__parse_sortlist()
|
H A D | ares_expand_name.c | 45 ares__buf_t *buf = NULL; in ares__expand_name_validated()
|
H A D | ares_update_servers.c | 216 static ares_status_t parse_nameserver(ares__buf_t *buf, ares_sconfig_t *sconfig) in parse_nameserver() 452 ares__buf_t *buf = NULL; in ares__sconfig_append_fromstr() 473 ares__buf_t *entry = ares__llist_node_val(node); in ares__sconfig_append_fromstr() 1115 ares__buf_t *buf = NULL; in ares_get_servers_csv()
|
H A D | ares__hosts_file.c | 102 ares__buf_t *buf) in ares__read_file_into_buf() 468 static ares_status_t ares__parse_hosts_hostnames(ares__buf_t *buf, in ares__parse_hosts_hostnames() 542 static ares_status_t ares__parse_hosts_ipaddr(ares__buf_t *buf, in ares__parse_hosts_ipaddr() 595 ares__buf_t *buf = NULL; in ares__parse_hosts()
|
H A D | ares_qcache.c | 45 ares__buf_t *buf = ares__buf_create(); in ares__qcache_calc_key()
|
H A D | ares_sysconfig.c | 847 ares__buf_t *ipbuf = NULL; in ares__init_sysconfig_libresolv()
|
H A D | ares_dns_record.c | 1233 ares__buf_t *buf = NULL; in ares_dns_addr_to_ptr()
|