HomeSort by: relevance | last modified time | path
    Searched refs:s2 (Results 1 - 25 of 352) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/bin/sh/
mystring.h 45 #define equal(s1, s2) (strcmp(s1, s2) == 0)
46 #define scopy(s1, s2) ((void)strcpy(s2, s1))
  /src/lib/libc/string/
Lint_strcmp.c 12 strcmp(const char *s1, const char *s2)
wcscmp.c 52 wcscmp(const wchar_t *s1, const wchar_t *s2)
56 _DIAGASSERT(s2 != NULL);
58 while (*s1 == *s2++)
62 return (*(const __nbrune_t *)s1 - *(const __nbrune_t *)--s2);
wcscpy.c 40 wcscpy(wchar_t *s1, const wchar_t *s2)
45 _DIAGASSERT(s2 != NULL);
47 for (p = s1; (*p = *s2) != L'\0'; ++p, ++s2);
Lint_strncmp.c 12 strncmp(const char *s1, const char *s2, size_t len)
strcoll.c 57 strcoll(const char *s1, const char *s2)
60 return strcoll_l(s1, s2, _current_locale());
64 strcoll_l(const char *s1, const char *s2, locale_t loc)
67 _DIAGASSERT(s2 != NULL);
71 return (strcmp(s1, s2));
wmemcmp.c 41 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
46 _DIAGASSERT(s2 != NULL);
49 if (*s1 != *s2) {
52 *(const __nbrune_t *)s2 ? 1 : -1;
55 s2++;
wcsncmp.c 46 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
50 _DIAGASSERT(s2 != NULL);
55 if (*s1 != *s2++) {
58 *(const __nbrune_t *)--s2);
wcsncpy.c 40 wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
45 _DIAGASSERT(s2 != NULL);
48 while (n && *s2) {
49 *p++ = *s2++;
wcscasecmp.c 30 wcscasecmp_l(const wchar_t *s1, const wchar_t *s2, locale_t loc)
37 _DIAGASSERT(s2);
41 lc2 = towlower_l(*s2, loc);
51 ++s2;
56 wcscasecmp(const wchar_t *s1, const wchar_t *s2)
58 return wcscasecmp_l(s1, s2, _current_locale());
wcsncasecmp.c 30 wcsncasecmp_l(const wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc)
37 _DIAGASSERT(s2);
41 lc2 = towlower_l(*s2, loc);
51 ++s2;
58 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
60 return wcsncasecmp_l(s1, s2, n, _current_locale());
wcscat.c 40 wcscat(wchar_t *s1, const wchar_t *s2)
47 _DIAGASSERT(s2 != NULL);
53 r = s2;
  /src/lib/libc/locale/
wcscoll.c 45 wcscoll_l(const wchar_t *s1, const wchar_t *s2, locale_t loc)
49 return (wcscmp(s1, s2));
53 wcscoll(const wchar_t *s1, const wchar_t *s2)
55 return wcscoll_l(s1, s2, _current_locale());
wcsxfrm.c 45 wcsxfrm_l(wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc)
52 len = wcslen(s2);
54 wcscpy(s1, s2);
68 wcsxfrm(wchar_t *s1, const wchar_t *s2, size_t n)
70 return wcsxfrm_l(s1, s2, n, _current_locale());
  /src/lib/libm/arch/arm/
s_fmaf.S 37 vmla.f32 s2, s0, s1
38 vmov.f32 s0, s2
  /src/common/lib/libc/string/
strcmp.c 57 strcmp(const char *s1, const char *s2)
60 while (*s1 == *s2++)
63 return (*(const unsigned char *)s1 - *(const unsigned char *)--s2);
strncmp.c 49 strncmp(const char *s1, const char *s2, size_t n)
55 if (*s1 != *s2++)
57 *(const unsigned char *)--s2);
strcasecmp.c 60 strcasecmp(const char *s1, const char *s2)
63 *us2 = (const unsigned char *)s2;
66 _DIAGASSERT(s2 != NULL);
  /src/sys/arch/hpc/stand/libsa/
stricmp.cpp 40 stricmp(const char *s1, const char *s2)
43 while (libsa::tolower(*s1) == libsa::tolower(*s2++))
47 return libsa::tolower(*s1) - libsa::tolower(*--s2);
  /src/sys/external/isc/libsodium/dist/test/quirks/
quirks.h 25 # define strcmp(s1, s2) xstrcmp(s1, s2)
28 strcmp(const char *s1, const char *s2)
30 while (*s1 == *s2++) {
35 return *(unsigned char *) s1 - *(unsigned char *) --s2;
  /src/sys/arch/ia64/stand/common/
strspn.c 46 * Span the string s2 (skip characters that are in s2).
49 strspn(const char *s1, const char *s2)
55 _DIAGASSERT(s2 != NULL);
58 * Skip any characters in s2, excluding the terminating \0.
62 for (spanp = s2; (sc = *spanp++) != 0;)
  /src/distrib/utils/libhack/
strcasecmp.c 14 strcasecmp(const char *s1, const char *s2)
20 c2 = *s2++;
  /src/sys/net/agr/
ieee8023ad_lacp_sm.h 32 #define LACP_STATE_EQ(s1, s2, mask) \
33 ((((s1) ^ (s2)) & (mask)) == 0)
  /src/usr.bin/patch/
common.h 61 #define strNE(s1,s2) (strcmp(s1, s2))
62 #define strEQ(s1,s2) (!strcmp(s1, s2))
63 #define strnNE(s1,s2,l) (strncmp(s1, s2, l))
64 #define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
  /src/usr.bin/xargs/
strnsubst.c 40 char *s1, *s2, *this; local in function:strnsubst
57 s2 = calloc(maxsize, 1);
58 if (s2 == NULL)
65 (void)strlcpy(s2, s1, maxsize);
73 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
75 (void)strlcat(s2, s1, maxsize);
78 (void)strncat(s2, s1, (uintptr_t)this - (uintptr_t)s1);
79 (void)strcat(s2, replstr);
82 (void)strcat(s2, s1);
84 *str = s2;
    [all...]

Completed in 70 milliseconds

1 2 3 4 5 6 7 8 91011>>