Home
last modified time | relevance | path

Searched refs:rfind (Results 1 – 25 of 61) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h153 [[nodiscard]] size_t rfind(char C, size_t From = StringRef::npos) const {
154 return str().rfind(C, From);
161 [[nodiscard]] size_t rfind(StringRef Str) const { return str().rfind(Str); } in rfind() function
H A DStringRef.h332 [[nodiscard]] size_t rfind(char C, size_t From = npos) const {
352 [[nodiscard]] size_t rfind(StringRef Str) const;
386 return rfind(C, From);
719 size_t Idx = rfind(Separator); in rsplit()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp268 size_t posNoEVEX512 = FS.rfind("-evex512"); in initSubtargetFeatures()
271 FS.ends_with("-avx512f") ? FS.size() - 8 : FS.rfind("-avx512f,"); in initSubtargetFeatures()
272 size_t posEVEX512 = FS.rfind("+evex512"); in initSubtargetFeatures()
274 size_t posAVX512F = FS.rfind("+avx512"); in initSubtargetFeatures()
/freebsd/contrib/kyua/utils/fs/
H A Dpath.cpp124 const std::string::size_type end_pos = _repr.rfind('/'); in branch_path()
140 const std::string::size_type beg_pos = _repr.rfind('/'); in leaf_name()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-type-util.h112 if (s.rfind("struct ", 0) == 0) { in GetTypeName()
114 } else if (s.rfind("class ", 0) == 0) { in GetTypeName()
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h34 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type const*, size_type, size_type) const) \
63 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type, size_type) const) \
84 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type const*, size_type, size_type) const) \
114 _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(value_type, size_type) const) \
/freebsd/contrib/llvm-project/lld/COFF/
H A DMinGW.cpp127 libName = libName.substr(0, libName.rfind('.')); in addWholeArchive()
165 libName = libName.substr(0, libName.rfind('.')); in shouldExport()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeName.h52 auto AnglePos = Name.rfind('>'); in getTypeName()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstring_view145 constexpr size_type rfind(basic_string_view s, size_type pos = npos) const noexcept;
146 constexpr size_type rfind(charT c, size_type pos = npos) const noexcept;
147 …constexpr size_type rfind(const charT* s, size_type pos, size_type n) const noexcept; // noexcept …
148 …constexpr size_type rfind(const charT* s, size_type pos = npos) const noexcept; // noexcept as an …
511 // rfind
513 rfind(basic_string_view __s, size_type __pos = npos) const _NOEXCEPT {
519 rfind(_CharT __c, size_type __pos = npos) const _NOEXCEPT {
524 rfind(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT {
525 _LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
530 rfind(const _CharT* __s, size_type __pos = npos) const _NOEXCEPT {
[all …]
H A Dstring300 …size_type rfind(const basic_string& str, size_type pos = npos) const noexcept; // con…
302 …size_type rfind(const T& t, size_type pos = npos) const noexcept; // C++17, …
303 …size_type rfind(const value_type* s, size_type pos, size_type n) const noexcept; // con…
304 …size_type rfind(const value_type* s, size_type pos = npos) const noexcept; // con…
305 …size_type rfind(value_type c, size_type pos = npos) const noexcept; // con…
1729 rfind(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1733 rfind(const _Tp& __t, size_type __pos = npos) const _NOEXCEPT;
1735 …_LIBCPP_CONSTEXPR_SINCE_CXX20 size_type rfind(const value_type* __s, size_type __pos, size_type __…
1737 rfind(const value_type* __s, size_type __pos = npos) const _NOEXCEPT;
1738 …_LIBCPP_CONSTEXPR_SINCE_CXX20 size_type rfind(value_type __c, size_type __pos = npos) const _NOEXC…
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DObjCRuntime.cpp50 std::size_t dash = input.rfind('-'); in tryParse()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DUriParser.cpp52 pos = host_port.rfind(']'); in Parse()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DHeaderFile.cpp35 return Matches[1].drop_front(Matches[1].rfind('/') + 1).str() + "/" + in createIncludeHeaderName()
/freebsd/lib/libdevdctl/
H A Devent.cc145 size_t find_start = devName.rfind('/'); in IsDiskDev()
462 size_t start = devName.rfind('/'); in IsWholeDev()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTarWriter.cpp144 size_t Sep = Path.rfind('/', MaxPrefix + 1); in splitUstar()
H A DStringRef.cpp217 size_t StringRef::rfind(StringRef Str) const { in rfind() function in StringRef
218 return std::string_view(*this).rfind(Str); in rfind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp140 size_t Pos = CheckerName.rfind('.'); in getCheckerStringOption()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp49 size_t Pos = Path.rfind(GetSeparator()); in Basename()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp174 size_t BeginPos = Line.rfind("{{{"); in parseMultiLineBegin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp167 const auto Dx = F->getName().rfind("__hipstdpar_unsupported"); in checkIfSupported()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp400 size_t posNoEVEX512 = FS.rfind("-evex512"); in createX86MCSubtargetInfo()
403 FS.ends_with("-avx512f") ? FS.size() - 8 : FS.rfind("-avx512f,"); in createX86MCSubtargetInfo()
404 size_t posEVEX512 = FS.rfind("+evex512"); in createX86MCSubtargetInfo()
405 size_t posAVX512F = FS.rfind("+avx512"); // Any AVX512XXX will enable AVX512F. in createX86MCSubtargetInfo()
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptLexer.cpp44 size_t pos = s.rfind('\n', tok.data() - s.data()); in getLine()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp803 size_t LastBreak = LiteralText.rfind('\n'); in handleCSharpVerbatimAndInterpolatedStrings()
837 auto LastBreak = Text.rfind('\n'); in handleTableGenMultilineString()
938 size_t LastBreak = LiteralText.rfind('\n'); in handleTemplateStrings()
1031 auto LineOffset = Buffer.rfind('\n', FirstInLineOffset); in tryMergeConflictMarkers()
/freebsd/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp102 size_t py_extension_pos = os_plugin_class_name.rfind(".py"); in OperatingSystemPython()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVElement.cpp87 size_t Pos = Basename.rfind('/'); in getStringIndex()

123