/bionic/libc/wchar/ |
D | wcscasecmp.c | 34 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()
|
D | wmemcmp.c | 40 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()
|
D | wcsncasecmp.c | 34 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()
|
D | wcscmp.c | 48 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()
|
D | wcsncmp.c | 42 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()
|
D | wcscpy.c | 40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument 45 while ((*cp++ = *s2++) != L'\0') in wcscpy()
|
D | wcscat.c | 40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument 47 while ((*cp++ = *s2++) != L'\0') in wcscat()
|
D | wcsncat.c | 40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument 50 r = s2; in wcsncat()
|
/bionic/libc/string/ |
D | strcmp.c | 45 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()
|
D | strncmp.c | 39 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()
|
D | strxfrm.c | 39 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()
|
D | strcoll.c | 37 strcoll(const char *s1, const char *s2) in strcoll() argument 39 return strcmp(s1, s2); in strcoll()
|
D | strcasecmp.c | 77 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()
|
D | strpbrk.c | 37 strpbrk(const char *s1, const char *s2) in strpbrk() argument 43 for (scanp = s2; (sc = *scanp++) != 0;) in strpbrk()
|
D | strcspn.c | 40 strcspn(const char *s1, const char *s2) in strcspn() argument 51 spanp = s2; in strcspn()
|
D | strspn.c | 37 strspn(const char *s1, const char *s2) in strspn() argument 47 for (spanp = s2; (sc = *spanp++) != 0;) in strspn()
|
D | memcmp.c | 30 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/ |
D | s_atanf.c | 58 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()
|
D | s_atan.c | 75 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()
|
D | e_powf.c | 147 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()
|
D | e_pow.c | 205 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()
|
D | e_lgammaf_r.c | 72 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()
|
D | e_lgamma_r.c | 138 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/ |
D | wchar.c | 211 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()
|
D | strtod.c | 2109 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 …]
|