Home
last modified time | relevance | path

Searched refs:find_first_of (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h165 [[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 DStringRef.h362 [[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 Dtrc_core_arch_map.cpp118 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 DFormatVariadic.cpp97 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 DPath.cpp83 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 DProgram.cpp85 const bool Escape = Arg.find_first_of(" \"\\$") != StringRef::npos; in printArg()
H A DGlobPattern.cpp140 size_t PrefixSize = S.find_first_of("?*[{\\"); in create()
H A DStringExtras.cpp45 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
H A DYAMLParser.cpp1020 || 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 DRegex.cpp236 return Str.find_first_of(RegexMetachars) == StringRef::npos;
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfind_first_of.h38 …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 Dranges_find_first_of.h96 inline constexpr auto find_first_of = __find_first_of::__fn{};
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp242 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 DAsmWriterInst.cpp60 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A DDisassembler.cpp90 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 DIntegerLiteralSeparatorFixer.cpp119 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 Devent.cc361 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 Dstring_view149 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 DCodeExpander.cpp24 size_t Pos = Current.find_first_of("$\n\\"); in emit()
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptLexer.cpp47 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 DBreakpointID.cpp109 if (str.find_first_of(".- ") != llvm::StringRef::npos) { in StringIsBreakpointName()
/freebsd/contrib/kyua/cli/
H A Dcmd_report_html.cpp115 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 DUserSettingsController.cpp118 size_t dot_pos = setting.find_first_of('.');
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h47 _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 DFileSpec.cpp119 for (auto i = path.find_first_of("\\/"); i != llvm::StringRef::npos; in needsNormalization()
120 i = path.find_first_of("\\/", i + 1)) { in needsNormalization()

12345