Home
last modified time | relevance | path

Searched refs:rfind (Results 1 – 25 of 71) 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.h351 [[nodiscard]] size_t rfind(char C, size_t From = npos) const {
372 [[nodiscard]] LLVM_ABI size_t rfind(StringRef Str) const;
408 return rfind(C, From);
742 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/__cxx03/__string/
H A Dextern_template_lists.h34 …_Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(…
63 …_Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(…
84 …_Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(…
114 …_Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<_CharType>::rfind(…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
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 …
445 // rfind
446 …_LIBCPP_HIDE_FROM_ABI size_type rfind(basic_string_view __s, size_type __pos = npos) const _NOEXCE…
451 _LIBCPP_HIDE_FROM_ABI size_type rfind(_CharT __c, size_type __pos = npos) const _NOEXCEPT {
455 …_LIBCPP_HIDE_FROM_ABI size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const _NO…
456 _LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
460 _LIBCPP_HIDE_FROM_ABI size_type rfind(const _CharT* __s, size_type __pos = npos) const _NOEXCEPT {
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DMinGW.cpp137 libName = libName.substr(0, libName.rfind('.')); in addWholeArchive()
175 libName = libName.substr(0, libName.rfind('.')); in shouldExport()
/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 …
524 // rfind
526 rfind(basic_string_view __s, size_type __pos = npos) const _NOEXCEPT {
532 rfind(_CharT __c, size_type __pos = npos) const _NOEXCEPT {
537 rfind(const _CharT* __s, size_type __pos, size_type __n) const _NOEXCEPT {
538 _LIBCPP_ASSERT_NON_NULL(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
543 rfind(const _CharT* __s, size_type __pos = npos) const _NOEXCEPT {
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dextern_template_lists.h59 …Func(basic_string<CharT>::size_type basic_string<CharT>::rfind(value_type, size_type) const) …
60 …Func(basic_string<CharT>::size_type basic_string<CharT>::rfind(const value_type*, size_type, size_…
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DUriParser.cpp52 pos = host_port.rfind(']'); in Parse()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DObjCRuntime.cpp50 std::size_t dash = input.rfind('-'); in tryParse()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DHeaderFile.cpp35 return Matches[1].drop_front(Matches[1].rfind('/') + 1).str() + "/" + in createIncludeHeaderName()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeName.h97 LLVM_GET_TYPE_NAME_CONSTEXPR auto AnglePos = RmPrefixEnum.rfind('>'); in getTypeName()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAIX.cpp235 if (!bopt.rfind("libpath:", 0) || bopt == "nolibpath") in ConstructJob()
241 if (!wlopt.rfind("-blibpath:", 0) || wlopt == "-bnolibpath") in ConstructJob()
247 if (!xopt.rfind("-blibpath:", 0) || xopt == "-bnolibpath") in ConstructJob()
/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.cpp218 size_t StringRef::rfind(StringRef Str) const { in rfind() function in StringRef
219 return std::string_view(*this).rfind(Str); in rfind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp137 size_t Pos = CheckerName.rfind('.'); in getCheckerStringOption()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp50 size_t Pos = Path.rfind(GetSeparator()); in Basename()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDWIMPrint.cpp216 size_t pos = m_original_command.rfind(expr); in DoExecute()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp173 size_t BeginPos = Line.rfind("{{{"); in parseMultiLineBegin()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/
H A DSymbolLocatorDebuginfod.cpp154 size_t pos = symbol_file.rfind('-'); in getFileName()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMP.cpp227 size_t LineIdx = PrettyName.rfind("_l"); in deconstructOpenMPKernelName()
/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()

123