Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/experimental/string.view/string.view.find/
Dfind_first_of_char_size.pass.cpp24 assert(s.find_first_of(c, pos) == x); in test()
33 assert(s.find_first_of(c) == x); in test()
75 static_assert (sv1.find_first_of( 'e', 0 ) == SV::npos, "" ); in main()
76 static_assert (sv1.find_first_of( 'e', 1 ) == SV::npos, "" ); in main()
77 static_assert (sv2.find_first_of( 'q', 0 ) == SV::npos, "" ); in main()
78 static_assert (sv2.find_first_of( 'e', 1 ) == 4, "" ); in main()
79 static_assert (sv2.find_first_of( 'e', 5 ) == SV::npos, "" ); in main()
Dfind_first_of_pointer_size.pass.cpp24 assert(s.find_first_of(str, pos) == x); in test()
33 assert(s.find_first_of(str) == x); in test()
158 static_assert (sv1.find_first_of( "", 0) == SV::npos, "" ); in main()
159 static_assert (sv1.find_first_of( "irkhs", 0) == SV::npos, "" ); in main()
160 static_assert (sv2.find_first_of( "", 0) == SV::npos, "" ); in main()
161 static_assert (sv2.find_first_of( "gfsrt", 0) == SV::npos, "" ); in main()
162 static_assert (sv2.find_first_of( "lecar", 0) == 0, "" ); in main()
Dfind_first_of_pointer_size_size.pass.cpp24 assert(s.find_first_of(str, pos, n) == x); in test()
385 static_assert (sv1.find_first_of( "", 0, 0) == SV::npos, "" ); in main()
386 static_assert (sv1.find_first_of( "irkhs", 0, 5) == SV::npos, "" ); in main()
387 static_assert (sv2.find_first_of( "", 0, 0) == SV::npos, "" ); in main()
388 static_assert (sv2.find_first_of( "gfsrt", 0, 5) == SV::npos, "" ); in main()
389 static_assert (sv2.find_first_of( "lecar", 0, 5) == 0, "" ); in main()
Dfind_first_of_string_view_size.pass.cpp21 assert(s.find_first_of(str, pos) == x); in test()
30 assert(s.find_first_of(str) == x); in test()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/
Dfind_first_of.pass.cpp28 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
34 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
39 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
44 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
Dfind_first_of_pred.pass.cpp30 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
37 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
43 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
49 assert(std::find_first_of(input_iterator<const int*>(ia), in main()
/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/llvm/lib/Passes/
DPassBuilder.cpp231 size_t End = PipelineText.find_first_of(",)"); in parseFunctionPassPipeline()
284 size_t End = PipelineText.find_first_of(",)"); in parseCGSCCPassPipeline()
351 size_t End = PipelineText.find_first_of(",)"); in parseModulePassPipeline()
383 PipelineText.substr(0, PipelineText.find_first_of(",)")); in parsePassPipeline()
/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/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/parameter-framework/parameter/
DRuleParser.cpp163 …!= _strApplicationRule.length()) && ((delimiter = _strApplicationRule.find_first_of(_acDelimiters[… in iterate()
252 if ((delimiter = _strApplicationRule.find_first_of("{} ,", _uiCurrentPos)) == string::npos) { in next()
DMappingData.cpp51 std::string::size_type iFistDelimiterOccurrence = strMappingElement.find_first_of(':'); in fromXml()
/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()
Dpointer_size.pass.cpp24 assert(s.find_first_of(str, pos) == x); in test()
33 assert(s.find_first_of(str) == x); in test()
Dstring_size.pass.cpp23 assert(s.find_first_of(str, pos) == x); in test()
32 assert(s.find_first_of(str) == x); in test()
/external/libcxx/include/experimental/
Dstring_view140 constexpr size_type find_first_of(basic_string_view s, size_type pos = 0) const noexcept;
141 constexpr size_type find_first_of(charT c, size_type pos = 0) const noexcept;
142 constexpr size_type find_first_of(const charT* s, size_type pos, size_type n) const;
143 constexpr size_type find_first_of(const charT* s, size_type pos = 0) const;
476 // find_first_of
478 size_type find_first_of(basic_string_view __s, size_type __pos = 0) const _NOEXCEPT
480 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): recieved n…
486 size_type find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT
490 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const
492 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_of(): recieved nullptr");
[all …]
/external/llvm/tools/llvm-mc/
DDisassembler.cpp93 Str = Str.substr(Str.find_first_of('\n')); in SkipToToken()
110 size_t Next = Str.find_first_of(" \t\n\r,#[]"); in ByteArrayFromString()
/external/eigen/scripts/
Deigen_gen_credits.cpp35 size_t position_of_email_address = line.find_first_of('<'); in contributor_name()
77 size_t first_star = line.find_first_of('*'); in contributors_map_from_churn_output()
/external/lldb/source/Core/
DInputReader.cpp83 size_t pos = m_end_token.find_first_of (white_space); in Initialize()
93 size_t pos = m_end_token.find_first_of ('\n'); in Initialize()
/external/parameter-framework/utility/
DTokenizer.cpp56 string::size_type tokenEnd = _input.find_first_of(_delimiters, tokenStart); in next()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp165 std::string::size_type DotIdx = OpName.find_first_of("."); in ParseOperandName()
203 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
223 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
229 wpos = Name.find_first_of(" \t"); in ParseConstraint()
264 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.cc69 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter()
/external/google-breakpad/src/common/mac/
Dstring_utilities.cc75 start = str.find_first_of(digits, end + 1); in IntegerValueAtIndex()
/external/llvm/lib/Support/
DStringExtras.cpp43 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
/external/ceres-solver/internal/ceres/
Dsplit.cc99 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()

1234