/bind-9.11.3/lib/isc/tests/ |
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 | 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 | aes_test.c | 42 char str[2 * ISC_AES_BLOCK_LENGTH + 1]; variable 132 ATF_CHECK(tohexstr(ciphertext, str) == ISC_R_SUCCESS); 133 ATF_CHECK_STREQ(str, testcase->result); 194 ATF_CHECK(tohexstr(ciphertext, str) == ISC_R_SUCCESS); 195 ATF_CHECK_STREQ(str, testcase->result); 262 ATF_CHECK(tohexstr(ciphertext, str) == ISC_R_SUCCESS); 263 ATF_CHECK_STREQ(str, testcase->result);
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.h | 53 char *str; member in struct:__anon92 90 extern char *strbuf_copy(idnconv_strbuf_t *buf, const char *str); 91 extern char *strbuf_append(idnconv_strbuf_t *buf, const char *str);
|
/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) {
|
/bind-9.11.3/bin/named/ |
H A D | control.c | 61 command_compare(const char *str, const char *command) { argument 62 return ISC_TF(strcasecmp(str, command) == 0);
|
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
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...] |
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...] |
/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())
|
H A D | utils.cpp | 80 atf::utils::grep_string(const std::string& regex, const std::string& str) argument 82 return atf_utils_grep_string("%s", str.c_str(), regex.c_str());
|
/bind-9.11.3/unit/atf-src/tools/ |
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);
|
H A D | atf-config.cpp | 101 std::string str; local 104 str = val; 106 str = name + " : " + val; 108 return str;
|
H A D | text_test.cpp | 74 std::string str; local 77 str = join(words, ","); 78 ATF_REQUIRE_EQ(str, ""); 82 str = join(words, ","); 83 ATF_REQUIRE_EQ(str, ""); 88 str = join(words, ","); 89 ATF_REQUIRE_EQ(str, ","); 95 str = join(words, ","); 96 ATF_REQUIRE_EQ(str, "foo,,baz"); 102 str 109 std::string str; local [all...] |
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...] |
/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/unit/atf-src/atf-c/detail/ |
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...] |
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_test.c | 64 check_split(const char *str, const char *delim, const char *words[]) argument 70 printf("Splitting '%s' with delimiter '%s'\n", str, delim); 71 CE(atf_text_split(str, delim, &list)); 192 char *str; local 195 err = atf_text_format(&str, "%s %s %d", "Test", "string", 1); 197 ATF_REQUIRE(strcmp(str, "Test string 1") == 0); 198 free(str); 223 char *str; local 225 format_ap(&str, "%s %s %d", "Test", "string", 1); 226 ATF_REQUIRE(strcmp(str, "Tes [all...] |
/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 | aliaslist.c | 79 static int match(const char *pattern, const char *str); 278 match(const char *pattern, const char *str) { argument 284 return (*str == '\0'); 286 while (!match(pattern, str)) { 287 if (*str == '\0') 289 str++; 294 if (*str++ != c)
|
H A D | filechecker.c | 124 idn__filechecker_lookup(idn__filechecker_t ctx, const unsigned long *str, argument 128 assert(ctx != NULL && str != NULL); 130 TRACE(("idn__filechecker_lookup(str=\"%s\")\n", 131 idn__debug_ucs4xstring(str, 50))); 133 while (*str != '\0') { 136 r = idn_ucsset_lookup(ctx->set, *str, &exists); 142 *found = str; 145 str++; 258 idn__filechecker_lookupproc(void *ctx, const unsigned long *str, argument 260 return idn__filechecker_lookup((idn__filechecker_t)ctx, str, foun [all...] |
/bind-9.11.3/lib/isc/ |
H A D | string.c | 292 isc_string_strcasestr(const char *str, const char *search) { argument 301 if ((sc = *str++) == 0) 304 } while (strncasecmp(str, search, len) != 0); 305 str--; 307 DE_CONST(str, s);
|
/bind-9.11.3/lib/isccc/ |
H A D | alist.c | 185 isccc_alist_definestring(isccc_sexpr_t *alist, const char *key, const char *str) argument 189 v = isccc_sexpr_fromstring(str);
|
/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...] |