/external/libcxx/test/std/strings/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; 25 assert(s.find_last_not_of(c, pos) == x); 34 assert(s.find_last_not_of(c) == x); 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); 78 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); 79 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); 80 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; 25 assert(s.find_last_not_of(str, pos) == x); 34 assert(s.find_last_not_of(str) == x); 159 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); 161 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); 163 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; 25 assert(s.find_last_not_of(str, pos, n) == x); 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); 388 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); 389 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); 390 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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; 25 assert(s.find_last_not_of(c, pos) == x); 34 assert(s.find_last_not_of(c) == x); 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); 78 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); 79 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); 80 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; 25 assert(s.find_last_not_of(str, pos) == x); 34 assert(s.find_last_not_of(str) == x); 159 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); 161 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); 163 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; 25 assert(s.find_last_not_of(str, pos, n) == x); 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); 388 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); 389 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); 390 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/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; 25 assert(s.find_last_not_of(c, pos) == x); 34 assert(s.find_last_not_of(c) == x); 76 static_assert (sv1.find_last_not_of( 'i', 0 ) == SV::npos, "" ); 77 static_assert (sv1.find_last_not_of( 'i', 1 ) == SV::npos, "" ); 78 static_assert (sv2.find_last_not_of( 'a', 0 ) == SV::npos, "" ); 79 static_assert (sv2.find_last_not_of( 'a', 1 ) == 1, "" ); 80 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; 25 assert(s.find_last_not_of(str, pos) == x); 34 assert(s.find_last_not_of(str) == x); 159 static_assert (sv1.find_last_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_last_not_of( "irkhs", 5) == SV::npos, "" ); 161 static_assert (sv2.find_last_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_last_not_of( "gfsrt", 5) == 4, "" ); 163 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; 25 assert(s.find_last_not_of(str, pos, n) == x); 386 static_assert (sv1.find_last_not_of( "", 0, 0) == SV::npos, "" ); 387 static_assert (sv1.find_last_not_of( "irkhs", 0, 5) == SV::npos, "" ); 388 static_assert (sv2.find_last_not_of( "", 0, 0) == 0, "" ); 389 static_assert (sv2.find_last_not_of( "gfsrt", 5, 0) == 4, "" ); 390 static_assert (sv2.find_last_not_of( "lecar", 5, 0) == 4, "" );
|
/external/perf_data_converter/src/quipper/ |
string_utils.cc | 13 size_t end = str->find_last_not_of(kWhitespaceCharacters);
|
/external/libchrome/base/strings/ |
string_piece_unittest.cc | 427 ASSERT_EQ(a.find_last_not_of(b), a.size()-1); 428 ASSERT_EQ(a.find_last_not_of(c), 22U); 429 ASSERT_EQ(b.find_last_not_of(a), Piece::npos); 430 ASSERT_EQ(b.find_last_not_of(b), Piece::npos); 431 ASSERT_EQ(f.find_last_not_of(i), 4U); 432 ASSERT_EQ(a.find_last_not_of(c, 24), 22U); 433 ASSERT_EQ(a.find_last_not_of(b, 3), 3U); 434 ASSERT_EQ(a.find_last_not_of(b, 2), Piece::npos); 436 ASSERT_EQ(f.find_last_not_of(d), f.size()-1); 437 ASSERT_EQ(f.find_last_not_of(e), f.size()-1) [all...] |
string_piece.h | 125 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 128 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 131 BASE_EXPORT size_t find_last_not_of(const StringPiece16& self, 134 BASE_EXPORT size_t find_last_not_of(const StringPiece& self, 347 // find_last_not_of: Find the last occurence not of a set of characters. 348 size_type find_last_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 350 return internal::find_last_not_of(*this, s, pos); 352 size_type find_last_not_of(value_type c, function in class:base::BasicStringPiece 354 return internal::find_last_not_of(*this, c, pos);
|
/external/protobuf/src/google/protobuf/stubs/ |
stringpiece_unittest.cc | 503 EXPECT_EQ(a.find_last_not_of(b), a.size()-1); 504 EXPECT_EQ(a.find_last_not_of(c), 22); 505 EXPECT_EQ(b.find_last_not_of(a), StringPiece::npos); 506 EXPECT_EQ(b.find_last_not_of(b), StringPiece::npos); 507 EXPECT_EQ(f.find_last_not_of(i), 4); 508 EXPECT_EQ(a.find_last_not_of(c, 24), 22); 509 EXPECT_EQ(a.find_last_not_of(b, 3), 3); 510 EXPECT_EQ(a.find_last_not_of(b, 2), StringPiece::npos); 512 EXPECT_EQ(f.find_last_not_of(d), f.size()-1); 513 EXPECT_EQ(f.find_last_not_of(e), f.size()-1) [all...] |
stringpiece.cc | 226 stringpiece_ssize_type StringPiece::find_last_not_of(StringPiece s, function in class:google::protobuf::StringPiece 234 if (s.length_ == 1) return find_last_not_of(s.ptr_[0], pos); 246 stringpiece_ssize_type StringPiece::find_last_not_of(char c, function in class:google::protobuf::StringPiece
|
/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);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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);
|
/external/libchrome/base/ |
base64url.cc | 39 output->find_last_not_of(kPaddingChar);
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
PVRTString.h | 441 size_t find_last_not_of(char _Ch, size_t _Off = 0) const; 449 size_t find_last_not_of(const char* _Ptr, size_t _Off = 0) const; 458 size_t find_last_not_of(const char* _Ptr, size_t _Off, size_t _Count) const; 466 size_t find_last_not_of(const CPVRTString& _Str, size_t _Off = 0) const; [all...] |
/external/parameter-framework/upstream/remote-processor/ |
RequestMessage.cpp | 164 strTrimmed.erase(strTrimmed.find_last_not_of(gacDelimiters) + 1);
|
/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 | 166 size_type find_last_not_of(const StringPiece& s, size_type pos = npos) const; 167 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;
|
/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/ |
string_piece.h | 170 size_t find_last_not_of(const string_piece& to_search, function in class:shaderc_util::string_piece 186 // Returns find_last_not_of(str, pos) where str is a string_piece 188 size_t find_last_not_of(char to_search, size_t pos = 0) const { function in class:shaderc_util::string_piece 189 return find_last_not_of(string_piece(&to_search, &to_search + 1), pos);
|
/external/llvm/include/llvm/ADT/ |
StringRef.h | 332 size_t find_last_not_of(char C, size_t From = npos) const; 338 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 565 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); 571 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
|
/external/webrtc/webrtc/base/ |
stringutils.cc | 124 std::string::size_type last = s.find_last_not_of(kWhitespace);
|