/third_party/typescript/src/testRunner/unittests/ |
D | paths.ts | 79 assert.isFalse(ts.isRootedDiskPath("a")); 80 assert.isTrue(ts.isRootedDiskPath("/")); 81 assert.isTrue(ts.isRootedDiskPath("c:")); 82 assert.isFalse(ts.isRootedDiskPath("c:d")); 83 assert.isTrue(ts.isRootedDiskPath("c:/")); 84 assert.isTrue(ts.isRootedDiskPath("c:\\")); 85 assert.isTrue(ts.isRootedDiskPath("//server")); 86 assert.isTrue(ts.isRootedDiskPath("//server/share")); 87 assert.isTrue(ts.isRootedDiskPath("\\\\server")); 88 assert.isTrue(ts.isRootedDiskPath("\\\\server\\share")); [all …]
|
/third_party/typescript/src/compiler/ |
D | path.ts | 33 export function isRootedDiskPath(path: string) { function 564 const nonCanonicalizedPath = isRootedDiskPath(fileName) 816 return !isRootedDiskPath(absoluteOrRelativePath) 834 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) {
|
D | moduleSpecifiers.ts | 693 return isRootedDiskPath(relativePath) ? undefined : relativePath;
|
D | resolutionCache.ts | 483 …failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation…
|
D | utilitiesPublic.ts | 6 return pathIsRelative(moduleName) || isRootedDiskPath(moduleName);
|
D | commandLineParser.ts | 2651 …raw[propertyName] = map(baseRaw[propertyName], (path: string) => isRootedDiskPath(path) ? path : c… 2787 …if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, "./") || startsWith(extendedCon…
|
D | program.ts | 11 …const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, modu…
|
D | utilities.ts | 6685 …const absolute: string = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, in…
|
/third_party/typescript/src/server/ |
D | utilitiesPublic.ts | 67 …const f = isRootedDiskPath(normalizedPath) ? normalizedPath : getNormalizedAbsolutePath(normalized…
|
D | editorServices.ts | 1472 isRootedDiskPath(info.fileName) ? 2598 if (isRootedDiskPath(fileName) || isDynamicFileName(fileName)) { 2628 …Debug.assert(isRootedDiskPath(fileName) || isDynamic || openedByClient, "", () => `${JSON.stringif… 2629 …Debug.assert(!isRootedDiskPath(fileName) || this.currentDirectory === currentDirectory || !this.op… 2641 …else if (!isRootedDiskPath(fileName) && (!isDynamic || this.currentDirectory !== currentDirectory)… 2662 …return !isRootedDiskPath(fileName) && this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFile…
|
/third_party/typescript/src/harness/ |
D | vpathUtil.ts | 4 export import isAbsolute = ts.isRootedDiskPath;
|
D | loggedIO.ts | 315 …(path => findResultByFields(replayLog!.pathsResolved, { path }, !ts.isRootedDiskPath(ts.normalizeS…
|
D | fourslashImpl.ts | 4119 … currentFileName = ts.isRootedDiskPath(value) ? value : basePath + "/" + value;
|
/third_party/typescript/src/testRunner/ |
D | compilerRunner.ts | 203 if (baseUrl !== undefined && !ts.isRootedDiskPath(baseUrl)) {
|
D | projectsRunner.ts | 414 unitName: ts.isRootedDiskPath(sourceFile.fileName) ?
|
/third_party/typescript/src/services/ |
D | stringCompletions.ts | 318 …sPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && (isRootedDiskPath(literalValue)… 354 …rootDirs = rootDirs.map(rootDirectory => normalizePath(isRootedDiskPath(rootDirectory) ? rootDirec…
|
/third_party/typescript/src/services/codefixes/ |
D | importFixes.ts | 1072 if (pathIsRelative(moduleSpecifier) || isRootedDiskPath(moduleSpecifier)) { 1110 if (!pathIsRelative(specifier) && !isRootedDiskPath(specifier)) {
|
/third_party/typescript/lib/ |
D | tsserverlibrary.js | 5764 function isRootedDiskPath(path) { function 5767 ts.isRootedDiskPath = isRootedDiskPath; 6189 var nonCanonicalizedPath = isRootedDiskPath(fileName) 6375 return !isRootedDiskPath(absoluteOrRelativePath) 6387 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 11653 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 19590 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 38720 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 38821 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 106275 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … [all …]
|
D | tsserver.js | 5570 function isRootedDiskPath(path) { function 5573 ts.isRootedDiskPath = isRootedDiskPath; 5995 var nonCanonicalizedPath = isRootedDiskPath(fileName) 6181 return !isRootedDiskPath(absoluteOrRelativePath) 6193 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 11459 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 19396 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 38526 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 38627 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 106081 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … [all …]
|
D | typingsInstaller.js | 5559 function isRootedDiskPath(path) { function 5562 ts.isRootedDiskPath = isRootedDiskPath; 5984 var nonCanonicalizedPath = isRootedDiskPath(fileName) 6170 return !isRootedDiskPath(absoluteOrRelativePath) 6182 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 11448 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 19385 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 38515 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 38616 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 106070 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … [all …]
|
D | typescriptServices.js | 5764 function isRootedDiskPath(path) { function 5767 ts.isRootedDiskPath = isRootedDiskPath; 6189 var nonCanonicalizedPath = isRootedDiskPath(fileName) 6375 return !isRootedDiskPath(absoluteOrRelativePath) 6387 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 11653 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 19590 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 38720 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 38821 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 106275 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … [all …]
|
D | typescript.js | 5764 function isRootedDiskPath(path) { function 5767 ts.isRootedDiskPath = isRootedDiskPath; 6189 var nonCanonicalizedPath = isRootedDiskPath(fileName) 6375 return !isRootedDiskPath(absoluteOrRelativePath) 6387 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 11653 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 19590 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 38720 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 38821 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 106275 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … [all …]
|
D | tsc.js | 3520 var nonCanonicalizedPath = isRootedDiskPath(fileName) 3674 return !isRootedDiskPath(absoluteOrRelativePath) 3686 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) { 8534 return ts.pathIsRelative(moduleName) || ts.isRootedDiskPath(moduleName); 15339 …var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, inc… 31404 …Name] = ts.map(baseRaw_1[propertyName], function (path) { return ts.isRootedDiskPath(path) ? path … 31502 …if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(ex… 87067 …var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, … 91563 …failedLookupLocation = ts.isRootedDiskPath(failedLookupLocation) ? ts.normalizePath(failedLookupLo… 92392 return ts.isRootedDiskPath(relativePath) ? undefined : relativePath;
|