| /bind-9.11.3/lib/isc/ |
| H A D | parseint.c | 24 isc_parse_uint32(isc_uint32_t *uip, const char *string, int base) { argument 28 if (! isalnum((unsigned char)(string[0]))) 31 n = strtoul(string, &e, base); 47 isc_parse_uint16(isc_uint16_t *uip, const char *string, int base) { argument 50 result = isc_parse_uint32(&val, string, base); 60 isc_parse_uint8(isc_uint8_t *uip, const char *string, int base) { argument 63 result = isc_parse_uint32(&val, string, base);
|
| H A D | string.c | 47 #include <isc/string.h> 218 char *string = *stringp; local 223 if (string == NULL) 226 for (s = string; (sc = *s) != '\0'; s++) 231 return (string); 234 return (string);
|
| /bind-9.11.3/lib/isc/tests/ |
| H A D | sockaddr_test.c | 74 const char *string; member in struct:__anon281 91 const char *string; member in struct:__anon282 105 in.s_addr = inet_addr(data4[i].string); 108 ATF_CHECK_EQ_MSG(r, data4[i].expect, "%s", data4[i].string); 112 ret = inet_pton(AF_INET6, data6[i].string, &in6); 116 ATF_CHECK_EQ_MSG(r, data6[i].expect, "%s", data6[i].string);
|
| /bind-9.11.3/lib/dns/rdata/generic/ |
| H A D | ninfo_56.c | 180 dns_rdata_ninfo_string_t *string) 186 return (generic_txt_current(ninfo, string)); 179 dns_rdata_ninfo_current(dns_rdata_ninfo_t *ninfo, dns_rdata_ninfo_string_t *string) argument
|
| H A D | txt_16.c | 313 generic_txt_current(dns_rdata_txt_t *txt, dns_rdata_txt_string_t *string) { argument 317 REQUIRE(string != NULL); 325 string->length = uint8_fromregion(&r); 327 string->data = r.base; 328 INSIST(txt->offset + 1 + string->length <= txt->txt_len); 352 dns_rdata_txt_current(dns_rdata_txt_t *txt, dns_rdata_txt_string_t *string) { argument 357 return (generic_txt_current(txt, string));
|
| /bind-9.11.3/contrib/queryperf/utils/ |
| H A D | gen-data-queryperf.py | 16 import string namespace 38 LDH = string.digits + string.ascii_lowercase + "-"
|
| /bind-9.11.3/lib/lwres/ |
| H A D | lwresutil.c | 14 * lwres_string_parse() retrieves a DNS-encoded string starting the 17 * encoded string is returned via *c and the length of that string is 19 * the character following the string length, the encoded string, and 71 * less space than expected for the components of the encoded string 94 #include <string.h> 136 * Set the pointer to this string to the right place, then 152 /*% Retrieves a DNS-encoded string. */ 156 * The "current" pointer in "b" point to an encoded string 172 char *string; local [all...] |
| H A D | getaddrinfo.c | 34 * string: a dotted decimal IPv4 address or an IPv6 address. servname is 78 * lwres_getaddrinfo() will return a null-terminated string 97 * should be treated as a numeric string defining an IPv4 or IPv6 140 #include <string.h> 146 #include <lwres/string.h> 482 char *string = *stringp; local 487 if (string == NULL) 490 for (s = string; *s != '\0'; s++) { 496 return (string); 500 return (string); [all...] |
| /bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
| H A D | mapselector.c | 52 #include <string.h> 73 static void string_ascii_tolower(char *string); 308 * If default mapper has not been registered, copy the string. 368 string_ascii_tolower(char *string) { argument 371 for (p = (unsigned char *) string; *p != '\0'; p++) {
|
| /bind-9.11.3/lib/dns/tests/ |
| H A D | geoip_test.c | 20 #include <isc/string.h> 134 dns_geoip_subtype_t subtype, const char *string) 144 strlcpy(elt.as_string, string, sizeof(elt.as_string)); 151 dns_geoip_subtype_t subtype, const char *string) 161 strlcpy(elt.as_string, string, sizeof(elt.as_string)); 133 do_lookup_string(const char *addr, isc_uint8_t *scope, dns_geoip_subtype_t subtype, const char *string) argument 150 do_lookup_string_v6(const char *addr, isc_uint8_t *scope, dns_geoip_subtype_t subtype, const char *string) argument
|
| /bind-9.11.3/unit/atf-src/atf-c++/ |
| H A D | macros_test.cpp | 134 const std::string element = get_config_var("value"); 136 std::set< std::string > collection; 153 const std::string regexp = get_config_var("regexp"); 154 const std::string string = get_config_var("string"); local 157 ATF_REQUIRE_MATCH(regexp, string); 168 const std::string element = get_config_var("value"); 170 std::set< std::string > collection; 474 const char *string; member in struct:test [all...] |
| /bind-9.11.3/contrib/dlz/modules/wildcard/ |
| H A D | dlz_wildcard_dynamic.c | 50 #include <string.h> 116 fnmatch(const char *pattern, const char *string, int flags); 122 shortest_match(const char *pattern, const char *string); 538 shortest_match(const char *pattern, const char *string) { argument 539 const char *p = string; 544 while (p-- > string) { 550 if (fnmatch(pattern, string, FNM_CASEFOLD) == 0) 551 return (string); 571 fnmatch(const char *pattern, const char *string, int flags) { argument 576 for (stringstart = string;;) [all...] |
| /bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/ |
| H A D | testsuite.c | 51 #include <string.h> 85 static char *make_hex_string(const char *string); 86 static char *make_hex_ucs4string(const unsigned long *string); 485 make_hex_string(const char *string) { argument 491 hex_string = (char *)malloc((strlen(string)) * 4 + 1); 495 for (src = string, dst = hex_string; *src != '\0'; src++) { 513 make_hex_ucs4string(const unsigned long *string) { argument 519 hex_string = (char *)malloc((idn_ucs4_strlen(string)) * 8 + 1); 523 for (src = string, dst = hex_string; *src != '\0'; src++) {
|
| /bind-9.11.3/unit/atf-src/tools/ |
| H A D | parser.cpp | 43 impl::parse_error::parse_error(size_t line, std::string msg) : 45 std::pair< size_t, std::string >(line, msg) 68 impl::parse_error::operator std::string(void) 105 impl::format_error::format_error(const std::string& w) : 121 const std::string& p_text) : 143 const std::string& 171 impl::header_entry::header_entry(const std::string& n, const std::string& v, 179 const std::string& 185 const std::string [all...] |
| /bind-9.11.3/lib/isccfg/include/isccfg/ |
| H A D | grammar.h | 164 isc_textregion_t string; /*%< null terminated, too */ member in union:cfg_obj::__anon308 431 /*%< Print the null-terminated string 's' */ 521 /*%< Return true iff the string 's' is one of the strings in 'enums' */
|
| /bind-9.11.3/lib/samples/ |
| H A D | sample-update.c | 28 #include <string.h> 38 #include <isc/string.h> 361 char *string = *stringp; local 366 if (string == NULL) 369 for (; *string != '\0'; string++) { 370 sc = *string; 379 for (s = string; *s != '\0'; s++) { 385 return (string); 390 return (string); [all...] |
| /bind-9.11.3/lib/irs/ |
| H A D | getaddrinfo.c | 18 * string: a dotted decimal IPv4 address or an IPv6 address. servname is 62 * getaddrinfo() will return a null-terminated string 81 * should be treated as a numeric string defining an IPv4 or IPv6 123 #include <string.h> 132 #include <isc/string.h> 1055 char *string = *stringp; local 1060 if (string == NULL) 1063 for (s = string; *s != '\0'; s++) { 1069 return (string); 1073 return (string); [all...] |
| /bind-9.11.3/bin/win32/BINDInstall/ |
| H A D | BINDInstallDlg.cpp | 63 #include <string> 83 _xexception(UINT string, ...); 88 _xexception::_xexception(UINT string, ...) argument 93 format.LoadString(string); 95 va_start(va, string); 708 std::string line; 727 std::string line; 735 if ((finish != std::string::npos) && 740 if ((flags == std::string::npos) || 743 std::string fil [all...] |
| /bind-9.11.3/lib/dns/ |
| H A D | gen.c | 30 #include <string.h> 487 HASH(char *string) { argument 491 n = strlen(string); 496 a = tolower((unsigned char)string[0]); 497 b = tolower((unsigned char)string[n - 1]);
|
| /bind-9.11.3/bin/named/ |
| H A D | statschannel.c | 21 #include <isc/string.h> 84 const char *const string; member in struct:zt 106 for (tp = typemap; tp->string != NULL && tp->type != ztype; tp++) 108 return (tp->string);
|
| /bind-9.11.3/bin/nsupdate/ |
| H A D | nsupdate.c | 37 #include <isc/string.h> 399 char *string = *stringp; local 404 if (string == NULL) 407 for (; *string != '\0'; string++) { 408 sc = *string; 417 for (s = string; *s != '\0'; s++) { 423 return (string); 428 return (string);
|
| /bind-9.11.3/bin/dig/ |
| H A D | dighost.c | 22 #include <string.h> 79 #include <isc/string.h> 419 count_dots(char *string) { argument 423 s = string;
|