Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDistro.cpp22 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease() argument
24 VFS.getBufferForFile("/etc/os-release"); in DetectOsRelease()
26 File = VFS.getBufferForFile("/usr/lib/os-release"); in DetectOsRelease()
50 static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { in DetectLsbRelease() argument
52 VFS.getBufferForFile("/etc/lsb-release"); in DetectLsbRelease()
104 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro() argument
109 Version = DetectOsRelease(VFS); in DetectDistro()
114 Version = DetectLsbRelease(VFS); in DetectDistro()
120 VFS.getBufferForFile("/etc/redhat-release"); in DetectDistro()
139 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()
416 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
419 assert(VFS && "VFS is null"); in Build()
480 ProcessWarningOptions(Diagnostics, Clang->getDiagnosticOpts(), *VFS); in Build()
482 VFS = in Build()
483 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
486 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
603 llvm::vfs::FileSystem &VFS) const { in CanReuse()
632 if (!moveOnNoError(VFS.status(R.second), Status)) { in CanReuse()
[all …]
H A DASTUnit.cpp155 llvm::vfs::FileSystem *VFS, in getBufferForFileHandlingRemapping() argument
164 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
171 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
176 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
187 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
201 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
807 bool UserFilesAreVolatile, IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument
825 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1146 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1150 if (VFS && FileMgr) in Parse()
[all …]
H A DCreateInvocationFromCommandLine.cpp41 Opts.VFS ? *Opts.VFS : *llvm::vfs::getRealFileSystem(), *LocalDiagOpts); in createInvocation()
54 "clang LLVM compiler", Opts.VFS); in createInvocation()
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h68 llvm::vfs::FileSystem &VFS);
71 LLVM_ABI bool getWindowsSDKDir(vfs::FileSystem &VFS,
80 getUniversalCRTSdkDir(vfs::FileSystem &VFS,
88 findVCToolChainViaCommandLine(vfs::FileSystem &VFS,
95 LLVM_ABI bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS,
106 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 DCompilerInstance.h654 void createDiagnostics(llvm::vfs::FileSystem &VFS,
677 createDiagnostics(llvm::vfs::FileSystem &VFS, DiagnosticOptions &Opts,
686 createFileManager(IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
831 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS; variable
837 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
840 : VFS(std::move(VFS)), DiagConsumer(DiagConsumer), in VFS() argument
842 assert(this->VFS && "Clone config requires non-null VFS"); in VFS()
845 IntrusiveRefCntPtr<llvm::vfs::FileSystem> getVFS() const { return VFS; } in getVFS()
H A DASTUnit.h387 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
392 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
717 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
738 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
868 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
883 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp28 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
33 llvm::vfs::FileSystem &VFS);
47 llvm::vfs::FileSystem &VFS, std::string &Error) { in create() argument
49 if (PSCL->createInternal(Paths, VFS, Error)) in create()
56 llvm::vfs::FileSystem &VFS) { in createOrDie() argument
58 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie()
H A DSanitizerSpecialCaseList.cpp20 llvm::vfs::FileSystem &VFS, in create() argument
24 if (SSCL->createInternal(Paths, VFS, Error)) { in create()
33 llvm::vfs::FileSystem &VFS) { in createOrDie() argument
35 if (auto SSCL = create(Paths, VFS, Error)) in createOrDie()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp89 auto VFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TestAST() local
90 if (auto Err = VFS->setCurrentWorkingDirectory(In.WorkingDir)) in TestAST()
92 VFS->addFile(Filename, /*ModificationTime=*/0, in TestAST()
95 VFS->addFile( in TestAST()
101 Clang->createDiagnostics(*VFS, new StoreDiagnostics(Diagnostics, !ErrorOK)); in TestAST()
118 Clang->createFileManager(VFS); in TestAST()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCOFFVCRuntimeSupport.cpp161 IntrusiveRefCntPtr<vfs::FileSystem> VFS = vfs::getRealFileSystem(); in getMSVCToolchainPath() local
162 if (!findVCToolChainViaCommandLine(*VFS, std::nullopt, std::nullopt, in getMSVCToolchainPath()
164 !findVCToolChainViaEnvironment(*VFS, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
165 !findVCToolChainViaSetupConfig(*VFS, {}, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
172 if (!getUniversalCRTSdkDir(*VFS, std::nullopt, std::nullopt, std::nullopt, in getMSVCToolchainPath()
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-vfs-file_range.m48 dnl # 4.5: copy_file_range() syscall introduced, added to VFS
10 dnl # FICLONERANGE, added to VFS as clone_file_range()
11 dnl # 4.5: BTRFS_IOC_FILE_EXTENT_SAME renamed to FIDEDUPERANGE, added to VFS
14 dnl # 4.20: VFS clone_file_range() and dedupe_file_range() replaced by
17 dnl # 5.3: VFS copy_file_range() expected to do its own fallback,
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h32 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
47 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS; variable
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h36 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
41 llvm::vfs::FileSystem &VFS);
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1gen_reproducer_main.cpp124 auto VFS = llvm::vfs::getRealFileSystem(); in generateReproducerForInvocationArguments() local
125 ProcessWarningOptions(Diags, DiagOpts, *VFS, /*ReportDiags=*/false); in generateReproducerForInvocationArguments()
127 /*Title=*/"clang LLVM compiler", VFS); in generateReproducerForInvocationArguments()
/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

123