Home
last modified time | relevance | path

Searched refs:sNot (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/strings/basic.string/string.ends_with/
Dends_with.ptr.pass.cpp32 S sNot { "def", 3 }; in main() local
55 assert ( sNot.ends_with("")); in main()
56 assert (!sNot.ends_with("e")); in main()
57 assert (!sNot.ends_with("de")); in main()
58 assert (!sNot.ends_with("cde")); in main()
59 assert (!sNot.ends_with("bcde")); in main()
60 assert (!sNot.ends_with("abcde")); in main()
61 assert ( sNot.ends_with("def")); in main()
Dends_with.string_view.pass.cpp33 S sNot { "def", 3 }; in main() local
64 assert ( sNot.ends_with(sv0)); in main()
65 assert (!sNot.ends_with(sv1)); in main()
66 assert (!sNot.ends_with(sv2)); in main()
67 assert (!sNot.ends_with(sv3)); in main()
68 assert (!sNot.ends_with(sv4)); in main()
69 assert (!sNot.ends_with(sv5)); in main()
70 assert ( sNot.ends_with(svNot)); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.starts_with/
Dstarts_with.ptr.pass.cpp30 S sNot {"def", 3 }; in main() local
53 assert ( sNot.starts_with("")); in main()
54 assert (!sNot.starts_with("a")); in main()
55 assert (!sNot.starts_with("ab")); in main()
56 assert (!sNot.starts_with("abc")); in main()
57 assert (!sNot.starts_with("abcd")); in main()
58 assert (!sNot.starts_with("abcde")); in main()
59 assert ( sNot.starts_with("def")); in main()
Dstarts_with.string_view.pass.cpp32 S sNot { "def", 3 }; in main() local
63 assert ( sNot.starts_with(sv0)); in main()
64 assert (!sNot.starts_with(sv1)); in main()
65 assert (!sNot.starts_with(sv2)); in main()
66 assert (!sNot.starts_with(sv3)); in main()
67 assert (!sNot.starts_with(sv4)); in main()
68 assert (!sNot.starts_with(sv5)); in main()
69 assert ( sNot.starts_with(svNot)); in main()
/external/libcxx/test/std/strings/basic.string/string.starts_with/
Dstarts_with.ptr.pass.cpp31 S sNot {"def", 3 }; in main() local
54 assert ( sNot.starts_with("")); in main()
55 assert (!sNot.starts_with("a")); in main()
56 assert (!sNot.starts_with("ab")); in main()
57 assert (!sNot.starts_with("abc")); in main()
58 assert (!sNot.starts_with("abcd")); in main()
59 assert (!sNot.starts_with("abcde")); in main()
60 assert ( sNot.starts_with("def")); in main()
Dstarts_with.string_view.pass.cpp33 S sNot { "def", 3 }; in main() local
64 assert ( sNot.starts_with(sv0)); in main()
65 assert (!sNot.starts_with(sv1)); in main()
66 assert (!sNot.starts_with(sv2)); in main()
67 assert (!sNot.starts_with(sv3)); in main()
68 assert (!sNot.starts_with(sv4)); in main()
69 assert (!sNot.starts_with(sv5)); in main()
70 assert ( sNot.starts_with(svNot)); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ends_with/
Dends_with.ptr.pass.cpp31 S sNot { "def", 3 }; in main() local
54 assert ( sNot.ends_with("")); in main()
55 assert (!sNot.ends_with("e")); in main()
56 assert (!sNot.ends_with("de")); in main()
57 assert (!sNot.ends_with("cde")); in main()
58 assert (!sNot.ends_with("bcde")); in main()
59 assert (!sNot.ends_with("abcde")); in main()
60 assert ( sNot.ends_with("def")); in main()
Dends_with.string_view.pass.cpp32 S sNot { "def", 3 }; in main() local
63 assert ( sNot.ends_with(sv0)); in main()
64 assert (!sNot.ends_with(sv1)); in main()
65 assert (!sNot.ends_with(sv2)); in main()
66 assert (!sNot.ends_with(sv3)); in main()
67 assert (!sNot.ends_with(sv4)); in main()
68 assert (!sNot.ends_with(sv5)); in main()
69 assert ( sNot.ends_with(svNot)); in main()