Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 25 of 39) 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-worker-relative-path-double-dot.js9 const relativePath = path.relative('.', __filename); constant
10 const w = new Worker(path.join('..', cwdName, relativePath));
/third_party/flutter/skia/tools/skdiff/
Dskdiff_html.cpp182 const SkString& relativePath, bool local) { in print_diff_resource_cell() argument
191 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
207 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { in print_diff_row() argument
216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); in print_diff_row()
217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); in print_diff_row()
218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); in print_diff_row()
256 SkString relativePath; in print_diff_page() local
261 relativePath.append(".." PATH_DIV_STR); in print_diff_page()
[all …]
/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/flutter/flutter/packages/flutter_tools/test/general.shard/
Dforbidden_imports_test.dart28 final String relativePath = fs.path.relative(file.path, from:flutterTools);
29 fail("$relativePath imports 'dart:io'; import 'lib/src/base/io.dart' instead");
48 final String relativePath = fs.path.relative(file.path, from:flutterTools);
49 fail("$relativePath imports 'package:path/path.dart'; use 'fs.path' instead");
72 final String relativePath = fs.path.relative(file.path, from:flutterTools);
73 fail("$relativePath imports 'dart:convert'; import 'lib/src/convert.dart' instead");
100 final String relativePath = fs.path.relative(file.path, from:flutterTools);
101 fail('$relativePath imports a build_runner package');
/third_party/typescript/src/compiler/
DmoduleSpecifiers.ts182 …const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDire… constant
185 return relativePath;
191 return relativePath;
198 return relativePath;
237 return relativePath;
243 …ToParent(nonRelative) || countPathComponents(relativePath) < countPathComponents(nonRelative) ? re…
465 …const relativePath = normalizedSourcePath !== undefined ? ensurePathIsNonModuleName(getRelativePat… constant
467 ? removeExtensionAndIndexPostFix(relativePath, ending, compilerOptions)
468 : removeFileExtension(relativePath);
650 …const relativePath = getRelativePathIfInDirectory(path, rootDir, getCanonicalFileName)!; // TODO: … constant
[all …]
Dpath.ts503 for (let relativePath of paths) {
504 if (!relativePath) continue;
505 relativePath = normalizeSlashes(relativePath);
506 if (!path || getRootLength(relativePath) !== 0) {
507 path = relativePath;
510 path = ensureTrailingDirectorySeparator(path) + relativePath;
/third_party/node/test/es-module/
Dtest-esm-dynamic-import.js5 const relativePath = '../fixtures/es-modules/test-esm-ok.mjs'; constant
42 expectOkNamespace(eval(`import("${relativePath}")`));
43 expectOkNamespace(eval(`import("${relativePath}")`));
/third_party/node/test/known_issues/
Dtest-path-posix-relative-on-windows.js9 const relativePath = path.posix.relative('a/b/c', '../../x'); constant
10 assert.match(relativePath, /^(\.\.\/){3,5}x$/);
/third_party/curl/lib/
Dcurl_path.c119 bool relativePath = false; in Curl_get_pathname() local
176 relativePath = (cp[0] == '/' && cp[1] == '~' && cp[2] == '/'); in Curl_get_pathname()
178 if(relativePath) { in Curl_get_pathname()
/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/flutter/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/grpc/src/csharp/Grpc.IntegrationTesting/
DTestCredentials.cs76 private static string GetPath(string relativePath) in GetPath() argument
79 return Path.Combine(assemblyDir, relativePath); in GetPath()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dide_config.dart130 final String relativePath = fs.path.relative(entity.path, from: _flutterRoot.absolute.path);
149 (_trackedIdeaFileRegExp.hasMatch(relativePath) ||
157 _templateDirectory.absolute.path, '$relativePath${Template.copyTemplateExtension}'));
163 manifest.add('$relativePath${Template.copyTemplateExtension}');
171 manifest.add('$relativePath${Template.copyTemplateExtension}');
183 manifest.add('$relativePath${Template.copyTemplateExtension}');
199 final String relativePath = fs.path.relative(
203 if (!manifest.contains(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/node/test/common/
Dwpt.js268 const relativePath = path.relative(subDir, file);
269 const match = this.rules.match(relativePath);
270 this.specs.push(new WPTTestSpec(this.path, relativePath, match));
344 const relativePath = spec.getRelativePath();
351 filename: this.resource.toRealFilePath(relativePath, script),
352 code: this.resource.read(relativePath, script, false)
/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/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/
Dreadme.markdown66 * `opts.pathFilter(pkg, path, relativePath)` - transform a path within a package
69 * relativePath - the path relative from the package.json location
128 * `opts.pathFilter(pkg, path, relativePath)` - transform a path within a package
131 * relativePath - the path relative from the package.json location
/third_party/typescript/src/services/
DgetEditsForFileRename.ts68 …ile, last(property.initializer.elements), factory.createStringLiteral(relativePath(newFileOrDirPat…
108 ….replaceRangeWithText(configFile!, createStringRange(element, configFile!), relativePath(updated));
114 function relativePath(path: string): string {
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dtemplate.dart42 final String relativePath = fs.path.relative(entity.path,
45 if (relativePath.contains(templateExtension)) {
49 _templateFilePaths[relativePath] = fs.path.absolute(entity.path);
/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

12