/external/chromium_org/base/strings/ |
D | string_piece_unittest.cc | 423 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); in TYPED_TEST() 424 ASSERT_EQ(a.find_last_not_of(c), 22U); in TYPED_TEST() 425 ASSERT_EQ(b.find_last_not_of(a), Piece::npos); in TYPED_TEST() 426 ASSERT_EQ(b.find_last_not_of(b), Piece::npos); in TYPED_TEST() 427 ASSERT_EQ(f.find_last_not_of(i), 4U); in TYPED_TEST() 428 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); in TYPED_TEST() 429 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); in TYPED_TEST() 430 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos); in TYPED_TEST() 432 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); in TYPED_TEST() 433 ASSERT_EQ(f.find_last_not_of(e), f.size()-1); in TYPED_TEST() [all …]
|
D | string_piece.h | 132 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 135 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 138 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 141 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 333 size_type find_last_not_of(const BasicStringPiece& s, 335 return internal::find_last_not_of(*this, s, pos); 337 size_type find_last_not_of(value_type c, 339 return internal::find_last_not_of(*this, c, pos);
|
D | string_piece.cc | 339 size_t find_last_not_of(const StringPiece& self, in find_last_not_of() function 351 return find_last_not_of(self, s.data()[0], pos); in find_last_not_of() 365 size_t find_last_not_of(const StringPiece16& self, in find_last_not_of() function 403 size_t find_last_not_of(const StringPiece& self, in find_last_not_of() function 409 size_t find_last_not_of(const StringPiece16& self, in find_last_not_of() function
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/ |
D | string.pxd | 88 size_t find_last_not_of(string&, size_t) nogil 89 size_t find_last_not_of(char* s, size_t, size_t) nogil 90 size_t find_last_not_of(char*, size_t pos) nogil 96 size_t find_last_not_of(char c, size_t) nogil 97 size_t find_last_not_of(char c) nogil
|
/external/stlport/test/unit/ |
D | string_test.cpp | 66 CPPUNIT_TEST(find_last_not_of); 125 void find_last_not_of(); 799 void StringTest::find_last_not_of() in find_last_not_of() function in StringTest 804 CPPUNIT_ASSERT( s.find_last_not_of("ehortw ") == 15 ); in find_last_not_of() 808 CPPUNIT_CHECK( test.find_last_not_of( "a", 2, 1 ) == 1 ); in find_last_not_of() 809 CPPUNIT_CHECK( test.find_last_not_of( "b", 2, 1 ) == 2 ); in find_last_not_of() 810 CPPUNIT_CHECK( test.find_last_not_of( "a", 1, 1 ) == 1 ); in find_last_not_of() 811 CPPUNIT_CHECK( test.find_last_not_of( "b", 1, 1 ) == 0 ); in find_last_not_of() 812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); in find_last_not_of() 813 CPPUNIT_CHECK( test.find_last_not_of( "b", 0, 1 ) == 0 ); in find_last_not_of() [all …]
|
/external/libcxx/test/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/stlport/stlport/stl/ |
D | _string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const 227 { return _M_get_storage().find_last_not_of(__s, __pos); } 228 size_type find_last_not_of(const _CharT* __s, size_type __pos =_BString:: npos) const 229 { return _M_get_storage().find_last_not_of(__s, __pos); } 230 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const in find_last_not_of() function 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } in find_last_not_of() 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
D | _string.h | 1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const 1012 { return find_last_not_of(__s._M_Start(), __pos, __s.size()); } 1014 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const 1015 { _STLP_FIX_LITERAL_BUG(__s) return find_last_not_of(__s, __pos, _Traits::length(__s)); } 1017 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const; 1019 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const;
|
/external/chromium_org/third_party/libphonenumber/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;
|
/external/chromium_org/components/omnibox/ |
D | autocomplete_provider.cc | 150 input_text.find_last_not_of(base::ASCIIToUTF16("/\\")); in FixupUserInput() 155 output.find_last_not_of(base::ASCIIToUTF16("/\\")); in FixupUserInput()
|
/external/stlport/stlport/stl/debug/ |
D | _string.h | 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const 776 { return _M_non_dbg_impl.find_last_not_of(__s._M_non_dbg_impl, __pos); } 777 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const { 780 return _M_non_dbg_impl.find_last_not_of(__s, __pos); 782 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const { in find_last_not_of() function 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); in find_last_not_of() 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 309 size_t find_last_not_of(char C, size_t From = npos) const; 315 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 511 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/external/chromium_org/base/files/ |
D | file_util.cc | 111 std::string::size_type end1 = line1.find_last_not_of("\r\n"); in TextContentsEqual() 117 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual()
|
/external/chromium_org/net/base/ |
D | filename_util_internal.cc | 32 size_t pos = filename->find_last_not_of(FILE_PATH_LITERAL(" .")); in SanitizeGeneratedFileName() 269 if (result_str.find_last_not_of(FILE_PATH_LITERAL("-_")) == in GetSuggestedFilenameImpl()
|
/external/chromium_org/sync/internal_api/ |
D | syncapi_internal.cc | 69 size_t untrimmed_count = name.find_last_not_of(' ') + 1; in IsNameServerIllegalAfterTrimming()
|
/external/chromium_org/third_party/webrtc/base/ |
D | stringutils.cc | 124 std::string::size_type last = s.find_last_not_of(kWhitespace); in string_trim()
|
/external/oprofile/libutil++/ |
D | string_manip.cpp | 96 return result.erase(result.find_last_not_of(totrim) + 1); in rtrim()
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 323 EXPECT_EQ(3U, Str.find_last_not_of('o')); in TEST() 324 EXPECT_EQ(1U, Str.find_last_not_of("lo")); in TEST() 325 EXPECT_EQ(StringRef::npos, Str.find_last_not_of("helo")); in TEST()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 56 string::size_type end = s.find_last_not_of(" \n\r\t") + 1; in TrimString()
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 253 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef 264 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
|
/external/chromium_org/extensions/browser/ |
D | file_highlighter.cc | 136 size_t trim = contents_.find_last_not_of(" \t\n\r", end_ - 1); in Parse()
|
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 66 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit() 331 Lines[LineIndex - 1].find_last_not_of(Blanks, EndOfPreviousLine); in adjustWhitespace()
|