Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 25 of 26) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-require-cache.js27 const relativePath = '../fixtures/semicolon'; constant
28 const absolutePath = require.resolve(relativePath);
33 assert.strictEqual(require(relativePath), fakeModule);
38 const relativePath = 'fs'; constant
41 require.cache[relativePath] = { exports: fakeModule };
43 assert.strictEqual(require(relativePath), fakeModule);
Dtest-runner-filetest-location.js8 const relativePath = relative(process.cwd(), fixture); constant
10 files: [relativePath],
15 strictEqual(result.name, relativePath);
Dtest-path-posix-relative-on-windows.js9 const relativePath = path.posix.relative('a/b/c', '../../x'); constant
10 assert.match(relativePath, /^(\.\.\/){3,5}x$/);
Dtest-worker-relative-path-double-dot.js9 const relativePath = path.relative('.', __filename); constant
10 const w = new Worker(path.join('..', cwdName, relativePath));
/third_party/skia/tools/skdiff/
Dskdiff_html.cpp182 const SkString& relativePath, bool local) { in print_diff_resource_cell() argument
192 fullPath.prepend(relativePath); in print_diff_resource_cell()
208 fullPath.prepend(relativePath); in print_diff_resource_cell()
213 … void print_diff_row(SkFILEWStream* stream, const DiffRecord& diff, const SkString& relativePath) { in print_diff_row() argument
217 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); in print_diff_row()
218 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); in print_diff_row()
219 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
220 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); in print_diff_row()
257 SkString relativePath; in print_diff_page() local
262 relativePath.append(".." PATH_DIV_STR); in print_diff_page()
[all …]
/third_party/node/deps/npm/lib/workspaces/
Dget-workspaces.js26 let relativePath = relative(relativeFrom, workspacePath) variable
28 relativePath = `./${relativePath}`
33 || minimatch(relativePath, `${globify(relativeFilter)}/*`)
34 || minimatch(relativePath, `${globify(filterArg)}/*`)
/third_party/node/test/es-module/
Dtest-esm-dynamic-import.js6 const relativePath = '../fixtures/es-modules/test-esm-ok.mjs'; constant
7 const absolutePath = require.resolve(relativePath);
42 expectOkNamespace(eval(`import("${relativePath}")`));
43 expectOkNamespace(eval(`import("${relativePath}")`));
/third_party/typescript/src/compiler/
DmoduleSpecifiers.ts299 …const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDire… constant
302 return relativePath;
308 return relativePath;
314 return relativePath;
355 return relativePath;
361 …ToParent(nonRelative) || countPathComponents(relativePath) < countPathComponents(nonRelative) ? re…
896 const relativePath = getRelativePathIfInDirectory(path, rootDir, getCanonicalFileName); constant
897 …return relativePath !== undefined && isPathRelativeToParent(relativePath) ? undefined : relativePa…
956 …const relativePath = getRelativePathToDirectoryOrUrl(directoryPath, path, directoryPath, getCanoni… constant
957 return isRootedDiskPath(relativePath) ? undefined : relativePath;
Dpath.ts505 for (let relativePath of paths) {
506 if (!relativePath) continue;
507 relativePath = normalizeSlashes(relativePath);
508 if (!path || getRootLength(relativePath) !== 0) {
509 path = relativePath;
512 path = ensureTrailingDirectorySeparator(path) + relativePath;
Dsourcemap.ts175 … const relativePath = map.sourceRoot ? combinePaths(map.sourceRoot, rawPath) : rawPath; constant
176 … const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath);
Dutilities.ts4369 …const relativePath = getRelativePathToDirectoryOrUrl(dir, filePath, dir, getCanonicalFileName, /*i… constant
4370 const extensionless = removeFileExtension(relativePath);
/third_party/curl/lib/
Dcurl_path.c124 bool relativePath = false; in Curl_get_pathname() local
178 relativePath = (cp[0] == '/' && cp[1] == '~' && cp[2] == '/'); in Curl_get_pathname()
180 if(relativePath) { in Curl_get_pathname()
/third_party/node/test/common/
Dwpt.js389 const relativePath = path.relative(subDir, file);
390 const match = this.rules.match(relativePath);
391 this.specs.push(new WPTTestSpec(this.path, relativePath, match));
555 const relativePath = spec.getRelativePath();
567 filename: this.resource.toRealFilePath(relativePath, script),
568 code: this.resource.read(relativePath, script, false),
594 testRelativePath: relativePath,
611 reportResult ||= this.report?.addResult(`/${relativePath}${variant}`, 'OK');
/third_party/node/benchmark/fs/
Dbench-realpath.js18 relativePath(n);
23 function relativePath(n) { function
/third_party/skia/src/utils/
DSkOSPath.cpp10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join() argument
15 result.append(relativePath); in Join()
DSkOSPath.h32 static SkString Join(const char* rootPath, const char* relativePath);
/third_party/icu/tools/cldr/lib/
Dinstall-cldr-jars.sh87 -Dproject.parent.relativePath="" \
98 -Dproject.parent.relativePath="" \
DREADME.txt58 -Dproject.parent.relativePath="" \
70 -Dproject.parent.relativePath="" \
/third_party/skia/third_party/externals/angle2/util/posix/
Dcrash_handler_posix.cpp529 std::string relativePath = resolvedModule.substr(0, lastPathSepLoc);
533 size_t pos = relativePath.find('.');
537 relativePath.erase(pos, 1);
545 pos = absolutePath.find(relativePath);
549 absolutePath.erase(pos, relativePath.length());
/third_party/typescript/src/services/
DgetEditsForFileRename.ts69 …ile, last(property.initializer.elements), factory.createStringLiteral(relativePath(newFileOrDirPat…
107 ….replaceRangeWithText(configFile!, createStringRange(element, configFile!), relativePath(updated));
113 function relativePath(path: string): string {
/third_party/node/lib/internal/test_runner/
Dutils.js388 const relativePath = relative(summary.workingDirectory, file.path);
398 …report += `${prefix}${getCell(relativePath, filePadLength, StringPrototypePadEnd, truncateStart, f…
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_multimedia_mediaLibrary.js27 relativePath: "[PC Preview] unknow relativePath", property
244 relativePath: "[PC Preview] unknow relativePath", property
/third_party/typescript/lib/
Dtsc.js5163 var relativePath = paths_1[_a];
5164 if (!relativePath)
5166 relativePath = normalizeSlashes(relativePath);
5167 if (!path || getRootLength(relativePath) !== 0) {
5168 path = relativePath;
5171 path = ensureTrailingDirectorySeparator(path) + relativePath;
14653 …var relativePath = ts.getRelativePathToDirectoryOrUrl(dir, filePath, dir, getCanonicalFileName, fa…
14654 var extensionless = removeFileExtension(relativePath);
79861 … var relativePath = map.sourceRoot ? ts.combinePaths(map.sourceRoot, rawPath) : rawPath;
79862 … var combinedPath = ts.combinePaths(ts.getDirectoryPath(sourceMapPath), relativePath);
[all …]
DtypingsInstaller.js7959 var relativePath = paths_1[_a];
7960 if (!relativePath)
7962 relativePath = normalizeSlashes(relativePath);
7963 if (!path || getRootLength(relativePath) !== 0) {
7964 path = relativePath;
7967 path = ensureTrailingDirectorySeparator(path) + relativePath;
18665 …var relativePath = ts.getRelativePathToDirectoryOrUrl(dir, filePath, dir, getCanonicalFileName, /*…
18666 var extensionless = removeFileExtension(relativePath);
94402 … var relativePath = map.sourceRoot ? ts.combinePaths(map.sourceRoot, rawPath) : rawPath;
94403 … var combinedPath = ts.combinePaths(ts.getDirectoryPath(sourceMapPath), relativePath);
[all …]
/third_party/typescript/tests/lib/
Dlib.d.ts11383 buildLocalStreamUri(contentIdentifier: string, relativePath: string): string;

12