Home
last modified time | relevance | path

Searched refs:strtok (Results 1 – 10 of 10) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/test/
Dstring.c348 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/
Dstring.c105 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/
Dstrtok.c99 strtok (register char *__restrict s, in strtok() function
Dstrings.tex66 * strtok:: Get next token from a string
200 @include string/strtok.def
DCMakeLists.txt92 strtok.c
Dmeson.build91 'strtok.c',
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dstring.h82 char *strtok (char *__restrict, const char *__restrict);
/picolibc-3.7.0-3.6.0/newlib/
DNEWS383 * strtok, strtol, strtoul, assert, div, ldiv, qsort, vfprintf
DChangeLog-2015428 * 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/
DCOPYING.picolibc3879 newlib/libc/string/strtok.c