/third_party/glib/gio/ |
D | gvfs.c | 62 GVfs *vfs = G_VFS (object); in G_DEFINE_TYPE_WITH_PRIVATE() local 63 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in G_DEFINE_TYPE_WITH_PRIVATE() 79 resource_parse_name (GVfs *vfs, in resource_parse_name() argument 90 resource_get_file_for_uri (GVfs *vfs, in resource_get_file_for_uri() argument 111 g_vfs_init (GVfs *vfs) in g_vfs_init() argument 113 GVfsPrivate *priv = g_vfs_get_instance_private (vfs); in g_vfs_init() 118 g_vfs_register_uri_scheme (vfs, "resource", in g_vfs_init() 133 g_vfs_is_active (GVfs *vfs) in g_vfs_is_active() argument 137 g_return_val_if_fail (G_IS_VFS (vfs), FALSE); in g_vfs_is_active() 139 class = G_VFS_GET_CLASS (vfs); in g_vfs_is_active() [all …]
|
D | gvfs.h | 57 typedef GFile * (* GVfsFileLookupFunc) (GVfs *vfs, 87 gboolean (* is_active) (GVfs *vfs); 88 GFile * (* get_file_for_path) (GVfs *vfs, 90 GFile * (* get_file_for_uri) (GVfs *vfs, 92 const gchar * const * (* get_supported_uri_schemes) (GVfs *vfs); 93 GFile * (* parse_name) (GVfs *vfs, 97 void (* local_file_add_info) (GVfs *vfs, 105 void (* add_writable_namespaces) (GVfs *vfs, 107 gboolean (* local_file_set_attributes) (GVfs *vfs, 113 void (* local_file_removed) (GVfs *vfs, [all …]
|
D | glocalvfs.c | 62 g_local_vfs_init (GLocalVfs *vfs) in g_local_vfs_init() argument 80 g_local_vfs_get_file_for_path (GVfs *vfs, in g_local_vfs_get_file_for_path() argument 90 g_local_vfs_get_file_for_uri (GVfs *vfs, in g_local_vfs_get_file_for_uri() argument 122 g_local_vfs_get_supported_uri_schemes (GVfs *vfs) in g_local_vfs_get_supported_uri_schemes() argument 130 g_local_vfs_parse_name (GVfs *vfs, in g_local_vfs_parse_name() argument 139 g_return_val_if_fail (G_IS_VFS (vfs), NULL); in g_local_vfs_parse_name() 205 g_local_vfs_is_active (GVfs *vfs) in g_local_vfs_is_active() argument
|
/third_party/glib/gio/tests/ |
D | vfs.c | 27 test_vfs_parse_name (GVfs *vfs, in test_vfs_parse_name() argument 43 test_vfs_lookup (GVfs *vfs, in test_vfs_lookup() argument 57 GVfs *vfs; in test_register_scheme() local 62 vfs = g_vfs_get_default (); in test_register_scheme() 63 g_assert_nonnull (vfs); in test_register_scheme() 64 g_assert_true (g_vfs_is_active (vfs)); in test_register_scheme() 66 schemes = g_vfs_get_supported_uri_schemes (vfs); in test_register_scheme() 69 res = g_vfs_unregister_uri_scheme (vfs, "test"); in test_register_scheme() 72 res = g_vfs_register_uri_scheme (vfs, "test", in test_register_scheme() 77 schemes = g_vfs_get_supported_uri_schemes (vfs); in test_register_scheme() [all …]
|
/third_party/NuttX/ |
D | NuttX.gni | 85 "//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/ |
D | fakesHosts.ts | 17 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; 46 const content = this.vfs.readFileSync(path, "utf8"); 55 this.vfs.mkdirpSync(vpath.dirname(path)); 56 … this.vfs.writeFileSync(path, writeByteOrderMark ? Utils.addUTF8ByteOrderMark(data) : data); 60 this.vfs.unlinkSync(path); 74 this.vfs.mkdirpSync(path); 78 return this.vfs.cwd(); [all …]
|
D | compilerImpl.ts | 16 [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); 142 public get vfs(): vfs.FileSystem { 143 return this.host.vfs; [all …]
|
D | evaluatorImpl.ts | 4 const sourceFile = vpath.combine(vfs.srcFolder, "source.ts"); 5 const sourceFileJs = vpath.combine(vfs.srcFolder, "source.js"); 8 const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false);
|
/third_party/glib/gio/win32/ |
D | gwinhttpvfs.c | 106 GWinHttpVfs *vfs; in g_winhttp_vfs_finalize() local 108 vfs = G_WINHTTP_VFS (object); in g_winhttp_vfs_finalize() 110 (G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpCloseHandle) (vfs->session); in g_winhttp_vfs_finalize() 111 vfs->session = NULL; in g_winhttp_vfs_finalize() 113 if (vfs->wrapped_vfs) in g_winhttp_vfs_finalize() 114 g_object_unref (vfs->wrapped_vfs); in g_winhttp_vfs_finalize() 115 vfs->wrapped_vfs = NULL; in g_winhttp_vfs_finalize() 121 g_winhttp_vfs_init (GWinHttpVfs *vfs) in g_winhttp_vfs_init() argument 126 vfs->wrapped_vfs = g_vfs_get_local (); in g_winhttp_vfs_init() 133 vfs->session = (G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpOpen) in g_winhttp_vfs_init() [all …]
|
D | gwinhttpfileoutputstream.c | 63 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_output_stream_finalize() 120 request = G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpOpenRequest in g_winhttp_file_output_stream_write() 141 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpSendRequest in g_winhttp_file_output_stream_write() 150 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (request); in g_winhttp_file_output_stream_write() 158 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpWriteData in g_winhttp_file_output_stream_write() 163 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (request); in g_winhttp_file_output_stream_write() 170 if (!_g_winhttp_response (winhttp_stream->file->vfs, in g_winhttp_file_output_stream_write() 175 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (request); in g_winhttp_file_output_stream_write() 180 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (request); in g_winhttp_file_output_stream_write()
|
D | gwinhttpfile.c | 61 g_object_unref (file->vfs); in G_DEFINE_TYPE_WITH_CODE() 87 _g_winhttp_file_new (GWinHttpVfs *vfs, in _g_winhttp_file_new() argument 99 file->vfs = g_object_ref (vfs); in _g_winhttp_file_new() 110 if (!G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpCrackUrl (wuri, 0, 0, &file->url)) in _g_winhttp_file_new() 123 if (!G_WINHTTP_VFS_GET_CLASS (vfs)->funcs->pWinHttpCrackUrl (wuri, 0, 0, &file->url)) in _g_winhttp_file_new() 211 …if (!G_WINHTTP_VFS_GET_CLASS (winhttp_file->vfs)->funcs->pWinHttpCreateUrl (&winhttp_file->url, IC… in g_winhttp_file_get_uri() 217 …if (!G_WINHTTP_VFS_GET_CLASS (winhttp_file->vfs)->funcs->pWinHttpCreateUrl (&winhttp_file->url, IC… in g_winhttp_file_get_uri() 274 parent = _g_winhttp_file_new (winhttp_file->vfs, uri); in g_winhttp_file_get_parent() 285 GFile *retval = _g_winhttp_file_new (winhttp_file->vfs, uri); in g_winhttp_file_dup() 410 child->vfs = winhttp_file->vfs; in g_winhttp_file_resolve_relative_path() [all …]
|
D | gwinhttpfileinputstream.c | 68 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->r… in g_winhttp_file_input_stream_finalize() 70 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_input_stream_finalize() 132 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpSendRequest in g_winhttp_file_input_stream_read() 144 if (!_g_winhttp_response (winhttp_stream->file->vfs, in g_winhttp_file_input_stream_read() 153 if (!G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpReadData in g_winhttp_file_input_stream_read() 172 …G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->c… in g_winhttp_file_input_stream_close()
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | helpers.ts | 21 … export function replaceText(fs: vfs.FileSystem, path: string, oldText: string, newText: string) { 33 export function prependText(fs: vfs.FileSystem, path: string, additionalContent: string) { 41 export function appendText(fs: vfs.FileSystem, path: string, additionalContent: string) { 49 export function indexOf(fs: vfs.FileSystem, path: string, searchStr: string) { 57 export function lastIndexOf(fs: vfs.FileSystem, path: string, searchStr: string) { 65 …export function expectedLocationIndexOf(fs: vfs.FileSystem, file: string, searchStr: string): fake… 73 …export function expectedLocationLastIndexOf(fs: vfs.FileSystem, file: string, searchStr: string): … 93 function touch(fs: vfs.FileSystem, path: string) { 122 ): vfs.FileSystem { 123 const resolver = vfs.createResolver(Harness.IO); [all …]
|
D | amdModulesWithOut.ts | 3 let outFileFs: vfs.FileSystem; 35 modifyFs?: (fs: vfs.FileSystem) => void; 36 modifyAgainFs?: (fs: vfs.FileSystem) => void; 126 function stripInternalScenario(fs: vfs.FileSystem) { 168 function modifyFs(fs: vfs.FileSystem) {
|
D | inferredTypeFromTransitiveModule.ts | 3 let projFs: vfs.FileSystem; 59 function changeToIsolatedModules(fs: vfs.FileSystem) { 63 function changeBarParam(fs: vfs.FileSystem) {
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | runner_context.h | 32 const std::shared_ptr<vfs::PseudoDir>& root_dir() const { return root_dir_; } in root_dir() 33 const std::shared_ptr<vfs::PseudoDir>& public_dir() const { in public_dir() 36 const std::shared_ptr<vfs::PseudoDir>& debug_dir() const { in debug_dir() 39 const std::shared_ptr<vfs::PseudoDir>& ctrl_dir() const { return ctrl_dir_; } in ctrl_dir() 45 return AddPublicService(std::make_unique<vfs::Service>(std::move(handler)), 49 zx_status_t AddPublicService(std::unique_ptr<vfs::Service> service, 60 std::shared_ptr<vfs::PseudoDir> root_dir_; 61 std::shared_ptr<vfs::PseudoDir> public_dir_; 62 std::shared_ptr<vfs::PseudoDir> debug_dir_; 63 std::shared_ptr<vfs::PseudoDir> ctrl_dir_;
|
D | service_provider_dir.h | 27 class ServiceProviderDir : public vfs::Directory { 35 std::unique_ptr<vfs::Service> service); 41 zx_status_t Lookup(const std::string& name, vfs::Node** out_node) const final; 54 std::unique_ptr<vfs::PseudoDir> root_; 63 mutable std::map<std::string, std::unique_ptr<vfs::Service>>
|
D | runner_context.cc | 12 root_dir_(std::make_shared<vfs::PseudoDir>()), in RunnerContext() 13 public_dir_(std::make_shared<vfs::PseudoDir>()), in RunnerContext() 14 debug_dir_(std::make_shared<vfs::PseudoDir>()), in RunnerContext() 15 ctrl_dir_(std::make_shared<vfs::PseudoDir>()) { in RunnerContext() 35 std::unique_ptr<vfs::Service> service, in AddPublicService()
|
D | service_provider_dir.cc | 13 ServiceProviderDir::ServiceProviderDir() : root_(new vfs::PseudoDir()) {} in ServiceProviderDir() 23 std::unique_ptr<vfs::Service> service) { in AddService() 43 vfs::Node** out) const { in Lookup() 53 auto service = std::make_unique<vfs::Service>( in Lookup()
|
/third_party/typescript/src/testRunner/ |
D | projectsRunner.ts | 76 …constructor(sys: fakes.System | vfs.FileSystem, compilerOptions: ts.CompilerOptions, _testCaseJust… 100 const projectRoot = vpath.resolve(vfs.srcFolder, this._testCase.projectRoot); 104 this.vfs.ignoreCase 117 vfs: vfs.FileSystem; property 127 constructor(testCaseFileName: string, { testCase, moduleKind, vfs }: ProjectTestPayload) { 131 this.sys = new fakes.System(vfs); 170 private get vfs() { 171 return this.sys.vfs; 192 const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false); 193 …esolve(Harness.IO.getWorkspaceRoot(), "tests"), vpath.combine(vfs.srcFolder, "tests"), vfs.createR… [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | FileCollector.cpp | 193 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/ |
D | publicApi.ts | 17 const fs = vfs.createFromFileSystem(Harness.IO, /*ignoreCase*/ false); 18 fs.linkSync(`${vfs.builtFolder}/${fileName}`, `${vfs.srcFolder}/${fileName}`); 21 const result = compiler.compileFiles(host, [`${vfs.srcFolder}/${fileName}`], {}); 88 const host = new fakes.CompilerHost(vfs.createFromFileSystem( 110 const host = new fakes.CompilerHost(vfs.createFromFileSystem(
|
D | programApi.ts | 36 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/typescript/src/testRunner/unittests/config/ |
D | tsconfigParsingWatchOptions.ts | 3 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… 46 additionalFiles?: vfs.FileSet;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | FileCollector.h | 42 static IntrusiveRefCntPtr<vfs::FileSystem> 43 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, 75 vfs::YAMLVFSWriter VFSWriter;
|