Searched refs:find_last_not_of (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/base/strings/
H A Dstring_piece_unittest.cc423 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(
[all...]
H A Dstring_piece.h132 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,
332 // find_last_not_of: Find the last occurence not of a set of characters.
333 size_type find_last_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece
335 return internal::find_last_not_of(*this, s, pos);
337 size_type find_last_not_of(value_type c, function in class:base::BasicStringPiece
339 return internal::find_last_not_of(*this, c, pos);
H A Dstring_piece.cc339 size_t find_last_not_of(const StringPiece& self, function in namespace:base::internal
351 return find_last_not_of(self, s.data()[0], pos);
365 size_t find_last_not_of(const StringPiece16& self, function in namespace:base::internal
403 size_t find_last_not_of(const StringPiece& self, function in namespace:base::internal
409 size_t find_last_not_of(const StringPiece16& self, function in namespace:base::internal
/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/
H A Dstring.pxd88 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/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
H A Dchar_size.pass.cpp12 // 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);
H A Dpointer_size.pass.cpp12 // 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);
H A Dstring_size.pass.cpp12 // 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);
/external/chromium_org/components/omnibox/
H A Dautocomplete_provider.cc150 input_text.find_last_not_of(base::ASCIIToUTF16("/\\"));
155 output.find_last_not_of(base::ASCIIToUTF16("/\\"));
/external/chromium_org/sync/internal_api/
H A Dsyncapi_internal.cc69 size_t untrimmed_count = name.find_last_not_of(' ') + 1;
/external/stlport/test/unit/
H A Dstring_test.cpp66 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( "
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
H A Dstring_piece.cc175 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
H A Dstring_piece.h153 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/third_party/webrtc/base/
H A Dstringutils.cc124 std::string::size_type last = s.find_last_not_of(kWhitespace);
/external/oprofile/libutil++/
H A Dstring_manip.cpp96 return result.erase(result.find_last_not_of(totrim) + 1);
/external/chromium_org/base/files/
H A Dfile_util.cc111 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/net/base/
H A Dfilename_util_internal.cc32 size_t pos = filename->find_last_not_of(FILE_PATH_LITERAL(" ."));
269 if (result_str.find_last_not_of(FILE_PATH_LITERAL("-_")) ==
/external/stlport/stlport/stl/
H A D_string_sum.h226 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); }
H A D_string.h1010 public: // find_last_not_of
1011 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const function in class:basic_string
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 function in class:basic_string
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/llvm/include/llvm/ADT/
H A DStringRef.h309 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/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_generator.cc56 string::size_type end = s.find_last_not_of(" \n\r\t") + 1;
/external/stlport/stlport/stl/debug/
H A D_string.h774 // 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/llvm/lib/Support/
H A DStringRef.cpp251 /// find_last_not_of - Find the last character in the string that is not
253 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const {
260 /// find_last_not_of - Find the last character in the string that is not in
264 StringRef::size_type StringRef::find_last_not_of(StringRef Chars,
/external/chromium_org/extensions/browser/
H A Dfile_highlighter.cc136 size_t trim = contents_.find_last_not_of(" \t\n\r", end_ - 1);
/external/chromium_org/media/cdm/
H A Djson_web_key.cc37 size_t found = encoded_text.find_last_not_of(kBase64Padding);
/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dcommands.cc35 base::string16::size_type pos2 = string->find_last_not_of(L'"');

Completed in 621 milliseconds

12