Searched defs:str (Results 1 - 25 of 72) sorted by relevance

123

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dutil.h53 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 Dsavestr.c44 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 Dsyslog.c70 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 Dsymtab_test.c72 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 Dtext.hpp63 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 Dtext_test.cpp74 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 Dtext.cpp50 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 Dtests_test.cpp52 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 Dutils.cpp84 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 Dnscomm.c56 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 Dstrlist.c51 ** 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 Dsoaserial.c59 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 Dzkt-conf.c108 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 Dconfig.c75 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 Datf-config.cpp106 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 Dutil.c88 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 Daliaslist.c79 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 Dfilechecker.c124 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 Dsyslog.c75 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 Dtext.c47 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 Ddynstr_test.c56 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 Dtext_test.c67 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 Dzonetodb.c54 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 Dalist.c193 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 Dprint.c36 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...]

Completed in 5640 milliseconds

123