/external/libcxx/test/std/experimental/string.view/string.view.find/ |
D | find_first_not_of_char_size.pass.cpp | 24 assert(s.find_first_not_of(c, pos) == x); in test() 33 assert(s.find_first_not_of(c) == x); in test() 77 static_assert (sv1.find_first_not_of( 'q', 0 ) == SV::npos, "" ); in main() 78 static_assert (sv1.find_first_not_of( 'q', 1 ) == SV::npos, "" ); in main() 79 static_assert (sv2.find_first_not_of( 'q', 0 ) == 0, "" ); in main() 80 static_assert (sv2.find_first_not_of( 'q', 1 ) == 1, "" ); in main() 81 static_assert (sv2.find_first_not_of( 'q', 5 ) == SV::npos, "" ); in main()
|
D | find_first_not_of_pointer_size.pass.cpp | 24 assert(s.find_first_not_of(str, pos) == x); in test() 33 assert(s.find_first_not_of(str) == x); in test() 158 static_assert (sv1.find_first_not_of( "", 0) == SV::npos, "" ); in main() 159 static_assert (sv1.find_first_not_of( "irkhs", 0) == SV::npos, "" ); in main() 160 static_assert (sv2.find_first_not_of( "", 0) == 0, "" ); in main() 161 static_assert (sv2.find_first_not_of( "gfsrt", 0) == 0, "" ); in main() 162 static_assert (sv2.find_first_not_of( "lecar", 0) == 1, "" ); in main()
|
D | find_first_not_of_pointer_size_size.pass.cpp | 24 assert(s.find_first_not_of(str, pos, n) == x); in test() 385 static_assert (sv1.find_first_not_of( "", 0, 0) == SV::npos, "" ); in main() 386 static_assert (sv1.find_first_not_of( "irkhs", 0, 5) == SV::npos, "" ); in main() 387 static_assert (sv2.find_first_not_of( "", 0, 0) == 0, "" ); in main() 388 static_assert (sv2.find_first_not_of( "gfsrt", 0, 5) == 0, "" ); in main() 389 static_assert (sv2.find_first_not_of( "lecar", 0, 5) == 1, "" ); in main()
|
D | find_first_not_of_string_view_size.pass.cpp | 21 assert(s.find_first_not_of(str, pos) == x); in test() 30 assert(s.find_first_not_of(str) == x); in test()
|
/external/libweave/third_party/chromium/base/strings/ |
D | string_piece_unittest.cc | 346 ASSERT_EQ(a.find_first_not_of(b), 3U); in TYPED_TEST() 347 ASSERT_EQ(a.find_first_not_of(c), 0U); in TYPED_TEST() 348 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); in TYPED_TEST() 349 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); in TYPED_TEST() 350 ASSERT_EQ(f.find_first_not_of(a), 0U); in TYPED_TEST() 351 ASSERT_EQ(a.find_first_not_of(f), 0U); in TYPED_TEST() 352 ASSERT_EQ(a.find_first_not_of(d), 0U); in TYPED_TEST() 353 ASSERT_EQ(a.find_first_not_of(e), 0U); in TYPED_TEST() 355 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); in TYPED_TEST() 356 ASSERT_EQ(e.find_first_not_of(a), Piece::npos); in TYPED_TEST() [all …]
|
D | 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); 244 size_type find_first_not_of(const BasicStringPiece& s, 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 { 249 return internal::find_first_not_of(*this, c, pos);
|
D | string_piece.cc | 192 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function 203 return find_first_not_of(self, s.data()[0], pos); in find_first_not_of() 230 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function
|
D | string_util.cc | 144 input_piece.find_first_not_of(trim_chars) : 0; in TrimStringT() 179 input.find_first_not_of(trim_chars) : 0; in TrimStringPieceT()
|
/external/libchrome/base/strings/ |
D | string_piece_unittest.cc | 357 ASSERT_EQ(a.find_first_not_of(b), 3U); in TYPED_TEST() 358 ASSERT_EQ(a.find_first_not_of(c), 0U); in TYPED_TEST() 359 ASSERT_EQ(b.find_first_not_of(a), Piece::npos); in TYPED_TEST() 360 ASSERT_EQ(c.find_first_not_of(a), Piece::npos); in TYPED_TEST() 361 ASSERT_EQ(f.find_first_not_of(a), 0U); in TYPED_TEST() 362 ASSERT_EQ(a.find_first_not_of(f), 0U); in TYPED_TEST() 363 ASSERT_EQ(a.find_first_not_of(d), 0U); in TYPED_TEST() 364 ASSERT_EQ(a.find_first_not_of(e), 0U); in TYPED_TEST() 366 ASSERT_EQ(d.find_first_not_of(a), Piece::npos); in TYPED_TEST() 367 ASSERT_EQ(e.find_first_not_of(a), Piece::npos); in TYPED_TEST() [all …]
|
D | 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, 325 size_type find_first_not_of(const BasicStringPiece& s, 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 { 330 return internal::find_first_not_of(*this, c, pos);
|
D | string_piece.cc | 232 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function 243 return find_first_not_of(self, s.data()[0], pos); in find_first_not_of() 256 BASE_EXPORT size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function 291 size_t find_first_not_of(const StringPiece& self, in find_first_not_of() function 297 size_t find_first_not_of(const StringPiece16& self, in find_first_not_of() function
|
/external/llvm/include/llvm/ADT/ |
D | SmallString.h | 191 size_t find_first_not_of(char C, size_t From = 0) const { 192 return str().find_first_not_of(C, From); 199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const { 200 return str().find_first_not_of(Chars, From);
|
D | StringRef.h | 303 size_t find_first_not_of(char C, size_t From = 0) const; 309 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 545 return drop_front(std::min(Length, find_first_not_of(Chars)));
|
/external/ceres-solver/internal/ceres/ |
D | split.cc | 97 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing() 105 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
|
/external/parameter-framework/upstream/parameter/ |
D | RuleParser.cpp | 154 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in iterate() 246 if ((delimiter = _strApplicationRule.find_first_not_of(" ", _uiCurrentPos)) != string::npos) { in next()
|
/external/llvm/unittests/ADT/ |
D | SmallStringTest.cpp | 140 EXPECT_EQ(1U, theString.find_first_not_of('h')); in TEST_F() 141 EXPECT_EQ(4U, theString.find_first_not_of("hel")); in TEST_F() 142 EXPECT_EQ(StringRef::npos, theString.find_first_not_of("hello")); in TEST_F()
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
D | char_size.pass.cpp | 24 assert(s.find_first_not_of(c, pos) == x); in test() 33 assert(s.find_first_not_of(c) == x); in test()
|
D | pointer_size.pass.cpp | 24 assert(s.find_first_not_of(str, pos) == x); in test() 33 assert(s.find_first_not_of(str) == x); in test()
|
D | string_size.pass.cpp | 23 assert(s.find_first_not_of(str, pos) == x); in test() 32 assert(s.find_first_not_of(str) == x); in test()
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
D | indented_text.cc | 72 size_t pos = line.find_first_not_of(" \t"); in AddComments() 95 const bool all_whitespace = (line.find_first_not_of(" \t") == string::npos); in AddComments()
|
/external/libcxx/include/experimental/ |
D | 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 …BCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): recieved … 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/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 204 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint() 208 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() 225 start = CStr.find_first_not_of(" \t"); in ParseConstraint() 236 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() 262 bidx = CStr.find_first_not_of(delims); in ParseConstraints() 269 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
|
/external/webrtc/webrtc/p2p/client/ |
D | httpportallocator.cc | 28 size_t first = str.find_first_not_of(" \t\r\n"); in Trim() 45 start_of_line = string.find_first_not_of("\r\n", end_of_line); in ParseMap()
|
/external/google-breakpad/src/common/mac/ |
D | string_utilities.cc | 64 end = str.find_first_not_of(digits, start); in IntegerValueAtIndex()
|
/external/llvm/lib/Support/ |
D | StringExtras.cpp | 40 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()
|