Searched refs:str1 (Results 1 - 25 of 42) 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);
77 str1++;
83 if (*str1)
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
24 register const unsigned char *s1 = (const unsigned char*)str1;
/freebsd-9.3-release/contrib/gcc/config/
H A Dmemcmp.c5 memcmp (const void *str1, const void *str2, size_t count) argument
7 const unsigned char *s1 = str1;
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dmemcmp.c22 memcmp (const PTR str1, const PTR str2, size_t count) argument
24 register const unsigned char *s1 = (const unsigned char*)str1;
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.shortstr.d65 this->str1 = ".........................................";
66 printf("%d\n", index(this->str, this->str1));
71 printf("%d\n", rindex(this->str, this->str1));
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_bcs.c42 _citrus_bcs_strcasecmp(const char * __restrict str1, argument
50 c1 = _bcs_toupper(*str1++);
61 _citrus_bcs_strncasecmp(const char * __restrict str1, argument
69 c1 = _bcs_toupper(*str1++);
/freebsd-9.3-release/tools/test/iconv/
H A Dconst-gnuism.c42 char *str1 = "FOOBAR"; local
59 in1 = &str1;
/freebsd-9.3-release/crypto/openssl/demos/tunala/
H A Dcb.c25 const char *str1, *str2; local
32 str1 = (w & SSL_ST_CONNECT ? "SSL_connect" : (w & SSL_ST_ACCEPT ?
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/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')
356 else if (*str1 == '\0')
361 return (*str1 - *str2);
365 s_strncmp(const Char *str1, const Char *str2, size_t n) argument
370 if (*str1 != *str2) {
376 if (*str1
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')
2250 else if (*str1 == '\0')
2255 return ((*str1 & TRIM) - (*str2 & TRIM));
/freebsd-9.3-release/usr.sbin/mtest/
H A Dmtest.c278 * str1: group (as AF_INET or AF_INET6 printable)
281 * This argument must have the same parsed address family as str1.
286 const char *str1, const char *str2, const char *str3)
294 assert(str1 != NULL);
311 error = getaddrinfo(str1, "0", &hints, &res);
378 char str1[STR_SIZE]; local
421 sscanf(line, "%s %s %s", str1, str2, str3);
422 ifindex = parse_cmd_args(&su, &su2, str1, str2, str3);
534 if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) {
539 ifindex = parse_cmd_args(&su, NULL, str1, str
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/contrib/groff/src/preproc/grn/
H A Dmain.cpp720 char str1[MAXINLINE]; local
727 sscanf(line, "%80s%80s", &str1[0], &str2[0]);
728 for (chr = &str1[0]; *chr; chr++) /* convert command to */
732 switch (str1[0]) {
740 tsize[str1[0] - '1'] = i;
767 if (str1[1] == 'c')
775 if (str1[1] == 't')
783 if (isdigit(str1[1])) { /* set stipple index */
784 int idx = atoi(str1 + 1), val;
814 switch (str1[
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/dsa/
H A Ddsatest.c135 static const unsigned char str1[] = "12345678901234567890"; variable
213 DSA_sign(0, str1, 20, sig, &siglen, dsa);
214 if (DSA_verify(0, str1, 20, sig, siglen, dsa) == 1)
219 DSA_sign(0, str1, 20, sig, &siglen, dsa);
220 if (DSA_verify(0, str1, 20, sig, siglen, dsa) == 1)
/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
75 if (login_strinlist(ttlst, str1, 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/contrib/groff/src/devices/xditview/
H A Dparse.c318 char str[20], str1[50]; local
342 GetLine (dw, str1, 50);
343 SetFontPosition (dw, n, str, str1);
/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dbackupfile.c213 concat(const char *str1, const char *str2) argument
216 int str1_length = strlen (str1);
221 strcpy (newstr, str1);
/freebsd-9.3-release/crypto/openssl/fips/dsa/
H A Dfips_dsa_selftest.c109 static const unsigned char str1[] = "12345678901234567890"; variable
158 if (!EVP_SignUpdate(&mctx, str1, 20))
165 if (!EVP_VerifyUpdate(&mctx, str1, 20))
H A Dfips_dsatest.c142 static const unsigned char str1[] = "12345678901234567890"; variable
214 if (!EVP_SignUpdate(&mctx, str1, 20))
221 if (!EVP_VerifyUpdate(&mctx, str1, 20))
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipfstat.c1203 char str1[STSTRSIZE], str2[STSTRSIZE], str3[STSTRSIZE], str4[STSTRSIZE]; local
1415 sprintf(str1, "%s - %s - state top", hostnm, IPL_VERSION);
1416 for (j = 0 ; j < (maxx - 8 - strlen(str1)) / 2; j++)
1418 printw("%s", str1);
1424 strftime(str1, 80, "%T", localtime(&t));
1425 printw("%s\n", str1);
1433 sprintf(str1, "%s,%d", getip(ver, &saddr), sport);
1435 sprintf(str1, "%s", getip(ver, &saddr));
1486 str1, str2, str3, str4);
1523 sprintf(str1, "
[all...]
/freebsd-9.3-release/contrib/ee/
H A Dee.c2311 unsigned char *str1; local
2334 str1 = str2;
2364 *point = *str1;
2366 str1++;
4135 unsigned char *str1; local
4144 str1 = home = malloc(strlen(string)+10);
4157 str1 = str2 = string;
4165 if (compare(str1, CASE, FALSE))
4167 else if (compare(str1, NOCASE, FALSE))
4169 else if (compare(str1, EXPAN
[all...]
/freebsd-9.3-release/contrib/binutils/bfd/
H A Drs6000-core.c642 const char *str1, *str2; local
694 str1 = strrchr (path, '/');
698 str1 = str1 != NULL ? str1 + 1 : path;
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
141 str1 = ((StrNode *)n1)->sn_str;
144 rc = strcmp(str1, str2);
/freebsd-9.3-release/lib/libdisk/
H A Ddisk.c184 const char *str1 = *(char* const*)a; local
187 return strcmp(str1, str2);

Completed in 145 milliseconds

12