/freebsd-11-stable/contrib/ldns/ |
H A D | str2host.c | 148 salt = LDNS_XMALLOC(uint8_t, salt_length_str / 2); 163 data = LDNS_XMALLOC(uint8_t, 1 + salt_length); 434 dp = data = LDNS_XMALLOC(uint8_t, strlen(str) > 255 ? 256 : (strlen(str) + 1)); 509 my_ip_str = LDNS_XMALLOC(char, ip_str_len + 1); 516 afdpart = LDNS_XMALLOC(uint8_t, 4); 533 afdpart = LDNS_XMALLOC(uint8_t, 16); 557 data = LDNS_XMALLOC(uint8_t, 4 + afdlength); 587 buffer = LDNS_XMALLOC(uint8_t, ldns_b64_ntop_calculate_size(strlen(str))); 613 buffer = LDNS_XMALLOC(uint8_t, len + 1); 645 t = LDNS_XMALLOC(uint8_ [all...] |
H A D | higher.c | 162 line = LDNS_XMALLOC(char, LDNS_MAX_LINELEN + 1); 163 word = LDNS_XMALLOC(char, LDNS_MAX_LINELEN + 1); 164 addr = LDNS_XMALLOC(char, LDNS_MAX_LINELEN + 1); 165 rr_str = LDNS_XMALLOC(char, LDNS_MAX_LINELEN + 1);
|
H A D | buffer.c | 24 buffer->_data = (uint8_t *) LDNS_XMALLOC(uint8_t, capacity); 48 buffer->_data = LDNS_XMALLOC(uint8_t, size);
|
H A D | rdata.c | 134 uint16_t *rdf_data = LDNS_XMALLOC(uint16_t, 1); 149 uint32_t *rdf_data = LDNS_XMALLOC(uint32_t, 1); 164 uint8_t *rdf_data = LDNS_XMALLOC(uint8_t, size + 2); 207 rdf->_data = LDNS_XMALLOC(uint8_t, size); 383 line = LDNS_XMALLOC(char, LDNS_MAX_LINELEN + 1); 483 char_dname = LDNS_XMALLOC(char, (LDNS_IP6ADDRLEN * 4)); 562 data = LDNS_XMALLOC(uint8_t, 4 + hit_size + pk_size);
|
H A D | keys.c | 306 d = LDNS_XMALLOC(char, LDNS_MAX_LINELEN); 560 d = LDNS_XMALLOC(char, LDNS_MAX_LINELEN); 561 buf = LDNS_XMALLOC(uint8_t, LDNS_MAX_LINELEN); 678 d = LDNS_XMALLOC(char, LDNS_MAX_LINELEN); 679 buf = LDNS_XMALLOC(uint8_t, LDNS_MAX_LINELEN); 771 buf = LDNS_XMALLOC(unsigned char, bufsz); 885 hmac = LDNS_XMALLOC(unsigned char, size); 1429 bin = LDNS_XMALLOC(unsigned char, LDNS_MAX_KEYLEN); 1451 bin = LDNS_XMALLOC(unsigned char, LDNS_MAX_KEYLEN); 1472 bin = LDNS_XMALLOC(unsigne [all...] |
H A D | tsig.c | 120 wire2 = LDNS_XMALLOC(uint8_t, *result_len); 226 key_bytes = LDNS_XMALLOC(unsigned char, 240 mac_bytes = LDNS_XMALLOC(unsigned char, md_len+2); 389 time_signed = LDNS_XMALLOC(uint8_t, 6);
|
H A D | dnssec.c | 503 digest = LDNS_XMALLOC(uint8_t, LDNS_SHA1_DIGEST_LENGTH); 510 digest = LDNS_XMALLOC(uint8_t, LDNS_SHA256_DIGEST_LENGTH); 524 digest = LDNS_XMALLOC(uint8_t, EVP_MD_size(md)); 537 digest = LDNS_XMALLOC(uint8_t, SHA384_DIGEST_LENGTH); 1008 hashed_owner_str = LDNS_XMALLOC(unsigned char, hashed_owner_str_len); 1023 hashed_owner_str = LDNS_XMALLOC(unsigned char, hashed_owner_str_len); 1036 hashed_owner_b32 = LDNS_XMALLOC(char, 1102 salt_data = LDNS_XMALLOC(uint8_t, salt_length + 1); 1303 salt = LDNS_XMALLOC(uint8_t, salt_length); 1723 dsasig_data = LDNS_XMALLOC(unsigne [all...] |
H A D | parse.c | 191 fkeyword = LDNS_XMALLOC(char, LDNS_MAX_KEYWORDLEN); 408 fkeyword = LDNS_XMALLOC(char, LDNS_MAX_KEYWORDLEN);
|
H A D | dname.c | 74 buf = LDNS_XMALLOC(uint8_t, new_size); 135 buf = LDNS_XMALLOC(uint8_t, rd_size); 577 data = LDNS_XMALLOC(uint8_t, len + 2);
|
H A D | rr.c | 55 rr->_rdata_fields = LDNS_XMALLOC(ldns_rdf *, ldns_rr_descriptor_minimum(desc)); 157 owner = LDNS_XMALLOC(char, LDNS_MAX_DOMAINLEN + 1); 158 ttl = LDNS_XMALLOC(char, LDNS_TTL_DATALEN); 159 clas = LDNS_XMALLOC(char, LDNS_SYNTAX_DATALEN); 160 rdata = LDNS_XMALLOC(char, LDNS_MAX_PACKETLEN + 1); 163 rd = LDNS_XMALLOC(char, LDNS_MAX_RDFLEN); 164 xtok = LDNS_XMALLOC(char, LDNS_MAX_RDFLEN); 211 type = LDNS_XMALLOC(char, strlen(ttl) + 1); 230 type = LDNS_XMALLOC(char, strlen(clas) + 1); 240 type = LDNS_XMALLOC(cha [all...] |
H A D | net.c | 655 sendbuf = LDNS_XMALLOC(uint8_t, ldns_buffer_position(qbin) + 2); 697 wire = LDNS_XMALLOC(uint8_t, LDNS_MAX_PACKETLEN); 727 wire = LDNS_XMALLOC(uint8_t, 2); 752 wire = LDNS_XMALLOC(uint8_t, wire_size); 786 wire = LDNS_XMALLOC(uint8_t, 2); 806 wire = LDNS_XMALLOC(uint8_t, wire_size);
|
H A D | radix.c | 926 a = LDNS_XMALLOC(ldns_radix_array_t, size); 953 array->str = LDNS_XMALLOC(uint8_t, (len-pos)); 979 *split_str = LDNS_XMALLOC(uint8_t, (*split_len)); 1029 dup_str = LDNS_XMALLOC(uint8_t, strlen_to_add); 1134 common_str = LDNS_XMALLOC(uint8_t, common_len); 1390 join_str = LDNS_XMALLOC(uint8_t, join_len); 1561 ldns_radix_array_t* a = LDNS_XMALLOC(ldns_radix_array_t,
|
H A D | dane.c | 127 digest = LDNS_XMALLOC(unsigned char, LDNS_SHA256_DIGEST_LENGTH); 142 digest = LDNS_XMALLOC(unsigned char, LDNS_SHA512_DIGEST_LENGTH);
|
H A D | host2str.c | 473 char *b64 = LDNS_XMALLOC(char, size); 492 b32 = LDNS_XMALLOC(char, size + 1); 1038 b64 = LDNS_XMALLOC(char, size); 1087 gateway_data = LDNS_XMALLOC(uint8_t, LDNS_IP4ADDRLEN); 1103 gateway_data = LDNS_XMALLOC(uint8_t, LDNS_IP6ADDRLEN); 1134 public_key_data = LDNS_XMALLOC(uint8_t, public_key_size); 1423 b32 = LDNS_XMALLOC(char, size + 2); 1951 bignum = LDNS_XMALLOC(unsigned char, LDNS_MAX_KEYLEN);
|
H A D | util.c | 343 seed = LDNS_XMALLOC(uint8_t, size); 427 retval = LDNS_XMALLOC(char, rounds * 6);
|
H A D | resolver.c | 305 nameservers = LDNS_XMALLOC(ldns_rdf *, 1); 317 rtt = LDNS_XMALLOC(size_t, 1); 1075 new_rtt = LDNS_XMALLOC(size_t
|
H A D | wire2host.c | 285 data = LDNS_XMALLOC(uint8_t, rd_length);
|
H A D | libdns.vim | 8 syn keyword ldnsMacro LDNS_XMALLOC
|
H A D | dnssec_sign.c | 337 data = LDNS_XMALLOC(uint8_t, 1 + 2 * SHA_DIGEST_LENGTH);
|
H A D | dnssec_verify.c | 444 ldns_dnssec_trust_tree *new_tree = LDNS_XMALLOC(ldns_dnssec_trust_tree, 513 sibmap = LDNS_XMALLOC(uint8_t, treedepth);
|
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | util.h | 49 #define LDNS_MALLOC(type) LDNS_XMALLOC(type, 1) 51 #define LDNS_XMALLOC(type, count) ((type *) malloc((count) * sizeof(type))) macro
|
/freebsd-11-stable/contrib/ldns/drill/ |
H A D | securetrace.c | 255 labels = LDNS_XMALLOC(ldns_rdf*, labels_count + 2);
|