/external/chromium_org/base/strings/ |
string_piece_unittest.cc | 423 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); 424 ASSERT_EQ(a.find_last_not_of(c), 22U); 425 ASSERT_EQ(b.find_last_not_of(a), Piece::npos); 426 ASSERT_EQ(b.find_last_not_of(b), Piece::npos); 427 ASSERT_EQ(f.find_last_not_of(i), 4U); 428 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); 429 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); 430 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos); 432 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); 433 ASSERT_EQ(f.find_last_not_of(e), f.size()-1) [all...] |
string_piece.h | 127 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 130 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 133 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 136 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 327 // find_last_not_of: Find the last occurence not of a set of characters. 328 size_type find_last_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 330 return internal::find_last_not_of(*this, s, pos); 332 size_type find_last_not_of(value_type c, function in class:base::BasicStringPiece 334 return internal::find_last_not_of(*this, c, pos);
|
/external/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/ |
char_size.pass.cpp | 12 // size_type find_last_not_of(charT c, size_type pos = npos) const; 24 assert(s.find_last_not_of(c, pos) == x); 33 assert(s.find_last_not_of(c) == x);
|
pointer_size.pass.cpp | 12 // size_type find_last_not_of(const charT* s, size_type pos = npos) const; 24 assert(s.find_last_not_of(str, pos) == x); 33 assert(s.find_last_not_of(str) == x);
|
string_size.pass.cpp | 12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const; 23 assert(s.find_last_not_of(str, pos) == x); 32 assert(s.find_last_not_of(str) == x);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/ |
char_size.pass.cpp | 12 // size_type find_last_not_of(charT c, size_type pos = npos) const; 24 assert(s.find_last_not_of(c, pos) == x); 33 assert(s.find_last_not_of(c) == x);
|
pointer_size.pass.cpp | 12 // size_type find_last_not_of(const charT* s, size_type pos = npos) const; 24 assert(s.find_last_not_of(str, pos) == x); 33 assert(s.find_last_not_of(str) == x);
|
string_size.pass.cpp | 12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const; 23 assert(s.find_last_not_of(str, pos) == x); 32 assert(s.find_last_not_of(str) == x);
|
/sdk/emulator/opengl/host/tools/emugen/ |
strUtils.cpp | 40 string::size_type end = str.find_last_not_of(WHITESPACE);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
algorithm.hpp | 179 find_last_not_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, function in namespace:boost::unit_test 203 find_last_not_of( BidirectionalIterator1 first1, BidirectionalIterator1 last1, function in namespace:boost::unit_test
|
/external/chromium_org/sync/internal_api/ |
syncapi_internal.cc | 68 size_t untrimmed_count = name.find_last_not_of(' ') + 1;
|
/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_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
string_piece.cc | 175 size_type StringPiece::find_last_not_of(const StringPiece& s, function in class:i18n::phonenumbers::StringPiece 186 return find_last_not_of(s.ptr_[0], pos); 199 size_type StringPiece::find_last_not_of(char c, size_type pos) const { function in class:i18n::phonenumbers::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;
|
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_basic_string.i | 171 find_last_not_of(const basic_string& __str, size_type __pos = npos) const; 174 find_last_not_of(const _CharT* __s, size_type __pos, 178 find_last_not_of(_CharT __c, size_type __pos = npos) const;
|
/external/llvm/include/llvm/ADT/ |
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/third_party/libjingle/source/talk/base/ |
stringutils.cc | 141 std::string::size_type last = s.find_last_not_of(kWhitespace);
|
/external/chromium_org/third_party/webrtc/base/ |
stringutils.cc | 124 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/chromium_org/base/ |
file_util.cc | 111 std::string::size_type end1 = line1.find_last_not_of("\r\n"); 117 std::string::size_type end2 = line2.find_last_not_of("\r\n");
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_provider.cc | 191 input_text.find_last_not_of(base::ASCIIToUTF16("/\\")); 196 output.find_last_not_of(base::ASCIIToUTF16("/\\"));
|
/external/chromium_org/net/base/ |
filename_util_internal.cc | 32 size_t pos = filename->find_last_not_of(FILE_PATH_LITERAL(" .")); 267 if (result_str.find_last_not_of(FILE_PATH_LITERAL("-_")) ==
|
/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); }
|