Searched refs:find_first_of (Results 1 - 25 of 120) sorted by relevance

12345

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
H A Dfind_first_of.pass.cpp15 // find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2);
28 assert(std::find_first_of(input_iterator<const int*>(ia),
34 assert(std::find_first_of(input_iterator<const int*>(ia),
39 assert(std::find_first_of(input_iterator<const int*>(ia),
44 assert(std::find_first_of(input_iterator<const int*>(ia),
H A Dfind_first_of_pred.pass.cpp16 // find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred);
30 assert(std::find_first_of(input_iterator<const int*>(ia),
37 assert(std::find_first_of(input_iterator<const int*>(ia),
43 assert(std::find_first_of(input_iterator<const int*>(ia),
49 assert(std::find_first_of(input_iterator<const int*>(ia),
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
H A Dfind_first_of.pass.cpp15 // find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2);
28 assert(std::find_first_of(input_iterator<const int*>(ia),
34 assert(std::find_first_of(input_iterator<const int*>(ia),
39 assert(std::find_first_of(input_iterator<const int*>(ia),
44 assert(std::find_first_of(input_iterator<const int*>(ia),
H A Dfind_first_of_pred.pass.cpp16 // find_first_of(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Pred pred);
30 assert(std::find_first_of(input_iterator<const int*>(ia),
37 assert(std::find_first_of(input_iterator<const int*>(ia),
43 assert(std::find_first_of(input_iterator<const int*>(ia),
49 assert(std::find_first_of(input_iterator<const int*>(ia),
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
H A Dfind_first_of_char_size.pass.cpp12 // constexpr size_type find_first_of(charT c, size_type pos = 0) const;
25 assert(s.find_first_of(c, pos) == x);
34 assert(s.find_first_of(c) == x);
76 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" );
77 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" );
78 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" );
79 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" );
80 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" );
H A Dfind_first_of_pointer_size.pass.cpp12 // constexpr size_type find_first_of(const charT* s, size_type pos = 0) const;
25 assert(s.find_first_of(str, pos) == x);
34 assert(s.find_first_of(str) == x);
159 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" );
160 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" );
161 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" );
162 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" );
163 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" );
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string.view.find/
H A Dfind_first_of_char_size.pass.cpp12 // constexpr size_type find_first_of(charT c, size_type pos = 0) const;
25 assert(s.find_first_of(c, pos) == x);
34 assert(s.find_first_of(c) == x);
76 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" );
77 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" );
78 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" );
79 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" );
80 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" );
H A Dfind_first_of_pointer_size.pass.cpp12 // constexpr size_type find_first_of(const charT* s, size_type pos = 0) const;
25 assert(s.find_first_of(str, pos) == x);
34 assert(s.find_first_of(str) == x);
159 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" );
160 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" );
161 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" );
162 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" );
163 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" );
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.find/
H A Dfind_first_of_char_size.pass.cpp12 // constexpr size_type find_first_of(charT c, size_type pos = 0) const;
25 assert(s.find_first_of(c, pos) == x);
34 assert(s.find_first_of(c) == x);
76 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" );
77 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" );
78 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" );
79 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" );
80 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" );
H A Dfind_first_of_pointer_size.pass.cpp12 // constexpr size_type find_first_of(const charT* s, size_type pos = 0) const;
25 assert(s.find_first_of(str, pos) == x);
34 assert(s.find_first_of(str) == x);
159 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" );
160 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" );
161 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" );
162 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" );
163 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" );
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string.view.find/
H A Dfind_first_of_char_size.pass.cpp12 // constexpr size_type find_first_of(charT c, size_type pos = 0) const;
25 assert(s.find_first_of(c, pos) == x);
34 assert(s.find_first_of(c) == x);
76 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" );
77 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" );
78 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" );
79 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" );
80 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" );
H A Dfind_first_of_pointer_size.pass.cpp12 // constexpr size_type find_first_of(const charT* s, size_type pos = 0) const;
25 assert(s.find_first_of(str, pos) == x);
34 assert(s.find_first_of(str) == x);
159 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" );
160 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" );
161 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" );
162 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" );
163 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" );
/prebuilts/ndk/current/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/
H A Dstring_piece.h104 if (to_search.find_first_of(*it) == npos) {
121 size_t find_first_of(const string_piece& to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
135 // Returns find_first_of(str, pos) where str is a string_piece
137 size_t find_first_of(char to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
138 return find_first_of(string_piece(&to_search, &to_search + 1), pos);
153 if (to_search.find_first_of(*it) != npos) {
179 if (to_search.find_first_of(*it) == npos) {
196 if (chars_to_strip.find_first_of(*begin) == npos) break;
205 if (chars_to_strip.find_first_of(*(end - 1)) == npos) break;
285 return find_first_of(characte
[all...]
/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/
H A Dstring_piece.h104 if (to_search.find_first_of(*it) == npos) {
121 size_t find_first_of(const string_piece& to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
135 // Returns find_first_of(str, pos) where str is a string_piece
137 size_t find_first_of(char to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece
138 return find_first_of(string_piece(&to_search, &to_search + 1), pos);
153 if (to_search.find_first_of(*it) != npos) {
179 if (to_search.find_first_of(*it) == npos) {
196 if (chars_to_strip.find_first_of(*begin) == npos) break;
205 if (chars_to_strip.find_first_of(*(end - 1)) == npos) break;
285 return find_first_of(characte
[all...]
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { function in class:llvm::SmallString
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString
186 return str().find_first_of(Chars, From);

Completed in 296 milliseconds

12345