HomeSort by: relevance | last modified time | path
    Searched refs:s1 (Results 1 - 25 of 385) 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)
55 _DIAGASSERT(s1 != NULL);
58 while (*s1 == *s2++)
59 if (*s1++ == 0)
62 return (*(const __nbrune_t *)s1 - *(const __nbrune_t *)--s2);
wcscpy.c 40 wcscpy(wchar_t *s1, const wchar_t *s2)
44 _DIAGASSERT(s1 != NULL);
47 for (p = s1; (*p = *s2) != L'\0'; ++p, ++s2);
49 return s1;
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)
66 _DIAGASSERT(s1 != NULL);
71 return (strcmp(s1, s2));
wcsncmp.c 46 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
49 _DIAGASSERT(s1 != NULL);
55 if (*s1 != *s2++) {
57 return (*(const __nbrune_t *)s1 -
60 if (*s1++ == 0)
wmemcmp.c 41 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
45 _DIAGASSERT(s1 != NULL);
49 if (*s1 != *s2) {
51 return *(const __nbrune_t *)s1 >
54 s1++;
wcscat.c 40 wcscat(wchar_t *s1, const wchar_t *s2)
46 _DIAGASSERT(s1 != NULL);
49 p = s1;
57 return s1;
wcsncpy.c 40 wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
44 _DIAGASSERT(s1 != NULL);
47 p = s1;
57 return s1;
wcscasecmp.c 30 wcscasecmp_l(const wchar_t *s1, const wchar_t *s2, locale_t loc)
36 _DIAGASSERT(s1);
40 lc1 = towlower_l(*s1, loc);
50 ++s1;
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)
36 _DIAGASSERT(s1);
40 lc1 = towlower_l(*s1, loc);
50 ++s1;
58 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
60 return wcsncasecmp_l(s1, s2, n, _current_locale());
wcsncat.c 40 wcsncat(wchar_t *s1, const wchar_t *s2, size_t n)
46 _DIAGASSERT(s1 != NULL);
49 p = s1;
59 return s1;
  /src/common/lib/libc/string/
strcmp.c 57 strcmp(const char *s1, const char *s2)
60 while (*s1 == *s2++)
61 if (*s1++ == 0)
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++)
56 return (*(const unsigned char *)s1 -
58 if (*s1++ == 0)
  /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)
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/sys/arch/hpc/stand/libsa/
stricmp.cpp 40 stricmp(const char *s1, const char *s2)
43 while (libsa::tolower(*s1) == libsa::tolower(*s2++))
44 if (*s1++ == '\0')
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++) {
31 if (*s1++ == 0) {
35 return *(unsigned char *) s1 - *(unsigned char *) --s2;
  /src/lib/libtelnet/
genget.c 47 * The prefix function returns 0 if *s1 is not a prefix
48 * of *s2. If *s1 exactly matches *s2, the negative of
49 * the length is returned. If *s1 is a prefix of *s2,
50 * the length of *s1 is returned.
53 isprefix(const char *s1, const char *s2)
58 if (*s1 == '\0')
60 os1 = s1;
61 c1 = *s1;
66 c1 = *++s1;
69 return(*s1 ? 0 : (*s2 ? (s1 - os1) : (os1 - s1)))
    [all...]
  /src/sys/arch/ia64/stand/common/
strspn.c 49 strspn(const char *s1, const char *s2)
51 const char *p = s1, *spanp;
54 _DIAGASSERT(s1 != NULL);
65 return (p - 1 - s1);
  /src/usr.bin/xargs/
strnsubst.c 40 char *s1, *s2, *this; local in function:strnsubst
42 s1 = *str;
43 if (s1 == NULL)
46 * If maxsize is 0 then set it to to the length of s1, because we have
47 * to duplicate s1. XXX we maybe should double-check whether the match
48 * appears in s1. If it doesn't, then we also have to set the length
49 * to the length of s1, to avoid modifying the argument. It may make
50 * sense to check if maxsize is <= strlen(s1), because in that case we
55 maxsize = strlen(s1) + 1;
64 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) {
    [all...]
  /src/lib/libc_vfp/
vfpsf.S 59 vmov s0, s1, r0, r1
60 vadd.f32 s0, s0, s1
66 vmov s0, s1, r0, r1
67 vsub.f32 s0, s0, s1
74 vmov s0, s1, r0, r1
75 vsub.f32 s0, s1, s0
82 vmov s0, s1, r0, r1
83 vmul.f32 s0, s0, s1
89 vmov s0, s1, r0, r1
90 vdiv.f32 s0, s0, s1
    [all...]
  /src/distrib/utils/libhack/
strcasecmp.c 14 strcasecmp(const char *s1, const char *s2)
19 c1 = *s1++;
  /src/sys/arch/powerpc/pci/
pchb.c 81 const char *s1; local in function:mpc105_print
89 s1 = "256K";
92 s1 = "512K";
95 s1 = "1M";
98 s1 = "reserved size";
102 aprint_normal("%s, ", s1);
105 s1 = "uniprocessor/none";
108 s1 = "write-through";
111 s1 = "write-back";
114 s1 = "multiprocessor"
124 const char *s1; local in function:mpc106_print
186 const char *s1, *s2; local in function:ibm82660_print
    [all...]

Completed in 59 milliseconds

1 2 3 4 5 6 7 8 91011>>