/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | util.h | 59 * These functions examine whether `str' begins with `prefix'. 61 * They return 1 if `str' has the ACE prefix, 0 otherwise. 64 idn__util_asciihaveaceprefix(const char *str, const char *prefix); 66 idn__util_ucs4haveaceprefix(const unsigned long *str, const char *prefix); 69 * Check if all codepoints in the UCS4 string `str' are in the ASCII 75 idn__util_ucs4isasciirange(const unsigned long *str); 91 char *str, size_t length);
|
H A D | filechecker.h | 107 * the UCS4 string 'str'. If there are none, NULL is stored in '*found'. 115 idn__filechecker_lookup(idn__filechecker_t ctx, const unsigned long *str, 129 idn__filechecker_lookupproc(void *ctx, const unsigned long *str,
|
H A D | nameprep.h | 112 * Check if an UCS4 string 'str' contains any prohibited characters specified 123 idn_nameprep_isprohibited(idn_nameprep_t handle, const unsigned long *str, 127 * Check if an UCS4 string 'str' contains any unassigned characters specified 138 idn_nameprep_isunassigned(idn_nameprep_t handle, const unsigned long *str, 142 * Check if an UCS4 string 'str' is valid string specified by ``bidi check'' 152 idn_nameprep_isvalidbidi(idn_nameprep_t handle, const unsigned long *str, 170 idn_nameprep_prohibitproc(void *handle, const unsigned long *str, 174 idn_nameprep_unassignedproc(void *handle, const unsigned long *str, 178 idn_nameprep_bidiproc(void *handle, const unsigned long *str,
|
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | dynstr_test.c | 53 atf_dynstr_t str; local 55 RE(atf_dynstr_init(&str)); 56 ATF_REQUIRE_EQ(atf_dynstr_length(&str), 0); 57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); 58 atf_dynstr_fini(&str); 63 init_fmt(atf_dynstr_t *str, const char *fmt, ...) argument 68 RE(atf_dynstr_init_ap(str, fmt, ap)); 80 atf_dynstr_t str; local 82 init_fmt(&str, "String 1"); 83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Strin 110 atf_dynstr_t str; local 142 atf_dynstr_t str; local 183 atf_dynstr_t str; local 199 atf_dynstr_t str; local 223 atf_dynstr_t str; local 261 atf_dynstr_t str, str2; local 286 atf_dynstr_t str; local 309 atf_dynstr_t str; local 334 atf_dynstr_t str; local 349 atf_dynstr_t str; local 377 atf_dynstr_t str; local 410 append_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument 451 atf_dynstr_t str; local 477 atf_dynstr_t str; local 522 prepend_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument 568 atf_dynstr_t str; local 591 atf_dynstr_t str, str2; local [all...] |
H A D | text.c | 43 char *str, *str2, *last; local 45 str = strdup(instr); 46 if (str == NULL) { 52 str2 = strtok_r(str, sep, &last); 58 free(str); 93 atf_text_split(const char *str, const char *delim, atf_list_t *words) argument 103 end = str + strlen(str); 105 iter = str; 140 atf_text_to_bool(const char *str, boo argument 162 atf_text_to_long(const char *str, long *l) argument [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | symtab_test.c | 64 char str[16], *key; local 66 snprintf(str, sizeof(str), "%04x", i); 67 key = isc_mem_strdup(mctx, str); 69 value.as_pointer = isc_mem_strdup(mctx, str); 81 char str[16], *key; local 83 snprintf(str, sizeof(str), "%04x", i); 84 key = isc_mem_strdup(mctx, str); 86 value.as_pointer = isc_mem_strdup(mctx, str); 97 char str[16]; local 109 char str[16]; local 120 char str[16]; local [all...] |
H A D | result_test.c | 36 const char *str; local 38 str = isc_result_totext(ISC_R_SUCCESS); 39 ATF_REQUIRE_STREQ("success", str); 41 str = isc_result_totext(ISC_R_FAILURE); 42 ATF_REQUIRE_STREQ("failure", str);
|
H A D | hash_test.c | 38 char str[2 * ISC_SHA512_DIGESTLENGTH + 3]; variable 204 tohexstr(digest, ISC_SHA1_DIGESTLENGTH, str, sizeof(str)); 205 ATF_CHECK_STREQ(str, testcase->result); 337 tohexstr(digest, ISC_SHA224_DIGESTLENGTH, str, sizeof(str)); 338 ATF_CHECK_STREQ(str, testcase->result); 469 tohexstr(digest, ISC_SHA256_DIGESTLENGTH, str, sizeof(str)); 470 ATF_CHECK_STREQ(str, testcas [all...] |
/bind-9.11.3/unit/atf-src/tools/ |
H A D | text.cpp | 45 impl::duplicate(const char* str) argument 47 char* copy = new char[std::strlen(str) + 1]; 48 std::strcpy(copy, str); 53 impl::match(const std::string& str, const std::string& regex) argument 59 found = str.empty(); 67 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); 79 impl::to_lower(const std::string& str) argument 82 for (std::string::const_iterator iter = str.begin(); iter != str.end(); 89 impl::split(const std::string& str, cons argument 105 trim(const std::string& str) argument 121 to_bool(const std::string& str) argument 136 to_bytes(std::string str) argument [all...] |
H A D | text.hpp | 63 std::string str; local 68 str += *iter; 71 str += separator; 76 return str; 129 return ss.str(); 140 to_type(const std::string& str) argument 142 std::istringstream ss(str);
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | util.c | 88 idn__util_asciihaveaceprefix(const char *str, const char *prefix) { argument 89 assert(str != NULL && prefix != NULL); 92 if (ASCII_TOLOWER(*str) != ASCII_TOLOWER(*prefix)) 94 str++; 102 idn__util_ucs4haveaceprefix(const unsigned long *str, const char *prefix) { argument 103 assert(str != NULL && prefix != NULL); 106 if (ASCII_TOLOWER(*str) != ASCII_TOLOWER(*prefix)) 108 str++; 116 idn__util_ucs4isasciirange(const unsigned long *str) { argument 117 while (*str ! 128 idn__util_getregistrystring(idn__util_hkey_t topkey, const char *name, char *str, size_t length) argument [all...] |
H A D | nameprep.c | 99 const unsigned long *str, 202 idn_nameprep_isprohibited(idn_nameprep_t handle, const unsigned long *str, argument 204 assert(handle != NULL && str != NULL && found != NULL); 206 TRACE(("idn_nameprep_isprohibited(ctx=%s, str=\"%s\")\n", 207 handle->version, idn__debug_ucs4xstring(str, 50))); 209 return (idn_nameprep_check(handle->prohibited_proc, str, found)); 213 idn_nameprep_isunassigned(idn_nameprep_t handle, const unsigned long *str, argument 215 assert(handle != NULL && str != NULL && found != NULL); 217 TRACE(("idn_nameprep_isunassigned(handle->version, str=\"%s\")\n", 218 handle->version, idn__debug_ucs4xstring(str, 5 224 idn_nameprep_check(nameprep_checkproc proc, const unsigned long *str, const unsigned long **found) argument 249 idn_nameprep_isvalidbidi(idn_nameprep_t handle, const unsigned long *str, const unsigned long **found) argument 342 idn_nameprep_prohibitproc(void *handle, const unsigned long *str, const unsigned long **found) argument 348 idn_nameprep_unassignedproc(void *handle, const unsigned long *str, const unsigned long **found) argument 354 idn_nameprep_bidiproc(void *handle, const unsigned long *str, const unsigned long **found) argument [all...] |
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | text.cpp | 46 impl::duplicate(const char* str) argument 48 char* copy = new char[std::strlen(str) + 1]; 49 std::strcpy(copy, str); 54 impl::match(const std::string& str, const std::string& regex) argument 60 found = str.empty(); 68 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); 80 impl::to_lower(const std::string& str) argument 83 for (std::string::const_iterator iter = str.begin(); iter != str.end(); 90 impl::split(const std::string& str, cons argument 106 trim(const std::string& str) argument 122 to_bool(const std::string& str) argument 134 to_bytes(std::string str) argument [all...] |
H A D | text.hpp | 59 std::string str; local 64 str += *iter; 67 str += separator; 72 return str; 125 return ss.str(); 136 to_type(const std::string& str) argument 138 std::istringstream ss(str);
|
H A D | text_test.cpp | 70 std::string str; local 73 str = join(words, ","); 74 ATF_REQUIRE_EQ(str, ""); 78 str = join(words, ","); 79 ATF_REQUIRE_EQ(str, ""); 84 str = join(words, ","); 85 ATF_REQUIRE_EQ(str, ","); 91 str = join(words, ","); 92 ATF_REQUIRE_EQ(str, "foo,,baz"); 98 str 105 std::string str; local [all...] |
/bind-9.11.3/lib/isc/unix/include/isc/ |
H A D | syslog.h | 22 isc_syslog_facilityfromstring(const char *str, int *facilityp); 24 * Convert 'str' to the appropriate syslog facility constant. 28 *\li 'str' is not NULL
|
/bind-9.11.3/lib/isc/win32/include/isc/ |
H A D | syslog.h | 20 isc_syslog_facilityfromstring(const char *str, int *facilityp); 22 * Convert 'str' to the appropriate syslog facility constant. 26 * 'str' is not NULL
|
/bind-9.11.3/conftools/perllib/dnsconf/ |
H A D | test.pl | 51 $str = $anothernamed->getdirectory(); 52 print "Pulling that value out again yields: \"", $str, "\"\n";
|
/bind-9.11.3/lib/isc/win32/ |
H A D | syslog.c | 66 isc_syslog_facilityfromstring(const char *str, int *facilityp) { argument 69 REQUIRE(str != NULL); 73 if (strcasecmp(facilities[i].strval, str) == 0) { 88 char *str[1]; local 90 str[0] = buf; 103 BIND_INFO_MSG, NULL, 1, 0, str, NULL); 107 BIND_WARN_MSG, NULL, 1, 0, str, NULL); 111 BIND_ERR_MSG, NULL, 1, 0, str, NULL); 160 NTReportError(const char *name, const char *str) { argument 164 buf[0] = str; [all...] |
/bind-9.11.3/contrib/sdb/pgsql/ |
H A D | zonetodb.c | 45 char str[10240]; variable 109 snprintf(str, sizeof(str), 113 printf("%s\n", str); 114 res = PQexec(conn, str); 189 snprintf(str, sizeof(str), 191 printf("%s\n", str); 192 res = PQexec(conn, str); 198 snprintf(str, sizeo [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | print.c | 26 lwres__print_sprintf(char *str, const char *format, ...) { argument 30 vsprintf(str, format, ap); 32 return (strlen(str)); 40 lwres__print_snprintf(char *str, size_t size, const char *format, ...) { argument 45 ret = vsnprintf(str, size, format, ap); 56 lwres__print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument 74 char *save = str; 87 INSIST(str != NULL); 93 *str++ = *format; 168 *str [all...] |
H A D | print_p.h | 59 lwres__print_vsnprintf(char *str, size_t size, const char *format, va_list ap) 67 lwres__print_snprintf(char *str, size_t size, const char *format, ...) 77 lwres__print_sprintf(char *str, const char *format, ...) LWRES_FORMAT_PRINTF(2, 3);
|
/bind-9.11.3/unit/atf-src/atf-c++/ |
H A D | tests_test.cpp | 50 print_indented(const std::string& str) argument 52 std::vector< std::string > ws = atf::text::split(str, "\n"); 64 check_equal(const atf::tests::tc& tc, const std::string& str, argument 67 if (str != exp) { 71 print_indented(str); 89 expss.str(""); \ 90 ss.str("") 93 check_equal(*this, ss.str(), expss.str())
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.c | 443 buf->str = buf->local_buf; 444 buf->str[0] = '\0'; 455 if (buf->str != NULL && buf->str != buf->local_buf) { 456 free(buf->str); 466 return (buf->str); 478 strbuf_copy(idnconv_strbuf_t *buf, const char *str) { argument 482 size_t len = strlen(str); 486 strcpy(buf->str, str); 491 strbuf_append(idnconv_strbuf_t *buf, const char *str) argument [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | syslog.c | 61 isc_syslog_facilityfromstring(const char *str, int *facilityp) { argument 64 REQUIRE(str != NULL); 68 if (strcasecmp(facilities[i].strval, str) == 0) {
|