Searched refs:str (Results 1 - 25 of 110) sorted by relevance

12345

/bind-9.6-ESV-R11/contrib/zkt/
H A Dstrlist.h43 char *prepstrlist (const char *str, const char *delim);
44 int isinlist (const char *str, const char *list);
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...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/include/idn/
H A Dutil.h59 * 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 Dfilechecker.h107 * 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 Dnameprep.h112 * 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.6-ESV-R11/unit/atf-src/atf-c/detail/
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.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...]
/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/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 Dnameprep.c99 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.6-ESV-R11/unit/atf-src/atf-c++/detail/
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...]
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);
/bind-9.6-ESV-R11/lib/isc/unix/include/isc/
H A Dsyslog.h31 isc_syslog_facilityfromstring(const char *str, int *facilityp);
33 * Convert 'str' to the appropriate syslog facility constant.
37 *\li 'str' is not NULL
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/
H A Dsyslog.h29 isc_syslog_facilityfromstring(const char *str, int *facilityp);
31 * Convert 'str' to the appropriate syslog facility constant.
35 * 'str' is not NULL
/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...]
H A Dprint_p.h68 lwres__print_vsnprintf(char *str, size_t size, const char *format, va_list ap)
76 lwres__print_snprintf(char *str, size_t size, const char *format, ...)
86 lwres__print_sprintf(char *str, const char *format, ...) LWRES_FORMAT_PRINTF(2, 3);
/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/include/isc/
H A Dprint.h69 isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap)
74 isc_print_snprintf(char *str, size_t size, const char *format, ...)
81 isc_print_sprintf(char *str, const char *format, ...) ISC_FORMAT_PRINTF(2, 3);
/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/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/isc/
H A Dprint.c38 isc_print_sprintf(char *str, const char *format, ...) { argument
42 vsprintf(str, format, ap);
44 return (strlen(str));
52 isc_print_snprintf(char *str, size_t size, const char *format, ...) { argument
57 ret = vsnprintf(str, size, format, ap);
68 isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument
86 char *save = str;
99 INSIST(str != NULL);
105 *str++ = *format;
179 *str
[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())
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dutil.c443 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.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) {

Completed in 5298 milliseconds

12345