Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 38) sorted by relevance

12

/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/libc/upstream-freebsd/lib/libc/string/
Dwcscasecmp.c36 wcscasecmp(const wchar_t *s1, const wchar_t *s2) in wcscasecmp() argument
40 for (; *s1; s1++, s2++) { in wcscasecmp()
42 c2 = towlower(*s2); in wcscasecmp()
46 return (-*s2); in wcscasecmp()
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()
52 s2++; in wmemcmp()
Dwcsncasecmp.c36 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncasecmp() argument
42 for (; *s1; s1++, s2++) { in wcsncasecmp()
44 c2 = towlower(*s2); in wcsncasecmp()
50 return (-*s2); in wcsncasecmp()
Dwcscmp.c50 wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument
53 while (*s1 == *s2++) 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()
53 *(const unsigned int *)--s2); in wcsncmp()
Dwcscpy.c42 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument
47 while ((*cp++ = *s2++) != L'\0') in wcscpy()
Dwcscat.c42 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument
49 while ((*cp++ = *s2++) != L'\0') in wcscat()
/bionic/libm/upstream-freebsd/lib/msun/ld128/
De_powl.c152 long double s2, s_h, s_l, t_h, t_l; in powl() local
332 s2 = s * s; in powl()
333 u = LN[0] + s2 * (LN[1] + s2 * (LN[2] + s2 * (LN[3] + s2 * LN[4]))); in powl()
334 v = LD[0] + s2 * (LD[1] + s2 * (LD[2] + s2 * (LD[3] + s2 * (LD[4] + s2)))); in powl()
335 r = s2 * s2 * u / v; in powl()
337 s2 = s_h * s_h; in powl()
338 t_h = 3.0 + s2 + r; in powl()
343 t_l = r - ((t_h - 3.0) - s2); in powl()
/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()
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/
Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
81 const u_char *us2 = (const u_char *)s2; in strcasecmp()
91 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
96 const u_char *us2 = (const u_char *)s2; in strncasecmp()
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()
Dstrcoll.c40 strcoll(const char *s1, const char *s2) in strcoll() argument
43 return (strcmp(s1, s2)); in strcoll()
Dstrpbrk.c37 strpbrk(const char *s1, const char *s2) in strpbrk() argument
43 for (scanp = s2; (sc = *scanp++) != 0;) in strpbrk()
Dstrcspn.c40 strcspn(const char *s1, const char *s2) in strcspn() argument
51 spanp = s2; in strcspn()
Dstrspn.c37 strspn(const char *s1, const char *s2) in strspn() argument
47 for (spanp = s2; (sc = *spanp++) != 0;) in strspn()
/bionic/libm/upstream-freebsd/lib/msun/src/
De_powf.c152 float s2,s_h,s_l,t_h,t_l; in powf() local
179 s2 = s*s; in powf()
180 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in powf()
182 s2 = s_h*s_h; in powf()
183 t_h = 3+s2+r; in powf()
186 t_l = r-((t_h-3)-s2); in powf()
De_pow.c211 double ss,s2,s_h,s_l,t_h,t_l; in pow() local
237 s2 = ss*ss; in pow()
238 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in pow()
240 s2 = s_h*s_h; in pow()
241 t_h = 3+s2+r; in pow()
243 t_l = r-((t_h-3)-s2); in pow()
Ds_atanf.c51 float w,s1,s2,z; in atanf() local
86 s2 = w*(aT[1]+w*aT[3]); 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
79 s2 = w*T_odd(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
114 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); 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/locale/
Dwcscoll.c37 wcscoll(const wchar_t *s1, const wchar_t *s2) in wcscoll() argument
40 return (wcscmp(s1, s2)); in wcscoll()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Ddtoa.c119 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, local
271 s2 = j;
275 s2 = 0;
280 s2 += k;
512 s2 += i;
517 if (m2 > 0 && s2 > 0) {
518 i = m2 < s2 ? m2 : s2;
521 s2 -= i;
571 s2 += Log2P;
584 if (( i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f )!=0)
[all …]

12