Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 41) sorted by relevance

12

/picolibc-3.5.0-3.4.0/test/
Dtest-strchr.c65 many_check(strchr, 'h', 0); in main()
67 many_check(strchr, 'l', 2); in main()
69 many_check(strchr, '\0', 11); in main()
Dprintf-tests.c67 star = strchr(fmt, '*'); in test()
69 if (strchr(star+1, '*')) { in test()
/picolibc-3.5.0-3.4.0/newlib/libc/string/
Dstrrchr.c57 while ((s=strchr(s, c))) in strrchr()
65 last = strchr(s, c); in strrchr()
Dindex.c53 return strchr (s, c); in index()
Dstrchrnul.c38 char *s = strchr(s1, i); in strchrnul()
Dstrchr.c72 strchr (const char *s1, in strchr() function
/picolibc-3.5.0-3.4.0/newlib/libc/argz/
Denvz_merge.c33 name_iter = strchr(name_str, '='); in envz_merge()
46 name_iter = strchr(name_str, '='); in envz_merge()
Denvz_strip.c24 if(!strchr(entry, '=')) in envz_strip()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/aarch64/
DCMakeLists.txt51 strchr-stub.c
52 strchr.S
65 strchr-stub.c
66 strchr.S
Dmeson.build53 'strchr-stub.c',
54 'strchr.S',
67 'strchr-stub.c',
68 'strchr.S'
Dstrchr.S85 def_fn strchr
163 .size strchr, . - strchr
/picolibc-3.5.0-3.4.0/newlib/testsuite/newlib.string/
Dtstring.c144 strchr (target, 'X') != target || in main()
146 strchr (target, 'Y') != NULL || in main()
171 strchr (target, 'Y') != target) in main()
180 strchr (target, 'W') != target) in main()
222 strchr (target, 'K') != target + 2) in main()
306 strchr (tmp1, second_char); in main()
314 strchr (tmp1, first_char) != tmp1 || in main()
316 strchr (tmp1, second_char) != tmp1 + z || in main()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/arc/
DCMakeLists.txt53 strchr-bs-norm.S
54 strchr-bs.S
55 strchr.S
56 strchr-stub.c
Dmeson.build50 'strchr-bs-norm.S',
51 'strchr-bs.S',
52 'strchr.S',
53 'strchr-stub.c',
Dstrchr-bs-norm.S45 ENTRY (strchr)
162 ENDFUNC (strchr)
Dstrchr-bs.S55 ENTRY (strchr)
198 ENDFUNC (strchr)
Dstrchr.S53 ENTRY (strchr)
205 ENDFUNC (strchr)
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dsetenv.c50 if (strchr(name, '=')) in setenv()
130 if (name == NULL || name[0] == '\0' || strchr(name, '=')) in unsetenv()
Dputenv.c34 if (!(equal = strchr (p, '='))) in putenv()
/picolibc-3.5.0-3.4.0/newlib/libm/test/
Dstring.c235 check(strchr("abcd", 'z') == NULL); /* Not found. */ in test_string()
237 check(strchr(one, 'c') == one+2); /* Basic test. */ in test_string()
238 check(strchr(one, 'd') == one+3); /* End of string. */ in test_string()
239 check(strchr(one, 'a') == one); /* Beginning. */ in test_string()
240 check(strchr(one, '\0') == one+4); /* Finding NUL. */ in test_string()
242 check(strchr(one, 'b') == one+1); /* Finding first. */ in test_string()
244 check(strchr(one, 'b') == NULL); /* Empty string. */ in test_string()
245 check(strchr(one, '\0') == one); /* NUL in empty string. */ in test_string()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/spu/
Dstrspn_ea.c54 if (!strchr (accept, local_s[0])) in strspn_ea()
Dstrchr.c40 char *strchr(const char *s, int c) in strchr() function
/picolibc-3.5.0-3.4.0/newlib/libc/machine/x86/
Dstrchr-32.S13 .global SYM (strchr)
14 SOTYPE_FUNCTION(strchr)
16 SYM (strchr):
Dmeson.build46 'strchr.c',
54 'strchr.S',
/picolibc-3.5.0-3.4.0/newlib/libc/posix/
Dfnmatch.c95 strchr(string, '/') == NULL ? in fnmatch()
100 if ((string = strchr(string, '/')) == NULL) in fnmatch()

12