/external/libcxx/test/std/experimental/string.view/string.view.find/ |
find_first_not_of_char_size.pass.cpp | 12 // constexpr size_type find_first_not_of(charT c, size_type pos = 0) const; 24 assert(s.find_first_not_of(c, pos) == x); 33 assert(s.find_first_not_of(c) == x); 77 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); 78 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); 79 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); 80 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); 81 static_assert (sv2.find_first_not_of( 'q', 5 ) == SV::npos, "" );
|
find_first_not_of_pointer_size.pass.cpp | 12 // constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 24 assert(s.find_first_not_of(str, pos) == x); 33 assert(s.find_first_not_of(str) == x); 158 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); 159 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); 160 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); 161 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); 162 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" );
|
find_first_not_of_string_view_size.pass.cpp | 12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const; 21 assert(s.find_first_not_of(str, pos) == x); 30 assert(s.find_first_not_of(str) == x);
|
/external/libchrome/base/strings/ |
string_piece_unittest.cc | 357 ASSERT_EQ(a.find_first_not_of(b), 3U); 358 ASSERT_EQ(a.find_first_not_of(c), 0U); 359 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); 360 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); 361 ASSERT_EQ(f.find_first_not_of(a), 0U); 362 ASSERT_EQ(a.find_first_not_of(f), 0U); 363 ASSERT_EQ(a.find_first_not_of(d), 0U); 364 ASSERT_EQ(a.find_first_not_of(e), 0U); 366 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); 367 ASSERT_EQ(e.find_first_not_of(a), Piece::npos) [all...] |
string_piece.h | 100 BASE_EXPORT size_t find_first_not_of(const StringPiece& self, 103 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, 106 BASE_EXPORT size_t find_first_not_of(const StringPiece& self, 109 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, 324 // find_first_not_of: Find the first occurence not of a set of characters. 325 size_type find_first_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 327 return internal::find_first_not_of(*this, s, pos); 329 size_type find_first_not_of(value_type c, size_type pos = 0) const { function in class:base::BasicStringPiece 330 return internal::find_first_not_of(*this, c, pos);
|
/external/libweave/third_party/chromium/base/strings/ |
string_piece_unittest.cc | 346 ASSERT_EQ(a.find_first_not_of(b), 3U); 347 ASSERT_EQ(a.find_first_not_of(c), 0U); 348 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); 349 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); 350 ASSERT_EQ(f.find_first_not_of(a), 0U); 351 ASSERT_EQ(a.find_first_not_of(f), 0U); 352 ASSERT_EQ(a.find_first_not_of(d), 0U); 353 ASSERT_EQ(a.find_first_not_of(e), 0U); 355 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); 356 ASSERT_EQ(e.find_first_not_of(a), Piece::npos) [all...] |
string_piece.h | 63 size_t find_first_not_of(const StringPiece& self, 66 size_t find_first_not_of(const StringPiece& self, char c, size_t pos); 243 // find_first_not_of: Find the first occurence not of a set of characters. 244 size_type find_first_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 246 return internal::find_first_not_of(*this, s, pos); 248 size_type find_first_not_of(value_type c, size_type pos = 0) const { function in class:base::BasicStringPiece 249 return internal::find_first_not_of(*this, c, pos);
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
indented_text.cc | 72 size_t pos = line.find_first_not_of(" \t"); 95 const bool all_whitespace = (line.find_first_not_of(" \t") == string::npos);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 217 size_type find_first_not_of(const _BString& __s, size_type __pos = 0) const function in class:__bstr_sum 218 { return _M_get_storage().find_first_not_of(__s, __pos); } 219 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const function in class:__bstr_sum 220 { return _M_get_storage().find_first_not_of(__s, __pos); } 221 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum 222 { return _M_get_storage().find_first_not_of(__s, __pos, __n); } 223 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const function in class:__bstr_sum 224 { return _M_get_storage().find_first_not_of(__c, __pos); }
|
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_string_sum.h | 217 size_type find_first_not_of(const _BString& __s, size_type __pos = 0) const function in class:__bstr_sum 218 { return _M_get_storage().find_first_not_of(__s, __pos); } 219 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const function in class:__bstr_sum 220 { return _M_get_storage().find_first_not_of(__s, __pos); } 221 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const function in class:__bstr_sum 222 { return _M_get_storage().find_first_not_of(__s, __pos, __n); } 223 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const function in class:__bstr_sum 224 { return _M_get_storage().find_first_not_of(__c, __pos); }
|
/external/libcxx/include/experimental/ |
string_view | 148 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 149 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 150 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 151 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 534 // find_first_not_of 536 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 538 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): recieved nullptr"); 544 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 551 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 553 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): recieved nullptr") [all...] |
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
char_size.pass.cpp | 12 // size_type find_first_not_of(charT c, size_type pos = 0) const; 24 assert(s.find_first_not_of(c, pos) == x); 33 assert(s.find_first_not_of(c) == x);
|
pointer_size.pass.cpp | 12 // size_type find_first_not_of(const charT* s, size_type pos = 0) const; 24 assert(s.find_first_not_of(str, pos) == x); 33 assert(s.find_first_not_of(str) == x);
|
string_size.pass.cpp | 12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const; 23 assert(s.find_first_not_of(str, pos) == x); 32 assert(s.find_first_not_of(str) == x);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.not.of/ |
char_size.pass.cpp | 12 // size_type find_first_not_of(charT c, size_type pos = 0) const; 24 assert(s.find_first_not_of(c, pos) == x); 33 assert(s.find_first_not_of(c) == x);
|
pointer_size.pass.cpp | 12 // size_type find_first_not_of(const charT* s, size_type pos = 0) const; 24 assert(s.find_first_not_of(str, pos) == x); 33 assert(s.find_first_not_of(str) == x);
|
string_size.pass.cpp | 12 // size_type find_first_not_of(const basic_string& str, size_type pos = 0) const; 23 assert(s.find_first_not_of(str, pos) == x); 32 assert(s.find_first_not_of(str) == x);
|
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_basic_string.i | 161 find_first_not_of(const basic_string& __str, size_type __pos = 0) const; 164 find_first_not_of(const _CharT* __s, size_type __pos, 168 find_first_not_of(_CharT __c, size_type __pos = 0) const;
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/experimental/ |
string_view | 384 find_first_not_of(basic_string_view __str, 386 { return this->find_first_not_of(__str._M_str, __pos, __str._M_len); } 389 find_first_not_of(_CharT __c, size_type __pos = 0) const noexcept; 392 find_first_not_of(const _CharT* __str, 396 find_first_not_of(const _CharT* __str, size_type __pos = 0) const noexcept 398 return this->find_first_not_of(__str, __pos,
|
/build/kati/ |
string_piece.cc | 141 size_type StringPiece::find_first_not_of(const StringPiece& s, function in class:StringPiece 151 return find_first_not_of(s.ptr_[0], pos); 163 size_type StringPiece::find_first_not_of(char c, size_type pos) const { function in class:StringPiece
|
/external/llvm/unittests/ADT/ |
SmallStringTest.cpp | 140 EXPECT_EQ(1U, theString.find_first_not_of('h')); 141 EXPECT_EQ(4U, theString.find_first_not_of("hel")); 142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello"));
|
/external/google-breakpad/src/common/mac/ |
string_utilities.cc | 64 end = str.find_first_not_of(digits, start);
|
/external/llvm/include/llvm/ADT/ |
SmallString.h | 191 size_t find_first_not_of(char C, size_t From = 0) const { function in class:llvm::SmallString 192 return str().find_first_not_of(C, From); 199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const { function in class:llvm::SmallString 200 return str().find_first_not_of(Chars, From);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 758 // find_first_not_of 759 size_type find_first_not_of(const _Self& __s, size_type __pos = 0) const function in class:basic_string 760 { return _M_non_dbg_impl.find_first_not_of(__s._M_non_dbg_impl, __pos); } 761 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const { function in class:basic_string 764 return _M_non_dbg_impl.find_first_not_of(__s, __pos); 766 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const { function in class:basic_string 769 return _M_non_dbg_impl.find_first_not_of(__s, __pos, __n); 771 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const function in class:basic_string 772 { return _M_non_dbg_impl.find_first_not_of(__c, __pos); }
|
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/debug/ |
_string.h | 758 // find_first_not_of 759 size_type find_first_not_of(const _Self& __s, size_type __pos = 0) const function in class:basic_string 760 { return _M_non_dbg_impl.find_first_not_of(__s._M_non_dbg_impl, __pos); } 761 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const { function in class:basic_string 764 return _M_non_dbg_impl.find_first_not_of(__s, __pos); 766 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const { function in class:basic_string 769 return _M_non_dbg_impl.find_first_not_of(__s, __pos, __n); 771 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const function in class:basic_string 772 { return _M_non_dbg_impl.find_first_not_of(__c, __pos); }
|