/external/libcxx/test/std/experimental/string.view/string.view.find/ |
D | find_last_not_of_char_size.pass.cpp | 25 assert(s.find_last_not_of(c, pos) == x); in test() 34 assert(s.find_last_not_of(c) == x); in test() 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); in main() 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); in main() 78 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); in main() 79 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); in main() 80 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" ); in main()
|
D | find_last_not_of_pointer_size.pass.cpp | 25 assert(s.find_last_not_of(str, pos) == x); in test() 34 assert(s.find_last_not_of(str) == x); in test() 159 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); in main() 160 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); in main() 161 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); in main() 162 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); in main() 163 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" ); in main()
|
D | find_last_not_of_pointer_size_size.pass.cpp | 25 assert(s.find_last_not_of(str, pos, n) == x); in test() 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); in main() 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); in main() 388 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); in main() 389 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); in main() 390 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" ); in main()
|
D | find_last_not_of_string_view_size.pass.cpp | 21 assert(s.find_last_not_of(str, pos) == x); in test() 30 assert(s.find_last_not_of(str) == x); in test()
|
/external/libcxx/test/std/strings/string.view/string.view.find/ |
D | find_last_not_of_char_size.pass.cpp | 25 assert(s.find_last_not_of(c, pos) == x); in test() 34 assert(s.find_last_not_of(c) == x); in test() 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); in main() 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); in main() 78 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); in main() 79 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); in main() 80 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" ); in main()
|
D | find_last_not_of_pointer_size.pass.cpp | 25 assert(s.find_last_not_of(str, pos) == x); in test() 34 assert(s.find_last_not_of(str) == x); in test() 159 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); in main() 160 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); in main() 161 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); in main() 162 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); in main() 163 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" ); in main()
|
D | find_last_not_of_pointer_size_size.pass.cpp | 25 assert(s.find_last_not_of(str, pos, n) == x); in test() 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); in main() 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); in main() 388 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); in main() 389 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); in main() 390 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" ); in main()
|
D | find_last_not_of_string_view_size.pass.cpp | 21 assert(s.find_last_not_of(str, pos) == x); in test() 30 assert(s.find_last_not_of(str) == x); in test()
|
/external/libchrome/base/strings/ |
D | string_piece_unittest.cc | 425 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); in TYPED_TEST() 426 ASSERT_EQ(a.find_last_not_of(c), 22U); in TYPED_TEST() 427 ASSERT_EQ(b.find_last_not_of(a), Piece::npos); in TYPED_TEST() 428 ASSERT_EQ(b.find_last_not_of(b), Piece::npos); in TYPED_TEST() 429 ASSERT_EQ(f.find_last_not_of(i), 4U); in TYPED_TEST() 430 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); in TYPED_TEST() 431 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); in TYPED_TEST() 432 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos); in TYPED_TEST() 434 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); in TYPED_TEST() 435 ASSERT_EQ(f.find_last_not_of(e), f.size()-1); in TYPED_TEST() [all …]
|
D | string_piece.h | 125 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 128 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 131 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 134 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 345 size_type find_last_not_of(const BasicStringPiece& s, 347 return internal::find_last_not_of(*this, s, pos); 349 size_type find_last_not_of(value_type c, 351 return internal::find_last_not_of(*this, c, pos);
|
D | string_piece.cc | 343 size_t find_last_not_of(const StringPiece& self, in find_last_not_of() function 355 return find_last_not_of(self, s.data()[0], pos); in find_last_not_of() 369 size_t find_last_not_of(const StringPiece16& self, in find_last_not_of() function 407 size_t find_last_not_of(const StringPiece& self, in find_last_not_of() function 413 size_t find_last_not_of(const StringPiece16& self, in find_last_not_of() function
|
/external/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 | 226 stringpiece_ssize_type StringPiece::find_last_not_of(StringPiece s, in find_last_not_of() function in google::protobuf::StringPiece 234 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 246 stringpiece_ssize_type StringPiece::find_last_not_of(char c, in find_last_not_of() function in google::protobuf::StringPiece
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTString.h | 441 size_t find_last_not_of(char _Ch, size_t _Off = 0) const; 449 size_t find_last_not_of(const char* _Ptr, size_t _Off = 0) const; 458 size_t find_last_not_of(const char* _Ptr, size_t _Off, size_t _Count) const; 466 size_t find_last_not_of(const CPVRTString& _Str, size_t _Off = 0) const;
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
D | char_size.pass.cpp | 24 assert(s.find_last_not_of(c, pos) == x); in test() 33 assert(s.find_last_not_of(c) == x); in test()
|
D | pointer_size.pass.cpp | 24 assert(s.find_last_not_of(str, pos) == x); in test() 33 assert(s.find_last_not_of(str) == x); in test()
|
D | string_size.pass.cpp | 23 assert(s.find_last_not_of(str, pos) == x); in test() 32 assert(s.find_last_not_of(str) == x); in test()
|
/external/libcxx/include/ |
D | string_view | 142 … constexpr size_type find_last_not_of(basic_string_view s, size_type pos = npos) const noexcept; 143 constexpr size_type find_last_not_of(charT c, size_type pos = npos) const noexcept; 144 constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const; 145 constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const; 537 // find_last_not_of 539 size_type find_last_not_of(basic_string_view __s, size_type __pos=npos) const _NOEXCEPT 541 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): receive… 547 size_type find_last_not_of(_CharT __c, size_type __pos=npos) const _NOEXCEPT 554 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const 556 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nullptr"); [all …]
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 332 size_t find_last_not_of(char C, size_t From = npos) const; 338 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 565 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim() 571 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/external/libcxx/include/experimental/ |
D | string_view | 152 … constexpr size_type find_last_not_of(basic_string_view s, size_type pos = npos) const noexcept; 153 constexpr size_type find_last_not_of(charT c, size_type pos = npos) const noexcept; 154 constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const; 155 constexpr size_type find_last_not_of(const charT* s, size_type pos = npos) const; 567 // find_last_not_of 569 size_type find_last_not_of(basic_string_view __s, size_type __pos=npos) const _NOEXCEPT 571 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): receive… 577 size_type find_last_not_of(_CharT __c, size_type __pos=npos) const _NOEXCEPT 584 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const 586 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nullptr"); [all …]
|
/external/libchrome/base/files/ |
D | file_util.cc | 107 std::string::size_type end1 = line1.find_last_not_of("\r\n"); in TextContentsEqual() 113 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual()
|
/external/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));
|
/external/libchrome/base/ |
D | base64url.cc | 40 output->find_last_not_of(kPaddingChar); in Base64UrlEncode()
|
/external/parameter-framework/upstream/remote-processor/ |
D | RequestMessage.cpp | 164 strTrimmed.erase(strTrimmed.find_last_not_of(gacDelimiters) + 1); in trim()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 333 ? src.find_last_not_of('=') + 1 in DecodeBase64() 347 ? src.find_last_not_of('=') + 1 in DecodeBase64()
|