/external/libcxx/test/std/experimental/string.view/string.view.cons/ |
from_string1.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_string2.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_literal.pass.cpp | 33 std::experimental::basic_string_view<CharT> sv1 ( s ); 34 assert ( sv1.size() == StrLen( s )); 35 assert ( sv1.data() == s ); 61 constexpr std::experimental::basic_string_view<char, constexpr_char_traits<char>> sv1 ( "ABCDE" ); 62 static_assert ( sv1.size() == 5, "");
|
/external/libcxx/test/std/strings/string.view/string.view.cons/ |
from_string1.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_string2.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_literal.pass.cpp | 33 std::basic_string_view<CharT> sv1 ( s ); 34 assert ( sv1.size() == StrLen( s )); 35 assert ( sv1.data() == s ); 61 constexpr std::basic_string_view<char, constexpr_char_traits<char>> sv1 ( "ABCDE" ); 62 static_assert ( sv1.size() == 5, "");
|
assign.pass.cpp | 26 T sv1; local 27 sv1 = sv0; 28 // We can't just say "sv0 == sv1" here because string_view::compare 30 return sv0.size() == sv1.size() && sv0.data() == sv1.data();
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.cons/ |
from_string1.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_string2.fail.cpp | 28 string_view sv1 ( s ); 29 assert ( sv1.size() == s.size()); 30 assert ( sv1.data() == s.data());
|
from_literal.pass.cpp | 32 std::experimental::basic_string_view<CharT> sv1 ( s ); 33 assert ( sv1.size() == StrLen( s )); 34 assert ( sv1.data() == s ); 60 constexpr std::experimental::basic_string_view<char, constexpr_char_traits<char>> sv1 ( "ABCDE" ); 61 static_assert ( sv1.size() == 5, "");
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.modifiers/ |
clear.pass.cpp | 22 SV sv1 ( s ); 23 assert ( sv1.size() == len ); 24 assert ( sv1.data() == s ); 26 sv1.clear (); 27 assert ( sv1.data() == nullptr ); 28 assert ( sv1.size() == 0 ); 29 assert ( sv1 == SV()); 36 SV sv1{ "ABCDEFGHIJKL", n }; 37 sv1.clear(); 38 return sv1.size() [all...] |
swap.pass.cpp | 22 SV sv1(s); 25 assert ( sv1.size() == len ); 26 assert ( sv1.data() == s ); 29 sv1.swap ( sv2 ); 30 assert ( sv1.size() == 0 ); 40 SV sv1{ "ABCDEFGHIJKL", n }; 41 SV sv2 { sv1.data(), k }; 42 sv1.swap ( sv2 ); 43 return sv1.size();
|
/external/libcxx/test/std/experimental/string.view/string.view.modifiers/ |
swap.pass.cpp | 24 SV sv1(s); 27 assert ( sv1.size() == len ); 28 assert ( sv1.data() == s ); 31 sv1.swap ( sv2 ); 32 assert ( sv1.size() == 0 ); 42 SV sv1{ "ABCDEFGHIJKL", n }; 43 SV sv2 { sv1.data(), k }; 44 sv1.swap ( sv2 ); 45 return sv1.size();
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
basic_string.pass.cpp | 27 string_view_t sv1 ( s ); 28 string_t str = (string_t) sv1; 30 assert ( sv1.size() == str.size ()); 31 assert ( std::char_traits<CharT>::compare ( sv1.data(), str.data(), sv1.size()) == 0 ); 35 string_view_t sv1; local 36 string_t str = (string_t) sv1; 38 assert ( sv1.size() == 0); 39 assert ( sv1.size() == str.size ());
|
/external/libcxx/test/std/strings/string.view/string.view.modifiers/ |
swap.pass.cpp | 24 SV sv1(s); 27 assert ( sv1.size() == len ); 28 assert ( sv1.data() == s ); 31 sv1.swap ( sv2 ); 32 assert ( sv1.size() == 0 ); 42 SV sv1{ "ABCDEFGHIJKL", n }; 43 SV sv2 { sv1.data(), k }; 44 sv1.swap ( sv2 ); 45 return sv1.size();
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
basic_string.pass.cpp | 25 string_view_t sv1 ( s ); 26 string_t str = (string_t) sv1; 28 assert ( sv1.size() == str.size ()); 29 assert ( std::char_traits<CharT>::compare ( sv1.data(), str.data(), sv1.size()) == 0 ); 33 string_view_t sv1; local 34 string_t str = (string_t) sv1; 36 assert ( sv1.size() == 0); 37 assert ( sv1.size() == str.size ());
|
/external/libcxx/test/std/experimental/string.view/string.view.comparison/ |
opeq.string_view.pointer.pass.cpp | 56 constexpr SV sv1; local 58 static_assert ( sv1 == "", "" ); 59 static_assert ( "" == sv1, "" ); 60 static_assert (!(sv1 == "abcde"), "" ); 61 static_assert (!("abcde" == sv1), "" );
|
opge.string_view.pointer.pass.cpp | 56 constexpr SV sv1; local 59 static_assert ( sv1 >= "", "" ); 60 static_assert ( "" >= sv1, "" ); 61 static_assert (!(sv1 >= "abcde"), "" ); 62 static_assert ( "abcde" >= sv1, "" );
|
opge.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert ( sv1 >= sv1, "" ); 61 static_assert (!(sv1 >= sv2), "" ); 62 static_assert ( sv2 >= sv1, "" );
|
opgt.string_view.pointer.pass.cpp | 56 constexpr SV sv1; local 59 static_assert (!(sv1 > ""), "" ); 60 static_assert (!("" > sv1), "" ); 61 static_assert (!(sv1 > "abcde"), "" ); 62 static_assert ( "abcde" > sv1, "" );
|
opgt.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert (!(sv1 > sv1), "" ); 61 static_assert (!(sv1 > sv2), "" ); 62 static_assert ( sv2 > sv1, "" );
|
ople.string_view.pointer.pass.cpp | 56 constexpr SV sv1; local 59 static_assert ( sv1 <= "", "" ); 60 static_assert ( "" <= sv1, "" ); 61 static_assert ( sv1 <= "abcde", "" ); 62 static_assert (!("abcde" <= sv1), "" );
|
ople.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert ( sv1 <= sv1, "" ); 61 static_assert ( sv1 <= sv2, "" ); 62 static_assert (!(sv2 <= sv1), "" );
|
oplt.string_view.pointer.pass.cpp | 56 constexpr SV sv1; local 59 static_assert (!(sv1 < ""), "" ); 60 static_assert (!("" < sv1), "" ); 61 static_assert ( sv1 < "abcde", "" ); 62 static_assert (!("abcde" < sv1), "" );
|
oplt.string_view.string_view.pass.cpp | 55 constexpr SV sv1; local 58 static_assert (!(sv1 < sv1), "" ); 61 static_assert ( sv1 < sv2, "" ); 62 static_assert (!(sv2 < sv1), "" );
|