/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringpiece_unittest.cc | 469 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 D | stringpiece.h | 378 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 D | stringpiece.cc | 211 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 D | string_view_test.cc | 620 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 D | string_view.h | 524 // 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 D | string_view.cc | 165 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 D | SharedLibrary.cpp | 29 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 D | path_util.h | 35 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 D | SmallString.h | 205 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 D | SmallString.h | 204 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 D | system_utils.cpp | 27 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 D | system_utils_linux.cpp | 39 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory()
|
H A D | system_utils_apple.cpp | 47 size_t lastPathSepLoc = executablePath.find_last_of("/"); in GetExecutableDirectory()
|
H A D | utilities.cpp | 904 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 D | system_utils_win.cpp | 33 size_t lastPathSepLoc = executablePath.find_last_of("\\/"); in GetDirectory()
|
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/ |
H A D | amber_script.cc | 47 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 D | SystemUtils.cpp | 137 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 D | string_piece.h | 149 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 D | string_piece.cc | 160 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 D | UseInterfaceBlockFields.cpp | 47 ASSERT(var.name.find_last_of('[') == std::string::npos); in AddFieldUseStatements()
|
/third_party/gn/src/base/files/ |
H A D | file_path.cc | 129 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 D | DirStackFileIncluder.h | 146 size_t last = path.find_last_of("/\\"); in getDirectory()
|
/third_party/vk-gl-cts/executor/tools/ |
H A D | xeBatchResultToJUnit.cpp | 113 size_t sepPos = result.casePath.find_last_of('.'); in testCaseResultComplete()
|
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
H A D | gles_conformance_tests.cpp | 38 size_t lastPathSepLoc = executableLocation.find_last_of("\\/"); in GetExecutableDirectory()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | any_lite.cc | 105 size_t pos = type_url.find_last_of("/"); in ParseAnyTypeUrl()
|