Searched refs:s1 (Results 1 - 25 of 40) sorted by relevance

12

/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 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 Dstrcspn.c40 strcspn(const char *s1, const char *s2) argument
49 for (p = s1;;) {
54 return (p - 1 - s1);
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/upstream-freebsd/lib/libc/string/
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 Dwcscasecmp.c34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) argument
38 for (; *s1; s1++, s2++) {
39 c1 = towlower(*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 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 Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
44 cp = s1;
50 return (s1);
H A Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
44 cp = s1;
48 return (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/bionic/
H A Dstrcoll_l.cpp31 int strcoll_l(const char *s1, const char *s2, locale_t) { argument
32 return strcoll(s1, s2);
H A Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) argument
32 const unsigned char* p1 = s1;
/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/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/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/linker/arch/mips/
H A Dbegin.S67 lw $s1, 4($t1)
82 subu $s1, 1
86 subu $s1, 1
93 9: subu $s1, 1
94 bgez $s1, 1b
/bionic/libm/upstream-freebsd/lib/msun/src/
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_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_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/linker/arch/mips64/
H A Dbegin.S86 REG_L s1, ELF_DYN_VAL(t1)
99 SUBU s1, 1
103 SUBU s1, 1
110 9: SUBU s1, 1
111 bgez s1, 1b

Completed in 1950 milliseconds

12