Home
last modified time | relevance | path

Searched refs:find_last_of (Results 1 - 25 of 89) sorted by relevance

1234

/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece_unittest.cc469 EXPECT_EQ(h.find_last_of(a), StringPiece::npos); in TEST()
470 EXPECT_EQ(g.find_last_of(a), g.size()-1); in TEST()
471 EXPECT_EQ(a.find_last_of(b), 2); in TEST()
472 EXPECT_EQ(a.find_last_of(c), a.size()-1); in TEST()
473 EXPECT_EQ(f.find_last_of(i), 6); in TEST()
474 EXPECT_EQ(a.find_last_of('a'), 0); in TEST()
475 EXPECT_EQ(a.find_last_of('b'), 1); in TEST()
476 EXPECT_EQ(a.find_last_of('z'), 25); in TEST()
477 EXPECT_EQ(a.find_last_of('a', 5), 0); in TEST()
478 EXPECT_EQ(a.find_last_of(' in TEST()
[all...]
H A Dstringpiece.h378 stringpiece_ssize_type find_last_of(StringPiece s,
380 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const { in find_last_of() function in google::protobuf::StringPiece
H A Dstringpiece.cc211 stringpiece_ssize_type StringPiece::find_last_of(StringPiece s, in find_last_of() function in google::protobuf::StringPiece
215 if (s.length_ == 1) return find_last_of(s.ptr_[0], pos); in find_last_of()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstring_view_test.cc620 EXPECT_EQ(h.find_last_of(a), absl::string_view::npos); in TEST()
621 EXPECT_EQ(g.find_last_of(a), g.size()-1); in TEST()
622 EXPECT_EQ(a.find_last_of(b), 2); in TEST()
623 EXPECT_EQ(a.find_last_of(c), a.size()-1); in TEST()
624 EXPECT_EQ(f.find_last_of(i), 6); in TEST()
625 EXPECT_EQ(a.find_last_of('a'), 0); in TEST()
626 EXPECT_EQ(a.find_last_of('b'), 1); in TEST()
627 EXPECT_EQ(a.find_last_of('z'), 25); in TEST()
628 EXPECT_EQ(a.find_last_of('a', 5), 0); in TEST()
629 EXPECT_EQ(a.find_last_of(' in TEST()
[all...]
H A Dstring_view.h524 // string_view::find_last_of()
529 size_type find_last_of(string_view s, size_type pos = npos) const noexcept;
531 // Overload of `string_view::find_last_of()` for finding a character `c`
533 size_type find_last_of(char c, size_type pos = npos) const noexcept {
537 // Overload of `string_view::find_last_of()` for finding a substring of a
539 size_type find_last_of(const char* s, size_type pos, size_type count) const {
540 return find_last_of(string_view(s, count), pos);
543 // Overload of `string_view::find_last_of()` for finding a different C-style
545 size_type find_last_of(const char* s, size_type pos = npos) const {
546 return find_last_of(string_vie
[all...]
H A Dstring_view.cc165 string_view::size_type string_view::find_last_of(string_view s,
169 if (s.length_ == 1) return find_last_of(s.ptr_[0], pos);
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSharedLibrary.cpp29 return directory.substr(0, directory.find_last_of("\\/") + 1).c_str(); in getModuleDirectory()
45 return directory.substr(0, directory.find_last_of("\\/") + 1).c_str(); in getModuleDirectory()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
H A Dpath_util.h35 auto last_slash_pos = filename.find_last_of("/\\"); in Basename()
51 auto last_slash_pos = filename.find_last_of("/\\"); in Package()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSmallString.h205 size_t find_last_of(char C, size_t From = StringRef::npos) const { in find_last_of() function in llvm::SmallString
206 return str().find_last_of(C, From); in find_last_of()
213 size_t find_last_of( in find_last_of() function in llvm::SmallString
215 return str().find_last_of(Chars, From); in find_last_of()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSmallString.h204 size_t find_last_of(char C, size_t From = StringRef::npos) const { in find_last_of() function in llvm::SmallString
205 return str().find_last_of(C, From); in find_last_of()
212 size_t find_last_of( in find_last_of() function in llvm::SmallString
214 return str().find_last_of(Chars, From); in find_last_of()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dsystem_utils.cpp27 size_t lastPathSepLoc = executableName.find_last_of(GetPathSeparator()); in GetExecutableName()
127 bool firstRedundantPathSeparator = first.find_last_of(GetPathSeparator()) == first.length() - 1; in ConcatenatePath()
H A Dsystem_utils_linux.cpp39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory()
H A Dsystem_utils_apple.cpp47 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory()
H A Dutilities.cpp904 size_t open = name.find_last_of('[', baseNameLength - 1); in ParseResourceName()
905 size_t close = name.find_last_of(']', baseNameLength - 1); in ParseResourceName()
935 size_t strippedNameLength = name.find_last_of('['); in StripLastArrayIndex()
994 size_t open = name.find_last_of('['); in ParseArrayIndex()
H A Dsystem_utils_win.cpp33 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetDirectory()
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/
H A Damber_script.cc47 size_t spv_extension_pos = shader_name.find_last_of('.'); in GetShaderID()
52 shader_name.find_last_of('.', spv_extension_pos - 1UL) + 1UL; in GetShaderID()
/third_party/skia/third_party/externals/dawn/src/common/
H A DSystemUtils.cpp137 size_t lastPathSepLoc = exePath.find_last_of(GetPathSeparator()); in GetExecutableDirectory()
176 size_t lastPathSepLoc = modPath.find_last_of(GetPathSeparator()); in GetModuleDirectory()
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/
H A Dstring_piece.h149 size_type find_last_of(const StringPiece& s, size_type pos = npos) const;
150 size_type find_last_of(char c, size_type pos = npos) const { in find_last_of() function in i18n::phonenumbers::StringPiece
H A Dstring_piece.cc160 size_type StringPiece::find_last_of(const StringPiece& s, size_type pos) const { in find_last_of() function in i18n::phonenumbers::StringPiece
166 return find_last_of(s.ptr_[0], pos); in find_last_of()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
H A DUseInterfaceBlockFields.cpp47 ASSERT(var.name.find_last_of('[') == std::string::npos); in AddFieldUseStatements()
/third_party/gn/src/base/files/
H A Dfile_path.cc129 const StringType::size_type last_separator = path.find_last_of( in ExtensionSeparatorPosition()
310 StringType::size_type last_separator = new_path.path_.find_last_of( in DirName()
347 StringType::size_type last_separator = new_path.path_.find_last_of( in BaseName()
/third_party/glslang/StandAlone/
H A DDirStackFileIncluder.h146 size_t last = path.find_last_of("/\\"); in getDirectory()
/third_party/vk-gl-cts/executor/tools/
H A DxeBatchResultToJUnit.cpp113 size_t sepPos = result.casePath.find_last_of('.'); in testCaseResultComplete()
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/
H A Dgles_conformance_tests.cpp38 size_t lastPathSepLoc = executableLocation.find_last_of("\\/"); in GetExecutableDirectory()
/third_party/protobuf/src/google/protobuf/
H A Dany_lite.cc105 size_t pos = type_url.find_last_of("/"); in ParseAnyTypeUrl()

Completed in 19 milliseconds

1234