/external/libcxx/test/std/strings/string.view/string.view.find/ |
find_last_of_pointer_size.pass.cpp | 156 constexpr SV sv1; 159 static_assert (sv1.find_last_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_last_of( "irkhs", 5) == SV::npos, "" );
|
find_pointer_size.pass.cpp | 162 constexpr SV sv1; local 165 static_assert (sv1.find( "") == 0, "" ); 166 static_assert (sv1.find( "abcde") == SV::npos, "" );
|
rfind_pointer_size.pass.cpp | 162 constexpr SV sv1; local 165 static_assert (sv1.rfind( "") == 0, "" ); 166 static_assert (sv1.rfind( "abcde") == SV::npos, "" );
|
rfind_pointer_size_size.pass.cpp | 382 constexpr SV sv1; local 385 static_assert (sv1.rfind( "", 0, 0 ) == 0, "" ); 386 static_assert (sv1.rfind( "abcde", 0, 0 ) == 0, "" ); 387 static_assert (sv1.rfind( "abcde", 0, 1 ) == SV::npos, "" );
|
find_last_not_of_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
|
find_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find( "", 0, 0 ) == 0, "" ); 387 static_assert (sv1.find( "abcde", 0, 0 ) == 0, "" ); 388 static_assert (sv1.find( "abcde", 0, 1 ) == SV::npos, "" );
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/ |
find_first_not_of_pointer_size.pass.cpp | 155 constexpr SV sv1; 158 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" );
|
find_first_of_pointer_size.pass.cpp | 155 constexpr SV sv1; 158 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" );
|
find_last_not_of_pointer_size.pass.cpp | 155 constexpr SV sv1; 158 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" );
|
find_last_of_pointer_size.pass.cpp | 155 constexpr SV sv1; 158 static_assert (sv1.find_last_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_last_of( "irkhs", 5) == SV::npos, "" );
|
find_pointer_size.pass.cpp | 161 constexpr SV sv1; local 164 static_assert (sv1.find( "") == 0, "" ); 165 static_assert (sv1.find( "abcde") == SV::npos, "" );
|
rfind_pointer_size.pass.cpp | 161 constexpr SV sv1; local 164 static_assert (sv1.rfind( "") == 0, "" ); 165 static_assert (sv1.rfind( "abcde") == SV::npos, "" );
|
rfind_pointer_size_size.pass.cpp | 381 constexpr SV sv1; local 384 static_assert (sv1.rfind( "", 0, 0 ) == 0, "" ); 385 static_assert (sv1.rfind( "abcde", 0, 0 ) == 0, "" ); 386 static_assert (sv1.rfind( "abcde", 0, 1 ) == SV::npos, "" );
|
find_last_not_of_pointer_size_size.pass.cpp | 382 constexpr SV sv1; local 385 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 386 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
|
find_pointer_size_size.pass.cpp | 382 constexpr SV sv1; local 385 static_assert (sv1.find( "", 0, 0 ) == 0, "" ); 386 static_assert (sv1.find( "abcde", 0, 0 ) == 0, "" ); 387 static_assert (sv1.find( "abcde", 0, 1 ) == SV::npos, "" );
|
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 24 void test1 ( std::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 27 if (pos1 <= sv1.size()) 28 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 31 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 32 assert(pos1 <= sv1.size()); 35 assert(pos1 > sv1.size()); 46 string_view_t sv1 ( s1 ); 47 test1 (sv1, pos1, n1, s2, n2, expected); 1345 constexpr SV sv1; local [all...] |
/external/libcxx/test/std/experimental/string.view/string.view.find/ |
rfind_pointer_size_size.pass.cpp | 382 constexpr SV sv1; local 385 static_assert (sv1.rfind( "", 0, 0 ) == 0, "" ); 386 static_assert (sv1.rfind( "abcde", 0, 0 ) == 0, "" ); 387 static_assert (sv1.rfind( "abcde", 0, 1 ) == SV::npos, "" );
|
find_last_not_of_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
|
find_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find( "", 0, 0 ) == 0, "" ); 387 static_assert (sv1.find( "abcde", 0, 0 ) == 0, "" ); 388 static_assert (sv1.find( "abcde", 0, 1 ) == SV::npos, "" );
|
find_first_not_of_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find_first_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_first_not_of( "irkhs", 0, 5) == SV::npos, "" );
|
find_first_of_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find_first_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_first_of( "irkhs", 0, 5) == SV::npos, "" );
|
find_last_of_pointer_size_size.pass.cpp | 383 constexpr SV sv1; local 386 static_assert (sv1.find_last_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_of( "irkhs", 0, 5) == SV::npos, "" );
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 24 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 27 if (pos1 > sv1.size()) { 30 sv1.compare(pos1, n1, s2, n2); 39 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 50 string_view_t sv1 ( s1 ); 51 test1 (sv1, pos1, n1, s2, n2, expected); 1349 constexpr SV sv1; local [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 25 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, 31 assert ( sign( sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 32 assert(pos1 <= sv1.size()); 34 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 44 string_view_t sv1 ( s1 ); 45 test1 (sv1, pos1, n1, s2, n2, expected); 1343 constexpr SV sv1; local [all...] |
/external/llvm/unittests/ADT/ |
APIntTest.cpp | 239 auto sv1 = arg1.getSExtValue(); local 247 EXPECT_EQ(sv1 < sv2, arg1.slt(arg2)); 248 EXPECT_EQ(sv1 <= sv2, arg1.sle(arg2)); 249 EXPECT_EQ(sv1 > sv2, arg1.sgt(arg2)); 250 EXPECT_EQ(sv1 >= sv2, arg1.sge(arg2)); 257 EXPECT_EQ(sv1 < sv2, arg1.slt(sv2)); 258 EXPECT_EQ(sv1 <= sv2, arg1.sle(sv2)); 259 EXPECT_EQ(sv1 > sv2, arg1.sgt(sv2)); 260 EXPECT_EQ(sv1 >= sv2, arg1.sge(sv2)); [all...] |