Home
last modified time | relevance | path

Searched refs:vfs (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/NuttX/
DNuttX.gni85 "//third_party/NuttX/fs/vfs/fs_close.c",
86 "//third_party/NuttX/fs/vfs/fs_dup.c",
87 "//third_party/NuttX/fs/vfs/fs_dup2.c",
88 "//third_party/NuttX/fs/vfs/fs_dupfd.c",
89 "//third_party/NuttX/fs/vfs/fs_dupfd2.c",
90 "//third_party/NuttX/fs/vfs/fs_fcntl.c",
91 "//third_party/NuttX/fs/vfs/fs_fsync.c",
92 "//third_party/NuttX/fs/vfs/fs_getfilep.c",
93 "//third_party/NuttX/fs/vfs/fs_ioctl.c",
94 "//third_party/NuttX/fs/vfs/fs_link.c",
[all …]
/third_party/typescript/src/harness/
DfakesHosts.ts17 public readonly vfs: vfs.FileSystem;
27 …constructor(vfs: vfs.FileSystem, { executingFilePath, newLine = "\r\n", env }: SystemOptions = {})…
28 this.vfs = vfs.isReadonly ? vfs.shadow() : vfs;
29 this.useCaseSensitiveFileNames = !this.vfs.ignoreCase;
50 const content = this.vfs.readFileSync(path, "utf8");
59 this.vfs.mkdirpSync(vpath.dirname(path));
60 … this.vfs.writeFileSync(path, writeByteOrderMark ? Utils.addUTF8ByteOrderMark(data) : data);
64 this.vfs.unlinkSync(path);
78 this.vfs.mkdirpSync(path);
82 return this.vfs.cwd();
[all …]
DcompilerImpl.ts16 [project] = host.vfs.scanSync(".", "ancestors-or-self", {
17 …accept: (path, stats) => stats.isFile() && host.vfs.stringComparer(vpath.basename(path), "tsconfig…
56 …public symlinks?: vfs.FileSet; // Location to store original symlinks so they may be used in both …
69 …new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringComparer, sor…
70 …new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringComparer, sor…
71 …new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vfs.stringComparer, sor…
85 …ts = new collections.SortedMap<string, CompilationOutput>({ comparer: this.vfs.stringComparer, sor…
88 … const outFile = vpath.resolve(this.vfs.cwd(), this.options.outFile || this.options.out);
140 public get vfs(): vfs.FileSystem {
141 return this.host.vfs;
[all …]
DevaluatorImpl.ts4 const sourceFile = vpath.combine(vfs.srcFolder, "source.ts");
5 const sourceFileJs = vpath.combine(vfs.srcFolder, "source.js");
18 …export function evaluateTypeScript(source: string | { files: vfs.FileSet, rootFiles: string[], mai…
20 … const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { files: source.files });
46 … const fs = new vfs.FileSystem(/*ignoreCase*/ false, { files: { [sourceFile]: sourceText } });
50 …function getLoader(compilerOptions: ts.CompilerOptions, fs: vfs.FileSystem, globals: Record<string…
66 protected readonly fs: vfs.FileSystem;
71 constructor(fs: vfs.FileSystem, globals: Record<string, any>) {
DharnessLanguageService.ts128 …public readonly sys = new fakes.System(new vfs.FileSystem(/*ignoreCase*/ true, { cwd: virtualFileS…
134 …this.scriptInfos = new collections.SortedMap({ comparer: this.vfs.stringComparer, sort: "insertion…
137 public get vfs() { method in Harness.LanguageService.LanguageServiceAdapterHost
138 return this.sys.vfs;
159 return this.vfs.realpathSync(path);
168 return this.vfs.existsSync(path);
177 return this.vfs.readFileSync(path).toString();
185 return this.vfs.statSync(path).isDirectory();
189 return this.scriptInfos.get(vpath.resolve(this.vfs.cwd(), fileName));
193 this.vfs.mkdirpSync(vpath.dirname(fileName));
[all …]
/third_party/typescript/src/testRunner/
DprojectsRunner.ts80 …constructor(sys: fakes.System | vfs.FileSystem, compilerOptions: ts.CompilerOptions, _testCaseJust…
104 const projectRoot = vpath.resolve(vfs.srcFolder, this._testCase.projectRoot);
108 this.vfs.ignoreCase
121 vfs: vfs.FileSystem; property
131 constructor(testCaseFileName: string, { testCase, moduleKind, vfs }: ProjectTestPayload) {
135 this.sys = new fakes.System(vfs);
174 private get vfs() {
175 return this.sys.vfs;
196 const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false);
197 …esolve(Harness.IO.getWorkspaceRoot(), "tests"), vpath.combine(vfs.srcFolder, "tests"), vfs.createR…
[all …]
/third_party/typescript/src/testRunner/unittests/tsbuild/
Dhelpers.ts22 … export function replaceText(fs: vfs.FileSystem, path: string, oldText: string, newText: string) {
34 export function prependText(fs: vfs.FileSystem, path: string, additionalContent: string) {
42 export function appendText(fs: vfs.FileSystem, path: string, additionalContent: string) {
50 export function indexOf(fs: vfs.FileSystem, path: string, searchStr: string) {
58 export function lastIndexOf(fs: vfs.FileSystem, path: string, searchStr: string) {
66 …export function expectedLocationIndexOf(fs: vfs.FileSystem, file: string, searchStr: string): fake…
74 …export function expectedLocationLastIndexOf(fs: vfs.FileSystem, file: string, searchStr: string): …
103 ): vfs.FileSystem {
104 const resolver = vfs.createResolver(Harness.IO);
105 const fs = new vfs.FileSystem(/*ignoreCase*/ true, {
[all …]
DoutFile.ts3 let outFileFs: vfs.FileSystem;
4 let outFileWithBuildFs: vfs.FileSystem;
15 modifyFs?: (fs: vfs.FileSystem) => void;
16 modifyAgainFs?: (fs: vfs.FileSystem) => void;
369 function disableRemoveComments(fs: vfs.FileSystem, file: string) {
373 function diableRemoveCommentsInAll(fs: vfs.FileSystem) {
379 function stripInternalOfThird(fs: vfs.FileSystem) {
384 …function stripInternalScenario(fs: vfs.FileSystem, removeCommentsDisabled?: boolean, jsDocStyle?: …
453 function makeOneTwoThreeDependOrder(fs: vfs.FileSystem) {
459 …function stripInternalWithDependentOrder(fs: vfs.FileSystem, removeCommentsDisabled?: boolean, jsD…
[all …]
DamdModulesWithOut.ts3 let outFileFs: vfs.FileSystem;
13 modifyFs?: (fs: vfs.FileSystem) => void;
14 modifyAgainFs?: (fs: vfs.FileSystem) => void;
104 function stripInternalScenario(fs: vfs.FileSystem) {
146 function modifyFs(fs: vfs.FileSystem) {
DinferredTypeFromTransitiveModule.ts3 let projFs: vfs.FileSystem;
78 function changeToIsolatedModules(fs: vfs.FileSystem) {
82 function changeBarParam(fs: vfs.FileSystem) {
86 function changeBarParamBack(fs: vfs.FileSystem) {
DtransitiveReferences.ts3 let projFs: vfs.FileSystem;
11 …function modifyFsBTsToNonRelativeImport(fs: vfs.FileSystem, moduleResolution: "node" | "classic") {
DgraphOrdering.ts19 const fs = new vfs.FileSystem(false);
70 …function writeProjects(fileSystem: vfs.FileSystem, projectNames: string[], deps: [string, string][…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp193 class FileCollectorFileSystem : public vfs::FileSystem {
195 explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS, in FileCollectorFileSystem()
199 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override { in status()
206 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>>
214 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir, in dir_begin()
221 for (; !EC && It != llvm::vfs::directory_iterator(); It.increment(EC)) { in dir_begin()
258 IntrusiveRefCntPtr<vfs::FileSystem> FS;
264 IntrusiveRefCntPtr<vfs::FileSystem>
265 FileCollector::createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, in createCollectorVFS()
/third_party/typescript/src/testRunner/unittests/config/
DtsconfigParsingWatchOptions.ts3 function createParseConfigHost(additionalFiles?: vfs.FileSet) {
5 new vfs.FileSystem(
14 …function getParsedCommandJson(json: object, additionalFiles?: vfs.FileSet, existingWatchOptions?: …
28 …function getParsedCommandJsonNode(json: object, additionalFiles?: vfs.FileSet, existingWatchOption…
45 additionalFiles?: vfs.FileSet;
DmatchFiles.ts4 …const caseInsensitiveHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase*/ true, { cw…
31 …const caseSensitiveHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase*/ false, { cwd…
55 …const caseInsensitiveMixedExtensionHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCas…
69 …const caseInsensitiveCommonFoldersHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase…
80 …const caseInsensitiveDottedFoldersHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase…
91 …const caseInsensitiveOrderingDiffersWithCaseHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*…
97 …const caseSensitiveOrderingDiffersWithCaseHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ig…
1518 const fs = new vfs.FileSystem(/*ignoreCase*/ true, {
DtsconfigParsing.ts25 … const files = allFileList.reduce((files, value) => (files[value] = "", files), {} as vfs.FileSet);
26 …const host: ParseConfigHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase*/ false, {…
32 … const files = allFileList.reduce((files, value) => (files[value] = "", files), {} as vfs.FileSet);
33 …const host: ParseConfigHost = new fakes.ParseConfigHost(new vfs.FileSystem(/*ignoreCase*/ false, {…
/third_party/typescript/src/testRunner/unittests/
DpublicApi.ts17 const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false);
18 fs.linkSync(`${vfs.builtFolder}/${fileName}`, `${vfs.srcFolder}/${fileName}`);
26 const result = compiler.compileFiles(host, [`${vfs.srcFolder}/${fileName}`], options);
95 const host = new fakes.CompilerHost(vfs.createFromFileSystem(
117 const host = new fakes.CompilerHost(vfs.createFromFileSystem(
141 const host = new fakes.CompilerHost(vfs.createFromFileSystem(
161 const host = new fakes.CompilerHost(vfs.createFromFileSystem(
DprogramApi.ts36 vfs.createFromFileSystem(
144 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [a, bar, barFoo…
152 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [a, fooIndex], …
171 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [main, pkg], cw…
188 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [main], cwd: "/…
200 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [main, mod], cw…
215 …const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false, { documents: [main, mod], cw…
/third_party/rust/crates/nix/src/sys/
Dstatfs.rs783 let vfs = statvfs(path.as_bytes()).unwrap(); in check_fstatfs() localVariable
786 assert_fs_equals(fs, vfs); in check_fstatfs()
793 let vfs = statvfs(path.as_bytes()).unwrap(); in check_statfs() localVariable
795 assert_fs_equals(fs, vfs); in check_statfs()
800 fn assert_fs_equals(fs: Statfs, vfs: Statvfs) { in assert_fs_equals()
801 assert_eq!(fs.files() as u64, vfs.files() as u64); in assert_fs_equals()
802 assert_eq!(fs.blocks() as u64, vfs.blocks() as u64); in assert_fs_equals()
803 assert_eq!(fs.block_size() as u64, vfs.fragment_size() as u64); in assert_fs_equals()
832 let vfs = statvfs(path.as_bytes()); in check_fstatfs_strict() localVariable
835 assert_fs_equals_strict(fs.unwrap(), vfs.unwrap()) in check_fstatfs_strict()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileCollector.h42 static IntrusiveRefCntPtr<vfs::FileSystem>
43 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
75 vfs::YAMLVFSWriter VFSWriter;
DSpecialCaseList.h72 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
81 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
108 vfs::FileSystem &VFS, std::string &Error);
/third_party/typescript/src/testRunner/unittests/tsc/
Dhelpers.ts67 modifyFs?: (fs: vfs.FileSystem) => void;
110 ${baseFsPatch ? vfs.formatPatch(baseFsPatch) : ""}
115 ${patch ? vfs.formatPatch(patch) : ""}`
218 fs: () => vfs.FileSystem;
/third_party/gstreamer/gstplugins_bad/po/
Den_GB.po268 #~ msgid "Could not open vfs file \"%s\" for reading."
269 #~ msgstr "Could not open vfs file \"%s\" for reading."
276 #~ msgid "Could not open vfs file \"%s\" for writing: %s."
277 #~ msgstr "Could not open vfs file \"%s\" for writing."
282 #~ msgid "Could not close vfs file \"%s\"."
283 #~ msgstr "Could not close vfs file \"%s\"."
Daf.po265 #~ msgid "Could not open vfs file \"%s\" for reading."
266 #~ msgstr "Kon nie vfs-lêer \"%s\" oopmaak vir lees nie."
273 #~ msgid "Could not open vfs file \"%s\" for writing: %s."
274 #~ msgstr "Kon nie vfs-lêer \"%s\" oopmaak vir skryf nie."
280 #~ msgid "Could not close vfs file \"%s\"."
281 #~ msgstr "Kon nie vfs-lêer \"%s\" toemaak nie."
Daz.po266 #~ msgid "Could not open vfs file \"%s\" for reading."
267 #~ msgstr "\"%s\" vfs faylı oxuma üçün açıla bilmədi."
274 #~ msgid "Could not open vfs file \"%s\" for writing: %s."
275 #~ msgstr "\"%s\" vfs faylı yazma üçün açıla bilmədi."
281 #~ msgid "Could not close vfs file \"%s\"."
282 #~ msgstr "\"%s\" vfs faylı bağlana bilmədi."

12345