/external/chromium/base/ |
string_piece_unittest.cc | 351 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); 352 ASSERT_EQ(a.find_last_not_of(c), 22U); 353 ASSERT_EQ(b.find_last_not_of(a), StringPiece::npos); 354 ASSERT_EQ(b.find_last_not_of(b), StringPiece::npos); 355 ASSERT_EQ(f.find_last_not_of(i), 4U); 356 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); 357 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); 358 ASSERT_EQ(a.find_last_not_of(b, 2), StringPiece::npos); 360 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); 361 ASSERT_EQ(f.find_last_not_of(e), f.size()-1) [all...] |
string_piece.cc | 169 size_type StringPiece::find_last_not_of(const StringPiece& s, function in class:base::StringPiece 180 return find_last_not_of(s.ptr_[0], pos); 193 size_type StringPiece::find_last_not_of(char c, size_type pos) const { function in class:base::StringPiece
|
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;
|
file_util.cc | 134 std::string::size_type end1 = line1.find_last_not_of("\r\n"); 140 std::string::size_type end2 = line2.find_last_not_of("\r\n");
|
/sdk/emulator/opengl/host/tools/emugen/ |
strUtils.cpp | 40 string::size_type end = str.find_last_not_of(WHITESPACE);
|
/external/chromium/chrome/browser/autocomplete/ |
history_provider.cc | 115 input_text.find_last_not_of(ASCIIToUTF16("/\\")); 119 output.find_last_not_of(ASCIIToUTF16("/\\"));
|
/external/stlport/test/unit/ |
string_test.cpp | 66 CPPUNIT_TEST(find_last_not_of); 125 void find_last_not_of(); 799 void StringTest::find_last_not_of() function in class:StringTest 804 CPPUNIT_ASSERT( s.find_last_not_of("ehortw ") == 15 ); 808 CPPUNIT_CHECK( test.find_last_not_of( "a", 2, 1 ) == 1 ); 809 CPPUNIT_CHECK( test.find_last_not_of( "b", 2, 1 ) == 2 ); 810 CPPUNIT_CHECK( test.find_last_not_of( "a", 1, 1 ) == 1 ); 811 CPPUNIT_CHECK( test.find_last_not_of( "b", 1, 1 ) == 0 ); 812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); 813 CPPUNIT_CHECK( test.find_last_not_of( "b", 0, 1 ) == 0 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
string_test.cpp | 66 CPPUNIT_TEST(find_last_not_of); 125 void find_last_not_of(); 799 void StringTest::find_last_not_of() function in class:StringTest 804 CPPUNIT_ASSERT( s.find_last_not_of("ehortw ") == 15 ); 808 CPPUNIT_CHECK( test.find_last_not_of( "a", 2, 1 ) == 1 ); 809 CPPUNIT_CHECK( test.find_last_not_of( "b", 2, 1 ) == 2 ); 810 CPPUNIT_CHECK( test.find_last_not_of( "a", 1, 1 ) == 1 ); 811 CPPUNIT_CHECK( test.find_last_not_of( "b", 1, 1 ) == 0 ); 812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); 813 CPPUNIT_CHECK( test.find_last_not_of( "b", 0, 1 ) == 0 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
string_test.cpp | 66 CPPUNIT_TEST(find_last_not_of); 125 void find_last_not_of(); 799 void StringTest::find_last_not_of() function in class:StringTest 804 CPPUNIT_ASSERT( s.find_last_not_of("ehortw ") == 15 ); 808 CPPUNIT_CHECK( test.find_last_not_of( "a", 2, 1 ) == 1 ); 809 CPPUNIT_CHECK( test.find_last_not_of( "b", 2, 1 ) == 2 ); 810 CPPUNIT_CHECK( test.find_last_not_of( "a", 1, 1 ) == 1 ); 811 CPPUNIT_CHECK( test.find_last_not_of( "b", 1, 1 ) == 0 ); 812 CPPUNIT_CHECK( test.find_last_not_of( "a", 0, 1 ) == string::npos ); 813 CPPUNIT_CHECK( test.find_last_not_of( "b", 0, 1 ) == 0 ) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stringutils.cc | 136 std::string::size_type last = s.find_last_not_of(kWhitespace);
|
/external/oprofile/libutil++/ |
string_manip.cpp | 96 return result.erase(result.find_last_not_of(totrim) + 1);
|
/external/astl/tests/ |
test_string.cpp | 1064 EXPECT_TRUE(s.find_last_not_of('a') == string::npos); 1065 EXPECT_TRUE(s.find_last_not_of('a', 0) == string::npos); 1066 EXPECT_TRUE(s.find_last_not_of('a', 10) == string::npos); 1068 EXPECT_TRUE(s.find_last_not_of('a') == 9); 1069 EXPECT_TRUE(s.find_last_not_of('a', 10) == 9); 1070 EXPECT_TRUE(s.find_last_not_of('a', 9) == 9); 1071 EXPECT_TRUE(s.find_last_not_of('a', 0) == string::npos); 1073 EXPECT_TRUE(s.find_last_not_of('a') == 7);
|
/external/stlport/stlport/stl/ |
_string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 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 function in class:__bstr_sum 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 function in class:__bstr_sum 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
_string.h | 1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 1014 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const function in class:basic_string [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 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 function in class:__bstr_sum 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 function in class:__bstr_sum 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
_string.h | 1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 1014 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const function in class:basic_string [all...] |
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 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 function in class:__bstr_sum 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 function in class:__bstr_sum 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 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 function in class:__bstr_sum 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 function in class:__bstr_sum 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 226 size_type find_last_not_of(const _BString& __s, size_type __pos = _BString::npos) const function in class:__bstr_sum 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 function in class:__bstr_sum 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 function in class:__bstr_sum 231 { return _M_get_storage().find_last_not_of(__s, __pos, __n); } 232 size_type find_last_not_of(_CharT __c, size_type __pos = _BString::npos) const function in class:__bstr_sum 233 { return _M_get_storage().find_last_not_of(__c, __pos); }
|
/external/stlport/stlport/stl/debug/ |
_string.h | 774 // find_last_not_of 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 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 { function in class:basic_string 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 { function in class:basic_string 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 774 // find_last_not_of 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 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 { function in class:basic_string 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 { function in class:basic_string 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 774 // find_last_not_of 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 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 { function in class:basic_string 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 { function in class:basic_string 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 774 // find_last_not_of 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 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 { function in class:basic_string 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 { function in class:basic_string 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 774 // find_last_not_of 775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string 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 { function in class:basic_string 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 { function in class:basic_string 785 return _M_non_dbg_impl.find_last_not_of(__s, __pos, __n); 787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const function in class:basic_string 788 { return _M_non_dbg_impl.find_last_not_of(__c, __pos); }
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.cc | 53 ASSERT(str.find_last_not_of(" \t\r\n") != std::string::npos);
|