/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.h | 53 char *str; member in struct:__anon63 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.6-ESV-R11/contrib/nslint-2.1a3/ |
H A D | savestr.c | 44 savestr(register const char *str) argument 51 size = strlen(str) + 1; 62 (void)strcpy(strptr, str);
|
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | syslog.c | 70 isc_syslog_facilityfromstring(const char *str, int *facilityp) { argument 73 REQUIRE(str != NULL); 77 if (strcasecmp(facilities[i].strval, str) == 0) {
|
/bind-9.6-ESV-R11/lib/isc/tests/ |
H A D | symtab_test.c | 72 char str[16], *key; local 74 snprintf(str, sizeof(str), "%04x", i); 75 key = isc_mem_strdup(mctx, str); 77 value.as_pointer = isc_mem_strdup(mctx, str); 89 char str[16], *key; local 91 snprintf(str, sizeof(str), "%04x", i); 92 key = isc_mem_strdup(mctx, str); 94 value.as_pointer = isc_mem_strdup(mctx, str); 105 char str[16]; local 117 char str[16]; local 128 char str[16]; local [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
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 | 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 | 50 impl::duplicate(const char* str) argument 52 char* copy = new char[std::strlen(str) + 1]; 53 std::strcpy(copy, str); 58 impl::match(const std::string& str, const std::string& regex) argument 64 found = str.empty(); 72 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); 84 impl::to_lower(const std::string& str) argument 87 for (std::string::const_iterator iter = str.begin(); iter != str.end(); 94 impl::split(const std::string& str, cons argument 110 trim(const std::string& str) argument 126 to_bool(const std::string& str) argument 138 to_bytes(std::string str) argument [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/ |
H A D | tests_test.cpp | 52 print_indented(const std::string& str) argument 54 std::vector< std::string > ws = atf::text::split(str, "\n"); 66 check_equal(const atf::tests::tc& tc, const std::string& str, argument 69 if (str != exp) { 73 print_indented(str); 91 expss.str(""); \ 92 ss.str("") 95 check_equal(*this, ss.str(), expss.str())
|
H A D | utils.cpp | 84 atf::utils::grep_string(const std::string& regex, const std::string& str) argument 86 return atf_utils_grep_string("%s", str.c_str(), regex.c_str());
|
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | nscomm.c | 56 char str[254+1]; local 67 snprintf (str, sizeof (str), "\"%s\" in view \"%s\"", domain, z->view); 69 snprintf (str, sizeof (str), "\"%s\"", domain); 71 lg_mesg (LG_NOTICE, "%s: %s dynamic zone", str, action); 72 verbmesg (1, z, "\t%s dynamic zone %s\n", action, str); 80 *str = '\0'; 83 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, f 104 char str[254+1]; local 199 char str[254+1]; local [all...] |
H A D | strlist.c | 51 ** prepstrlist (str, delim) 53 ** 'str' is a list of substrings delimeted by 'delim' 58 char *prepstrlist (const char *str, const char *delim) argument 65 if ( str == NULL ) 68 len = strlen (str); 74 for ( *p++ = '\0'; *str; str++ ) 76 if ( strchr (delim, *str) == NULL ) 77 *p++ = *str; 93 ** isinlist (str, lis 96 isinlist(const char *str, const char *list) argument [all...] |
H A D | soaserial.c | 59 static const char *strfindstr (const char *str, const char *search); 142 ** Find string 'search' in 'str' and ignore case in comparison. 143 ** returns the position of 'search' in 'str' or NULL if not found. 145 static const char *strfindstr (const char *str, const char *search) argument 150 assert ( str != NULL ); 154 p = str;
|
H A D | zkt-conf.c | 108 char str[254+1]; local 210 snprintf (str, sizeof(str), "option \"-%c\" requires an argument.", 212 usage (str); 216 snprintf (str, sizeof(str), "Unknown option \"-%c\".", 219 snprintf (str, sizeof (str), "Unknown option char \\x%x.", 221 usage (str);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c/ |
H A D | config.c | 75 string_to_upper(const char *str) argument 79 uc = (char *)malloc(strlen(str) + 1); 82 while (*str != '\0') { 83 *ucptr = toupper((int)*str); 85 str++;
|
/bind-9.6-ESV-R11/unit/atf-src/atf-config/ |
H A D | atf-config.cpp | 106 std::string str; local 109 str = val; 111 str = name + " : " + val; 113 return str;
|
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/isc/win32/ |
H A D | syslog.c | 75 isc_syslog_facilityfromstring(const char *str, int *facilityp) { argument 78 REQUIRE(str != NULL); 82 if (strcasecmp(facilities[i].strval, str) == 0) { 97 char *str[1]; local 99 str[0] = buf; 112 BIND_INFO_MSG, NULL, 1, 0, str, NULL); 116 BIND_WARN_MSG, NULL, 1, 0, str, NULL); 120 BIND_ERR_MSG, NULL, 1, 0, str, NULL); 169 NTReportError(const char *name, const char *str) { argument 173 buf[0] = str; [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/ |
H A D | text.c | 47 char *str, *str2, *last; local 49 str = strdup(instr); 50 if (str == NULL) { 56 str2 = strtok_r(str, sep, &last); 62 free(str); 97 atf_text_split(const char *str, const char *delim, atf_list_t *words) argument 107 end = str + strlen(str); 109 iter = str; 144 atf_text_to_bool(const char *str, boo argument 166 atf_text_to_long(const char *str, long *l) argument [all...] |
H A D | dynstr_test.c | 56 atf_dynstr_t str; local 58 RE(atf_dynstr_init(&str)); 59 ATF_REQUIRE_EQ(atf_dynstr_length(&str), 0); 60 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0); 61 atf_dynstr_fini(&str); 66 init_fmt(atf_dynstr_t *str, const char *fmt, ...) argument 71 RE(atf_dynstr_init_ap(str, fmt, ap)); 83 atf_dynstr_t str; local 85 init_fmt(&str, "String 1"); 86 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Strin 113 atf_dynstr_t str; local 145 atf_dynstr_t str; local 186 atf_dynstr_t str; local 202 atf_dynstr_t str; local 226 atf_dynstr_t str; local 264 atf_dynstr_t str, str2; local 289 atf_dynstr_t str; local 312 atf_dynstr_t str; local 337 atf_dynstr_t str; local 352 atf_dynstr_t str; local 380 atf_dynstr_t str; local 413 append_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument 454 atf_dynstr_t str; local 480 atf_dynstr_t str; local 525 prepend_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument 571 atf_dynstr_t str; local 594 atf_dynstr_t str, str2; local [all...] |
H A D | text_test.c | 67 check_split(const char *str, const char *delim, const char *words[]) argument 73 printf("Splitting '%s' with delimiter '%s'\n", str, delim); 74 CE(atf_text_split(str, delim, &list)); 195 char *str; local 198 err = atf_text_format(&str, "%s %s %d", "Test", "string", 1); 200 ATF_REQUIRE(strcmp(str, "Test string 1") == 0); 201 free(str); 226 char *str; local 228 format_ap(&str, "%s %s %d", "Test", "string", 1); 229 ATF_REQUIRE(strcmp(str, "Tes [all...] |
/bind-9.6-ESV-R11/contrib/sdb/pgsql/ |
H A D | zonetodb.c | 54 char str[10240]; variable 118 snprintf(str, sizeof(str), 122 printf("%s\n", str); 123 res = PQexec(conn, str); 198 snprintf(str, sizeof(str), 200 printf("%s\n", str); 201 res = PQexec(conn, str); 207 snprintf(str, sizeo [all...] |
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | alist.c | 193 isccc_alist_definestring(isccc_sexpr_t *alist, const char *key, const char *str) argument 197 v = isccc_sexpr_fromstring(str);
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | print.c | 36 lwres__print_sprintf(char *str, const char *format, ...) { argument 40 vsprintf(str, format, ap); 42 return (strlen(str)); 50 lwres__print_snprintf(char *str, size_t size, const char *format, ...) { argument 55 ret = vsnprintf(str, size, format, ap); 66 lwres__print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument 83 char *save = str; 96 INSIST(str != NULL); 102 *str++ = *format; 177 *str [all...] |