Lines Matching refs:token
9 char *token; in do_test() local
17 token = strtok (cp, "ab"); in do_test()
18 result |= token == NULL || strcmp (token, "x"); in do_test()
19 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test()
20 token = strtok(0, "ab"); in do_test()
21 result |= token != NULL; in do_test()
22 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test()
23 token = strtok(0, "a"); in do_test()
24 result |= token != NULL; in do_test()
25 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test()
31 token = strtok_r (cp, "ab", &l); in do_test()
32 result |= token == NULL || strcmp (token, "x"); in do_test()
33 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()
34 token = strtok_r(0, "ab", &l); in do_test()
35 result |= token != NULL || l != cp + len; in do_test()
36 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()
37 token = strtok_r(0, "a", &l); in do_test()
38 result |= token != NULL || l != cp + len; in do_test()
39 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()