/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | o_str.c | 70 int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n) argument 73 while (*str1 && *str2 && n) { 74 int res = toupper(*str1) - toupper(*str2); 78 str2++; 85 if (*str2) 94 return strncasecmp(str1, str2, n); 98 int OPENSSL_strcasecmp(const char *str1, const char *str2) argument 101 return OPENSSL_strncasecmp(str1, str2, (size_t)-1); 103 return strcasecmp(str1, str2);
|
H A D | o_str.h | 65 int OPENSSL_strcasecmp(const char *str1, const char *str2); 66 int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n);
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | memcmp.c | 22 memcmp (const PTR str1, const PTR str2, size_t count) argument 25 register const unsigned char *s2 = (const unsigned char*)str2;
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | memcmp.c | 5 memcmp (const void *str1, const void *str2, size_t count) argument 8 const unsigned char *s2 = str2;
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | memcmp.c | 22 memcmp (const PTR str1, const PTR str2, size_t count) argument 25 register const unsigned char *s2 = (const unsigned char*)str2;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_cancel.c | 43 char str2[] = "You should not see this.\n"; local 57 write(STDOUT_FILENO, str2, sizeof(str2)-1);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-beep.c | 32 const char *str2, u_int l2) 34 if (!ND_TTEST2(*str2, tl1)) { 45 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0); 31 l_strnstart(netdissect_options *ndo, const char *tstr1, u_int tl1, const char *str2, u_int l2) argument
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | strpool.c | 67 char *str, *str2; local 84 str2 = realloc(p->str, len + p->len + 1); 85 if (str2 == NULL) { 89 p->str = str2;
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_bcs.c | 43 const char * __restrict str2) 51 c2 = _bcs_toupper(*str2++); 62 const char * __restrict str2, size_t sz) 70 c2 = _bcs_toupper(*str2++); 42 _citrus_bcs_strcasecmp(const char * __restrict str1, const char * __restrict str2) argument 61 _citrus_bcs_strncasecmp(const char * __restrict str1, const char * __restrict str2, size_t sz) argument
|
/freebsd-11-stable/contrib/groff/src/preproc/grn/ |
H A D | main.cpp | 721 char str2[MAXINLINE]; local 726 str2[0] = '\0'; 727 sscanf(line, "%80s%80s", &str1[0], &str2[0]); 738 i = atoi(str2); 746 if (str2[0] < '0') 748 tfont[0] = (char *) malloc(strlen(str2) + 1); 749 strcpy(tfont[0], str2); 753 if (str2[0] < '0') 755 tfont[1] = (char *) malloc(strlen(str2) + 1); 756 strcpy(tfont[1], str2); [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 44 str2 = ""; 184 this->str2 = command[i].alt ? altstr2 : str2; 190 this->str, this->str2, command[i].index, this->result); 193 this->str, this->str2, command[i].index); 195 this->str, this->str2, command[i].index); 197 this->str, this->str2, command[i].index); 207 this->str2 = command[i].alt ? altstr2 : str2; 213 this->str, this->str2, comman [all...] |
/freebsd-11-stable/tools/test/iconv/ |
H A D | const-gnuism.c | 43 const char *str2 = "FOOBAR"; local 45 const char ** in2 = &str2;
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | fmemopen2_test.c | 48 char str2[] = "AAAAAAAAA"; local 93 nofw = fwrite(str2, 1, sizeof(str2), fp); 154 char str2[] = "Do we have two sentences?"; local 155 char str3[sizeof(str) + sizeof(str2) -1]; 183 nofw = fwrite(str2, 1, sizeof(str2), fp); 184 ATF_REQUIRE(nofw == sizeof(str2)); 200 ATF_REQUIRE(strncmp(str3 + sizeof(str) - 1, str2, sizeof(str2)) [all...] |
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | acl_list.c | 177 acl_list_view_cfg(struct acl_list* acl, const char* str, const char* str2, argument 183 node->view = views_find_view(vs, str2, 0 /* get read lock*/); 185 log_err("no view with name: %s", str2); 337 log_assert(p->str && p->str2); 338 if(!acl_list_str_cfg(acl, p->str, p->str2, 1)) 351 log_assert(p->str && p->str2); 352 if(!acl_list_tags_cfg(acl, p->str, p->str2, p->str2len)) { 359 free(p->str2); 373 log_assert(p->str && p->str2); 374 if(!acl_list_view_cfg(acl, p->str, p->str2, [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_macinfo.c | 33 Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) 56 else if (str2 == NULL) { 64 len = strlen(str1) + strlen(str2) + 2; 70 snprintf(md->dmd_macro, len, "%s %s", str1, str2); 32 _dwarf_add_macro(Dwarf_P_Debug dbg, int type, Dwarf_Unsigned lineno, Dwarf_Signed fileindex, char *str1, char *str2, Dwarf_Error *error) argument
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.str.c | 356 s_strcmp(const Char *str1, const Char *str2) argument 358 for (; *str1 && *str1 == *str2; str1++, str2++) 365 if (*str1 == '\0' && *str2 == '\0') 369 else if (*str2 == '\0') 372 return (*str1 - *str2); 376 s_strncmp(const Char *str1, const Char *str2, size_t n) argument 381 if (*str1 != *str2) { 389 else if (*str2 == '\0') 392 return (*str1 - *str2); 403 s_strcasecmp(const Char *str1, const Char *str2) argument [all...] |
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_cstr.h | 157 * or less than @a str2. 161 APR_DECLARE(int) apr_cstr_casecmp(const char *str1, const char *str2); 171 * or less than @a str2. 176 const char *str2,
|
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | text.c | 43 char *str, *str2, *last; local 52 str2 = strtok_r(str, sep, &last); 53 while (str2 != NULL && !atf_is_error(err)) { 54 err = func(str2, data); 55 str2 = strtok_r(NULL, sep, &last);
|
H A D | dynstr_test.c | 261 atf_dynstr_t str, str2; local 264 RE(atf_dynstr_copy(&str2, &str)); 266 ATF_REQUIRE(atf_equal_dynstr_dynstr(&str, &str2)); 268 RE(atf_dynstr_append_fmt(&str2, " non-shared text")); 270 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2)); 272 atf_dynstr_fini(&str2); 591 atf_dynstr_t str, str2; local 594 RE(atf_dynstr_init_fmt(&str2, "Test")); 596 ATF_REQUIRE(!atf_equal_dynstr_dynstr(&str, &str2)); 597 atf_dynstr_fini(&str2); [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | error_string.c | 164 char *str = NULL, *str2 = NULL; local 181 e = asprintf(&str2, "%s: %s", str, context->error_string); 183 if (e < 0 || str2 == NULL) 186 context->error_string = str2;
|
/freebsd-11-stable/usr.sbin/mtest/ |
H A D | mtest.c | 281 * str2: ifname 288 const char *str1, const char *str2, const char *str3) 297 assert(str2 != NULL); 301 ifindex = if_nametoindex(str2); 381 char str2[STR_SIZE]; local 424 sscanf(line, "%s %s %s", str1, str2, str3); 425 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3); 437 warn("primary_ip_lookup %s", str2); 537 if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) { 542 ifindex = parse_cmd_args(&su, NULL, str1, str2, NUL 287 parse_cmd_args(sockunion_t *psu, sockunion_t *psu2, const char *str1, const char *str2, const char *str3) argument [all...] |
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | testxlate.c | 56 const char *str1, const char *str2, 68 test_conversion(tc, convset, str1, str2); 55 one_test(abts_case *tc, const char *cs1, const char *cs2, const char *str1, const char *str2, apr_pool_t *pool) argument
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | tcp_conn_limit.c | 136 log_assert(p->str && p->str2); 137 if(!tcl_list_str_cfg(tcl, p->str, p->str2, 1))
|
H A D | edns.c | 109 log_assert(c->str && c->str2); 118 net, c->str2)) {
|
/freebsd-11-stable/contrib/subversion/subversion/include/ |
H A D | svn_string.h | 183 /** Return @c TRUE iff @a str1 and @a str2 have identical length and data. */ 185 svn_string_compare(const svn_string_t *str1, const svn_string_t *str2); 432 /** Return @c TRUE iff @a str1 and @a str2 have identical length and data. */ 435 const svn_stringbuf_t *str2); 453 /** Return @c TRUE iff @a str1 and @a str2 have identical length and data. */ 456 const svn_stringbuf_t *str2); 569 * or less than @a str2. 574 svn_cstring_casecmp(const char *str1, const char *str2);
|