Home
last modified time | relevance | path

Searched refs:svNot (Results 1 – 12 of 12) sorted by relevance

/external/libcxx/test/std/strings/string.view/string.view.template/
Dends_with.string_view.pass.cpp32 SV svNot {"def", 3 }; in main() local
45 assert (!sv1.ends_with(svNot)); in main()
53 assert (!sv2.ends_with(svNot)); in main()
55 assert ( svNot.ends_with(sv0)); in main()
56 assert (!svNot.ends_with(sv1)); in main()
57 assert (!svNot.ends_with(sv2)); in main()
58 assert (!svNot.ends_with(sv3)); in main()
59 assert (!svNot.ends_with(sv4)); in main()
60 assert (!svNot.ends_with(sv5)); in main()
61 assert ( svNot.ends_with(svNot)); in main()
[all …]
Dstarts_with.string_view.pass.cpp32 SV svNot {"def", 3 }; in main() local
45 assert (!sv1.starts_with(svNot)); in main()
53 assert (!sv2.starts_with(svNot)); in main()
55 assert ( svNot.starts_with(sv0)); in main()
56 assert (!svNot.starts_with(sv1)); in main()
57 assert (!svNot.starts_with(sv2)); in main()
58 assert (!svNot.starts_with(sv3)); in main()
59 assert (!svNot.starts_with(sv4)); in main()
60 assert (!svNot.starts_with(sv5)); in main()
61 assert ( svNot.starts_with(svNot)); in main()
[all …]
Dstarts_with.ptr.pass.cpp32 SV svNot {"def", 3 }; in main() local
55 assert ( svNot.starts_with("")); in main()
56 assert (!svNot.starts_with("a")); in main()
57 assert (!svNot.starts_with("ab")); in main()
58 assert (!svNot.starts_with("abc")); in main()
59 assert (!svNot.starts_with("abcd")); in main()
60 assert (!svNot.starts_with("abcde")); in main()
61 assert ( svNot.starts_with("def")); in main()
74 constexpr SV svNot {"def", 3 }; in main() local
95 static_assert ( svNot.starts_with(""), "" ); in main()
[all …]
Dends_with.ptr.pass.cpp32 SV svNot {"def", 3 }; in main() local
55 assert ( svNot.ends_with("")); in main()
56 assert (!svNot.ends_with("e")); in main()
57 assert (!svNot.ends_with("de")); in main()
58 assert (!svNot.ends_with("cde")); in main()
59 assert (!svNot.ends_with("bcde")); in main()
60 assert (!svNot.ends_with("abcde")); in main()
61 assert ( svNot.ends_with("def")); in main()
74 constexpr SV svNot {"def", 3 }; in main() local
95 static_assert ( svNot.ends_with(""), "" ); in main()
[all …]
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.template/
Dends_with.string_view.pass.cpp31 SV svNot {"def", 3 }; in main() local
44 assert (!sv1.ends_with(svNot)); in main()
52 assert (!sv2.ends_with(svNot)); in main()
54 assert ( svNot.ends_with(sv0)); in main()
55 assert (!svNot.ends_with(sv1)); in main()
56 assert (!svNot.ends_with(sv2)); in main()
57 assert (!svNot.ends_with(sv3)); in main()
58 assert (!svNot.ends_with(sv4)); in main()
59 assert (!svNot.ends_with(sv5)); in main()
60 assert ( svNot.ends_with(svNot)); in main()
[all …]
Dstarts_with.string_view.pass.cpp31 SV svNot {"def", 3 }; in main() local
44 assert (!sv1.starts_with(svNot)); in main()
52 assert (!sv2.starts_with(svNot)); in main()
54 assert ( svNot.starts_with(sv0)); in main()
55 assert (!svNot.starts_with(sv1)); in main()
56 assert (!svNot.starts_with(sv2)); in main()
57 assert (!svNot.starts_with(sv3)); in main()
58 assert (!svNot.starts_with(sv4)); in main()
59 assert (!svNot.starts_with(sv5)); in main()
60 assert ( svNot.starts_with(svNot)); in main()
[all …]
Dstarts_with.ptr.pass.cpp31 SV svNot {"def", 3 }; in main() local
54 assert ( svNot.starts_with("")); in main()
55 assert (!svNot.starts_with("a")); in main()
56 assert (!svNot.starts_with("ab")); in main()
57 assert (!svNot.starts_with("abc")); in main()
58 assert (!svNot.starts_with("abcd")); in main()
59 assert (!svNot.starts_with("abcde")); in main()
60 assert ( svNot.starts_with("def")); in main()
73 constexpr SV svNot {"def", 3 }; in main() local
94 static_assert ( svNot.starts_with(""), "" ); in main()
[all …]
Dends_with.ptr.pass.cpp31 SV svNot {"def", 3 }; in main() local
54 assert ( svNot.ends_with("")); in main()
55 assert (!svNot.ends_with("e")); in main()
56 assert (!svNot.ends_with("de")); in main()
57 assert (!svNot.ends_with("cde")); in main()
58 assert (!svNot.ends_with("bcde")); in main()
59 assert (!svNot.ends_with("abcde")); in main()
60 assert ( svNot.ends_with("def")); in main()
73 constexpr SV svNot {"def", 3 }; in main() local
94 static_assert ( svNot.ends_with(""), "" ); in main()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ends_with/
Dends_with.string_view.pass.cpp41 SV svNot {"def", 3 }; in main() local
54 assert (!s1.ends_with(svNot)); in main()
62 assert (!s2.ends_with(svNot)); in main()
70 assert ( sNot.ends_with(svNot)); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ends_with/
Dends_with.string_view.pass.cpp40 SV svNot {"def", 3 }; in main() local
53 assert (!s1.ends_with(svNot)); in main()
61 assert (!s2.ends_with(svNot)); in main()
69 assert ( sNot.ends_with(svNot)); in main()
/external/libcxx/test/std/strings/basic.string/string.starts_with/
Dstarts_with.string_view.pass.cpp41 SV svNot {"def", 3 }; in main() local
54 assert (!s1.starts_with(svNot)); in main()
62 assert (!s2.starts_with(svNot)); in main()
70 assert ( sNot.starts_with(svNot)); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.starts_with/
Dstarts_with.string_view.pass.cpp40 SV svNot {"def", 3 }; in main() local
53 assert (!s1.starts_with(svNot)); in main()
61 assert (!s2.starts_with(svNot)); in main()
69 assert ( sNot.starts_with(svNot)); in main()