Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 39) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrcmp.c41 strcmp(const char *s1, const char *s2) in strcmp() argument
43 while (*s1 == *s2++) in strcmp()
44 if (*s1++ == 0) in strcmp()
46 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strcmp()
Dstrncmp.c35 strncmp(const char *s1, const char *s2, size_t n) in strncmp() argument
41 if (*s1 != *s2++) in strncmp()
42 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strncmp()
43 if (*s1++ == 0) in strncmp()
Dstrpbrk.c37 strpbrk(const char *s1, const char *s2) in strpbrk() argument
42 while ((c = *s1++) != 0) { in strpbrk()
45 return ((char *)(s1 - 1)); in strpbrk()
Dstrcspn.c40 strcspn(const char *s1, const char *s2) in strcspn() argument
49 for (p = s1;;) { in strcspn()
54 return (p - 1 - s1); in strcspn()
Dstrspn.c37 strspn(const char *s1, const char *s2) in strspn() argument
39 const char *p = s1, *spanp; in strspn()
50 return (p - 1 - s1); in strspn()
Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
80 const u_char *us1 = (const u_char *)s1; in strcasecmp()
90 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
94 const u_char *us1 = (const u_char *)s1; in strncasecmp()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcscmp.c48 wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument
51 while (*s1 == *s2++) in wcscmp()
52 if (*s1++ == '\0') in wcscmp()
55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2); in wcscmp()
Dwcsncmp.c42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncmp() argument
48 if (*s1 != *s2++) { in wcsncmp()
50 return (*(const unsigned int *)s1 - in wcsncmp()
53 if (*s1++ == 0) in wcsncmp()
Dwmemcmp.c40 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wmemcmp() argument
45 if (*s1 != *s2) { in wmemcmp()
47 return *s1 > *s2 ? 1 : -1; in wmemcmp()
49 s1++; in wmemcmp()
Dwcscasecmp.c34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) in wcscasecmp() argument
38 for (; *s1; s1++, s2++) { in wcscasecmp()
39 c1 = towlower(*s1); in wcscasecmp()
Dwcsncasecmp.c34 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncasecmp() argument
40 for (; *s1; s1++, s2++) { in wcsncasecmp()
41 c1 = towlower(*s1); in wcsncasecmp()
Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument
44 cp = s1; in wcscpy()
48 return (s1); in wcscpy()
Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument
44 cp = s1; in wcscat()
50 return (s1); in wcscat()
Dwcsncat.c40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument
46 p = s1; in wcsncat()
56 return s1; in wcsncat()
/bionic/libc/upstream-netbsd/lib/libc/string/
Dstrcoll.c51 strcoll(const char *s1, const char *s2) in strcoll() argument
54 _DIAGASSERT(s1 != NULL); in strcoll()
58 return (strcmp(s1, s2)); in strcoll()
/bionic/libc/private/
Dbionic_string_utils.h22 static inline bool ends_with(const char* s1, const char* s2) { in ends_with() argument
23 size_t s1_length = strlen(s1); in ends_with()
28 return memcmp(s1 + (s1_length - s2_length), s2, s2_length) == 0; in ends_with()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwcscoll.c37 wcscoll(const wchar_t *s1, const wchar_t *s2) in wcscoll() argument
40 return (wcscmp(s1, s2)); in wcscoll()
/bionic/linker/arch/mips/
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/
Ds_atanf.c51 float w,s1,s2,z; in atanf() local
85 s1 = z*(aT[0]+w*(aT[2]+w*aT[4])); in atanf()
87 if (id<0) return x - x*(s1+s2); in atanf()
89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanf()
Ds_atanl.c36 long double w,s1,s2,z; in atanl() local
78 s1 = z*T_even(w); in atanl()
80 if (id<0) return x - x*(s1+s2); in atanl()
82 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanl()
Ds_atan.c76 double w,s1,s2,z; in atan() local
113 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); in atan()
115 if (id<0) return x - x*(s1+s2); in atan()
117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atan()
De_sqrt.c100 u_int32_t r,t1,s1,ix1,q1; in __ieee754_sqrt() local
138 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt()
155 t1 = s1+r; in __ieee754_sqrt()
158 s1 = t1+r; in __ieee754_sqrt()
159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
/bionic/linker/arch/mips64/
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
/bionic/libc/arch-mips/string/
Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
32 const unsigned char* p1 = s1; in memcmp()
/bionic/libc/bionic/
Dlocale.cpp183 int strcasecmp_l(const char* s1, const char* s2, locale_t) { in strcasecmp_l() argument
184 return strcasecmp(s1, s2); in strcasecmp_l()
187 int strcoll_l(const char* s1, const char* s2, locale_t) { in strcoll_l() argument
188 return strcoll(s1, s2); in strcoll_l()
199 int strncasecmp_l(const char* s1, const char* s2, size_t n, locale_t) { in strncasecmp_l() argument
200 return strncasecmp(s1, s2, n); in strncasecmp_l()

12