Home
last modified time | relevance | path

Searched refs:find_last_not_of (Results 1 – 25 of 41) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/stubs/
Dstringpiece_unittest.cc503 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 …]
Dstringpiece.cc228 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
Dstringpiece.h383 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/
Dstring_view_test.cc654 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 …]
Dstring_view.h578 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);
Dstring_view.cc180 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/
Dcrypto_spkac.cc25 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/
Dstring_piece.cc175 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
Dstring_piece.h153 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/
DStringRef.h432 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/
DStringRef.h441 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/
Dfile_util.cc98 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/
Ddatapiece.cc377 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/
DvkAppParamsUtil.cpp41 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/
DStringRef.cpp291 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
DScaledNumber.cpp192 size_t NonZero = Float.find_last_not_of('0'); in stripTrailingZeros()
DSourceMgr.cpp452 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp305 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/
Dgen_manual.cpp48 p = s.find_last_not_of(characters); in trim()
/third_party/skia/third_party/externals/angle2/src/common/
Dstring_utils.cpp109 std::string::size_type end = input.find_last_not_of(trimChars); in TrimString()
/third_party/musl/Benchmark/musl/
Dbenchmark_framework.cpp311 size_t last = str.find_last_not_of(' '); in Trim()
/third_party/gn/src/base/strings/
Dstring_util.cc227 ? 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/
DvktTestPackage.cpp230 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/
DvktTestPackage.cpp230 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/
Dunit-testsuites.cpp1348 size_t last = str.find_last_not_of(' '); in trim()

12