Home
last modified time | relevance | path

Searched refs:normalizeSlashes (Results 1 – 25 of 28) sorted by relevance

12

/third_party/typescript/scripts/build/
Dutils.js260 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/
Dpath.ts264 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);
DcommandLineParser.ts2414 options.configFilePath = configFileName && normalizeSlashes(configFileName);
2622 basePath = normalizeSlashes(basePath);
2786 extendedConfig = normalizeSlashes(extendedConfig);
2883 options.configFilePath = normalizeSlashes(configFileName);
Dsys.ts1370 const normalizedDir = normalizeSlashes(__dirname);
1375 const url = normalizeSlashes(node.callFrame.url);
Demitter.ts222 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);
DmoduleNameResolver.ts1311 return forEachAncestorDirectory(normalizeSlashes(directory), ancestorDirectory => {
/third_party/typescript/src/harness/
DloggedIO.ts158 …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) {
Drunnerbase.ts29 …dRoot + folder, regex, { recursive: (options ? options.recursive : false) }), ts.normalizeSlashes);
DvpathUtil.ts3 export import normalizeSeparators = ts.normalizeSlashes;
DharnessIO.ts968 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/
DrwcRunner.ts89 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)!);
DfourslashRunner.ts52 let fn = ts.normalizeSlashes(file);
DprojectsRunner.ts288 … let diskProjectPath = ts.normalizeSlashes(Harness.IO.resolvePath(this.testCase.projectRoot)!);
290 const normalizedProjectRoot = ts.normalizeSlashes(this.testCase.projectRoot);
/third_party/typescript/src/testRunner/unittests/
Dpaths.ts3 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/
DnodeServer.ts429 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/
Dshims.ts945 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);
DstringCompletions.ts313 const literalValue = normalizeSlashes(node.text);
382 fragment = normalizeSlashes(fragment);
/third_party/typescript/src/typingsInstaller/
DnodeTypingsInstaller.ts70 …return combinePaths(normalizeSlashes(globalTypingsCacheLocation), `node_modules/${typesRegistryPac…
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts290 …const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, /*forceDtsP…
312 …const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, /*forceDtsP…
/third_party/typescript/src/server/
Dproject.ts240 … const resolvedPath = normalizeSlashes(host.resolvePath(combinePaths(initialDir, "node_modules")));
2455 getDirectoryPath(projectFilePath || normalizeSlashes(externalProjectName)));
DeditorServices.ts2007 …tchOptionsAndErrors = convertWatchOptions(options, getDirectoryPath(normalizeSlashes(projectFileNa…
3660 … const normalizedNames = rootFiles.map(f => normalizeSlashes(f.fileName)) as NormalizedPath[];
/third_party/typescript/lib/
Dtsserver.js5746 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 …]
DtypingsInstaller.js5735 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 …]
Dtsserverlibrary.js5940 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 …]
Dtsc.js3364 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 …]

12