Home
last modified time | relevance | path

Searched refs:find_first_of (Results 1 – 25 of 118) 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.h382 [[nodiscard]] size_t find_first_of(char C, size_t From = 0) const {
390 [[nodiscard]] LLVM_ABI size_t find_first_of(StringRef Chars,
439 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/libcxx/include/__cxx03/__algorithm/
H A Dfind_first_of.h38 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _ForwardIterator1 find_first_of( in find_first_of() function
48 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _ForwardIterator1 find_first_of( in find_first_of() function
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfind_first_of.h37 …ard__]] inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_first_of( in find_first_of() function
47 …ard__]] inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_first_of( in find_first_of() function
H A Dranges_find_first_of.h94 inline constexpr auto find_first_of = __find_first_of{};
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFormatVariadic.cpp97 size_t BO = Fmt.find_first_of('{'); in splitLiteralAndReplacement()
113 size_t BC = Fmt.find_first_of('}'); in splitLiteralAndReplacement()
125 size_t BO2 = Fmt.find_first_of('{', 1); in splitLiteralAndReplacement()
H A DProgram.cpp82 const bool Escape = Arg.find_first_of(" \"\\$") != StringRef::npos; in printArg()
H A DPath.cpp82 size_t end = path.find_first_of(separators(style), 2); in find_first_component()
91 size_t end = path.find_first_of(separators(style)); in find_first_component()
126 return str.find_first_of(separators(style), 2); in root_dir_start()
283 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++()
731 size_t next_slash = remaining.find_first_of(separators(style)); in remove_dots()
847 assert(P.find_first_of(separators(Style::native)) == StringRef::npos && in createTemporaryFile()
H A DYAMLParser.cpp1018 StringRef(Current, 1).find_first_of("#;/?:@&=+$,_.!~*'()[]") != in scan_ns_uri_char()
1064 StringRef(Position, 1).find_first_of(",[]{}") != StringRef::npos) in isPlainSafeNonBlank()
1906 FirstChar.find_first_of("-?:,[]{}#&*!|>'\"%@`") == StringRef::npos) || in fetchMoreTokens()
1907 (FirstChar.find_first_of("?:-") != StringRef::npos && in fetchMoreTokens()
2059 size_t I = UnquotedValue.find_first_of(LookupChars); in parseScalarValue()
2066 for (; I != StringRef::npos; I = UnquotedValue.find_first_of(LookupChars)) { in parseScalarValue()
2650 T = T.substr(T.find_first_of(" \t")).ltrim(" \t"); in parseTAGDirective()
2651 std::size_t HandleEnd = T.find_first_of(" \t"); in parseTAGDirective()
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()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp239 StringRef::size_type DotIdx = OpName.find_first_of('.'); in ParseOperandName()
299 StringRef::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
323 StringRef::size_type pos = CStr.find_first_of('='); in ParseConstraint()
325 CStr.find_first_of(" \t", pos) != (pos + 1) || in ParseConstraint()
332 wpos = CStr.find_first_of(" \t", start); in ParseConstraint()
400 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
H A DAsmWriterInst.cpp60 AsmString.find_first_of("$\\", LastEmitted); in AsmWriterInst()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
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…
466 // find_first_of
467 …_LIBCPP_HIDE_FROM_ABI size_type find_first_of(basic_string_view __s, size_type __pos = 0) const _N…
468 …_LIBCPP_ASSERT_NON_NULL(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): r…
473 _LIBCPP_HIDE_FROM_ABI size_type find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT {
477 …_LIBCPP_HIDE_FROM_ABI size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) c…
478 …_LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::find_first_of(): received nullpt…
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A DDisassembler.cpp95 Str = Str.substr(Str.find_first_of('\n')); in SkipToToken()
110 size_t Next = Str.find_first_of(" \t\n\r,#[]"); in byteArrayFromString()
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Dstring_view.h185 LIBC_INLINE constexpr size_t find_first_of(const char c,
215 return find_first_of(c) != npos; in contains()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp122 Text.find_first_of(IsBase16 ? Suffixes.drop_back() : Suffixes); in process()
133 auto End = Text.find_first_of("uUlLzZn", Start); in process()
H A DMatchFilePath.cpp94 if (const auto K = Pattern.find_first_of("]/", I + 1); in matchFilePath()
/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…
549 // find_first_of
551 find_first_of(basic_string_view __s, size_type __pos = 0) const _NOEXCEPT {
552 …_LIBCPP_ASSERT_NON_NULL(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): r…
558 find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT {
563 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT {
564 …_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/lldb/source/Core/
H A DUserSettingsController.cpp95 size_t dot_pos = setting.find_first_of('.'); in IsSettingExperimental()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointID.cpp110 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()

12345