Home
last modified time | relevance | path

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

1234

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/generic/
A Dstrncat.c22 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 Dstrncpy.c21 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 Dstrncmp.c25 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 Dstrcat.c24 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 Dstrcasecmp.c30 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 Dstrncasecmp.c30 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 Dstrncmp.c16 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 Dstrcmp.c18 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 Dstrcasestr.c11 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 Dstrstr.c18 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 Dstpcpy.c17 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 Dstrcpy.c16 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 Dstrndup.c12 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 Dstrcat.c16 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 Dstrspn.c16 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 Dbcopy.c11 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 Dstrncpy.c16 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 Dmemcpy.c17 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 Dstpncpy.c16 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 Dmemmove.c27 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 Dstrcmp.S11 #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 Ddl-string.h59 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 Dtst_strcoll.c14 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 Dmount.cc90 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 De_sqrt.c92 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()

Completed in 29 milliseconds

1234