/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/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 | 291 size_t find_first_not_of(char C, size_t From = 0) const; 297 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 512 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/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()
|
D | StringRefTest.cpp | 319 EXPECT_EQ(1U, Str.find_first_not_of('h')); in TEST() 320 EXPECT_EQ(4U, Str.find_first_not_of("hel")); in TEST() 321 EXPECT_EQ(StringRef::npos, Str.find_first_not_of("hello")); in TEST()
|
/external/parameter-framework/parameter/ |
D | RuleParser.cpp | 156 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/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/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/parameter-framework/utility/ |
D | Tokenizer.cpp | 47 string::size_type tokenStart = _input.find_first_not_of(_delimiters, _position); in next()
|
/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()
|
D | Regex.cpp | 154 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub()
|
D | LockFileManager.cpp | 45 PIDStr = PIDStr.substr(PIDStr.find_first_not_of(" ")); in readLockFile()
|
D | StringRef.cpp | 212 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of() function in StringRef 223 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() function in StringRef
|
/external/parameter-framework/remote-processor/ |
D | RequestMessage.cpp | 166 strTrimmed.erase(0, strTrimmed.find_first_not_of(gacDelimiters)); in trim()
|
/external/llvm/lib/MC/ |
D | MCSectionELF.cpp | 39 if (Name.find_first_not_of("0123456789_." in printName()
|
/external/llvm/include/llvm/Support/ |
D | YAMLTraits.h | 330 S.drop_front().find_first_not_of(OctalChars) == StringRef::npos) 334 S.drop_front(2).find_first_not_of(OctalChars) == StringRef::npos) 339 S.drop_front(2).find_first_not_of(HexChars) == StringRef::npos) 343 if (S.find_first_not_of(DecChars) == StringRef::npos) 390 if (S.find_first_not_of(ScalarSafeChars) != StringRef::npos)
|
/external/lldb/source/Interpreter/ |
D | CommandInterpreter.cpp | 1131 size_t start = command_string.find_first_not_of (white_space); in GetCommandObjectForCommand() 1168 start = command_string.find_first_not_of (white_space, end); in GetCommandObjectForCommand() 1190 size_t pos = s.find_first_not_of (k_white_space); in StripLeadingSpaces() 1252 … command_string.erase (0, command_string.find_first_not_of (k_white_space, end_quote_pos + 1)); in ExtractCommand() 1268 … command_string.erase(0, command_string.find_first_not_of (k_white_space, first_space_pos)); in ExtractCommand() 1280 size_t pos = command.find_first_not_of(k_valid_command_chars); in ExtractCommand() 1534 size_t non_space = command_string.find_first_not_of (k_space_characters); in HandleCommand() 1818 size_t pos = remainder.find_first_not_of (white_space); in HandleCommand()
|