| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/generic/ |
| D | loc_29.c | 83 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc() 85 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc() 87 m1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc() 100 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc() 102 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc() 104 s1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc() 136 DNS_AS_STR(token)); in fromtext_loc() 148 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc() 150 if (!north && strcasecmp(DNS_AS_STR(token), "S") != 0) in fromtext_loc() 168 if (strcasecmp(DNS_AS_STR(token), "E") == 0) in fromtext_loc() [all …]
|
| D | rrsig_46.c | 54 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_rrsig() 93 if (strlen(DNS_AS_STR(token)) <= 10U && in fromtext_rrsig() 94 *DNS_AS_STR(token) != '-' && *DNS_AS_STR(token) != '+') { in fromtext_rrsig() 99 u64 = u = strtoul(DNS_AS_STR(token), &end, 10); in fromtext_rrsig() 106 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_expire)); in fromtext_rrsig() 114 if (strlen(DNS_AS_STR(token)) <= 10U && in fromtext_rrsig() 115 *DNS_AS_STR(token) != '-' && *DNS_AS_STR(token) != '+') { in fromtext_rrsig() 120 u64 = u = strtoul(DNS_AS_STR(token), &end, 10); in fromtext_rrsig() 127 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_signed)); in fromtext_rrsig()
|
| D | nsec3_50.c | 87 if (strcmp(DNS_AS_STR(token), "-") == 0) { in fromtext_nsec3() 90 RETERR(uint8_tobuffer(strlen(DNS_AS_STR(token)) / 2, target)); in fromtext_nsec3() 91 RETERR(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_nsec3() 100 RETTOK(isc_base32hexnp_decodestring(DNS_AS_STR(token), &b)); in fromtext_nsec3()
|
| D | nsec3param_51.c | 85 if (strcmp(DNS_AS_STR(token), "-") == 0) { in fromtext_nsec3param() 88 RETERR(uint8_tobuffer(strlen(DNS_AS_STR(token)) / 2, target)); in fromtext_nsec3param() 89 RETERR(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_nsec3param()
|
| D | keydata_65533.c | 47 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &refresh)); in fromtext_keydata() 53 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &addhd)); in fromtext_keydata() 59 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &removehd)); in fromtext_keydata()
|
| D | ipseckey_45.c | 80 if (strcmp(DNS_AS_STR(token), ".") != 0) in fromtext_ipseckey() 85 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_ipseckey() 95 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr6) != 1) in fromtext_ipseckey()
|
| D | sig_24.c | 54 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_sig() 93 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_expire)); in fromtext_sig() 101 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_signed)); in fromtext_sig()
|
| D | nxt_30.c | 68 n = strtol(DNS_AS_STR(token), &e, 10); in fromtext_nxt() 69 if (e != DNS_AS_STR(token) && *e == '\0') { in fromtext_nxt()
|
| D | eui48_108.c | 41 n = sscanf(DNS_AS_STR(token), "%2x-%2x-%2x-%2x-%2x-%2x", in fromtext_eui48()
|
| D | hip_55.c | 71 RETTOK(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_hip() 87 RETTOK(isc_base64_decodestring(DNS_AS_STR(token), target)); in fromtext_hip()
|
| D | nid_104.c | 48 if (locator_pton(DNS_AS_STR(token), locator) != 1) in fromtext_nid()
|
| D | eui64_109.c | 41 n = sscanf(DNS_AS_STR(token), "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x", in fromtext_eui64()
|
| D | l32_105.c | 49 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_l32()
|
| D | l64_106.c | 48 if (locator_pton(DNS_AS_STR(token), locator) != 1) in fromtext_l64()
|
| D | mx_15.c | 37 if (strlcpy(tmp, DNS_AS_STR(*token), sizeof(tmp)) >= sizeof(tmp)) in check_mx()
|
| D | tkey_249.c | 89 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_tkey()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/in_1/ |
| D | wks_11.c | 97 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_in_wks() 110 proto = strtol(DNS_AS_STR(token), &e, 10); in fromtext_in_wks() 113 else if (!mygetprotobyname(DNS_AS_STR(token), &proto)) in fromtext_in_wks() 137 strncpy(service, DNS_AS_STR(token), sizeof(service)); in fromtext_in_wks() 143 port = strtol(DNS_AS_STR(token), &e, 10); in fromtext_in_wks() 147 !mygetservbyname(DNS_AS_STR(token), ps, &port)) in fromtext_in_wks()
|
| D | a_1.c | 48 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_in_a()
|
| D | aaaa_28.c | 49 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1) in fromtext_in_aaaa()
|
| D | apl_42.c | 53 cp = DNS_AS_STR(token); in fromtext_in_apl()
|
| D | a6_38.c | 72 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1) in fromtext_in_a6()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/ |
| D | master.c | 172 #define DNS_AS_STR(t) ((t).value.as_textregion.base) macro 982 tmp = isc_mem_strdup(lctx->mctx, DNS_AS_STR(*token)); in check_ns() 997 source, line, DNS_AS_STR(*token)); in check_ns() 1151 if (strcasecmp(DNS_AS_STR(token), "$ORIGIN") == 0) { in load_text() 1154 } else if (strcasecmp(DNS_AS_STR(token), in load_text() 1172 } else if (strcasecmp(DNS_AS_STR(token), in load_text() 1199 DNS_AS_STR(token)); in load_text() 1236 } else if (strcasecmp(DNS_AS_STR(token), in load_text() 1242 result = dns_time64_fromtext(DNS_AS_STR(token), in load_text() 1268 } else if (strcasecmp(DNS_AS_STR(token), in load_text() [all …]
|
| D | rdata.c | 69 #define DNS_AS_STR(t) ((t).value.as_textregion.base) macro 961 strcmp(DNS_AS_STR(token), "\\#") == 0) { in dns_rdata_fromtext() 2022 oeor = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer() 2031 osum = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer() 2040 orot = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer() 2178 file, line, DNS_AS_STR(*token), in warn_badmx() 2231 DNS_AS_STR(*token), in fromtext_error()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/hs_4/ |
| D | a_1.c | 46 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_hs_a()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/any_255/ |
| D | tsig_250.c | 61 sigtime = isc_string_touint64(DNS_AS_STR(token), &e, 10); in fromtext_any_tsig() 109 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_any_tsig()
|