Home
last modified time | relevance | path

Searched refs:find_first_not_of (Results 1 – 25 of 64) sorted by relevance

123

/external/libcxx/test/std/experimental/string.view/string.view.find/
Dfind_first_not_of_char_size.pass.cpp24 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()
Dfind_first_not_of_pointer_size.pass.cpp24 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()
Dfind_first_not_of_pointer_size_size.pass.cpp24 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()
Dfind_first_not_of_string_view_size.pass.cpp21 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/
DSmallString.h191 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);
DStringRef.h291 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/
Dsplit.cc97 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/
DSmallStringTest.cpp140 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()
DStringRefTest.cpp319 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/
DRuleParser.cpp156 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/
Dchar_size.pass.cpp24 assert(s.find_first_not_of(c, pos) == x); in test()
33 assert(s.find_first_not_of(c) == x); in test()
Dpointer_size.pass.cpp24 assert(s.find_first_not_of(str, pos) == x); in test()
33 assert(s.find_first_not_of(str) == x); in test()
Dstring_size.pass.cpp23 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/
Dstring_view148 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/
DCodeGenInstruction.cpp204 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/
DTokenizer.cpp47 string::size_type tokenStart = _input.find_first_not_of(_delimiters, _position); in next()
/external/google-breakpad/src/common/mac/
Dstring_utilities.cc64 end = str.find_first_not_of(digits, start); in IntegerValueAtIndex()
/external/llvm/lib/Support/
DStringExtras.cpp40 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()
DRegex.cpp154 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub()
DLockFileManager.cpp45 PIDStr = PIDStr.substr(PIDStr.find_first_not_of(" ")); in readLockFile()
DStringRef.cpp212 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/
DRequestMessage.cpp166 strTrimmed.erase(0, strTrimmed.find_first_not_of(gacDelimiters)); in trim()
/external/llvm/lib/MC/
DMCSectionELF.cpp39 if (Name.find_first_not_of("0123456789_." in printName()
/external/llvm/include/llvm/Support/
DYAMLTraits.h330 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/
DCommandInterpreter.cpp1131 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()

123