/bionic/libc/upstream-freebsd/lib/libc/string/ |
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 | 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 | 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/upstream-openbsd/lib/libc/string/ |
D | strcmp.c | 41 strcmp(const char *s1, const char *s2) in strcmp() argument 43 while (*s1 == *s2++) in strcmp() 46 return (*(unsigned char *)s1 - *(unsigned char *)--s2); in strcmp()
|
D | strncmp.c | 35 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()
|
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()
|
/bionic/libc/upstream-netbsd/lib/libc/string/ |
D | strcoll.c | 51 strcoll(const char *s1, const char *s2) in strcoll() argument 55 _DIAGASSERT(s2 != NULL); in strcoll() 58 return (strcmp(s1, s2)); in strcoll()
|
/bionic/libc/private/ |
D | bionic_string_utils.h | 22 static inline bool ends_with(const char* s1, const char* s2) { in ends_with() argument 24 size_t s2_length = strlen(s2); 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/ |
D | wcscoll.c | 37 wcscoll(const wchar_t *s1, const wchar_t *s2) in wcscoll() argument 40 return (wcscmp(s1, s2)); in wcscoll()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_atanf.c | 51 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()
|
D | s_atanl.c | 36 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()
|
D | s_atan.c | 76 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()
|
D | e_powf.c | 149 float s2,s_h,s_l,t_h,t_l; in __ieee754_powf() local 176 s2 = s*s; in __ieee754_powf() 177 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_powf() 179 s2 = s_h*s_h; in __ieee754_powf() 180 t_h = (float)3.0+s2+r; in __ieee754_powf() 183 t_l = r-((t_h-(float)3.0)-s2); in __ieee754_powf()
|
D | e_pow.c | 207 double ss,s2,s_h,s_l,t_h,t_l; in __ieee754_pow() local 233 s2 = ss*ss; in __ieee754_pow() 234 r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6))))); in __ieee754_pow() 236 s2 = s_h*s_h; in __ieee754_pow() 237 t_h = 3.0+s2+r; in __ieee754_pow() 239 t_l = r-((t_h-3.0)-s2); in __ieee754_pow()
|
/bionic/libc/arch-mips/string/ |
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/libc/bionic/ |
D | locale.cpp | 183 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()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | dtoa.c | 119 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 …]
|