/third_party/protobuf/src/google/protobuf/stubs/ |
D | stringpiece_unittest.cc | 503 EXPECT_EQ(a.find_last_not_of(b), a.size()-1); in TEST() 504 EXPECT_EQ(a.find_last_not_of(c), 22); in TEST() 505 EXPECT_EQ(b.find_last_not_of(a), StringPiece::npos); in TEST() 506 EXPECT_EQ(b.find_last_not_of(b), StringPiece::npos); in TEST() 507 EXPECT_EQ(f.find_last_not_of(i), 4); in TEST() 508 EXPECT_EQ(a.find_last_not_of(c, 24), 22); in TEST() 509 EXPECT_EQ(a.find_last_not_of(b, 3), 3); in TEST() 510 EXPECT_EQ(a.find_last_not_of(b, 2), StringPiece::npos); in TEST() 512 EXPECT_EQ(f.find_last_not_of(d), f.size()-1); in TEST() 513 EXPECT_EQ(f.find_last_not_of(e), f.size()-1); in TEST() [all …]
|
D | stringpiece.cc | 228 stringpiece_ssize_type StringPiece::find_last_not_of(StringPiece s, in find_last_not_of() function in google::protobuf::StringPiece 236 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 248 stringpiece_ssize_type StringPiece::find_last_not_of(char c, in find_last_not_of() function in google::protobuf::StringPiece
|
D | stringpiece.h | 383 stringpiece_ssize_type find_last_not_of(StringPiece s, 385 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 654 EXPECT_EQ(a.find_last_not_of(b), a.size()-1); in TEST() 655 EXPECT_EQ(a.find_last_not_of(c), 22); in TEST() 656 EXPECT_EQ(b.find_last_not_of(a), absl::string_view::npos); in TEST() 657 EXPECT_EQ(b.find_last_not_of(b), absl::string_view::npos); in TEST() 658 EXPECT_EQ(f.find_last_not_of(i), 4); in TEST() 659 EXPECT_EQ(a.find_last_not_of(c, 24), 22); in TEST() 660 EXPECT_EQ(a.find_last_not_of(b, 3), 3); in TEST() 661 EXPECT_EQ(a.find_last_not_of(b, 2), absl::string_view::npos); in TEST() 663 EXPECT_EQ(f.find_last_not_of(d), f.size()-1); in TEST() 664 EXPECT_EQ(f.find_last_not_of(e), f.size()-1); in TEST() [all …]
|
D | string_view.h | 578 size_type find_last_not_of(string_view s, 583 size_type find_last_not_of(char c, size_type pos = npos) const noexcept; 587 size_type find_last_not_of(const char* s, size_type pos, in find_last_not_of() function 589 return find_last_not_of(string_view(s, count), pos); in find_last_not_of() 594 size_type find_last_not_of(const char* s, size_type pos = npos) const { 595 return find_last_not_of(string_view(s), pos);
|
D | string_view.cc | 180 string_view::size_type string_view::find_last_not_of( in find_last_not_of() function in absl::string_view 186 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 197 string_view::size_type string_view::find_last_not_of( in find_last_not_of() function in absl::string_view
|
/third_party/node/src/crypto/ |
D | crypto_spkac.cc | 25 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in VerifySpkac() 61 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in ExportPublicKey() 96 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in ExportChallenge()
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/ |
D | string_piece.cc | 175 size_type StringPiece::find_last_not_of(const StringPiece& s, in find_last_not_of() function in i18n::phonenumbers::StringPiece 186 return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 199 size_type StringPiece::find_last_not_of(char c, size_type pos) const { in find_last_not_of() function in i18n::phonenumbers::StringPiece
|
D | string_piece.h | 153 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const; 154 size_type find_last_not_of(char c, size_type pos = npos) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringRef.h | 432 size_t find_last_not_of(char C, size_t From = npos) const; 439 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 812 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() 819 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringRef.h | 441 size_t find_last_not_of(char C, size_t From = npos) const; 448 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 826 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() 833 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/third_party/gn/src/base/files/ |
D | file_util.cc | 98 std::string::size_type end1 = line1.find_last_not_of("\r\n"); in TextContentsEqual() 104 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 377 0, HasSuffixString(src, "=") ? src.find_last_not_of('=') + 1 in DecodeBase64() 390 0, HasSuffixString(src, "=") ? src.find_last_not_of('=') + 1 in DecodeBase64()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkAppParamsUtil.cpp | 41 const auto end = original.find_last_not_of(whiteSigns); in trim()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 291 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef 302 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
|
D | ScaledNumber.cpp | 192 size_t NonZero = Float.find_last_not_of('0'); in stripTrailingZeros()
|
D | SourceMgr.cpp | 452 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 305 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef 316 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
|
/third_party/lz4/contrib/gen_manual/ |
D | gen_manual.cpp | 48 p = s.find_last_not_of(characters); in trim()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | string_utils.cpp | 109 std::string::size_type end = input.find_last_not_of(trimChars); in TrimString()
|
/third_party/musl/Benchmark/musl/ |
D | benchmark_framework.cpp | 311 size_t last = str.find_last_not_of(' '); in Trim()
|
/third_party/gn/src/base/strings/ |
D | string_util.cc | 227 ? input_piece.find_last_not_of(trim_chars) in TrimStringT() 272 ? input.find_last_not_of(trim_chars) + 1 in TrimStringPieceT()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
D | vktTestPackage.cpp | 230 const auto end = original.find_last_not_of(whiteSigns); in trim() 783 std::size_t found = s.find_last_not_of(' '); in runTestsInSubprocess()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktTestPackage.cpp | 230 const auto end = original.find_last_not_of(whiteSigns); in trim() 783 std::size_t found = s.find_last_not_of(' '); in runTestsInSubprocess()
|
/third_party/json/tests/src/ |
D | unit-testsuites.cpp | 1348 size_t last = str.find_last_not_of(' '); in trim()
|