Searched refs:strtok (Results 1 – 10 of 10) sorted by relevance
/picolibc-3.7.0-3.6.0/newlib/libm/test/ |
D | string.c | 348 equal(strtok(one, ", "), "first"); /* Basic test. */ in test_string() 350 equal(strtok((char *)NULL, ", "), "second"); in test_string() 351 equal(strtok((char *)NULL, ", "), "third"); in test_string() 352 check(strtok((char *)NULL, ", ") == NULL); in test_string() 354 equal(strtok(one, ", "), "first"); /* Extra delims, 1 tok. */ in test_string() 355 check(strtok((char *)NULL, ", ") == NULL); in test_string() 357 equal(strtok(one, ", "), "1a"); /* Changing delim lists. */ in test_string() 358 equal(strtok((char *)NULL, "; "), "1b"); in test_string() 359 equal(strtok((char *)NULL, ", "), "2a"); in test_string() 361 equal(strtok(two, "-"), "x"); /* New string before done. */ in test_string() [all …]
|
/picolibc-3.7.0-3.6.0/test/libc-testsuite/ |
D | string.c | 105 TEST(s, strtok(b, " "), b, "%p != %p"); in test_string() 108 TEST(s, strtok(NULL, ";"), b+4, "%p != %p"); in test_string() 111 TEST(s, strtok(NULL, " ;"), b+11, "%p != %p"); in test_string() 114 TEST(s, strtok(NULL, " ;"), b+16, "%p != %p"); in test_string()
|
/picolibc-3.7.0-3.6.0/newlib/libc/string/ |
D | strtok.c | 99 strtok (register char *__restrict s, in strtok() function
|
D | strings.tex | 66 * strtok:: Get next token from a string 200 @include string/strtok.def
|
D | CMakeLists.txt | 92 strtok.c
|
D | meson.build | 91 'strtok.c',
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ |
D | string.h | 82 char *strtok (char *__restrict, const char *__restrict);
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | NEWS | 383 * strtok, strtol, strtoul, assert, div, ldiv, qsort, vfprintf
|
D | ChangeLog-2015 | 428 * libc/string/strtok.c: Ditto. 2657 libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c, 3002 * libc/string/strtok.c (strtok): Likewise. 12388 * libc/string/strtok.c: Fix formatting, spelling and punctuation in 18033 * libc/string/strtok.c: Change to call __strtok_r service routine. 18666 (_REENT_STRTOK_LAST): New macro for reentrant strtok. 18674 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC 18878 (_REENT_STRTOK_LAST): New macro for reentrant strtok. 18886 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC 19150 * libc/string/strtok.c (strtok): Use a local static variable. [all …]
|
/picolibc-3.7.0-3.6.0/ |
D | COPYING.picolibc | 3879 newlib/libc/string/strtok.c
|