Lines Matching refs:strtok
14 ASSERT_STREQ(__llvm_libc::strtok(empty, ""), nullptr); in TEST()
15 ASSERT_STREQ(__llvm_libc::strtok(empty, "_"), nullptr); in TEST()
18 ASSERT_STREQ(__llvm_libc::strtok(single, ""), "_"); in TEST()
21 ASSERT_STREQ(__llvm_libc::strtok(multiple, ":"), "1,2"); in TEST()
26 ASSERT_STREQ(__llvm_libc::strtok(src, "."), "123"); in TEST()
31 ASSERT_STREQ(__llvm_libc::strtok(src, ","), "12"); in TEST()
36 ASSERT_STREQ(__llvm_libc::strtok(src, ":"), "1234"); in TEST()
41 ASSERT_STREQ(__llvm_libc::strtok(src, "."), "12,"); in TEST()
42 ASSERT_STREQ(__llvm_libc::strtok(src, ".,"), "12"); in TEST()
43 ASSERT_STREQ(__llvm_libc::strtok(src, ",."), "12"); in TEST()
44 ASSERT_STREQ(__llvm_libc::strtok(src, ":,."), "12"); in TEST()
49 ASSERT_STREQ(__llvm_libc::strtok(src, ","), "12"); in TEST()
54 char *token = __llvm_libc::strtok(src, ",."); in TEST()
56 token = __llvm_libc::strtok(nullptr, ",."); in TEST()
58 token = __llvm_libc::strtok(nullptr, ",."); in TEST()
60 token = __llvm_libc::strtok(nullptr, "_:,_"); in TEST()
64 token = __llvm_libc::strtok(nullptr, "_:,_"); in TEST()
70 char *token = __llvm_libc::strtok(src, "_:"); in TEST()
72 token = __llvm_libc::strtok(nullptr, ":_"); in TEST()
74 token = __llvm_libc::strtok(nullptr, "_:,"); in TEST()
76 token = __llvm_libc::strtok(nullptr, "_:,_"); in TEST()