| /external/libcxx/test/std/strings/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; 25 assert(s.find_first_not_of(c, pos) == x); 34 assert(s.find_first_not_of(c) == x); 78 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); 79 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); 80 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); 81 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); 82 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; 25 assert(s.find_first_not_of(str, pos) == x); 34 assert(s.find_first_not_of(str) == x); 159 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); 161 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); 163 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" );
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/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; 25 assert(s.find_first_not_of(c, pos) == x); 34 assert(s.find_first_not_of(c) == x); 78 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); 79 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); 80 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); 81 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); 82 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; 25 assert(s.find_first_not_of(str, pos) == x); 34 assert(s.find_first_not_of(str) == x); 159 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); 161 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); 163 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" );
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/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; 25 assert(s.find_first_not_of(c, pos) == x); 34 assert(s.find_first_not_of(c) == x); 78 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); 79 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); 80 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); 81 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); 82 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; 25 assert(s.find_first_not_of(str, pos) == x); 34 assert(s.find_first_not_of(str) == x); 159 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); 160 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); 161 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); 162 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); 163 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" );
|
| /external/libchrome/base/strings/ |
| string_piece_unittest.cc | 359 ASSERT_EQ(a.find_first_not_of(b), 3U); 360 ASSERT_EQ(a.find_first_not_of(c), 0U); 361 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); 362 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); 363 ASSERT_EQ(f.find_first_not_of(a), 0U); 364 ASSERT_EQ(a.find_first_not_of(f), 0U); 365 ASSERT_EQ(a.find_first_not_of(d), 0U); 366 ASSERT_EQ(a.find_first_not_of(e), 0U); 368 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); 369 ASSERT_EQ(e.find_first_not_of(a), Piece::npos) [all...] |
| string_piece.h | 99 BASE_EXPORT size_t find_first_not_of(const StringPiece& self, 102 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, 105 BASE_EXPORT size_t find_first_not_of(const StringPiece& self, 108 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, 328 // find_first_not_of: Find the first occurence not of a set of characters. 329 size_type find_first_not_of(const BasicStringPiece& s, function in class:base::BasicStringPiece 331 return internal::find_first_not_of(*this, s, pos); 333 size_type find_first_not_of(value_type c, size_type pos = 0) const { function in class:base::BasicStringPiece 334 return internal::find_first_not_of(*this, c, pos);
|
| /external/perf_data_converter/src/quipper/ |
| string_utils.cc | 15 size_t start = str->find_first_not_of(kWhitespaceCharacters);
|
| /external/protobuf/src/google/protobuf/stubs/ |
| stringpiece_unittest.cc | 437 EXPECT_EQ(a.find_first_not_of(b), 3); 438 EXPECT_EQ(a.find_first_not_of(c), 0); 439 EXPECT_EQ(b.find_first_not_of(a), StringPiece::npos); 440 EXPECT_EQ(c.find_first_not_of(a), StringPiece::npos); 441 EXPECT_EQ(f.find_first_not_of(a), 0); 442 EXPECT_EQ(a.find_first_not_of(f), 0); 443 EXPECT_EQ(a.find_first_not_of(d), 0); 444 EXPECT_EQ(a.find_first_not_of(e), 0); 446 EXPECT_EQ(d.find_first_not_of(a), StringPiece::npos); 447 EXPECT_EQ(e.find_first_not_of(a), StringPiece::npos) [all...] |
| /external/libcxx/include/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 511 // find_first_not_of 513 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 515 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 521 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 528 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 530 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received 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);
|
| /prebuilts/clang/host/darwin-x86/clang-4053586/include/c++/v1/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; 535 // find_first_not_of 537 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 539 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 545 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 552 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 554 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/include/c++/v1/ |
| string_view | 138 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 141 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 505 // find_first_not_of 507 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 509 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 515 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 522 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 524 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/c++/v1/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 504 // find_first_not_of 506 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 508 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 514 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 521 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 523 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/c++/v1/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 504 // find_first_not_of 506 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 508 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 514 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 521 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 523 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/c++/v1/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 504 // find_first_not_of 506 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 508 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 514 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 521 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 523 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/c++/v1/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 504 // find_first_not_of 506 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 508 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 514 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 521 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 523 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/c++/v1/ |
| string_view | 137 constexpr size_type find_first_not_of(basic_string_view s, size_type pos = 0) const noexcept; 138 constexpr size_type find_first_not_of(charT c, size_type pos = 0) const noexcept; 139 constexpr size_type find_first_not_of(const charT* s, size_type pos, size_type n) const; 140 constexpr size_type find_first_not_of(const charT* s, size_type pos = 0) const; 504 // find_first_not_of 506 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 508 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 514 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 521 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 523 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/c++/v1/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; 538 // find_first_not_of 540 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT 542 _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): received nullptr"); 548 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT 555 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const 557 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr") [all...] |