Home
last modified time | relevance | path

Searched refs:isRootedDiskPath (Results 1 – 23 of 23) sorted by relevance

/third_party/typescript/src/testRunner/unittests/
Dpaths.ts79 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/
Dpath.ts33 export function isRootedDiskPath(path: string) { function
564 const nonCanonicalizedPath = isRootedDiskPath(fileName)
816 return !isRootedDiskPath(absoluteOrRelativePath)
834 if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) {
DmoduleSpecifiers.ts693 return isRootedDiskPath(relativePath) ? undefined : relativePath;
DresolutionCache.ts483 …failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation…
DutilitiesPublic.ts6 return pathIsRelative(moduleName) || isRootedDiskPath(moduleName);
DcommandLineParser.ts2651 …raw[propertyName] = map(baseRaw[propertyName], (path: string) => isRootedDiskPath(path) ? path : c…
2787 …if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, "./") || startsWith(extendedCon…
Dprogram.ts11 …const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, modu…
Dutilities.ts6685 …const absolute: string = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, in…
/third_party/typescript/src/server/
DutilitiesPublic.ts67 …const f = isRootedDiskPath(normalizedPath) ? normalizedPath : getNormalizedAbsolutePath(normalized…
DeditorServices.ts1472 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/
DvpathUtil.ts4 export import isAbsolute = ts.isRootedDiskPath;
DloggedIO.ts315 …(path => findResultByFields(replayLog!.pathsResolved, { path }, !ts.isRootedDiskPath(ts.normalizeS…
DfourslashImpl.ts4119 … currentFileName = ts.isRootedDiskPath(value) ? value : basePath + "/" + value;
/third_party/typescript/src/testRunner/
DcompilerRunner.ts203 if (baseUrl !== undefined && !ts.isRootedDiskPath(baseUrl)) {
DprojectsRunner.ts414 unitName: ts.isRootedDiskPath(sourceFile.fileName) ?
/third_party/typescript/src/services/
DstringCompletions.ts318 …sPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && (isRootedDiskPath(literalValue)…
354 …rootDirs = rootDirs.map(rootDirectory => normalizePath(isRootedDiskPath(rootDirectory) ? rootDirec…
/third_party/typescript/src/services/codefixes/
DimportFixes.ts1072 if (pathIsRelative(moduleSpecifier) || isRootedDiskPath(moduleSpecifier)) {
1110 if (!pathIsRelative(specifier) && !isRootedDiskPath(specifier)) {
/third_party/typescript/lib/
Dtsserverlibrary.js5764 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 …]
Dtsserver.js5570 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 …]
DtypingsInstaller.js5559 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 …]
DtypescriptServices.js5764 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 …]
Dtypescript.js5764 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 …]
Dtsc.js3520 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;