Home
last modified time | relevance | path

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

12

/bionic/libc/arch-riscv64/string/
Dstrcmp.c41 strcmp_gc(const char *s1, const char *s2) in strcmp_gc() argument
43 while (*s1 == *s2++) in strcmp_gc()
44 if (*s1++ == 0) in strcmp_gc()
46 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strcmp_gc()
Dmemcmp.c41 memcmp_gc(const void *s1, const void *s2, size_t n) in memcmp_gc() argument
44 const unsigned char *p1 = s1, *p2 = s2; in memcmp_gc()
/bionic/libc/upstream-openbsd/lib/libc/string/
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()
Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
80 const u_char *us1 = (const u_char *)s1; in strcasecmp()
91 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
95 const u_char *us1 = (const u_char *)s1; in strncasecmp()
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()
Dstrcoll.c40 strcoll(const char *s1, const char *s2) in strcoll() argument
43 return (strcmp(s1, s2)); in strcoll()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcscmp.c50 wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument
53 while (*s1 == *s2++) in wcscmp()
54 if (*s1++ == '\0') in wcscmp()
57 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2); in wcscmp()
Dwcsncmp.c44 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncmp() argument
50 if (*s1 != *s2++) { in wcsncmp()
52 return (*(const unsigned int *)s1 - in wcsncmp()
55 if (*s1++ == 0) in wcsncmp()
Dwmemcmp.c42 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wmemcmp() argument
47 if (*s1 != *s2) { in wmemcmp()
49 return *s1 > *s2 ? 1 : -1; in wmemcmp()
51 s1++; in wmemcmp()
Dwcscasecmp.c36 wcscasecmp(const wchar_t *s1, const wchar_t *s2) in wcscasecmp() argument
40 for (; *s1; s1++, s2++) { in wcscasecmp()
41 c1 = towlower(*s1); in wcscasecmp()
Dwcsncasecmp.c36 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncasecmp() argument
42 for (; *s1; s1++, s2++) { in wcsncasecmp()
43 c1 = towlower(*s1); in wcsncasecmp()
Dwcscpy.c42 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument
46 cp = s1; in wcscpy()
50 return (s1); in wcscpy()
Dwcscat.c42 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument
46 cp = s1; in wcscat()
52 return (s1); in wcscat()
Dwcsncat.c42 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument
48 p = s1; in wcsncat()
58 return s1; in wcsncat()
/bionic/libc/bionic/
Dstrings_l.cpp32 int strcasecmp_l(const char* s1, const char* s2, locale_t) { in strcasecmp_l() argument
33 return strcasecmp(s1, s2); in strcasecmp_l()
36 int strncasecmp_l(const char* s1, const char* s2, size_t n, locale_t) { in strncasecmp_l() argument
37 return strncasecmp(s1, s2, n); in strncasecmp_l()
Dstring_l.cpp32 int strcoll_l(const char* s1, const char* s2, locale_t) { in strcoll_l() argument
33 return strcoll(s1, s2); in strcoll_l()
/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()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dgethex.c47 CONST unsigned char *decpt, *s0, *s, *s1; local
121 s1 = s;
134 s = s1;
202 n = s1 - s0 - 1;
214 while(s1 > s0) {
216 if (*--s1 == decimalpoint[i]) {
217 s1 -= i;
221 if (*--s1 == '.')
229 L |= (hexdig[*s1] & 0x0f) << n;
/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/libc/arch-riscv64/bionic/
Dsetjmp.S83 xor s1, s1, \reg
168 sd s1, _JB_S1(a0)
241 ld s1, _JB_S1(a0)
/bionic/libc/arch-x86/
Ddynamic_function_dispatch.cpp140 typedef wchar_t* wcscat_func(wchar_t *s1, const wchar_t *s2);
147 typedef wchar_t* wcscpy_func(wchar_t *s1, const wchar_t *s2);

12