Lines Matching refs:strcspn
15 EXPECT_EQ(__llvm_libc::strcspn(src, "b"), size_t{1}); in TEST()
16 EXPECT_EQ(__llvm_libc::strcspn(src, "d"), size_t{2}); in TEST()
20 EXPECT_EQ(__llvm_libc::strcspn("123", segment), size_t{0}); in TEST()
26 EXPECT_EQ(__llvm_libc::strcspn(src, "1"), size_t{0}); in TEST()
27 EXPECT_EQ(__llvm_libc::strcspn(src, "2"), size_t{1}); in TEST()
28 EXPECT_EQ(__llvm_libc::strcspn(src, "3"), size_t{2}); in TEST()
29 EXPECT_EQ(__llvm_libc::strcspn(src, "4"), size_t{3}); in TEST()
30 EXPECT_EQ(__llvm_libc::strcspn(src, "5"), size_t{4}); in TEST()
35 EXPECT_EQ(__llvm_libc::strcspn("", ""), size_t{0}); in TEST()
36 EXPECT_EQ(__llvm_libc::strcspn("", "_"), size_t{0}); in TEST()
38 EXPECT_EQ(__llvm_libc::strcspn("a", "b"), size_t{1}); in TEST()
40 EXPECT_EQ(__llvm_libc::strcspn("abc", "1"), size_t{3}); in TEST()
45 EXPECT_EQ(__llvm_libc::strcspn("a", "aa"), size_t{0}); in TEST()
46 EXPECT_EQ(__llvm_libc::strcspn("aa", "a"), size_t{0}); in TEST()
47 EXPECT_EQ(__llvm_libc::strcspn("aaa", "aa"), size_t{0}); in TEST()
48 EXPECT_EQ(__llvm_libc::strcspn("aaaa", "aa"), size_t{0}); in TEST()
49 EXPECT_EQ(__llvm_libc::strcspn("aaaa", "baa"), size_t{0}); in TEST()