Searched refs:str2 (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-9.3-release/crypto/openssl/crypto/
H A Do_str.c70 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 Do_str.h65 int OPENSSL_strcasecmp(const char *str1, const char *str2);
66 int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n);
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dmemcmp.c22 memcmp (const PTR str1, const PTR str2, size_t count) argument
25 register const unsigned char *s2 = (const unsigned char*)str2;
/freebsd-9.3-release/contrib/gcc/config/
H A Dmemcmp.c5 memcmp (const void *str1, const void *str2, size_t count) argument
8 const unsigned char *s2 = str2;
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dmemcmp.c22 memcmp (const PTR str1, const PTR str2, size_t count) argument
25 register const unsigned char *s2 = (const unsigned char*)str2;
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dstrpool.c70 char *str, *str2; local
87 str2 = realloc(p->str, len + p->len + 1);
88 if (str2 == NULL) {
92 p->str = str2;
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_bcs.c43 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-9.3-release/contrib/groff/src/preproc/grn/
H A Dmain.cpp721 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-9.3-release/tools/regression/lib/libc/stdio/
H A Dtest-fmemopen.c50 char str2[] = "AAAAAAAAA"; local
95 nofw = fwrite(str2, 1, sizeof(str2), fp);
154 char str2[] = "Do we have two sentences?"; local
155 char str3[sizeof(str) + sizeof(str2) -1];
186 nofw = fwrite(str2, 1, sizeof(str2), fp);
187 assert(nofw == sizeof(str2));
203 assert(strncmp(str3 + sizeof(str) - 1, str2, sizeof(str2))
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d44 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-9.3-release/contrib/tcpdump/
H A Dprint-beep.c42 l_strnstart(const char *tstr1, u_int tl1, const char *str2, u_int l2) argument
48 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
/freebsd-9.3-release/tools/test/iconv/
H A Dconst-gnuism.c43 const char *str2 = "FOOBAR"; local
45 const char ** in2 = &str2;
/freebsd-9.3-release/crypto/openssl/demos/tunala/
H A Dcb.c25 const char *str1, *str2; local
34 "undefined")), str2 =
38 fprintf(fp_cb_ssl_info, "(%s) %s\n", str1, str2);
41 fprintf(fp_cb_ssl_info, "(%s) failed in %s\n", str1, str2);
51 fprintf(fp_cb_ssl_info, "%s:error in %s\n", str1, str2);
/freebsd-9.3-release/contrib/ntp/tests/ntpd/
H A Dt-ntp_signd.c125 char * str2 = "PACKET12345"; local
126 int temp = send_packet(fd, str2, strlen(str2));
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.str.c345 s_strcmp(const Char *str1, const Char *str2) argument
347 for (; *str1 && *str1 == *str2; str1++, str2++)
354 if (*str1 == '\0' && *str2 == '\0')
358 else if (*str2 == '\0')
361 return (*str1 - *str2);
365 s_strncmp(const Char *str1, const Char *str2, size_t n) argument
370 if (*str1 != *str2) {
378 else if (*str2 == '\0')
381 return (*str1 - *str2);
392 s_strcasecmp(const Char *str1, const Char *str2) argument
[all...]
H A Dtw.parse.c2238 StrQcmp(const Char *str1, const Char *str2) argument
2240 for (; *str1 && samecase(*str1 & TRIM) == samecase(*str2 & TRIM);
2241 str1++, str2++)
2248 if (*str1 == '\0' && *str2 == '\0')
2252 else if (*str2 == '\0')
2255 return ((*str1 & TRIM) - (*str2 & TRIM));
/freebsd-9.3-release/usr.sbin/mtest/
H A Dmtest.c279 * str2: ifname
286 const char *str1, const char *str2, const char *str3)
295 assert(str2 != NULL);
299 ifindex = if_nametoindex(str2);
379 char str2[STR_SIZE]; local
421 sscanf(line, "%s %s %s", str1, str2, str3);
422 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3);
434 warn("primary_ip_lookup %s", str2);
534 if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) {
539 ifindex = parse_cmd_args(&su, NULL, str1, str2, NUL
285 parse_cmd_args(sockunion_t *psu, sockunion_t *psu2, const char *str1, const char *str2, const char *str3) argument
[all...]
/freebsd-9.3-release/lib/libutil/
H A Dlogin_ok.c71 login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags) argument
77 else if (login_strinlist(ttlst, str2, flags))
/freebsd-9.3-release/sbin/ipfw/
H A Dipfw2.h222 int _substrcmp(const char *str1, const char* str2);
223 int _substrcmp2(const char *str1, const char* str2, const char* str3);
/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dbackupfile.c213 concat(const char *str1, const char *str2) argument
218 newstr = malloc (str1_length + strlen (str2) + 1);
222 strcpy (newstr + str1_length, str2);
/freebsd-9.3-release/contrib/binutils/bfd/
H A Drs6000-core.c642 const char *str1, *str2; local
695 str2 = strrchr (exec_bfd->filename, '/');
699 str2 = str2 != NULL ? str2 + 1 : exec_bfd->filename;
701 if (strcmp (str1, str2) == 0)
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/sgs/tools/common/
H A Dstring_table.c138 const char *str1, *str2; local
142 str2 = ((StrNode *)n2)->sn_str;
144 rc = strcmp(str1, str2);
/freebsd-9.3-release/lib/libdisk/
H A Ddisk.c185 const char *str2 = *(char* const*)b; local
187 return strcmp(str1, str2);
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-sita.c492 char str1[MAX_LINE_SIZE], str2[MAX_LINE_SIZE]; local
511 strncpy(str2, s2, (s2_p1_len > sizeof(str2)) ? s2_p1_len : sizeof(str2)); *(str2 + s2_p1_len) = 0;
512 retval = strcmp(str1, str2);
/freebsd-9.3-release/contrib/cvs/src/
H A Dfilesubr.c1082 cvs_casecmp (str1, str2)
1084 const char *str2;
1091 q = str2;

Completed in 190 milliseconds

12