Home
last modified time | relevance | path

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

12

/bionic/libc/string/
Dstrcmp.c45 strcmp(const char *s1, const char *s2) in strcmp() argument
47 while (*s1 == *s2++) in strcmp()
48 if (*s1++ == 0) 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()
46 if (*s1++ == 0) in strncmp()
Dstrpbrk.c37 strpbrk(const char *s1, const char *s2) in strpbrk() argument
42 while ((c = *s1++) != 0) { in strpbrk()
45 return ((char *)(s1 - 1)); in strpbrk()
Dstrcspn.c40 strcspn(const char *s1, const char *s2) in strcspn() argument
49 for (p = s1;;) { in strcspn()
54 return (p - 1 - s1); in strcspn()
Dstrspn.c37 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()
Dstrcasecmp.c77 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()
Dstrcoll.c37 strcoll(const char *s1, const char *s2) in strcoll() argument
39 return strcmp(s1, s2); in strcoll()
Dstrxfrm.c39 strxfrm(char *s1, const char *s2, size_t n) in strxfrm() argument
45 memcpy(s1, s2, n); in strxfrm()
Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
32 const unsigned char* p1 = s1; in memcmp()
/bionic/libc/wchar/
Dwcscmp.c48 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()
Dwcsncmp.c42 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()
Dwcscasecmp.c34 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()
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()
49 s1++; 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()
41 c1 = towlower(*s1); in wcsncasecmp()
Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() argument
44 cp = s1; in wcscpy()
48 return (s1); in wcscpy()
Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() argument
44 cp = s1; in wcscat()
50 return (s1); in wcscat()
Dwcsncat.c40 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/libm/src/
Ds_atanf.c58 float w,s1,s2,z; in atanf() local
92 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); 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
112 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); 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_sqrt.c99 u_int32_t r,t1,s1,ix1,q1; in __ieee754_sqrt() local
137 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt()
154 t1 = s1+r; in __ieee754_sqrt()
157 s1 = t1+r; in __ieee754_sqrt()
158 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
De_lgammaf_r.c71 s1 = 2.1498242021e-01, /* 0x3e5c245a */ variable
207 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in __ieee754_lgammaf_r()
De_lgamma_r.c137 s1 = 2.14982415960608852501e-01, /* 0x3FCB848B, 0x36E20878 */ variable
273 p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); in __ieee754_lgamma_r()
/bionic/libc/kernel/arch-mips/asm/
Dregdef.h45 #define s1 $17 macro
95 #define s1 $17 macro
/bionic/libc/kernel/tools/
Dcpp.py1442 s1 = repr(e)
1443 if s1 != expected:
1444 print "KO: expression '%s' generates '%s', should be '%s'" % (expr, s1, expected)
1453 s1 = repr(e)
1454 if s1 != expected:
1455 print "KO: optimized expression '%s' generates '%s', should be '%s'" % (expr, s1, expected)
1462 s1 = str(e)
1463 if s1 != expected:
1464 print "KO: source expression '%s' generates '%s', should be '%s'" % (expr, s1, expected)
/bionic/libc/regex/
Dengine.c115 #define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2) argument
120 #define AT(t, p1, p2, s1, s2) /* nothing */ argument

12