Searched defs:str (Results 1 - 25 of 2393) sorted by relevance

1234567891011>>

/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/extensions/hash/
H A Dspecializations.pass.cpp16 char str[] = "test"; local
19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/libcxx/extensions/hash/
H A Dspecializations.pass.cpp18 char str[] = "test"; local
21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/template.bitset/bitset.cons/
H A Dchar_ptr_ctor.pass.cpp12 // explicit bitset(const charT* str,
40 const char str[] ="1010101010"; local
41 std::bitset<N> v(str);
44 assert(v[i] == (str[M - 1 - i] == '1'));
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.cons/
H A Dchar_ptr_ctor.pass.cpp11 // explicit bitset(const charT* str,
35 const char str[] ="1010101010"; local
36 std::bitset<N> v(str);
39 assert(v[i] == (str[M - 1 - i] == '1'));
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/extensions/hash/
H A Dspecializations.pass.cpp18 char str[] = "test"; local
21 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/template.bitset/bitset.cons/
H A Dchar_ptr_ctor.pass.cpp12 // explicit bitset(const charT* str,
40 const char str[] ="1010101010"; local
41 std::bitset<N> v(str);
44 assert(v[i] == (str[M - 1 - i] == '1'));
/prebuilts/ndk/current/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/current/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/current/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/current/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/current/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/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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);

Completed in 547 milliseconds

1234567891011>>