Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 244) sorted by relevance

12345678910

/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dtst-fnmatch.c48 if (str[i] == '[' && str[i+1] == x) in str_has_funk()
280 && (str[8] == '|' || str[8] == '\0')) in convert_flags()
286 && (str[8] == '|' || str[8] == '\0')) in convert_flags()
292 && (str[6] == '|' || str[6] == '\0')) in convert_flags()
307 && (str[8] == '|' || str[8] == '\0')) in convert_flags()
315 && (str[8] == '|' || str[8] == '\0')) in convert_flags()
326 ++str; in convert_flags()
417 ++str; in escape()
423 ++str; in escape()
429 ++str; in escape()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/i386/
A Dmemchr.c63 static const char str[] = "abc.def";
64 printf((char*)memchr(str, '.',-2) - str == 3 ? "ok\n" : "BAD!\n");
65 printf((char*)memchr(str, '.',-1) - str == 3 ? "ok\n" : "BAD!\n");
66 printf((char*)memchr(str, '.', 0) == NULL ? "ok\n" : "BAD!\n");
67 printf((char*)memchr(str, '.', 1) == NULL ? "ok\n" : "BAD!\n");
68 printf((char*)memchr(str, '.', 2) == NULL ? "ok\n" : "BAD!\n");
69 printf((char*)memchr(str, '.', 3) == NULL ? "ok\n" : "BAD!\n");
70 printf((char*)memchr(str, '.', 4) - str == 3 ? "ok\n" : "BAD!\n");
71 printf((char*)memchr(str, '.', 5) - str == 3 ? "ok\n" : "BAD!\n");
72 printf((char*)memchr(str+3, '.', 0) == NULL ? "ok\n" : "BAD!\n");
[all …]
A Dstrncpy.c63 static char str[99];
65 str[3] = '*'; str[4] = 0; strncpy(str, "abc", 3);
66 printf(strcmp(str, "abc*") == 0 ? "ok\n" : "BAD!\n");
68 str[4] = '*'; str[5] = '+'; strncpy(str, "abc", 5);
69 printf(strcmp(str, "abc") == 0 && str[4] == 0 && str[5] == '+' ?
71 strncpy(str, "def", 0); /* should do nothing */
72 printf(strcmp(str, "abc") == 0 && str[4] == 0 && str[5] == '+' ?
A Dstrchrnul.c41 static const char str[] = "abc.def";
42 printf((char*)strchrnul(str, '.') - str == 3 ? "ok\n" : "BAD!\n");
43 printf((char*)strchrnul(str, '*') - str == 7 ? "ok\n" : "BAD!\n");
44 printf((char*)strchrnul(str, 0) - str == 7 ? "ok\n" : "BAD!\n");
45 printf((char*)strchrnul(str+3, '.') - str == 3 ? "ok\n" : "BAD!\n");
A Dmemmove.c65 static char str[] = "abcdef.123";
66 memmove(str + 1, str, 5);
67 printf(strcmp(str, "aabcde.123") == 0 ? "ok\n" : "BAD!\n");
68 memmove(str, str + 1, 5);
69 printf(strcmp(str, "abcdee.123") == 0 ? "ok\n" : "BAD!\n");
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++20/
A Dsstream-inst.cc50 basic_stringbuf<char>::str() const &;
52 basic_stringbuf<char>::str() &&;
56 basic_stringbuf<char>::str(string&&);
65 basic_istringstream<char>::str() &&;
78 basic_ostringstream<char>::str() &&;
89 basic_stringstream<char>::str() const &;
91 basic_stringstream<char>::str() &&;
114 basic_stringbuf<wchar_t>::str() &&;
127 basic_istringstream<wchar_t>::str() &&;
140 basic_ostringstream<wchar_t>::str() &&;
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Dclnt_perror.c211 str += len; in clnt_sperror()
214 str += strlen(str); in clnt_sperror()
237 str += len; in clnt_sperror()
243 str += len; in clnt_sperror()
249 str += strlen(str); in clnt_sperror()
254 str += strlen(str); in clnt_sperror()
260 str += len; in clnt_sperror()
267 str += len; in clnt_sperror()
275 *str = '\n'; in clnt_sperror()
276 *++str = '\0'; in clnt_sperror()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A Dstdlib.c433 SET_FAIL(str);
436 ++str;
441 switch (*str) {
443 case '+': ++str;
449 SET_FAIL(++str);
452 ++str;
579 SET_FAIL(str); in __XL_NPP()
582 ++str; in __XL_NPP()
587 switch (*str) { in __XL_NPP()
589 case '+': ++str; in __XL_NPP()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/generic/
A Dstrlen.c27 size_t strlen (const char *str) in strlen() argument
35 for (char_ptr = str; ((unsigned long int) char_ptr in strlen()
39 return char_ptr - str; in strlen()
128 return cp - str; in strlen()
130 return cp - str + 1; in strlen()
132 return cp - str + 2; in strlen()
134 return cp - str + 3; in strlen()
138 return cp - str + 4; in strlen()
140 return cp - str + 5; in strlen()
142 return cp - str + 6; in strlen()
[all …]
A Dstrnlen.c30 size_t strnlen (const char *str, size_t maxlen) in strnlen() argument
32 const char *char_ptr, *end_ptr = str + maxlen; in strnlen()
39 if (__builtin_expect (end_ptr < str, 0)) in strnlen()
44 for (char_ptr = str; ((unsigned long int) char_ptr in strnlen()
51 return char_ptr - str; in strnlen()
156 return char_ptr - str; in strnlen()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc/
A Dheap_debug.c47 __heap_dump (struct heap_free_area *heap, const char *str) in __heap_dump() argument
53 __heap_check (heap, str); in __heap_dump()
57 __malloc_debug_printf (1, "%s: heap @0x%lx:", str, (long)heap); in __heap_dump()
70 const char *str, char *fmt, ...) in __heap_check_failure() argument
74 if (str) in __heap_check_failure()
75 fprintf (stderr, "\nHEAP CHECK FAILURE %s: ", str); in __heap_check_failure()
95 __heap_check (struct heap_free_area *heap, const char *str) in __heap_check() argument
102 __heap_check_failure (heap, first_fa, str, in __heap_check()
113 __heap_check_failure (heap, fa, str, "alignment error:\n\ in __heap_check()
121 __heap_check_failure (heap, fa, str, "prev pointer corrupted:\n\ in __heap_check()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/ia64/
A Dstrlen.S39 #define str r19 macro
54 mov str = in0
64 ld1 val2 = [str], 1
71 mov origadd = str /* origadd = orig */
72 ld8 val1 = [str], 8;;
75 .l2: ld8.s val2 = [str], 8 /* don't bomb out here */
85 sub tmp = str, origadd /* tmp = crt address - orig */
93 adds str = -8, str;;
94 ld8 val2 = [str], 8 /* bomb out here */
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-4.9/libsupc++/
A Dpure.cc32 # define writestr(str) write(2, str, sizeof(str) - 1) argument
40 # define writestr(str) std::fputs(str, stderr) argument
43 # define writestr(str) /* Empty */ argument
/l4re-core-master/uclibc/lib/contrib/uclibc/test/math/
A Dgen-libm-test.pl206 my (@args, $str, $test, $cline);
282 $str = "$call == ";
288 $str .= &beautify ($args[$current_arg]);
337 $cline .= " (\"$str\", ";
389 my ($str) = "$call sets x to $special[0]";
391 $post .= &new_test ($str, undef);
398 $post .= &new_test ($str, undef);
402 my ($str) = "$call sets x to $special[0]";
404 $post .= &new_test ($str, undef);
410 $post .= &new_test ($str, undef);
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/fnmatch/
A Dfnmatch_loop.c273 str[c1++] = c; in FCT()
313 UCHAR str[1]; in FCT() local
325 str[0] = c; in FCT()
465 char str[c1]; in FCT() local
510 && memcmp (str, in FCT()
582 cold = str[0]; in FCT()
590 # undef str in FCT()
685 char str[c1]; in FCT() local
773 cend = str[0]; in FCT()
779 # undef str in FCT()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/arm/
A Dsysdep-cancel.h33 # define DOARGS_5 str r4, [sp, $-4]!; ldr r4, [sp, $8];
56 str lr, [sp, $-4]!; \
62 str r0, [sp, $-4]!; /* save syscall return value. */ \
73 # define DOCARGS_1 str r0, [sp, #-4]!;
77 # define DOCARGS_2 str r1, [sp, #-4]!; str r0, [sp, #-4]!;
81 # define DOCARGS_3 str r2, [sp, #-4]!; str r1, [sp, #-4]!; str r0, [sp, #-4]!;
90 # define UNDOCARGS_5 ldmfd sp, {r0-r3}; str r4, [sp, #-4]!; ldr r4, [sp, #24]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale/
A Dbug-iconv-trans.c10 const char str[] = "�������"; in main() local
12 char *inptr = (char *) str; in main()
13 size_t inlen = strlen (str) + 1; in main()
47 else if (inptr - str != strlen (str) + 1) in main()
49 printf ("inptr wrong, advanced by %td\n", inptr - str); in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/
A Ddl-string.h27 static __always_inline size_t _dl_strlen(const char *str) in _dl_strlen() argument
29 register const char *ptr = (char *) str-1; in _dl_strlen()
32 return (ptr - str); in _dl_strlen()
73 static __always_inline char * _dl_strchr(const char *str, int c) in _dl_strchr() argument
76 str--; in _dl_strchr()
78 if ((ch = *++str) == c) in _dl_strchr()
79 return (char *) str; in _dl_strchr()
86 static __always_inline char * _dl_strrchr(const char *str, int c) in _dl_strrchr() argument
89 register char *ptr = (char *) str-1; in _dl_strrchr()
175 register char *a = str; in _dl_memset()
[all …]

Completed in 45 milliseconds

12345678910