Home
last modified time | relevance | path

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

12

/bionic/libc/wchar/
Dwcscasecmp.c34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) in wcscasecmp() argument
38 for (; *s1; s1++, s2++) { in wcscasecmp()
40 c2 = towlower(*s2); in wcscasecmp()
44 return (-*s2); in wcscasecmp()
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()
50 s2++; in wmemcmp()
Dwcsncasecmp.c34 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) in wcsncasecmp() argument
40 for (; *s1; s1++, s2++) { in wcsncasecmp()
42 c2 = towlower(*s2); in wcsncasecmp()
48 return (-*s2); in wcsncasecmp()
Dwcscmp.c48 wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument
51 while (*s1 == *s2++) 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()
51 *(const unsigned int *)--s2); in wcsncmp()
Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument
45 while ((*cp++ = *s2++) != L'\0') in wcscpy()
Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument
47 while ((*cp++ = *s2++) != L'\0') in wcscat()
Dwcsncat.c40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument
50 r = s2; in wcsncat()
/bionic/libc/string/
Dstrcmp.c45 strcmp(const char *s1, const char *s2) in strcmp() argument
47 while (*s1 == *s2++) in strcmp()
50 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strcmp()
Dstrncmp.c39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() argument
44 if (*s1 != *s2++) in strncmp()
45 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strncmp()
Dstrxfrm.c39 strxfrm(char *s1, const char *s2, size_t n) in strxfrm() argument
41 size_t len = strlen(s2) + 1; in strxfrm()
45 memcpy(s1, s2, n); in strxfrm()
Dstrcoll.c37 strcoll(const char *s1, const char *s2) in strcoll() argument
39 return strcmp(s1, s2); in strcoll()
Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
81 const u_char *us2 = (const u_char *)s2; in strcasecmp()
90 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
95 const u_char *us2 = (const u_char *)s2; in strncasecmp()
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()
Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
34 const unsigned char* p2 = s2; in memcmp()
/bionic/libm/src/
Ds_atanf.c58 float w,s1,s2,z; in atanf() local
93 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); in atanf()
94 if (id<0) return x - x*(s1+s2); in atanf()
96 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanf()
Ds_atan.c75 double w,s1,s2,z; in atan() local
113 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); in atan()
114 if (id<0) return x - x*(s1+s2); in atan()
116 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atan()
De_powf.c147 float s2,s_h,s_l,t_h,t_l; in __ieee754_powf() local
174 s2 = s*s; in __ieee754_powf()
175 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_powf()
177 s2 = s_h*s_h; in __ieee754_powf()
178 t_h = (float)3.0+s2+r; in __ieee754_powf()
181 t_l = r-((t_h-(float)3.0)-s2); in __ieee754_powf()
De_pow.c205 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local
231 s2 = ss*ss; in __ieee754_pow()
232 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_pow()
234 s2 = s_h*s_h; in __ieee754_pow()
235 t_h = 3.0+s2+r; in __ieee754_pow()
237 t_l = r-((t_h-3.0)-s2); in __ieee754_pow()
De_lgammaf_r.c72 s2 = 3.2577878237e-01, /* 0x3ea6cc7a */ variable
207 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in __ieee754_lgammaf_r()
De_lgamma_r.c138 s2 = 3.25778796408930981787e-01, /* 0x3FD4D98F, 0x4F139F59 */ variable
273 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in __ieee754_lgamma_r()
/bionic/libc/stdlib/
Dwchar.c211 const char* s2 = memchr( s, 0, len ); in mbsrtowcs() local
213 if (s2 != NULL) in mbsrtowcs()
214 len = (size_t)(s2 - s) + 1U; in mbsrtowcs()
268 const char* s2 = memchr( s, 0, len ); in wcsrtombs() local
270 if (s2 != NULL) in wcsrtombs()
271 len = (s2 - s)+1; in wcsrtombs()
Dstrtod.c2109 j, jj1, k, k0, k_check, leftright, m2, m5, s2, s5, local
2248 s2 = j;
2252 s2 = 0;
2257 s2 += k;
2486 s2 += i;
2489 if (m2 > 0 && s2 > 0) {
2490 i = m2 < s2 ? m2 : s2;
2493 s2 -= i;
2523 s2 += Log2P;
2541 if ((i = ((s5 ? 32 - hi0bits(S->x[S->wds-1]) : 1) + s2) & 0x1f) != 0)
[all …]

12