Home
last modified time | relevance | path

Searched refs:fileURL (Results 1 - 9 of 9) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-url-fileurltopath.js57 { path: 'C:\\foo', fileURL: 'file:///C:/foo' },
59 { path: 'C:\\FOO', fileURL: 'file:///C:/FOO' },
61 { path: 'C:\\dir\\foo', fileURL: 'file:///C:/dir/foo' },
63 { path: 'C:\\dir\\', fileURL: 'file:///C:/dir/' },
65 { path: 'C:\\foo.mjs', fileURL: 'file:///C:/foo.mjs' },
67 { path: 'C:\\foo bar', fileURL: 'file:///C:/foo%20bar' },
69 { path: 'C:\\foo?bar', fileURL: 'file:///C:/foo%3Fbar' },
71 { path: 'C:\\foo#bar', fileURL: 'file:///C:/foo%23bar' },
73 { path: 'C:\\foo&bar', fileURL: 'file:///C:/foo&bar' },
75 { path: 'C:\\foo=bar', fileURL
[all...]
H A Dtest-fs-mkdtemp.js43 const tmpFolder = fs.mkdtempSync(tmpdir.fileURL('foo.'));
48 const utf8 = fs.mkdtempSync(tmpdir.fileURL('\u0222abc.'));
53 fs.mkdtemp(tmpdir.fileURL('bar.'), common.mustCall(handler));
57 fs.mkdtemp(tmpdir.fileURL('bar.'), {}, common.mustCall(handler));
60 fs.mkdtemp(tmpdir.fileURL('bar.X'), common.mustCall(handler));
H A Dtest-fs-rm.js273 const fileURL = tmpdir.fileURL('rm-file.txt');
274 fs.writeFileSync(fileURL, '');
277 fs.rmSync(fileURL, common.mustNotMutateObjectDeep({ recursive: true }));
278 assert.strictEqual(fs.existsSync(fileURL), false);
280 fs.rmSync(fileURL, common.mustNotMutateObjectDeep({ force: true }));
379 const fileURL = tmpdir.fileURL('rm-promises-file.txt');
380 fs.writeFileSync(fileURL, '');
383 await fs.promises.rm(fileURL, commo
[all...]
H A Dtest-child-process-cwd.js90 testCwd({ cwd: tmpdir.fileURL() }, 'number', 0, tmpdir.path);
/third_party/skia/src/ports/
H A DSkOSFile_ios.h31 sk_cfp<CFURLRef> fileURL(CFBundleCopyResourceURL(mainBundle, pathRef.get(), in ios_get_path_in_bundle()
33 if (!fileURL) { in ios_get_path_in_bundle()
41 sk_cfp<CFStringRef> filePath(CFURLCopyFileSystemPath(fileURL.get(), kCFURLPOSIXPathStyle)); in ios_get_path_in_bundle()
/third_party/node/test/common/
H A Dtmpdir.js68 function fileURL(...paths) { function
76 fileURL,
H A Dfixtures.js34 fileURL: fixturesFileURL,
/third_party/node/benchmark/esm/
H A Desm-loader-import.js9 const benchmarkDirectory = tmpdir.fileURL('benchmark-import');
/third_party/node/test/es-module/
H A Dtest-esm-data-urls.js112 const plainESMURL = `data:text/javascript,${encodeURIComponent(`import ${JSON.stringify(fixtures.fileURL('es-module-url', 'empty.js'))}`)}`;

Completed in 3 milliseconds