Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDistro.cpp23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease() argument
25 VFS.getBufferForFile("/etc/os-release"); in DetectOsRelease()
27 File = VFS.getBufferForFile("/usr/lib/os-release"); in DetectOsRelease()
51 static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { in DetectLsbRelease() argument
53 VFS.getBufferForFile("/etc/lsb-release"); in DetectLsbRelease()
103 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro() argument
108 Version = DetectOsRelease(VFS); in DetectDistro()
113 Version = DetectLsbRelease(VFS); in DetectDistro()
119 VFS.getBufferForFile("/etc/redhat-release"); in DetectDistro()
138 File = VFS.getBufferForFile("/etc/debian_version"); in DetectDistro()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_expand/
H A Dzpool_expand_002_pos.ksh65 if datasetexists $VFS/vol$i; then
66 log_must $ZFS destroy $VFS/vol$i
76 log_must $ZFS create -V $org_size $VFS/vol$i
81 /dev/zvol/$VFS/vol1 \
82 /dev/zvol/$VFS/vol2 \
83 /dev/zvol/$VFS/vol3
93 log_must $ZFS set volsize=$exp_size $VFS/vol$i
97 log_must $ZPOOL online -e $TESTPOOL1 /dev/zvol/$VFS/vol$i
132 log_must $ZFS set volsize=$org_size $VFS/vol$i
H A Dzpool_expand_003_neg.ksh64 if datasetexists $VFS/vol$i; then
65 log_must $ZFS destroy $VFS/vol$i
75 log_must $ZFS create -V $org_size $VFS/vol$i
80 /dev/zvol/$VFS/vol1 \
81 /dev/zvol/$VFS/vol2 \
82 /dev/zvol/$VFS/vol3
92 log_must $ZFS set volsize=$exp_size $VFS/vol$i
118 log_must $ZFS set volsize=$org_size $VFS/vol$i
H A Dzpool_expand_001_pos.ksh64 if datasetexists $VFS/vol$i; then
65 log_must $ZFS destroy $VFS/vol$i
75 log_must $ZFS create -V $org_size $VFS/vol$i
81 /dev/zvol/$VFS/vol1 \
82 /dev/zvol/$VFS/vol2 \
83 /dev/zvol/$VFS/vol3
93 log_must $ZFS set volsize=$exp_size $VFS/vol$i
128 log_must $ZFS set volsize=$org_size $VFS/vol$i
H A Dzpool_expand.cfg34 VFS=$TESTPOOL/$TESTFS
35 export VFS
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp63 getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS, in getHighestNumericTupleInDirectory() argument
69 for (llvm::vfs::directory_iterator DirIt = VFS.dir_begin(Directory, EC), in getHighestNumericTupleInDirectory()
72 auto Status = VFS.status(DirIt->path()); in getHighestNumericTupleInDirectory()
88 static bool getWindows10SDKVersionFromPath(llvm::vfs::FileSystem &VFS, in getWindows10SDKVersionFromPath() argument
93 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath); in getWindows10SDKVersionFromPath()
98 llvm::vfs::FileSystem &VFS, std::optional<llvm::StringRef> WinSdkDir, in getWindowsSDKDirViaCommandLine() argument
116 SDKPath, getHighestNumericTupleInDirectory(VFS, SDKPath)); in getWindowsSDKDirViaCommandLine()
125 } else if (getWindows10SDKVersionFromPath(VFS, Path, Version)) { in getWindowsSDKDirViaCommandLine()
394 Triple::ArchType TargetArch, vfs::FileSystem &VFS) { in useUniversalCRT() argument
398 return !VFS.exists(TestPath); in useUniversalCRT()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp57 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH() argument
64 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
417 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
420 assert(VFS && "VFS is null"); in Build()
484 VFS = in Build()
485 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
488 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
605 llvm::vfs::FileSystem &VFS) const { in CanReuse()
634 if (!moveOnNoError(VFS.status(R.second), Status)) { in CanReuse()
641 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
[all …]
H A DASTUnit.cpp159 llvm::vfs::FileSystem *VFS, in getBufferForFileHandlingRemapping() argument
168 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
175 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
180 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
191 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
205 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
807 bool UserFilesAreVolatile, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument
823 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1145 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1149 if (VFS && FileMgr) in Parse()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h64 llvm::vfs::FileSystem &VFS);
67 bool getWindowsSDKDir(vfs::FileSystem &VFS,
75 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS,
83 vfs::FileSystem &VFS, std::optional<llvm::StringRef> VCToolsDir,
89 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path,
99 findVCToolChainViaSetupConfig(vfs::FileSystem &VFS,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h88 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
114 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
125 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
132 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
174 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
183 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DASTUnit.h375 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
380 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
705 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
726 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
853 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
868 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp109 auto VFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TestAST() local
110 if (auto Err = VFS->setCurrentWorkingDirectory(In.WorkingDir)) in TestAST()
112 VFS->addFile(Filename, /*ModificationTime=*/0, in TestAST()
115 VFS->addFile( in TestAST()
118 Clang->createFileManager(VFS); in TestAST()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCOFFVCRuntimeSupport.cpp159 IntrusiveRefCntPtr<vfs::FileSystem> VFS = vfs::getRealFileSystem(); in getMSVCToolchainPath() local
160 if (!findVCToolChainViaCommandLine(*VFS, std::nullopt, std::nullopt, in getMSVCToolchainPath()
162 !findVCToolChainViaEnvironment(*VFS, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
163 !findVCToolChainViaSetupConfig(*VFS, {}, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
170 if (!getUniversalCRTSdkDir(*VFS, std::nullopt, std::nullopt, std::nullopt, in getMSVCToolchainPath()
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-vfs-file_range.m47 dnl # 4.5: copy_file_range() syscall introduced, added to VFS
9 dnl # FICLONERANGE, added to VFS as clone_file_range()
10 dnl # 4.5: BTRFS_IOC_FILE_EXTENT_SAME renamed to FIDEDUPERANGE, added to VFS
13 dnl # 4.20: VFS clone_file_range() and dedupe_file_range() replaced by
16 dnl # 5.3: VFS copy_file_range() expected to do its own fallback,
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h27 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS; variable
H A DDeviceOffload.cpp32 HostParser(HostParser), VFS(FS) { in IncrementalCUDADeviceParser()
60 VFS->addFile(FatbinFileName, 0, in Parse()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
40 llvm::vfs::FileSystem &VFS);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendConsumer.h73 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
87 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
H A DBackendUtil.cpp141 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS; member in __anon3496e3440111::EmitAssemblyHelper
214 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) in EmitAssemblyHelper() argument
216 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), VFS(std::move(VFS)), in EmitAssemblyHelper()
795 CodeGenOpts.MemoryProfileUsePath, VFS, in RunOptimizationPipeline()
802 CodeGenOpts.MemoryProfileUsePath, VFS, PGOOptions::SampleUse, in RunOptimizationPipeline()
807 PGOOpt = PGOOptions("", "", "", CodeGenOpts.MemoryProfileUsePath, VFS, in RunOptimizationPipeline()
1297 BackendAction Action, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in EmitBackendOutput() argument
1340 EmitAssemblyHelper AsmHelper(Diags, HeaderOpts, CGOpts, TOpts, LOpts, M, VFS); in EmitBackendOutput()
/freebsd/tools/test/stress2/
H A Ddf.cfg6 # Only run these two test programs for VFS tests
H A Djeff.cfg6 # Only run these two test programs for VFS tests
H A Dudp.cfg6 # Only run these three test programs for VFS tests
H A Dvfs.cfg6 # Only run these three test programs for VFS tests
H A Dio.cfg6 # Only run these three test programs for VFS tests
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp132 clang::parseDarwinSDKInfo(llvm::vfs::FileSystem &VFS, StringRef SDKRootPath) { in parseDarwinSDKInfo() argument
136 VFS.getBufferForFile(Filepath); in parseDarwinSDKInfo()

123