Searched defs:s1 (Results 1 - 25 of 33) sorted by relevance

12

/bionic/libc/upstream-freebsd/lib/libc/string/
H A Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
44 cp = s1;
50 return (s1);
H A Dwcscmp.c48 wcscmp(const wchar_t *s1, const wchar_t *s2) argument
51 while (*s1 == *s2++)
52 if (*s1++ == '\0')
55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2);
H A Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
44 cp = s1;
48 return (s1);
H A Dwcsncmp.c42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
48 if (*s1 != *s2++) {
50 return (*(const unsigned int *)s1 -
53 if (*s1++ == 0)
H A Dwcscasecmp.c34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) argument
38 for (; *s1; s1++, s2++) {
39 c1 = towlower(*s1);
H A Dwmemcmp.c40 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
45 if (*s1 != *s2) {
47 return *s1 > *s2 ? 1 : -1;
49 s1++;
H A Dwcsncasecmp.c34 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
40 for (; *s1; s1++, s2++) {
41 c1 = towlower(*s1);
H A Dwcsncat.c40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) argument
46 p = s1;
56 return s1;
/bionic/libc/upstream-netbsd/lib/libc/string/
H A Dstrcoll.c51 strcoll(const char *s1, const char *s2) argument
54 _DIAGASSERT(s1 != NULL);
58 return (strcmp(s1, s2));
/bionic/libc/upstream-openbsd/lib/libc/locale/
H A Dwcscoll.c37 wcscoll(const wchar_t *s1, const wchar_t *s2) argument
40 return (wcscmp(s1, s2));
/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dstrcmp.c41 strcmp(const char *s1, const char *s2) argument
43 while (*s1 == *s2++)
44 if (*s1++ == 0)
46 return (*(unsigned char *)s1 - *(unsigned char *)--s2);
H A Dstrncmp.c35 strncmp(const char *s1, const char *s2, size_t n) argument
41 if (*s1 != *s2++)
42 return (*(unsigned char *)s1 - *(unsigned char *)--s2);
43 if (*s1++ == 0)
H A Dstrcspn.c40 strcspn(const char *s1, const char *s2) argument
49 for (p = s1;;) {
54 return (p - 1 - s1);
H A Dstrpbrk.c34 * Find the first occurrence in s1 of a character in s2 (excluding NUL).
37 strpbrk(const char *s1, const char *s2) argument
42 while ((c = *s1++) != 0) {
45 return ((char *)(s1 - 1));
H A Dstrspn.c37 strspn(const char *s1, const char *s2) argument
39 const char *p = s1, *spanp;
50 return (p - 1 - s1);
H A Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) argument
80 const u_char *us1 = (const u_char *)s1;
90 strncasecmp(const char *s1, const char *s2, size_t n) argument
94 const u_char *us1 = (const u_char *)s1;
/bionic/libc/private/
H A Dbionic_string_utils.h22 static inline bool ends_with(const char* s1, const char* s2) { argument
23 size_t s1_length = strlen(s1);
28 return memcmp(s1 + (s1_length - s2_length), s2, s2_length) == 0;
/bionic/libc/arch-mips/string/
H A Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) argument
32 const unsigned char* p1 = s1;
/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_atan.c76 double w,s1,s2,z; local
113 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
115 if (id<0) return x - x*(s1+s2);
117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
H A Ds_atanf.c51 float w,s1,s2,z; local
85 s1 = z*(aT[0]+w*(aT[2]+w*aT[4]));
87 if (id<0) return x - x*(s1+s2);
89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
H A Ds_atanl.c36 long double w,s1,s2,z; local
78 s1 = z*T_even(w);
80 if (id<0) return x - x*(s1+s2);
82 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
H A De_sqrt.c100 u_int32_t r,t1,s1,ix1,q1; local
138 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */
155 t1 = s1+r;
158 s1 = t1+r;
159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dgethex.c47 CONST unsigned char *decpt, *s0, *s, *s1; local
124 s1 = s;
137 s = s1;
205 n = s1 - s0 - 1;
217 while(s1 > s0) {
219 if (*--s1 == decimalpoint[i]) {
220 s1 -= i;
224 if (*--s1 == '.')
232 L |= (hexdig[*s1] & 0x0f) << n;
/bionic/libc/arch-mips/include/machine/
H A Dregdef.h83 #define s1 $17 macro
/bionic/libc/arch-mips64/include/machine/
H A Dregdef.h83 #define s1 $17 macro

Completed in 150 milliseconds

12