/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | Distro.cpp | 23 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 D | zpool_expand_002_pos.ksh | 65 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 D | zpool_expand_003_neg.ksh | 64 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 D | zpool_expand_001_pos.ksh | 64 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 D | zpool_expand.cfg | 34 VFS=$TESTPOOL/$TESTFS 35 export VFS
|
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/ |
H A D | MSVCPaths.cpp | 63 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 D | PrecompiledPreamble.cpp | 57 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 D | ASTUnit.cpp | 159 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 D | MSVCPaths.h | 64 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 D | PrecompiledPreamble.h | 88 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 D | ASTUnit.h | 375 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 D | TestAST.cpp | 109 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 D | COFFVCRuntimeSupport.cpp | 159 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 D | kernel-vfs-file_range.m4 | 7 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 D | DeviceOffload.h | 27 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS, 46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS; variable
|
H A D | DeviceOffload.cpp | 32 HostParser(HostParser), VFS(FS) { in IncrementalCUDADeviceParser() 60 VFS->addFile(FatbinFileName, 0, in Parse()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SanitizerSpecialCaseList.h | 35 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 D | BackendConsumer.h | 73 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, 87 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
|
H A D | BackendUtil.cpp | 141 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 D | df.cfg | 6 # Only run these two test programs for VFS tests
|
H A D | jeff.cfg | 6 # Only run these two test programs for VFS tests
|
H A D | udp.cfg | 6 # Only run these three test programs for VFS tests
|
H A D | vfs.cfg | 6 # Only run these three test programs for VFS tests
|
H A D | io.cfg | 6 # Only run these three test programs for VFS tests
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | DarwinSDKInfo.cpp | 132 clang::parseDarwinSDKInfo(llvm::vfs::FileSystem &VFS, StringRef SDKRootPath) { in parseDarwinSDKInfo() argument 136 VFS.getBufferForFile(Filepath); in parseDarwinSDKInfo()
|