/external/libcxx/test/std/strings/string.view/string.view.comparison/ |
opeq.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert ( sv1 == sv2, "" ); 59 static_assert (!(sv1 == sv3), "" );
|
opne.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert (!( sv1 != sv2), "" ); 59 static_assert ( sv1 != sv3, "" );
|
/external/libcxx/test/std/strings/string.view/string.view.cons/ |
from_string.pass.cpp | 27 std::basic_string_view<CharT, Traits> sv1 ( str ); 28 assert ( sv1.size() == str.size()); 29 assert ( sv1.data() == str.data());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.comparison/ |
opeq.string_view.string_view.pass.cpp | 54 constexpr SV sv1; local 57 static_assert ( sv1 == sv2, "" ); 58 static_assert (!(sv1 == sv3), "" );
|
opne.string_view.string_view.pass.cpp | 54 constexpr SV sv1; local 57 static_assert (!( sv1 != sv2), "" ); 58 static_assert ( sv1 != sv3, "" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.cons/ |
from_string.pass.cpp | 25 std::experimental::basic_string_view<CharT, Traits> sv1 ( str ); 26 assert ( sv1.size() == str.size()); 27 assert ( sv1.data() == str.data());
|
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
compare.size_size_sv.pass.cpp | 23 void test1 ( std::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 26 if (pos1 <= sv1.size()) 27 assert(sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 30 assert(sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 31 assert(pos1 <= sv1.size()); 34 assert(pos1 > sv1.size()); 43 string_view_t sv1 ( s1 ); 45 test1(sv1, pos1, n1, sv2, expected); 395 constexpr SV sv1 { "abcde", 5 }; 397 static_assert ( sv1.compare(5, 1, sv2) == 0, "" ) [all...] |
compare.sv.pass.cpp | 23 void test1 ( std::basic_string_view<CharT> sv1, 25 assert ( sign( sv1.compare(sv2)) == sign(expected)); 33 string_view_t sv1 ( s1 ); 35 test1(sv1, sv2, expected); 113 constexpr SV sv1 { "abcde", 5 }; 116 static_assert ( sv1.compare(sv2) == 0, "" ); 117 static_assert ( sv2.compare(sv1) == 0, "" );
|
compare.pointer_size.pass.cpp | 23 void test1 ( std::basic_string_view<CharT> sv1, 26 if (pos1 <= sv1.size()) 27 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 30 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 31 assert(pos1 <= sv1.size()); 34 assert(pos1 > sv1.size()); 44 string_view_t sv1 ( s1 ); 45 test1 ( sv1, pos1, n1, s2, expected ); 444 constexpr SV sv1; local 446 static_assert ( sv1.compare(0, 0, "") == 0, "" ) [all...] |
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
compare.pointer.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, const CharT *s, int expected ) { 24 assert ( sign( sv1.compare(s)) == sign(expected)); 32 string_view_t sv1 ( s1 ); 33 test1 ( sv1, s2, expected ); 119 constexpr SV sv1; local 121 static_assert ( sv1.compare("") == 0, "" ); 122 static_assert ( sv1.compare("abcde") == -1, "" );
|
compare.sv.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, 25 assert ( sign( sv1.compare(sv2)) == sign(expected)); 33 string_view_t sv1 ( s1 ); 35 test1(sv1, sv2, expected); 113 constexpr SV sv1 { "abcde", 5 }; 116 static_assert ( sv1.compare(sv2) == 0, "" ); 117 static_assert ( sv2.compare(sv1) == 0, "" );
|
compare.size_size_sv.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 26 if (pos1 > sv1.size()) { 29 sv1.compare(pos1, n1, sv2); 37 assert ( sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 45 string_view_t sv1 ( s1 ); 47 test1(sv1, pos1, n1, sv2, expected); 397 constexpr SV sv1 { "abcde", 5 }; 399 static_assert ( sv1.compare(5, 1, sv2) == 0, "" ); 400 static_assert ( sv1.compare(2, 4, sv2) == 1, "" );
|
compare.pointer_size.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, 25 if (pos1 > sv1.size()) { 28 sv1.compare(pos1, n1, s); 36 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 45 string_view_t sv1 ( s1 ); 46 test1 ( sv1, pos1, n1, s2, expected ); 445 constexpr SV sv1; local 447 static_assert ( sv1.compare(0, 0, "") == 0, "" ); 448 static_assert ( sv1.compare(0, 0, "abcde") == -1, "" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
compare.pointer.pass.cpp | 22 void test1 ( std::experimental::basic_string_view<CharT> sv1, const CharT *s, int expected ) { 23 assert ( sign( sv1.compare(s)) == sign(expected)); 31 string_view_t sv1 ( s1 ); 32 test1 ( sv1, s2, expected ); 118 constexpr SV sv1; local 120 static_assert ( sv1.compare("") == 0, "" ); 121 static_assert ( sv1.compare("abcde") == -1, "" );
|
compare.sv.pass.cpp | 22 void test1 ( std::experimental::basic_string_view<CharT> sv1, 24 assert ( sign( sv1.compare(sv2)) == sign(expected)); 32 string_view_t sv1 ( s1 ); 34 test1(sv1, sv2, expected); 112 constexpr SV sv1 { "abcde", 5 }; 115 static_assert ( sv1.compare(sv2) == 0, "" ); 116 static_assert ( sv2.compare(sv1) == 0, "" );
|
compare.size_size_sv.pass.cpp | 24 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 29 assert ( sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 30 assert(pos1 <= sv1.size()); 32 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 40 string_view_t sv1 ( s1 ); 42 test1(sv1, pos1, n1, sv2, expected); 392 constexpr SV sv1 { "abcde", 5 }; 394 static_assert ( sv1.compare(5, 1, sv2) == 0, "" ); 395 static_assert ( sv1.compare(2, 4, sv2) == 1, "" );
|
compare.pointer_size.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, 26 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 27 assert(pos1 <= sv1.size()); 29 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 37 string_view_t sv1 ( s1 ); 38 test1 ( sv1, pos1, n1, s2, expected ); 437 constexpr SV sv1; local 439 static_assert ( sv1.compare(0, 0, "") == 0, "" ); 440 static_assert ( sv1.compare(0, 0, "abcde") == -1, "" );
|
/external/libcxx/test/std/experimental/string.view/string.view.find/ |
find_last_not_of_char_size.pass.cpp | 73 constexpr SV sv1; 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
|
rfind_char_size.pass.cpp | 72 constexpr SV sv1; local 75 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 76 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" );
|
find_char_size.pass.cpp | 73 constexpr SV sv1; local 76 static_assert (sv1.find( 'c', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find( 'c', 1 ) == SV::npos, "" );
|
/external/libcxx/test/std/strings/string.view/string.view.find/ |
find_first_not_of_char_size.pass.cpp | 75 constexpr SV sv1; 78 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); 79 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" );
|
find_last_not_of_char_size.pass.cpp | 73 constexpr SV sv1; 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
|
rfind_char_size.pass.cpp | 72 constexpr SV sv1; local 75 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 76 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/ |
find_last_not_of_char_size.pass.cpp | 72 constexpr SV sv1; 75 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 76 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
|
rfind_char_size.pass.cpp | 71 constexpr SV sv1; local 74 static_assert (sv1.rfind( 'b', 0 ) == SV::npos, "" ); 75 static_assert (sv1.rfind( 'b', 1 ) == SV::npos, "" );
|