Searched defs:string (Results 1 - 22 of 22) sorted by relevance

/bind-9.11.3/lib/isc/
H A Dparseint.c24 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 Dstring.c47 #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 Dsockaddr_test.c74 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 Dninfo_56.c180 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 Dtxt_16.c313 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 Dgen-data-queryperf.py16 import string namespace
38 LDH = string.digits + string.ascii_lowercase + "-"
/bind-9.11.3/lib/lwres/
H A Dlwresutil.c14 * 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 Dgetaddrinfo.c34 * 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 Dmapselector.c52 #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 Dgeoip_test.c20 #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 Dmacros_test.cpp134 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 Ddlz_wildcard_dynamic.c50 #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 Dtestsuite.c51 #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 Dparser.cpp43 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 Dgrammar.h164 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 Dsample-update.c28 #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 Dgetaddrinfo.c18 * 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 DBINDInstallDlg.cpp63 #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 Dgen.c30 #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 Dstatschannel.c21 #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 Dnsupdate.c37 #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 Ddighost.c22 #include <string.h>
79 #include <isc/string.h>
419 count_dots(char *string) { argument
423 s = string;

Completed in 241 milliseconds