Lines Matching refs:strspn
15 EXPECT_EQ(__llvm_libc::strspn("", ""), size_t{0}); in TEST()
16 EXPECT_EQ(__llvm_libc::strspn("_", ""), size_t{0}); in TEST()
17 EXPECT_EQ(__llvm_libc::strspn("", "_"), size_t{0}); in TEST()
22 EXPECT_EQ(__llvm_libc::strspn(src, "ab"), size_t{2}); in TEST()
23 EXPECT_EQ(__llvm_libc::strspn(src, "c"), size_t{0}); in TEST()
27 EXPECT_EQ(__llvm_libc::strspn("123", segment), size_t{2}); in TEST()
32 EXPECT_EQ(__llvm_libc::strspn(src, "1"), size_t{1}); in TEST()
35 EXPECT_EQ(__llvm_libc::strspn(src, "2"), size_t{0}); in TEST()
36 EXPECT_EQ(__llvm_libc::strspn(src, "3"), size_t{0}); in TEST()
37 EXPECT_EQ(__llvm_libc::strspn(src, "4"), size_t{0}); in TEST()
38 EXPECT_EQ(__llvm_libc::strspn(src, "5"), size_t{0}); in TEST()
42 EXPECT_EQ(__llvm_libc::strspn("a", "b"), size_t{0}); in TEST()
43 EXPECT_EQ(__llvm_libc::strspn("abcdef", "1"), size_t{0}); in TEST()
44 EXPECT_EQ(__llvm_libc::strspn("123", "4"), size_t{0}); in TEST()
49 EXPECT_EQ(__llvm_libc::strspn(src, "a"), size_t{1}); in TEST()
50 EXPECT_EQ(__llvm_libc::strspn(src, "ab"), size_t{2}); in TEST()
51 EXPECT_EQ(__llvm_libc::strspn(src, "abc"), size_t{3}); in TEST()
52 EXPECT_EQ(__llvm_libc::strspn(src, "abcd"), size_t{4}); in TEST()
53 EXPECT_EQ(__llvm_libc::strspn(src, "abcde"), size_t{5}); in TEST()
55 EXPECT_EQ(__llvm_libc::strspn("abcde", src), size_t{5}); in TEST()
56 EXPECT_EQ(__llvm_libc::strspn("abcd", src), size_t{4}); in TEST()
57 EXPECT_EQ(__llvm_libc::strspn("abc", src), size_t{3}); in TEST()
58 EXPECT_EQ(__llvm_libc::strspn("ab", src), size_t{2}); in TEST()
59 EXPECT_EQ(__llvm_libc::strspn("a", src), size_t{1}); in TEST()
64 EXPECT_EQ(__llvm_libc::strspn(src, "_1_abc_2_def_3_"), size_t{3}); in TEST()
66 EXPECT_EQ(__llvm_libc::strspn(src, "67__34abc12"), size_t{4}); in TEST()
71 EXPECT_EQ(__llvm_libc::strspn("12345", "54321"), size_t{5}); in TEST()
73 EXPECT_EQ(__llvm_libc::strspn("12345", "432"), size_t{0}); in TEST()
75 EXPECT_EQ(__llvm_libc::strspn("12345", "51"), size_t{1}); in TEST()
80 EXPECT_EQ(__llvm_libc::strspn("a", "aa"), size_t{1}); in TEST()
82 EXPECT_EQ(__llvm_libc::strspn("aa", "aa"), size_t{2}); in TEST()
83 EXPECT_EQ(__llvm_libc::strspn("aaa", "aa"), size_t{3}); in TEST()
84 EXPECT_EQ(__llvm_libc::strspn("aaaa", "aa"), size_t{4}); in TEST()