Searched defs:str (Results 26 - 50 of 2393) sorted by relevance

1234567891011>>

/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.of/
H A Dstring_size.pass.cpp12 // size_type find_first_of(const basic_string& str, size_type pos = 0) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_first_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_first_of(str) == x);
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_not_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
H A Dfind_first_not_of_pointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_not_of(str) == x);
H A Dfind_first_not_of_string_view_size.pass.cpp12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const;
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
21 assert(s.find_first_not_of(str, pos) == x);
28 test(const S& s, const S& str, typename S::size_type x) argument
30 assert(s.find_first_not_of(str) == x);
H A Dfind_first_of_pointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_of(str) == x);
H A Dfind_first_of_string_view_size.pass.cpp12 // size_type find_first_of(const basic_string_view& str, size_type pos = 0) const;
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
21 assert(s.find_first_of(str, pos) == x);
28 test(const S& s, const S& str, typename S::size_type x) argument
30 assert(s.find_first_of(str) == x);
H A Dfind_last_not_of_pointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_not_of(str) == x);
H A Dfind_last_not_of_string_view_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
21 assert(s.find_last_not_of(str, pos) == x);
28 test(const S& s, const S& str, typename S::size_type x) argument
30 assert(s.find_last_not_of(str) == x);
H A Dfind_last_of_pointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_of(str) == x);
H A Dfind_last_of_string_view_size.pass.cpp12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const;
19 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
21 assert(s.find_last_of(str, pos) == x);
28 test(const S& s, const S& str, typename S::size_type x) argument
30 assert(s.find_last_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.first.not.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_first_not_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_first_not_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.first.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_first_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_first_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_first_of(const basic_string& str, size_type pos = 0) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_first_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_first_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_not_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_not_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_not_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_not_of(str) == x);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/string.ops/string_find.last.of/
H A Dpointer_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, argument
24 assert(s.find_last_of(str, pos) == x);
31 test(const S& s, const typename S::value_type* str, typename S::size_type x) argument
33 assert(s.find_last_of(str) == x);
H A Dstring_size.pass.cpp12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const;
21 test(const S& s, const S& str, typename S::size_type pos, typename S::size_type x) argument
23 assert(s.find_last_of(str, pos) == x);
30 test(const S& s, const S& str, typename S::size_type x) argument
32 assert(s.find_last_of(str) == x);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/
H A Dbasic_string.pass.cpp26 string_t str = (string_t) sv1; local
28 assert ( sv1.size() == str.size ());
29 assert ( std::char_traits<CharT>::compare ( sv1.data(), str.data(), sv1.size()) == 0 );
34 string_t str = (string_t) sv1; local
37 assert ( sv1.size() == str.size ());
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/ext.manip/
H A Dget_money.pass.cpp32 testbuf(const string_type& str) argument
33 : str_(str)
H A Dget_time.pass.cpp32 testbuf(const string_type& str) argument
33 : str_(str)
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dminus1.pass.cpp35 assert(ss.str() == expected);
43 assert(ss.str() == expected);
52 std::string str = ss.str(); local
53 for (size_t i = 0; i < str.size(); ++i )
54 str[i] = std::toupper(str[i]);
56 assert(str == expected);

Completed in 2369 milliseconds

1234567891011>>