/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/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 628 EXPECT_EQ(a.find_last_not_of(b), a.size()-1); in TEST() 629 EXPECT_EQ(a.find_last_not_of(c), 22); in TEST() 630 EXPECT_EQ(b.find_last_not_of(a), absl::string_view::npos); in TEST() 631 EXPECT_EQ(b.find_last_not_of(b), absl::string_view::npos); in TEST() 632 EXPECT_EQ(f.find_last_not_of(i), 4); in TEST() 633 EXPECT_EQ(a.find_last_not_of(c, 24), 22); in TEST() 634 EXPECT_EQ(a.find_last_not_of(b, 3), 3); in TEST() 635 EXPECT_EQ(a.find_last_not_of(b, 2), absl::string_view::npos); in TEST() 637 EXPECT_EQ(f.find_last_not_of(d), f.size()-1); in TEST() 638 EXPECT_EQ(f.find_last_not_of(e), f.size()-1); in TEST() [all …]
|
D | string_view.cc | 183 string_view::size_type string_view::find_last_not_of(string_view s, in find_last_not_of() function in absl::string_view 190 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 201 string_view::size_type string_view::find_last_not_of(char c, in find_last_not_of() function in absl::string_view
|
D | string_view.h | 516 size_type find_last_not_of(string_view s, 521 size_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/boost/libs/test/test/utils-ts/ |
D | algorithm-test.cpp | 83 …BOOST_TEST( utu::find_last_not_of( cs.begin(), cs.end(), another.begin(), another.end() ) == cs.en… in BOOST_AUTO_TEST_CASE() 112 …BOOST_TEST( TEST_SURROUND_EXPRESSION(utu::find_last_not_of( cs.begin(), cs.end(), another.begin(),… in BOOST_AUTO_TEST_CASE() 115 …BOOST_TEST( TEST_SURROUND_EXPRESSION(utu::find_last_not_of( cs.begin(), cs.end(), another.begin(),… in BOOST_AUTO_TEST_CASE() 118 …BOOST_TEST( utu::find_last_not_of( cs.begin(), cs.end(), another.begin(), another.end() ) == cs.en… in BOOST_AUTO_TEST_CASE()
|
/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/boost/libs/static_string/doc/html/ |
D | static_string_HTML.manifest | 187 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of.html 188 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of/overload1.html 189 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of/overload2.html 190 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of/overload3.html 191 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of/overload4.html 192 static_string/ref/boost__static_strings__basic_static_string/find_last_not_of/overload5.html
|
/third_party/boost/boost/utility/ |
D | string_view.hpp | 350 …BOOST_CXX14_CONSTEXPR size_type find_last_not_of(basic_string_view s, size_type pos = npos) const … in find_last_not_of() function in boost::basic_string_view 359 …BOOST_CXX14_CONSTEXPR size_type find_last_not_of(charT c, size_type pos = npos) const BOOST_NOEXCE… in find_last_not_of() function in boost::basic_string_view 360 { return find_last_not_of(basic_string_view(&c, 1), pos); } in find_last_not_of() 361 …BOOST_CXX14_CONSTEXPR size_type find_last_not_of(const charT* s, size_type pos, size_type n) const… in find_last_not_of() function in boost::basic_string_view 362 { return find_last_not_of(basic_string_view(s, n), pos); } in find_last_not_of() 363 …BOOST_CXX14_CONSTEXPR size_type find_last_not_of(const charT* s, size_type pos = npos) const BOOST… in find_last_not_of() function in boost::basic_string_view 364 { return find_last_not_of(basic_string_view(s), pos); } in find_last_not_of()
|
/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/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/boost/boost/test/utils/ |
D | algorithm.hpp | 183 find_last_not_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, in find_last_not_of() function 207 find_last_not_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, in find_last_not_of() function
|
/third_party/boost/libs/utility/test/ |
D | string_ref_test2.cpp | 224 BOOST_TEST ( sr1.find_last_not_of ( sr2 ) == string_ref::npos ); in find() 232 string_ref::size_type pos2 = sr1.find_last_not_of(*p); in find()
|
D | string_view_test2.cpp | 228 BOOST_TEST ( sr1.find_last_not_of ( sr2 ) == string_view::npos ); in find() 236 string_view::size_type pos2 = sr1.find_last_not_of(*p); in find()
|
/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/mindspore/mindspore/lite/src/ |
D | cpu_info.cc | 114 prefix.erase(prefix.find_last_not_of('\t') + 1); in GetArmProcCpuInfo()
|
/third_party/boost/libs/program_options/src/ |
D | config_file.cpp | 75 n2 = s.find_last_not_of(" \t\r\n"); in trim_ws()
|
/third_party/mindspore/mindspore/lite/src/common/ |
D | utils.h | 151 input->erase(input->find_last_not_of(WHITESPACE) + 1); in Trim()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/string/ |
D | normalize.cc | 58 auto end = str.find_last_not_of(pattern); in Trim()
|