Home
last modified time | relevance | path

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

12345

/third_party/protobuf/src/google/protobuf/stubs/
H A 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( in TEST()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A 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( in TEST()
[all...]
H A Dstring_view.h498 // string_view::find_first_of()
503 size_type find_first_of(string_view s, size_type pos = 0) const noexcept;
505 // Overload of `string_view::find_first_of()` for finding a character `c`
507 size_type find_first_of(char c, size_type pos = 0) const noexcept {
511 // Overload of `string_view::find_first_of()` for finding a substring of a
513 size_type find_first_of(const char* s, size_type pos,
515 return find_first_of(string_view(s, count), pos);
518 // Overload of `string_view::find_first_of()` for finding a different C-style
520 size_type find_first_of(const char* s, size_type pos = 0) const {
521 return find_first_of(string_vie
[all...]
H A Dstring_view.cc124 string_view::size_type string_view::find_first_of(
130 if (s.length_ == 1) return find_first_of(s.ptr_[0], pos);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSmallString.h177 size_t find_first_of(char C, size_t From = 0) const { in find_first_of() function in llvm::SmallString
178 return str().find_first_of(C, From); in find_first_of()
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { in find_first_of() function in llvm::SmallString
186 return str().find_first_of(Chars, From); in find_first_of()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSmallString.h176 size_t find_first_of(char C, size_t From = 0) const { in find_first_of() function in llvm::SmallString
177 return str().find_first_of(C, From); in find_first_of()
184 size_t find_first_of(StringRef Chars, size_t From = 0) const { in find_first_of() function in llvm::SmallString
185 return str().find_first_of(Chars, From); in find_first_of()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
H A 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/skia/third_party/externals/spirv-tools/test/
H A 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/
H A 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/spirv-tools/test/
H A 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/llvm-10.0/llvm/lib/Support/
H A 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()
H A DStringExtras.cpp43 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
/third_party/skia/experimental/sktext/tests/
H A DShapedText.cpp54 auto newLine = utf16.find_first_of(u"\n"); in UNIX_ONLY_TEST()
73 auto newLine = utf16.find_first_of(u"\n"); in UNIX_ONLY_TEST()
H A DUnicodeText.cpp63 auto lineBreak = utf16.find_first_of(u"\n"); in UNIX_ONLY_TEST()
74 auto space1 = utf16.find_first_of(u" "); in UNIX_ONLY_TEST()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
H A Dchrome_subsetter.cc86 size_t end = hex_csv.find_first_of(","); in StringToGlyphId()
91 end = hex_csv.find_first_of(",", start); in StringToGlyphId()
/third_party/gn/src/base/strings/
H A Dstring_split.cc44 return piece.find_first_of(one_of, pos); in FindFirstOf()
49 return piece.find_first_of(one_of, pos); in FindFirstOf()
104 size_t end_key_pos = input.find_first_of(delimiter); in AppendStringKeyValue()
/third_party/json/tests/src/
H A Dunit-alt-string.cpp144 std::size_t find_first_of(char c, std::size_t pos = 0) const in find_first_of() function in alt_string
146 return str_impl.find_first_of(c, pos); in find_first_of()
/third_party/gn/src/gn/
H A Descape.cc165 DCHECK(str.find_first_of("\r\n\v\t") == std::string::npos); in EscapeStringToString_WindowsNinjaFork()
168 if (str.find_first_of(" \"") == std::string::npos) { in EscapeStringToString_WindowsNinjaFork()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dprintf.cpp72 size_t vec_pos = format.find_first_of("v", cur_tok + 1); in print_formatted()
73 size_t mod_pos = format.find_first_of("hl", cur_tok + 1); in print_formatted()
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/
H A Dstring_piece.h143 size_type find_first_of(const StringPiece& s, size_type pos = 0) const;
144 size_type find_first_of(char c, size_type pos = 0) const { in find_first_of() function in i18n::phonenumbers::StringPiece
H A Dstring_piece.cc107 size_type StringPiece::find_first_of(const StringPiece& s, in find_first_of() function in i18n::phonenumbers::StringPiece
114 return find_first_of(s.ptr_[0], pos); in find_first_of()
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
H A DSystemInfo.cpp170 const size_t begin = content.find_first_of("0123456789"); in ParseAMDBrahmaDriverVersion()
214 size_t numberLoc = identifier.find_first_of("0123456789"); in ParseMacMachineModel()
/third_party/json/include/nlohmann/detail/
H A Djson_pointer.hpp687 std::size_t slash = reference_string.find_first_of('/', 1), in split()
696 slash = reference_string.find_first_of('/', start)) in split()
703 for (std::size_t pos = reference_token.find_first_of('~'); in split()
705 pos = reference_token.find_first_of('~', pos + 1)) in split()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DStringExtras.cpp43 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DShaderVars.cpp243 size_t pos = mappedFullName.find_first_of(".["); in findInfoByMappedName()
264 size_t closePos = mappedFullName.find_first_of(']'); in findInfoByMappedName()
311 size_t pos = fullName.find_first_of("."); in findField()

Completed in 13 milliseconds

12345