Home
last modified time | relevance | path

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

123456789

/third_party/boost/boost/range/algorithm/
Dfind_first_of.hpp36 find_first_of(SinglePassRange1 & rng1, ForwardRange2 const & rng2) in find_first_of() function
41 return std::find_first_of(boost::begin(rng1),boost::end(rng1), in find_first_of()
48 find_first_of(const SinglePassRange1& rng1, const ForwardRange2& rng2) in find_first_of() function
53 return std::find_first_of(boost::begin(rng1),boost::end(rng1), in find_first_of()
63 find_first_of(SinglePassRange1 & rng1, ForwardRange2 const & rng2, BinaryPredicate pred) in find_first_of() function
68 return std::find_first_of(boost::begin(rng1),boost::end(rng1), in find_first_of()
75 find_first_of(const SinglePassRange1& rng1, const ForwardRange2& rng2, BinaryPredicate pred) in find_first_of() function
80 return std::find_first_of(boost::begin(rng1),boost::end(rng1), in find_first_of()
91 find_first_of(SinglePassRange1& rng1, const ForwardRange2& rng2) in find_first_of() function
97 pack(std::find_first_of(boost::begin(rng1), boost::end(rng1), in find_first_of()
[all …]
/third_party/boost/libs/range/test/algorithm_test/
Dfind_first_of.cpp43 iter_t result = boost::find_first_of(cont, m_cont); in test_iter()
44 BOOST_CHECK( result == boost::find_first_of(boost::make_iterator_range(cont), m_cont) ); in test_iter()
45 BOOST_CHECK( result == boost::find_first_of(cont, boost::make_iterator_range(m_cont)) ); in test_iter()
46 …BOOST_CHECK( result == boost::find_first_of(boost::make_iterator_range(cont), boost::make_iterator… in test_iter()
58 result_t result = boost::find_first_of<return_type>(cont, policy.cont()); in operator ()()
59 …BOOST_CHECK( result == boost::find_first_of<return_type>(boost::make_iterator_range(cont), policy.… in operator ()()
60 …BOOST_CHECK( result == boost::find_first_of<return_type>(cont, boost::make_iterator_range(policy.c… in operator ()()
61 …BOOST_CHECK( result == boost::find_first_of<return_type>(boost::make_iterator_range(cont), boost::… in operator ()()
70 return std::find_first_of(cont.begin(), cont.end(), in reference()
96 iter_t result = boost::find_first_of(cont, m_cont, m_pred); in test_iter()
[all …]
/third_party/boost/libs/range/doc/reference/algorithm/
Dfind_first_of.qbk6 [section:find_first_of find_first_of]
13 find_first_of(SinglePassRange1& rng1, const ForwardRange2& rng2);
21 find_first_of(SinglePassRange1& rng1, const ForwardRange2& rng2, BinaryPredicate pred);
29 find_first_of(SinglePassRange1& rng1, const ForwardRange2& rng2);
38 find_first_of(SinglePassRange1& rng1, const ForwardRange2& rng2, BinaryPredicate pred);
43 The versions of `find_first_of` that return an iterator, return an iterator to the first occurrence…
44 Equality is determined by `operator==` for non-predicate versions of `find_first_of`, and by satisf…
46 The versions of `find_first_of` that return a `range_return`, defines `found` in the same manner as…
50 Defined in the header file `boost/range/algorithm/find_first_of.hpp`
/third_party/boost/libs/static_string/test/
Dconstexpr_tests.hpp220 a.find_first_of(a); in testConstantEvaluation()
221 a.find_first_of("a", 0, 1); in testConstantEvaluation()
222 a.find_first_of("a", 0); in testConstantEvaluation()
223 a.find_first_of('a', 0); in testConstantEvaluation()
406 a.find_first_of(a); in testConstantEvaluation()
407 a.find_first_of("a", 0, 1); in testConstantEvaluation()
408 a.find_first_of("a", 0); in testConstantEvaluation()
409 a.find_first_of('a', 0); in testConstantEvaluation()
578 a.find_first_of(a); in testConstantEvaluation()
579 a.find_first_of("a", 0, 1); in testConstantEvaluation()
[all …]
/third_party/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 …]
/third_party/mesa3d/src/util/
Du_printf.cpp47 pos = s.find_first_of('%', pos); in util_printf_next_spec_pos()
57 next_tok = s.find_first_of('%', pos + 1); in util_printf_next_spec_pos()
58 spec_pos = s.find_first_of("cdieEfFgGaAosuxXp", pos + 1); in util_printf_next_spec_pos()
/third_party/mindspore/mindspore/core/ir/
Ddtype_extends.cc108 std::string::size_type end = type_names.find_first_of(','); in StringToVectorOfType()
113 end = type_names.find_first_of(',', start); in StringToVectorOfType()
127 auto start = type_name.find_first_of('[') + 1; in TensorStrToType()
146 auto start = type_name.find_first_of('[') + 1; in RowTensorStrToType()
163 auto start = type_name.find_first_of('[') + 1; in SparseTensorStrToType()
180 auto start = type_name.find_first_of('[') + 1; in UndeterminedStrToType()
198 auto start = type_name.find_first_of('[') + 1; in ListStrToType()
220 size_t start = type_name.find_first_of('[') + 1; in TupleStrToType()
243 size_t start = type_name.find_first_of('[') + 1; in FunctionStrToType()
249 size_t start_a = str_all.find_first_of('(') + 1; in FunctionStrToType()
/third_party/boost/boost/wave/cpplexer/
Dconvert_trigraphs.hpp104 typename StringT::size_type pos1 = value.find_first_of ("?", 0); in convert_trigraphs()
111 pos1 = value.find_first_of ("?", pos = pos1+3); in convert_trigraphs()
115 pos1 = value.find_first_of ("?", pos = pos1+1); in convert_trigraphs()
Dvalidate_universal_char.hpp227 typename StringT::size_type pos = name.find_first_of('\\'); in validate_identifier_name()
256 pos = name.find_first_of('\\', pos+2); in validate_identifier_name()
280 typename StringT::size_type pos = name.find_first_of('\\'); in validate_literal()
307 pos = name.find_first_of('\\', pos+2); in validate_literal()
/third_party/boost/boost/wave/
Dwhitespace_handling.hpp41 TokenT::string_type::npos != token.get_value().find_first_of("\n")) in ccomment_has_newline()
58 typename TokenT::string_type::size_type p = value.find_first_of("\n"); in ccomment_count_newlines()
62 p = value.find_first_of("\n", p+1); in ccomment_count_newlines()
79 typename TokenT::string_type::size_type p = value.find_first_of("\n"); in rawstring_count_newlines()
83 p = value.find_first_of("\n", p+1); in rawstring_count_newlines()
/third_party/abseil-cpp/absl/strings/
Dstring_view_test.cc510 EXPECT_EQ(a.find_first_of(b), 0); in TEST()
511 EXPECT_EQ(a.find_first_of(b, 0), 0); in TEST()
512 EXPECT_EQ(a.find_first_of(b, 1), 1); in TEST()
513 EXPECT_EQ(a.find_first_of(b, 2), 2); in TEST()
514 EXPECT_EQ(a.find_first_of(b, 3), absl::string_view::npos); in TEST()
515 EXPECT_EQ(a.find_first_of(c), 23); in TEST()
516 EXPECT_EQ(a.find_first_of(c, 23), 23); in TEST()
517 EXPECT_EQ(a.find_first_of(c, 24), 24); in TEST()
518 EXPECT_EQ(a.find_first_of(c, 25), 25); in TEST()
519 EXPECT_EQ(a.find_first_of(c, 26), absl::string_view::npos); in TEST()
[all …]
/third_party/boost/boost/wave/util/
Dmacro_helpers.hpp41 typename StringT::size_type pos1 = value.find_first_of ("\"\\?", 0); in escape_lit()
47 pos1 = value.find_first_of ("\"\\?", pos = pos1+1); in escape_lit()
64 typename StringT::size_type pos1 = value.find_first_of ("\\", 0); in unescape_lit()
72 pos1 = value.find_first_of ("\\", (pos = pos1+1)+1); in unescape_lit()
77 pos1 = value.find_first_of ("\\", pos = pos1+1); in unescape_lit()
83 pos1 = value.find_first_of ("\\", pos = pos1+1); in unescape_lit()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstring_view_test.cc536 EXPECT_EQ(a.find_first_of(b), 0); in TEST()
537 EXPECT_EQ(a.find_first_of(b, 0), 0); in TEST()
538 EXPECT_EQ(a.find_first_of(b, 1), 1); in TEST()
539 EXPECT_EQ(a.find_first_of(b, 2), 2); in TEST()
540 EXPECT_EQ(a.find_first_of(b, 3), absl::string_view::npos); in TEST()
541 EXPECT_EQ(a.find_first_of(c), 23); in TEST()
542 EXPECT_EQ(a.find_first_of(c, 23), 23); in TEST()
543 EXPECT_EQ(a.find_first_of(c, 24), 24); in TEST()
544 EXPECT_EQ(a.find_first_of(c, 25), 25); in TEST()
545 EXPECT_EQ(a.find_first_of(c, 26), absl::string_view::npos); in TEST()
[all …]
Dstring_view.h503 size_type find_first_of(string_view s, size_type pos = 0) const noexcept;
507 size_type find_first_of(char c, size_type pos = 0) const noexcept {
513 size_type find_first_of(const char* s, size_type pos, in find_first_of() function
515 return find_first_of(string_view(s, count), pos); in find_first_of()
520 size_type find_first_of(const char* s, size_type pos = 0) const {
521 return find_first_of(string_view(s), pos);
/third_party/boost/boost/process/detail/windows/
Dbasic_cmd.hpp36 auto it = st.find_first_of(" \""); in build_args()
53 auto it = arg.find_first_of(" \"");//contains space or double quotes? in build_args()
80 auto it = st.find_first_of(L" \""); in build_args()
97 auto it = arg.find_first_of(L" \"");//contains space or double quotes? in build_args()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallString.h176 size_t find_first_of(char C, size_t From = 0) const {
177 return str().find_first_of(C, From);
184 size_t find_first_of(StringRef Chars, size_t From = 0) const {
185 return str().find_first_of(Chars, From);
/third_party/skia/third_party/externals/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);
/third_party/boost/libs/locale/src/util/
Dlocale_data.cpp28 size_t end = locale_name.find_first_of("-_@."); in parse_from_lang()
55 size_t end = locale_name.find_first_of("@."); in parse_from_country()
80 size_t end = locale_name.find_first_of("@"); in parse_from_encoding()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dsoftware_version_test.cpp57 detailed_version.substr(detailed_version.find_first_of('v')); in TEST()
58 const size_t first_space_after_v_or_npos = from_v.find_first_of(' '); in TEST()
/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dutil.hpp49 cpu(s.begin(), s.begin() + s.find_first_of("-")), in target()
50 triple(s.begin() + s.find_first_of("-") + 1, s.end()) {} in target()
/third_party/boost/libs/graph/example/
Dhelper.hpp55 std::size_t index = line.find_first_of(','); in read_graph()
89 std::size_t i = line.find_first_of(','); in read_weighted_graph()
90 std::size_t j = line.find_first_of(',', i + 1); in read_weighted_graph()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFormatVariadic.cpp95 std::size_t BO = Fmt.find_first_of('{', From); in splitLiteralAndReplacement()
113 std::size_t BC = Fmt.find_first_of('}', BO); in splitLiteralAndReplacement()
124 std::size_t BO2 = Fmt.find_first_of('{', BO + 1); in splitLiteralAndReplacement()

123456789