/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/generic/ |
A D | strncat.c | 22 char *strncat (char *s1, const char *s2, size_t n) in strncat() argument 25 char *s = s1; in strncat() 29 c = *s1++; in strncat() 34 s1 -= 2; in strncat() 42 *++s1 = c; in strncat() 46 *++s1 = c; in strncat() 50 *++s1 = c; in strncat() 54 *++s1 = c; in strncat() 64 *++s1 = c; in strncat() 71 *++s1 = '\0'; in strncat()
|
A D | strncpy.c | 21 char *strncpy (char *s1, const char *s2, size_t n) in strncpy() argument 24 char *s = s1; in strncpy() 26 --s1; in strncpy() 35 *++s1 = c; in strncpy() 39 *++s1 = c; in strncpy() 43 *++s1 = c; in strncpy() 47 *++s1 = c; in strncpy() 53 n = n - (s1 - s) - 1; in strncpy() 67 *++s1 = c; in strncpy() 75 *++s1 = '\0'; in strncpy()
|
A D | strncmp.c | 25 int strncmp (const char *s1, const char *s2, size_t n) in strncmp() argument 35 c1 = (unsigned char) *s1++; in strncmp() 39 c1 = (unsigned char) *s1++; in strncmp() 43 c1 = (unsigned char) *s1++; in strncmp() 47 c1 = (unsigned char) *s1++; in strncmp() 57 c1 = (unsigned char) *s1++; in strncmp()
|
A D | strcat.c | 24 char *s1 = dest; in strcat() local 30 c = *s1++; in strcat() 35 s1 -= 2; in strcat() 40 *++s1 = c; in strcat()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/ |
A D | strcasecmp.c | 30 int strcasecmp(register const Wchar *s1, register const Wchar *s2) in strcasecmp() argument 32 return strcasecmp_l(s1, s2, __UCLIBC_CURLOCALE); in strcasecmp() 40 int __XL_NPP(strcasecmp)(register const Wchar *s1, register const Wchar *s2 44 while ((*s1 == *s2) || (TOLOWER(*s1) == TOLOWER(*s2))) { 45 if (!*s1++) { 51 return (((Wuchar)TOLOWER(*s1)) < ((Wuchar)TOLOWER(*s2))) ? -1 : 1; 56 while ( ((s1 == s2) || 57 !(r = ((int)( TOLOWER(*((Wuchar *)s1)))) 59 && (++s2, *s1++));
|
A D | strncasecmp.c | 30 int strncasecmp(register const Wchar *s1, register const Wchar *s2, size_t n) in strncasecmp() argument 32 return strncasecmp_l(s1, s2, n, __UCLIBC_CURLOCALE); in strncasecmp() 40 int __XL_NPP(strncasecmp)(register const Wchar *s1, register const Wchar *s2, 44 while (n && ((*s1 == *s2) || (TOLOWER(*s1) == TOLOWER(*s2)))) { 45 if (!*s1++) { 54 : ((((Wuchar)TOLOWER(*s1)) < ((Wuchar)TOLOWER(*s2))) ? -1 : 1); 60 && ((s1 == s2) || 61 !(r = ((int)( TOLOWER(*((unsigned char *)s1)))) 63 && (--n, ++s2, *s1++));
|
A D | strncmp.c | 16 int Wstrncmp(register const Wchar *s1, register const Wchar *s2, size_t n) in Wstrncmp() argument 19 while (n && (*((Wuchar *)s1) == *((Wuchar *)s2))) { in Wstrncmp() 20 if (!*s1++) { in Wstrncmp() 27 return (n == 0) ? 0 : (*((Wuchar *)s1) - *((Wuchar *)s2)); in Wstrncmp() 32 && ((r = ((int)(*((unsigned char *)s1))) - *((unsigned char *)s2++)) in Wstrncmp() 34 && *s1++); in Wstrncmp()
|
A D | strcmp.c | 18 int Wstrcmp(register const Wchar *s1, register const Wchar *s2) in Wstrcmp() argument 21 while (*((Wuchar *)s1) == *((Wuchar *)s2)) { in Wstrcmp() 22 if (!*s1++) { in Wstrcmp() 28 return (*((Wuchar *)s1) < *((Wuchar *)s2)) ? -1 : 1; in Wstrcmp() 32 while (((r = ((int)(*((Wuchar *)s1))) - *((Wuchar *)s2++)) in Wstrcmp() 33 == 0) && *s1++); in Wstrcmp()
|
A D | strcasestr.c | 11 char *strcasestr(const char *s1, const char *s2) in strcasestr() argument 13 register const char *s = s1; in strcasestr() 19 return (char *) s1;; in strcasestr() 31 s = ++s1; in strcasestr() 43 s = ++s1; in strcasestr() 47 return (*p) ? NULL : (char *) s1; in strcasestr()
|
A D | strstr.c | 18 Wchar *Wstrstr(const Wchar *s1, const Wchar *s2) in Wstrstr() argument 20 register const Wchar *s = s1; in Wstrstr() 25 return (Wchar *) s1;; in Wstrstr() 35 s = ++s1; in Wstrstr()
|
A D | stpcpy.c | 17 Wchar *Wstpcpy(register Wchar * __restrict s1, const Wchar * __restrict s2) in Wstpcpy() argument 19 while ( (*s1++ = *s2++) != 0 ); in Wstpcpy() 21 return s1 - 1; in Wstpcpy()
|
A D | strcpy.c | 16 Wchar *Wstrcpy(Wchar * __restrict s1, const Wchar * __restrict s2) in Wstrcpy() argument 18 register Wchar *s = s1; in Wstrcpy() 22 return s1; in Wstrcpy()
|
A D | strndup.c | 12 char *strndup(register const char *s1, size_t n) in strndup() argument 16 n = strnlen(s1,n); /* Avoid problems if s1 not nul-terminated. */ in strndup() 19 memcpy(s, s1, n); in strndup()
|
A D | strcat.c | 16 Wchar *Wstrcat(Wchar * __restrict s1, register const Wchar * __restrict s2) in Wstrcat() argument 18 register Wchar *s = s1; in Wstrcat() 24 return s1; in Wstrcat()
|
A D | strspn.c | 16 size_t Wstrspn(const Wchar *s1, const Wchar *s2) in Wstrspn() argument 18 register const Wchar *s = s1; in Wstrspn() 27 return s - s1; in Wstrspn()
|
A D | bcopy.c | 11 void bcopy(const void *s2, void *s1, size_t n) in bcopy() argument 14 memmove(s1, s2, n); in bcopy() 19 s = s1; in bcopy()
|
A D | strncpy.c | 16 Wchar *Wstrncpy(Wchar * __restrict s1, register const Wchar * __restrict s2, in Wstrncpy() argument 19 register Wchar *s = s1; in Wstrncpy() 27 return s1; in Wstrncpy()
|
A D | memcpy.c | 17 Wvoid *Wmemcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n) in Wmemcpy() argument 19 register Wchar *r1 = s1; in Wmemcpy() 27 return s1; in Wmemcpy()
|
A D | stpncpy.c | 16 Wchar *Wstpncpy(register Wchar * __restrict s1, in Wstpncpy() argument 20 Wchar *s = s1; in Wstpncpy() 28 return s1 + (s2 - p); in Wstpncpy()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/sh/sh4/ |
A D | memmove.c | 27 int *s1; in fpu_optimised_copy_fwd() local 36 s1 = (int *)s; in fpu_optimised_copy_fwd() 40 if (!((unsigned)s1 & 0x7)) { in fpu_optimised_copy_fwd() 44 *d1++ = *s1++; in fpu_optimised_copy_fwd() 54 __asm__ __volatile__ ("fmov @%0+,dr0":"+r" (s1)); in fpu_optimised_copy_fwd() 55 __asm__ __volatile__ ("fmov @%0+,dr2":"+r" (s1)); in fpu_optimised_copy_fwd() 56 __asm__ __volatile__ ("fmov @%0+,dr4":"+r" (s1)); in fpu_optimised_copy_fwd() 57 __asm__ __volatile__ ("fmov @%0+,dr6":"+r" (s1)); in fpu_optimised_copy_fwd() 78 s = (char *)s1; in fpu_optimised_copy_fwd()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/avr32/ |
A D | strcmp.S | 11 #define s1 r12 macro 21 tst s1, r8 26 1: ld.w r8, s1++ 58 3: tst s1, r8 60 ld.ub r10, s1++ 77 1: ld.ub r8, s1++
|
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/ |
A D | dl-string.h | 59 static __always_inline int _dl_strcmp(const char *s1, const char *s2) in _dl_strcmp() argument 62 s1--;s2--; in _dl_strcmp() 64 c1 = (unsigned char) *++s1; in _dl_strcmp() 100 static __always_inline char * _dl_strstr(const char *s1, const char *s2) in _dl_strstr() argument 102 register const char *s = s1; in _dl_strstr() 107 return (char *) s1;; in _dl_strstr() 115 s = ++s1; in _dl_strstr() 132 static __always_inline int _dl_memcmp(const void *s1, const void *s2, size_t len) in _dl_memcmp() argument 134 unsigned char *c1 = (unsigned char *)s1-1; in _dl_memcmp()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale-mbwc/ |
A D | tst_strcoll.c | 14 const char *s1, *s2; in tst_strcoll() local 22 s1 = TST_INPUT (strcoll).s1; in tst_strcoll() 26 ret = strcoll (s1, s2); in tst_strcoll()
|
/l4re-core-master/libc_backends/lib/mount/ |
A D | mount.cc | 90 const char *s1 = from.dupnultermstr(); in parse_fstab_line() local 94 if (s1 && s2 && s3 && s5) in parse_fstab_line() 96 int r = mount(s1, *s2 == '/' ? s2 + 1 : s2, s3, 0, s5); in parse_fstab_line() 100 fn, line_nr, s1, s2, s3, 0, s5, strerror(errno)); in parse_fstab_line() 103 s1, s2, s3); in parse_fstab_line() 110 free((void *)s1); in parse_fstab_line()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libm/ |
A D | e_sqrt.c | 92 u_int32_t r,t1,s1,ix1,q1; in __ieee754_sqrt() local 130 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt() 147 t1 = s1+r; in __ieee754_sqrt() 150 s1 = t1+r; in __ieee754_sqrt() 151 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; in __ieee754_sqrt()
|