/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() 44 if (*s1++ == 0) 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() 43 if (*s1++ == 0) in strncmp()
|
D | strpbrk.c | 37 strpbrk(const char *s1, const char *s2) in strpbrk() argument 42 while ((c = *s1++) != 0) { in strpbrk() 45 return ((char *)(s1 - 1)); in strpbrk()
|
D | strcspn.c | 40 strcspn(const char *s1, const char *s2) in strcspn() argument 49 for (p = s1;;) { in strcspn() 54 return (p - 1 - s1); in strcspn()
|
D | strspn.c | 37 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()
|
D | strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 80 const u_char *us1 = (const u_char *)s1; in strcasecmp() 90 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument 94 const u_char *us1 = (const u_char *)s1; in strncasecmp()
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcscmp.c | 48 wcscmp(const wchar_t *s1, const wchar_t *s2) in wcscmp() argument 51 while (*s1 == *s2++) in wcscmp() 52 if (*s1++ == '\0') 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() 50 return (*(const unsigned int *)s1 - in wcsncmp() 53 if (*s1++ == 0) in wcsncmp()
|
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() 49 s1++; 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() 39 c1 = towlower(*s1); 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() 41 c1 = towlower(*s1); in wcsncasecmp()
|
D | wcscpy.c | 40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument 44 cp = s1; in wcscpy() 48 return (s1); in wcscpy()
|
D | wcscat.c | 40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument 44 cp = s1; in wcscat() 50 return (s1); in wcscat()
|
D | wcsncat.c | 40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() argument 46 p = s1; in wcsncat() 56 return s1; in wcsncat()
|
/bionic/libc/upstream-netbsd/lib/libc/string/ |
D | strcoll.c | 51 strcoll(const char *s1, const char *s2) in strcoll() argument 54 _DIAGASSERT(s1 != 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 23 size_t s1_length = strlen(s1); 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/linker/arch/mips/ |
D | begin.S | 67 lw $s1, 4($t1) 82 subu $s1, 1 86 subu $s1, 1 93 9: subu $s1, 1 94 bgez $s1, 1b
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_atanf.c | 51 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()
|
D | s_atanl.c | 36 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()
|
D | s_atan.c | 76 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()
|
D | e_sqrt.c | 100 u_int32_t r,t1,s1,ix1,q1; in __ieee754_sqrt() local 138 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt() 155 t1 = s1+r; in __ieee754_sqrt() 158 s1 = t1+r; in __ieee754_sqrt() 159 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
|
/bionic/linker/arch/mips64/ |
D | begin.S | 86 REG_L s1, ELF_DYN_VAL(t1) 99 SUBU s1, 1 103 SUBU s1, 1 110 9: SUBU s1, 1 111 bgez s1, 1b
|
/bionic/libc/arch-mips/string/ |
D | memcmp.c | 30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument 32 const unsigned char* p1 = s1; 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()
|