/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 165 [[nodiscard]] size_t find_first_of(char C, size_t From = 0) const { 166 return str().find_first_of(C, From); 173 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const { 174 return str().find_first_of(Chars, From);
|
H A D | StringRef.h | 362 [[nodiscard]] size_t find_first_of(char C, size_t From = 0) const { 370 [[nodiscard]] size_t find_first_of(StringRef Chars, size_t From = 0) const; 416 return find_first_of(C) != npos; in contains()
|
/freebsd/contrib/opencsd/decoder/source/ |
H A D | trc_core_arch_map.cpp | 118 pos = coreName.find_first_of("."); in getPatternMatchCoreName() 140 if (coreName.find_first_of("-", 4) == (size_t)(5 + dotoffset)) { in getPatternMatchCoreName() 167 if (coreName.find_first_of("-", 7) == 8) { in getPatternMatchCoreName()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | FormatVariadic.cpp | 97 std::size_t BO = Fmt.find_first_of('{'); in splitLiteralAndReplacement() 113 std::size_t BC = Fmt.find_first_of('}'); in splitLiteralAndReplacement() 124 std::size_t BO2 = Fmt.find_first_of('{', 1); in splitLiteralAndReplacement()
|
H A D | Path.cpp | 83 size_t end = path.find_first_of(separators(style), 2); in find_first_component() 92 size_t end = path.find_first_of(separators(style)); in find_first_component() 127 return str.find_first_of(separators(style), 2); in root_dir_start() 284 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++() 732 size_t next_slash = remaining.find_first_of(separators(style)); in remove_dots() 848 assert(P.find_first_of(separators(Style::native)) == StringRef::npos && in createTemporaryFile()
|
H A D | Program.cpp | 85 const bool Escape = Arg.find_first_of(" \"\\$") != StringRef::npos; in printArg()
|
H A D | GlobPattern.cpp | 140 size_t PrefixSize = S.find_first_of("?*[{\\"); in create()
|
H A D | StringExtras.cpp | 45 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
|
H A D | YAMLParser.cpp | 1020 || StringRef(Current, 1).find_first_of("#;/?:@&=+$,_.!~*'()[]") in consume() 1065 StringRef(Position, 1).find_first_of(",[]{}") != StringRef::npos) in consumeLineBreakIfPresent() 1906 FirstChar.find_first_of("-?:,[]{}#&*!|>'\"%@`") == StringRef::npos) || 1907 (FirstChar.find_first_of("?:-") != StringRef::npos && 2059 size_t I = UnquotedValue.find_first_of(LookupChars); in unescapeDoubleQuoted() 2066 for (; I != StringRef::npos; I = UnquotedValue.find_first_of(LookupChars)) { in unescapeDoubleQuoted() 2649 T = T.substr(T.find_first_of(" \t")).ltrim(" \t"); 2650 std::size_t HandleEnd = T.find_first_of(" \t");
|
H A D | Regex.cpp | 236 return Str.find_first_of(RegexMetachars) == StringRef::npos;
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | find_first_of.h | 38 …DISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_first_of( in find_first_of() function 48 …DISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_first_of( in find_first_of() function
|
H A D | ranges_find_first_of.h | 96 inline constexpr auto find_first_of = __find_first_of::__fn{};
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenInstruction.cpp | 242 StringRef::size_type DotIdx = OpName.find_first_of('.'); in ParseOperandName() 303 StringRef::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() 327 StringRef::size_type pos = CStr.find_first_of('='); in ParseConstraint() 329 CStr.find_first_of(" \t", pos) != (pos + 1) || in ParseConstraint() 336 wpos = CStr.find_first_of(" \t", start); in ParseConstraint() 403 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
|
H A D | AsmWriterInst.cpp | 60 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 90 Str = Str.substr(Str.find_first_of('\n')); in SkipToToken() 107 size_t Next = Str.find_first_of(" \t\n\r,#[]"); in ByteArrayFromString()
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | IntegerLiteralSeparatorFixer.cpp | 119 Text.find_first_of(IsBase16 ? Suffixes.drop_back() : Suffixes); in process() 130 auto End = Text.find_first_of("uUlLzZn", Start); in process()
|
/freebsd/lib/libdevdctl/ |
H A D | event.cc | 361 end = eventString.find_first_of(" \t\n", start); in ParseEventString() 373 end = eventString.find_first_of(" \t\n", start); in ParseEventString() 415 end = eventString.find_first_of(" \t\n", start); in ParseEventString()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | string_view | 149 constexpr size_type find_first_of(basic_string_view s, size_type pos = 0) const noexcept; 150 constexpr size_type find_first_of(charT c, size_type pos = 0) const noexcept; 151 …constexpr size_type find_first_of(const charT* s, size_type pos, size_type n) const noexcept; // n… 152 …constexpr size_type find_first_of(const charT* s, size_type pos = 0) const noexcept; // noexcept a… 536 // find_first_of 538 find_first_of(basic_string_view __s, size_type __pos = 0) const _NOEXCEPT { 539 …_LIBCPP_ASSERT_NON_NULL(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): r… 545 find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT { 550 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT { 551 …_LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::find_first_of(): received nullpt… [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | CodeExpander.cpp | 24 size_t Pos = Current.find_first_of("$\n\\"); in emit()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ScriptLexer.cpp | 47 return s.substr(0, s.find_first_of("\r\n")); in getLine() 203 size_t e = s.find_first_of(ops); in tokenizeExpr()
|
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointID.cpp | 109 if (str.find_first_of(".- ") != llvm::StringRef::npos) { in StringIsBreakpointName()
|
/freebsd/contrib/kyua/cli/ |
H A D | cmd_report_html.cpp | 115 std::string::size_type pos = name.find_first_of(special_characters); in test_case_filename() 118 pos = name.find_first_of(special_characters, pos + 1); in test_case_filename()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | UserSettingsController.cpp | 118 size_t dot_pos = setting.find_first_of('.');
|
/freebsd/contrib/llvm-project/libcxx/include/__string/ |
H A D | extern_template_lists.h | 47 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_first_of(value_type const*, size_type, size_type) const) \ 96 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::find_first_of(value_type const*, size_type, size_type) const) \
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | FileSpec.cpp | 119 for (auto i = path.find_first_of("\\/"); i != llvm::StringRef::npos; in needsNormalization() 120 i = path.find_first_of("\\/", i + 1)) { in needsNormalization()
|