/external/chromium/base/ |
D | string_piece_unittest.cc | 351 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); in TEST() 352 ASSERT_EQ(a.find_last_not_of(c), 22U); in TEST() 353 ASSERT_EQ(b.find_last_not_of(a), StringPiece::npos); in TEST() 354 ASSERT_EQ(b.find_last_not_of(b), StringPiece::npos); in TEST() 355 ASSERT_EQ(f.find_last_not_of(i), 4U); in TEST() 356 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); in TEST() 357 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); in TEST() 358 ASSERT_EQ(a.find_last_not_of(b, 2), StringPiece::npos); in TEST() 360 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); in TEST() 361 ASSERT_EQ(f.find_last_not_of(e), f.size()-1); in TEST() [all …]
|
D | string_piece.cc | 169 size_type StringPiece::find_last_not_of(const StringPiece& s, in find_last_not_of() function in base::StringPiece 180 return find_last_not_of(s.ptr_[0], pos); in find_last_not_of() 193 size_type StringPiece::find_last_not_of(char c, size_type pos) const { in find_last_not_of() function in base::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;
|
D | file_util.cc | 134 std::string::size_type end1 = line1.find_last_not_of("\r\n"); in TextContentsEqual() 140 std::string::size_type end2 = line2.find_last_not_of("\r\n"); in TextContentsEqual()
|
D | string_util.cc | 217 input.find_last_not_of(trim_chars) : last_char; in TrimStringT()
|
/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/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;
|
D | _string.c | 540 basic_string<_CharT,_Traits,_Alloc>::find_last_not_of(const _CharT* __s, size_type __pos, size_type… in find_last_not_of() function 559 basic_string<_CharT, _Traits, _Alloc>::find_last_not_of(_CharT __c, size_type __pos) const in find_last_not_of() function
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_provider.cc | 115 input_text.find_last_not_of(ASCIIToUTF16("/\\")); in FixupUserInput() 119 output.find_last_not_of(ASCIIToUTF16("/\\")); in FixupUserInput()
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 297 size_type find_last_not_of(char C, size_t From = npos) const; 303 size_type find_last_not_of(StringRef Chars, size_t From = npos) const; 499 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/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/chromium/third_party/libjingle/source/talk/base/ |
D | stringutils.cc | 136 std::string::size_type last = s.find_last_not_of(kWhitespace); in string_trim()
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 295 EXPECT_EQ(3U, Str.find_last_not_of('o')); in TEST() 296 EXPECT_EQ(1U, Str.find_last_not_of("lo")); in TEST() 297 EXPECT_EQ(StringRef::npos, Str.find_last_not_of("helo")); in TEST()
|
/external/oprofile/libutil++/ |
D | string_manip.cpp | 96 return result.erase(result.find_last_not_of(totrim) + 1); in rtrim()
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 235 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of() function in StringRef 246 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() function in StringRef
|
D | SourceMgr.cpp | 438 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print()
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
D | httpportallocator.cc | 53 ASSERT(str.find_last_not_of(" \t\r\n") != std::string::npos); in Trim()
|
/external/chromium/chrome/browser/net/ |
D | url_fixer_upper.cc | 260 size_t last_nondot(domain.find_last_not_of('.')); in FixupHost()
|
/external/chromium/chrome/browser/ui/views/ |
D | shell_dialogs_win.cc | 60 size_t index = return_value.find_last_not_of(L'.'); in AppendExtensionIfNeeded()
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
D | devicemanager.cc | 736 std::string::size_type last = s.find_last_not_of(drop); in Trim()
|
/external/srec/tools/grxmlcompile/ |
D | grxmldoc.cpp | 499 cdata.erase(cdata.find_last_not_of(whitespace) + 1); in processCDATA()
|
/external/chromium/net/base/ |
D | net_util.cc | 1538 std::string::size_type pos = filename.find_last_not_of(" ."); in GetSuggestedFilename()
|
/external/chromium/chrome/browser/sync/engine/ |
D | syncapi.cc | 140 size_t untrimmed_count = name.find_last_not_of(' ') + 1; in IsNameServerIllegalAfterTrimming()
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
D | Context.cpp | 3266 std::string::size_type end = mExtensionString.find_last_not_of(' '); in initExtensionString()
|