/third_party/typescript/scripts/build/ |
D | utils.js | 260 const cwd = normalizeSlashes(options.cwd ? path.resolve(options.cwd) : process.cwd()); 267 …= new Set(options && options.exclude && options.exclude.map(file => normalizeSlashes(path.resolve(… 272 extends: normalizeSlashes(path.relative(resolvedOutputDirectory, resolvedProjectSpec)), 274 files: files.map(file => normalizeSlashes(path.relative(resolvedOutputDirectory, file))) 302 file = normalizeSlashes(path.resolve(projectDirectory, file)); 314 function normalizeSlashes(file) { function
|
/third_party/typescript/src/compiler/ |
D | path.ts | 264 path = normalizeSlashes(path); 320 path = normalizeSlashes(path); 454 export function normalizeSlashes(path: string): string { function 502 if (path) path = normalizeSlashes(path); 505 relativePath = normalizeSlashes(relativePath); 527 return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path)); 549 path = normalizeSlashes(path); 571 path = normalizeSlashes(path);
|
D | commandLineParser.ts | 2414 options.configFilePath = configFileName && normalizeSlashes(configFileName); 2622 basePath = normalizeSlashes(basePath); 2786 extendedConfig = normalizeSlashes(extendedConfig); 2883 options.configFilePath = normalizeSlashes(configFileName);
|
D | sys.ts | 1370 const normalizedDir = normalizeSlashes(__dirname); 1375 const url = normalizeSlashes(node.callFrame.url);
|
D | emitter.ts | 222 commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath)); 243 getDirectoryPath(normalizeSlashes(Debug.checkDefined(options.configFilePath))), 541 getBaseFileName(normalizeSlashes(jsFilePath)), 608 const sourceRoot = normalizeSlashes(mapOptions.sourceRoot || ""); 615 let sourceMapDir = normalizeSlashes(mapOptions.mapRoot); 638 … const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath))); 640 let sourceMapDir = normalizeSlashes(mapOptions.mapRoot);
|
D | moduleNameResolver.ts | 1311 return forEachAncestorDirectory(normalizeSlashes(directory), ancestorDirectory => {
|
/third_party/typescript/src/harness/ |
D | loggedIO.ts | 158 …const path = ts.toPath(ts.normalizeSlashes(name.replace(/[\^<>:"|?*%]/g, "_")).replace(/\.\.\//g, … 224 replayFilesRead.set(ts.normalizeSlashes(file.path).toLowerCase(), file); 315 …ootedDiskPath(ts.normalizeSlashes(path)) && replayLog!.currentDirectory ? replayLog!.currentDirect… 339 if (ts.normalizeSlashes(directory.path).toLowerCase() === normalizedPath) {
|
D | runnerbase.ts | 29 …dRoot + folder, regex, { recursive: (options ? options.recursive : false) }), ts.normalizeSlashes);
|
D | vpathUtil.ts | 3 export import normalizeSeparators = ts.normalizeSlashes;
|
D | harnessIO.ts | 968 const lastSlash = ts.normalizeSlashes(fn).lastIndexOf("/"); 988 …const path = ts.toPath(ts.normalizeSlashes(name.replace(/[\^<>:"|?*%]/g, "_")).replace(/\.\.\//g, … 1477 const fileName = ts.getBaseFileName(ts.normalizeSlashes(filePath)); 1487 … const libFile = userSpecifiedRoot + libFolder + ts.getBaseFileName(ts.normalizeSlashes(filePath));
|
/third_party/typescript/src/testRunner/ |
D | rwcRunner.ts | 89 const normalized = ts.normalizeSlashes(Harness.IO.resolvePath(fileName)!); 99 … const unitName = ts.normalizeSlashes(Harness.IO.resolvePath(fileRead.path)!); 135 const unitName = ts.normalizeSlashes(Harness.IO.resolvePath(fileName)!);
|
D | fourslashRunner.ts | 52 let fn = ts.normalizeSlashes(file);
|
D | projectsRunner.ts | 288 … let diskProjectPath = ts.normalizeSlashes(Harness.IO.resolvePath(this.testCase.projectRoot)!); 290 const normalizedProjectRoot = ts.normalizeSlashes(this.testCase.projectRoot);
|
/third_party/typescript/src/testRunner/unittests/ |
D | paths.ts | 3 assert.strictEqual(ts.normalizeSlashes("a"), "a"); 4 assert.strictEqual(ts.normalizeSlashes("a/b"), "a/b"); 5 assert.strictEqual(ts.normalizeSlashes("a\\b"), "a/b"); 6 assert.strictEqual(ts.normalizeSlashes("\\\\server\\path"), "//server/path");
|
/third_party/typescript/src/tsserver/ |
D | nodeServer.ts | 429 path = normalizeSlashes(path); 571 …args.push(Arguments.LogFile, combinePaths(getDirectoryPath(normalizeSlashes(this.logger.getLogFile… 883 …(process.env.HOMEDRIVE && process.env.HOMEPATH && normalizeSlashes(process.env.HOMEDRIVE + process… 885 …return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), versionMajor… 913 return combinePaths(normalizeSlashes(homePath), cacheFolder);
|
/third_party/typescript/src/services/ |
D | shims.ts | 945 const normalizedName = toFileNameLowerCase(normalizeSlashes(fileName)); 946 … return filter(results, r => toFileNameLowerCase(normalizeSlashes(r.fileName)) === normalizedName); 1166 …const result = resolveModuleName(moduleName, normalizeSlashes(fileName), compilerOptions, this.hos… 1183 …onst result = resolveTypeReferenceDirective(typeReferenceDirective, normalizeSlashes(fileName), co… 1226 path: normalizeSlashes(ref.fileName), 1239 const normalizedFileName = normalizeSlashes(fileName);
|
D | stringCompletions.ts | 313 const literalValue = normalizeSlashes(node.text); 382 fragment = normalizeSlashes(fragment);
|
/third_party/typescript/src/typingsInstaller/ |
D | nodeTypingsInstaller.ts | 70 …return combinePaths(normalizeSlashes(globalTypingsCacheLocation), `node_modules/${typesRegistryPac…
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 290 …const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, /*forceDtsP… 312 …const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, /*forceDtsP…
|
/third_party/typescript/src/server/ |
D | project.ts | 240 … const resolvedPath = normalizeSlashes(host.resolvePath(combinePaths(initialDir, "node_modules"))); 2455 getDirectoryPath(projectFilePath || normalizeSlashes(externalProjectName)));
|
D | editorServices.ts | 2007 …tchOptionsAndErrors = convertWatchOptions(options, getDirectoryPath(normalizeSlashes(projectFileNa… 3660 … const normalizedNames = rootFiles.map(f => normalizeSlashes(f.fileName)) as NormalizedPath[];
|
/third_party/typescript/lib/ |
D | tsserver.js | 5746 path = normalizeSlashes(path); 5758 path = normalizeSlashes(path); 5870 function normalizeSlashes(path) { function 5873 ts.normalizeSlashes = normalizeSlashes; 5927 path = normalizeSlashes(path); 5932 relativePath = normalizeSlashes(relativePath); 5958 …s.some(paths) ? combinePaths.apply(void 0, __spreadArray([path], paths)) : normalizeSlashes(path)); 5980 path = normalizeSlashes(path); 6002 path = normalizeSlashes(path); 7185 var normalizedDir = ts.normalizeSlashes(__dirname); [all …]
|
D | typingsInstaller.js | 5735 path = normalizeSlashes(path); 5747 path = normalizeSlashes(path); 5859 function normalizeSlashes(path) { function 5862 ts.normalizeSlashes = normalizeSlashes; 5916 path = normalizeSlashes(path); 5921 relativePath = normalizeSlashes(relativePath); 5947 …s.some(paths) ? combinePaths.apply(void 0, __spreadArray([path], paths)) : normalizeSlashes(path)); 5969 path = normalizeSlashes(path); 5991 path = normalizeSlashes(path); 7174 var normalizedDir = ts.normalizeSlashes(__dirname); [all …]
|
D | tsserverlibrary.js | 5940 path = normalizeSlashes(path); 5952 path = normalizeSlashes(path); 6064 function normalizeSlashes(path) { function 6067 ts.normalizeSlashes = normalizeSlashes; 6121 path = normalizeSlashes(path); 6126 relativePath = normalizeSlashes(relativePath); 6152 …s.some(paths) ? combinePaths.apply(void 0, __spreadArray([path], paths)) : normalizeSlashes(path)); 6174 path = normalizeSlashes(path); 6196 path = normalizeSlashes(path); 7379 var normalizedDir = ts.normalizeSlashes(__dirname); [all …]
|
D | tsc.js | 3364 path = normalizeSlashes(path); 3373 path = normalizeSlashes(path); 3437 function normalizeSlashes(path) { function 3440 ts.normalizeSlashes = normalizeSlashes; 3472 path = normalizeSlashes(path); 3477 relativePath = normalizeSlashes(relativePath); 3493 …s.some(paths) ? combinePaths.apply(void 0, __spreadArray([path], paths)) : normalizeSlashes(path)); 3505 path = normalizeSlashes(path); 3527 path = normalizeSlashes(path); 4553 var normalizedDir = ts.normalizeSlashes(__dirname); [all …]
|