HomeSort by relevance Sort by last modified time
    Searched refs:find_last_not_of (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/libcxx/test/std/experimental/string.view/string.view.find/
find_last_not_of_char_size.pass.cpp 12 // const 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);
75 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" );
76 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" );
77 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" );
78 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" );
79 static_assert (sv2.find_last_not_of( 'e', 5 ) == 3, "" );
find_last_not_of_pointer_size.pass.cpp 12 // constexpr 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);
158 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" );
159 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" );
160 static_assert (sv2.find_last_not_of( "", 0) == 0, "" );
161 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" );
162 static_assert (sv2.find_last_not_of( "lecar", 5) == 3, "" );
find_last_not_of_pointer_size_size.pass.cpp 12 // constexpr size_type find_last_not_of(const charT* s, size_type pos, size_type n) const;
24 assert(s.find_last_not_of(str, pos, n) == x);
385 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" );
386 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" );
387 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" );
388 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" );
389 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
find_last_not_of_string_view_size.pass.cpp 12 // size_type find_last_not_of(const basic_string& str, size_type pos = npos) const;
21 assert(s.find_last_not_of(str, pos) == x);
30 assert(s.find_last_not_of(str) == x);
  /external/libchrome/base/strings/
string_piece_unittest.cc 425 ASSERT_EQ(a.find_last_not_of(b), a.size()-1);
426 ASSERT_EQ(a.find_last_not_of(c), 22U);
427 ASSERT_EQ(b.find_last_not_of(a), Piece::npos);
428 ASSERT_EQ(b.find_last_not_of(b), Piece::npos);
429 ASSERT_EQ(f.find_last_not_of(i), 4U);
430 ASSERT_EQ(a.find_last_not_of(c, 24), 22U);
431 ASSERT_EQ(a.find_last_not_of(b, 3), 3U);
432 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos);
434 ASSERT_EQ(f.find_last_not_of(d), f.size()-1);
435 ASSERT_EQ(f.find_last_not_of(e), f.size()-1)
    [all...]
string_piece.h 126 BASE_EXPORT size_t find_last_not_of(const StringPiece& self,
129 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self,
132 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self,
135 BASE_EXPORT size_t find_last_not_of(const StringPiece& self,
343 // find_last_not_of: Find the last occurence not of a set of characters.
344 size_type find_last_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece
346 return internal::find_last_not_of(*this, s, pos);
348 size_type find_last_not_of(value_type c, function in class:base::BasicStringPiece
350 return internal::find_last_not_of(*this, c, pos);
  /external/libweave/third_party/chromium/base/strings/
string_piece_unittest.cc 414 ASSERT_EQ(a.find_last_not_of(b), a.size()-1);
415 ASSERT_EQ(a.find_last_not_of(c), 22U);
416 ASSERT_EQ(b.find_last_not_of(a), Piece::npos);
417 ASSERT_EQ(b.find_last_not_of(b), Piece::npos);
418 ASSERT_EQ(f.find_last_not_of(i), 4U);
419 ASSERT_EQ(a.find_last_not_of(c, 24), 22U);
420 ASSERT_EQ(a.find_last_not_of(b, 3), 3U);
421 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos);
423 ASSERT_EQ(f.find_last_not_of(d), f.size()-1);
424 ASSERT_EQ(f.find_last_not_of(e), f.size()-1)
    [all...]
string_piece.h 71 size_t find_last_not_of(const StringPiece& self,
74 size_t find_last_not_of(const StringPiece& self, char c, size_t pos);
262 // find_last_not_of: Find the last occurence not of a set of characters.
263 size_type find_last_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece
265 return internal::find_last_not_of(*this, s, pos);
267 size_type find_last_not_of(value_type c, function in class:base::BasicStringPiece
269 return internal::find_last_not_of(*this, c, pos);
string_util.cc 146 input_piece.find_last_not_of(trim_chars) : last_char;
181 input.find_last_not_of(trim_chars) + 1 : input.size();
  /external/libcxx/test/std/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);
  /external/libchrome/base/
base64url.cc 40 output->find_last_not_of(kPaddingChar);
  /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/parameter-framework/upstream/remote-processor/
RequestMessage.cpp 164 strTrimmed.erase(strTrimmed.find_last_not_of(gacDelimiters) + 1);
  /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...]
  /build/kati/
string_piece.cc 194 size_type StringPiece::find_last_not_of(const StringPiece& s, function in class:StringPiece
205 return find_last_not_of(s.ptr_[0], pos);
218 size_type StringPiece::find_last_not_of(char c, size_type pos) const { function in class:StringPiece
string_piece.h 170 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const;
171 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/webrtc/webrtc/base/
stringutils.cc 124 std::string::size_type last = s.find_last_not_of(kWhitespace);
  /external/libchrome/base/files/
file_util.cc 107 std::string::size_type end1 = line1.find_last_not_of("\r\n");
113 std::string::size_type end2 = line2.find_last_not_of("\r\n");

Completed in 762 milliseconds

1 2 3