Home
last modified time | relevance | path

Searched refs:find_first_of (Results 1 – 25 of 207) sorted by relevance

123456789

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
Dfind_first_of.pass.cpp32 …return (std::find_first_of(FI(std::begin(ic)), FI(std::end(ic)), FI(std::begin(ia)), FI(std::en… in test_constexpr()
33 …&& (std::find_first_of(FI(std::begin(ic)), FI(std::end(ic)), FI(std::begin(ib)), FI(std::end(ib)))… in test_constexpr()
34 …&& (std::find_first_of(BI(std::begin(ic)), BI(std::end(ic)), BI(std::begin(ia)), BI(std::end(ia)))… in test_constexpr()
35 …&& (std::find_first_of(BI(std::begin(ic)), BI(std::end(ic)), BI(std::begin(ib)), BI(std::end(ib)))… in test_constexpr()
36 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ia)), RI(std::end(ia)))… in test_constexpr()
37 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ib)), RI(std::end(ib)))… in test_constexpr()
48 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
54 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
59 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
64 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
Dfind_first_of_pred.pass.cpp34 …return (std::find_first_of(FI(std::begin(ic)), FI(std::end(ic)), FI(std::begin(ia)), FI(std::en… in test_constexpr()
35 …&& (std::find_first_of(FI(std::begin(ic)), FI(std::end(ic)), FI(std::begin(ib)), FI(std::end(ib)),… in test_constexpr()
36 …&& (std::find_first_of(BI(std::begin(ic)), BI(std::end(ic)), BI(std::begin(ia)), BI(std::end(ia)),… in test_constexpr()
37 …&& (std::find_first_of(BI(std::begin(ic)), BI(std::end(ic)), BI(std::begin(ib)), BI(std::end(ib)),… in test_constexpr()
38 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ia)), RI(std::end(ia)),… in test_constexpr()
39 …&& (std::find_first_of(RI(std::begin(ic)), RI(std::end(ic)), RI(std::begin(ib)), RI(std::end(ib)),… in test_constexpr()
50 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
57 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
63 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
69 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
/external/libcxx/test/std/strings/string.view/string.view.find/
Dfind_first_of_char_size.pass.cpp25 assert(s.find_first_of(c, pos) == x); in test()
34 assert(s.find_first_of(c) == x); in test()
76 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" ); in main()
77 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" ); in main()
78 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" ); in main()
79 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" ); in main()
80 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" ); in main()
Dfind_first_of_pointer_size.pass.cpp25 assert(s.find_first_of(str, pos) == x); in test()
34 assert(s.find_first_of(str) == x); in test()
159 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" ); in main()
160 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" ); in main()
161 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" ); in main()
162 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" ); in main()
163 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" ); in main()
Dfind_first_of_pointer_size_size.pass.cpp25 assert(s.find_first_of(str, pos, n) == x); in test()
386 static_assert (sv1.find_first_of( "", 0, 0) == SV::npos, "" ); in main()
387 static_assert (sv1.find_first_of( "irkhs", 0, 5) == SV::npos, "" ); in main()
388 static_assert (sv2.find_first_of( "", 0, 0) == SV::npos, "" ); in main()
389 static_assert (sv2.find_first_of( "gfsrt", 0, 5) == SV::npos, "" ); in main()
390 static_assert (sv2.find_first_of( "lecar", 0, 5) == 0, "" ); in main()
/external/libchrome/base/strings/
Dstring_piece_unittest.cc334 ASSERT_EQ(3U, Piece(one_two_three_four).find_first_of(comma_colon)); in TYPED_TEST()
335 ASSERT_EQ(a.find_first_of(b), 0U); in TYPED_TEST()
336 ASSERT_EQ(a.find_first_of(b, 0), 0U); in TYPED_TEST()
337 ASSERT_EQ(a.find_first_of(b, 1), 1U); in TYPED_TEST()
338 ASSERT_EQ(a.find_first_of(b, 2), 2U); in TYPED_TEST()
339 ASSERT_EQ(a.find_first_of(b, 3), Piece::npos); in TYPED_TEST()
340 ASSERT_EQ(a.find_first_of(c), 23U); in TYPED_TEST()
341 ASSERT_EQ(a.find_first_of(c, 23), 23U); in TYPED_TEST()
342 ASSERT_EQ(a.find_first_of(c, 24), 24U); in TYPED_TEST()
343 ASSERT_EQ(a.find_first_of(c, 25), 25U); in TYPED_TEST()
[all …]
Dstring_piece.h90 BASE_EXPORT size_t find_first_of(const StringPiece& self,
93 BASE_EXPORT size_t find_first_of(const StringPiece16& self,
330 size_type find_first_of(const BasicStringPiece& s,
332 return internal::find_first_of(*this, s, pos);
334 size_type find_first_of(value_type c, size_type pos = 0) const {
/external/protobuf/src/google/protobuf/stubs/
Dstringpiece_unittest.cc413 EXPECT_EQ(a.find_first_of(b), 0); in TEST()
414 EXPECT_EQ(a.find_first_of(b, 0), 0); in TEST()
415 EXPECT_EQ(a.find_first_of(b, 1), 1); in TEST()
416 EXPECT_EQ(a.find_first_of(b, 2), 2); in TEST()
417 EXPECT_EQ(a.find_first_of(b, 3), StringPiece::npos); in TEST()
418 EXPECT_EQ(a.find_first_of(c), 23); in TEST()
419 EXPECT_EQ(a.find_first_of(c, 23), 23); in TEST()
420 EXPECT_EQ(a.find_first_of(c, 24), 24); in TEST()
421 EXPECT_EQ(a.find_first_of(c, 25), 25); in TEST()
422 EXPECT_EQ(a.find_first_of(c, 26), StringPiece::npos); in TEST()
[all …]
/external/libchrome/base/
Dbase64url.cc52 if (input.find_first_of(kBase64Chars) != std::string::npos) in Base64UrlDecode()
57 input.find_first_of(kBase64UrlSafeChars) != std::string::npos; in Base64UrlDecode()
70 if (input.find_first_of(kPaddingChar) != std::string::npos) in Base64UrlDecode()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
/external/llvm/include/llvm/ADT/
DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DFormatVariadic.cpp96 std::size_t BO = Fmt.find_first_of('{', From); in splitLiteralAndReplacement()
114 std::size_t BC = Fmt.find_first_of('}', BO); in splitLiteralAndReplacement()
125 std::size_t BO2 = Fmt.find_first_of('{', BO + 1); in splitLiteralAndReplacement()
/external/deqp-deps/SPIRV-Tools/test/
Dsoftware_version_test.cpp58 detailed_version.substr(detailed_version.find_first_of('v')); in TEST()
59 const size_t first_space_after_v_or_npos = from_v.find_first_of(' '); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dsoftware_version_test.cpp58 detailed_version.substr(detailed_version.find_first_of('v')); in TEST()
59 const size_t first_space_after_v_or_npos = from_v.find_first_of(' '); in TEST()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTString.h398 size_t find_first_of(char _Ch, size_t _Off = 0) const;
406 size_t find_first_of(const char* _Ptr, size_t _Off = 0) const;
415 size_t find_first_of(const char* _Ptr, size_t _Off, size_t _Count) const;
433 size_t find_first_of(const CPVRTString& _Str, size_t _Off = 0) const;
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dutil.hpp93 cpu(s.begin(), s.begin() + s.find_first_of("-")), in target()
94 triple(s.begin() + s.find_first_of("-") + 1, s.end()) {} in target()
/external/webrtc/webrtc/base/
Dpathutils.cc188 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) { in SetBasename()
200 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || in SetExtension()
201 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { in SetExtension()
/external/parameter-framework/upstream/parameter/
DRuleParser.cpp162 ((delimiter = _strApplicationRule.find_first_of(_acDelimiters[_eStatus], _uiCurrentPos)) != in iterate()
252 if ((delimiter = _strApplicationRule.find_first_of("{} ,", _uiCurrentPos)) == string::npos) { in next()
/external/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc86 size_t end = hex_csv.find_first_of(","); in StringToGlyphId()
91 end = hex_csv.find_first_of(",", start); in StringToGlyphId()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSmallStringTest.cpp136 EXPECT_EQ(2U, theString.find_first_of('l')); in TEST_F()
137 EXPECT_EQ(1U, theString.find_first_of("el")); in TEST_F()
138 EXPECT_EQ(StringRef::npos, theString.find_first_of("xyz")); in TEST_F()
/external/llvm/unittests/ADT/
DSmallStringTest.cpp136 EXPECT_EQ(2U, theString.find_first_of('l')); in TEST_F()
137 EXPECT_EQ(1U, theString.find_first_of("el")); in TEST_F()
138 EXPECT_EQ(StringRef::npos, theString.find_first_of("xyz")); in TEST_F()
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/
Dchar_size.pass.cpp24 assert(s.find_first_of(c, pos) == x); in test()
33 assert(s.find_first_of(c) == x); in test()
Dstring_size.pass.cpp24 assert(s.find_first_of(str, pos) == x); in test()
33 assert(s.find_first_of(str) == x); in test()
162 assert(s.find_first_of({"abc", 1}) == std::string::npos); in main()
/external/llvm/lib/Passes/
DPassBuilder.cpp475 size_t End = PipelineText.find_first_of(",)"); in parseLoopPassPipeline()
528 size_t End = PipelineText.find_first_of(",)"); in parseFunctionPassPipeline()
582 size_t End = PipelineText.find_first_of(",)"); in parseCGSCCPassPipeline()
663 size_t End = PipelineText.find_first_of(",)"); in parseModulePassPipeline()
695 PipelineText.substr(0, PipelineText.find_first_of(",)")); in parsePassPipeline()

123456789