/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
H A D | compare.pointer_size.pass.cpp | 13 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const; 24 size_t pos1, size_t n1, const CharT *s, int expected ) { 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()); } 34 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) argument 38 test1 ( sv1, pos1, n1, s2, expected ); 23 test1( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, const CharT *s, int expected ) argument
|
H A D | compare.size_size_sv.pass.cpp | 14 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const; 24 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, argument 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()); } 37 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { argument 42 test1(sv1, pos1, n1, sv2, expected);
|
H A D | compare.size_size_sv_pointer_size.pass.cpp | 14 // constexpr int compare(size_type pos1, size_type n1, 25 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, argument 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()); } 39 void test ( const CharT *s1, size_t pos1, size_t n1, argument 45 test1 (sv1, pos1, n1, s2, n2, expected);
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.modifiers/string_replace/ |
H A D | iter_iter_pointer.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, S expected) argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | iter_iter_string.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 27 typename S::const_iterator first = s.begin() + pos1; 28 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | size_size_string.pass.cpp | 14 // replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str); 26 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 32 s.replace(pos1, n1, str); 34 assert(pos1 <= old_size); 36 typename S::size_type xlen = std::min(n1, old_size - pos1); 42 assert(pos1 > old_size);
|
H A D | iter_iter_size_char.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, typename S::size_type n2, argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | iter_iter_iter_iter.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, It f, It l, S expected) argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1; 41 test_exceptions(S s, typename S::size_type pos1, typename S::size_type n1, It f, It l) argument 43 typename S::const_iterator first = s.begin() + pos1; 44 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | iter_iter_pointer_size.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer.pass.cpp | 32 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 37 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 38 assert(pos1 <= s.size()); 42 assert(pos1 > s.size());
|
H A D | size_size_string.pass.cpp | 13 // int compare(size_type pos1, size_type n1, const basic_string& str) const; 32 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 37 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 38 assert(pos1 <= s.size()); 42 assert(pos1 > s.size());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/ |
H A D | iter_iter_pointer.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, S expected) argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | iter_iter_string.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | size_size_string.pass.cpp | 13 // replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str); 24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 30 s.replace(pos1, n1, str); 32 assert(pos1 <= old_size); 34 typename S::size_type xlen = std::min(n1, old_size - pos1); 40 assert(pos1 > old_size);
|
H A D | iter_iter_size_char.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, typename S::size_type n2, argument 29 typename S::const_iterator first = s.begin() + pos1; 30 typename S::const_iterator last = s.begin() + pos1 + n1;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 37 assert(pos1 <= s.size()); 41 assert(pos1 > s.size());
|
H A D | size_size_string.pass.cpp | 12 // int compare(size_type pos1, size_type n1, const basic_string& str) const; 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 37 assert(pos1 <= s.size()); 41 assert(pos1 > s.size());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
H A D | compare.pointer_size.pass.cpp | 13 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const; 24 size_t pos1, size_t n1, const CharT *s, int expected ) { 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()); } 34 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) argument 38 test1 ( sv1, pos1, n1, s2, expected ); 23 test1( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, const CharT *s, int expected ) argument
|
H A D | compare.size_size_sv.pass.cpp | 14 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const; 24 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, argument 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()); } 37 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { argument 42 test1(sv1, pos1, n1, sv2, expected);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.modifiers/string_replace/ |
H A D | iter_iter_pointer.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, S expected) argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | iter_iter_string.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 27 typename S::const_iterator first = s.begin() + pos1; 28 typename S::const_iterator last = s.begin() + pos1 + n1;
|
H A D | size_size_string.pass.cpp | 14 // replace(size_type pos1, size_type n1, const basic_string<charT,traits,Allocator>& str); 26 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) argument 32 s.replace(pos1, n1, str); 34 assert(pos1 <= old_size); 36 typename S::size_type xlen = std::min(n1, old_size - pos1); 42 assert(pos1 > old_size);
|
H A D | iter_iter_size_char.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, typename S::size_type n2, argument 28 typename S::const_iterator first = s.begin() + pos1; 29 typename S::const_iterator last = s.begin() + pos1 + n1;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer.pass.cpp | 32 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 37 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 38 assert(pos1 <= s.size()); 42 assert(pos1 > s.size());
|
H A D | size_size_string.pass.cpp | 13 // int compare(size_type pos1, size_type n1, const basic_string& str) const; 32 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 37 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 38 assert(pos1 <= s.size()); 42 assert(pos1 > s.size());
|