Home
last modified time | relevance | path

Searched refs:toPath (Results 1 – 25 of 53) sorted by relevance

123

/third_party/typescript/src/compiler/
DwatchUtilities.ts75 function toPath(fileName: string) {
76 return ts.toPath(fileName, currentDirectory, getCanonicalFileName);
102 …if (!host.realpath || ensureTrailingDirectorySeparator(toPath(host.realpath(rootDir))) === rootDir…
151 const path = toPath(fileName);
160 const path = toPath(fileName);
167 const path = toPath(dirPath);
172 const path = toPath(dirPath);
187 const rootDirPath = toPath(rootDir);
196 const rootDirPath = toPath(rootDir);
205 const path = toPath(dir);
[all …]
DwatchPublic.ts39 …changeCompilerHostLikeToUseCache(host, fileName => toPath(fileName, host.getCurrentDirectory(), ho…
352 …urceFile = (fileName, ...args) => getVersionedSourceFileByPath(fileName, toPath(fileName), ...args…
359 compilerHost.toPath = toPath;
404 …if (configFileName) updateExtendedConfigFilesWatches(toPath(configFileName), compilerOptions, watc…
472 } = changeCompilerHostLikeToUseCache(compilerHost, toPath);
551 function toPath(fileName: string) {
552 return ts.toPath(fileName, currentDirectory, getCanonicalFileName);
564 const path = toPath(fileName);
766 …updateExtendedConfigFilesWatches(toPath(configFileName), compilerOptions, watchOptions, WatchType.…
792 const configPath = toPath(configFileName);
[all …]
DresolutionCache.ts54 toPath(fileName: string): Path; method
218 const rootPath = (rootDir && resolutionHost.toPath(rootDir)) as Path; // TODO: GH#18217
424 const path = resolutionHost.toPath(containingFile);
598 const cache = resolvedModuleNames.get(resolutionHost.toPath(containingFile));
695 … resolvedFileToResolution.add(resolutionHost.toPath(resolved.resolvedFileName), resolution);
710 const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);
771 let actualWatcher = canWatchDirectoryOrFile(resolutionHost.toPath(locationToWatch)) ?
773 …cachedDirectoryStructureHost?.addOrDeleteFile(fileName, resolutionHost.toPath(locationToWatch), ev…
778 packageJsonMap?.delete(resolutionHost.toPath(path));
834 … resolvedFileToResolution.remove(resolutionHost.toPath(resolved.resolvedFileName), resolution);
[all …]
Dprogram.ts163 toPath: (fileName: string) => Path,
177 const key = toPath(fileName);
188 const key = toPath(fileName);
200 const key = toPath(fileName);
215 const key = toPath(fileName);
224 const key = toPath(fileName);
247 const key = toPath(directory);
257 const key = toPath(directory);
1156 toPath,
1291 if (!projectReferenceRedirects?.has(toPath(oldRefPath))) {
[all …]
DtsbuildPublic.ts378 function toPath(state: SolutionBuilderState, fileName: string) { function
379 return ts.toPath(fileName, state.currentDirectory, state.getCanonicalFileName);
387 const resolvedPath = toPath(state, fileName) as ResolvedConfigFilePath;
578 fileName => toPath(state, fileName),
907 …([path, data]) => ([state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path,…
1000 const path = toPath(state, name);
1001 emittedOutputs.set(toPath(state, name), name);
1122 emittedOutputs.set(toPath(state, name), name);
1405 const path = toPath(state, fileName);
1423 const path = toPath(state, file);
[all …]
DmoduleSpecifiers.ts222 …host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanon…
323toPath(getDirectoryPath(compilerOptions.configFilePath), host.getCurrentDirectory(), info.getCanon…
325 const modulePath = toPath(moduleFileName, projectDirectory, getCanonicalFileName);
399 const importedPath = toPath(importedFileName, cwd, getCanonicalFileName);
415 …kDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory,…
454 …const importedFilePath = toPath(importedFileName, host.getCurrentDirectory(), hostGetCanonicalFile…
864 … const mainExportFile = toPath(mainFileRelative, packageRootPath, getCanonicalFileName);
Dbuilder.ts320 … const result: Diagnostic = convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath);
328 … relatedInformation.map(r => convertToDiagnosticRelatedInformation(r, newProgram, toPath)) :
334 function toPath(path: string) {
335 return ts.toPath(path, buildInfoDirectory, getCanonicalFileName);
339 …n(diagnostic: ReusableDiagnosticRelatedInformation, newProgram: Program, toPath: (path: string) =>…
343 file: file ? newProgram.getSourceFileByPath(toPath(file)) : undefined
1639 filePaths = program.fileNames?.map(toPath);
1713 function toPath(path: string) {
1714 return ts.toPath(path, buildInfoDirectory, getCanonicalFileName);
1751 const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName);
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
Dconsistent-resolve.js7 const consistentResolve = (resolved, fromPath, toPath, relPaths = false) => { argument
24 if (relPaths && toPath) {
25 return `file:${relpath(toPath, cleanFetchSpec)}`
/third_party/typescript/src/services/
Dsourcemaps.ts30 function toPath(fileName: string) {
31 return ts.toPath(fileName, currentDirectory, getCanonicalFileName);
35 const path = toPath(generatedFileName);
94 const path = toPath(fileName);
101 const path = toPath(fileName);
DexportInfoMap.ts306 toPath => {
307 const toFile = program.getSourceFile(toPath);
311 …isImportablePath(from.fileName, toPath, getCanonicalFileName, globalTypingsCache, program.getCompi…
328 …function isImportablePath(fromPath: string, toPath: string, getCanonicalFileName: GetCanonicalFile…
330 …const toNodeModules = forEachAncestorDirectory(toPath, ancestor => (getBaseFileName(ancestor) === …
DdocumentRegistry.ts194 const path = toPath(fileName, currentDirectory, getCanonicalFileName);
204 const path = toPath(fileName, currentDirectory, getCanonicalFileName);
331 const path = toPath(fileName, currentDirectory, getCanonicalFileName);
Dtranspile.ts82 …impliedNodeFormat: getImpliedNodeFormatForFile(toPath(inputFileName, "", compilerHost.getCanonical…
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts337 private toPath: (f: string) => Path;
372 this.toPath = s => toPath(s, currentDirectory, this.getCanonicalFileName);
427 return this.toPath(this.toNormalizedAbsolutePath(s));
503 const path = this.toPath(fullPath);
523 const path = this.toPath(fullPath);
550 entry.path = this.toPath(entry.fullPath);
586 const path = this.toPath(fullPath);
698 …invokeWatcherCallbacks(this.watchedFiles.get(this.toPath(fileFullPath)), ({ cb }) => cb(fileFullPa…
702 const path = this.toPath(fullPath);
747 path: this.toPath(fullPath),
[all …]
/third_party/node/deps/npm/node_modules/just-diff-apply/
Dindex.mjs64 var toPath, toPathCopy, lastToProp, subToObject, valueToMove;
67 // MOVE only, "fromPath" is effectively path and "path" is toPath
68 toPath = thisPath;
71 toPathCopy = toPath.slice();
Dindex.cjs69 var toPath, toPathCopy, lastToProp, subToObject, valueToMove;
72 // MOVE only, "fromPath" is effectively path and "path" is toPath
73 toPath = thisPath;
76 toPathCopy = toPath.slice();
/third_party/typescript/src/typingsInstaller/
DnodeTypingsInstaller.ts90 …typingSafeListLocation ? toPath(typingSafeListLocation, "", createGetCanonicalFileName(sys.useCase…
91 …typesMapLocation ? toPath(typesMapLocation, "", createGetCanonicalFileName(sys.useCaseSensitiveFil…
/third_party/typescript/src/server/
Dproject.ts443 …ckage({ ...options, projectName: this.projectName, projectRootPath: this.toPath(this.currentDirect…
571 const path = this.toPath(file);
605 toPath(fileName: string) {
606 return toPath(fileName, this.currentDirectory, this.projectService.toCanonicalFileName);
1084 const path = this.projectService.toPath(fileName);
1436 const path = this.toPath(sourceFile);
1452 generatedFilePath: this.toPath(generatedFile),
1468 return this.toPath(generateFile) === watcher.generatedFilePath;
1484 const scriptInfo = this.projectService.getScriptInfoForPath(this.toPath(fileName));
1932 … return this.projectService.watchPackageJsonsInNodeModules(this.toPath(directoryPath), this);
[all …]
DeditorServices.ts595 …projectRef => callbackRefProject(project, cb, project.toPath(resolveProjectReferencePath(projectRe…
853 … ? ensureTrailingDirectorySeparator(this.toPath(this.typingsInstaller.globalTypingsCacheLocation))
888 toPath(fileName: string) {
889 return toPath(fileName, this.currentDirectory, this.toCanonicalFileName);
1319 const fileOrDirectoryPath = this.toPath(fileOrDirectory);
1340 toPath: s => this.toPath(s)
1402 …ject.resolutionCache.removeResolutionsFromProjectReferenceRedirects(this.toPath(canonicalConfigFil…
2259 …edConfigCache(this.extendedConfigCache, extendedConfigFilePath, fileName => this.toPath(fileName));
2272 fileName => this.toPath(fileName),
2588 const configProject = this.configuredProjects.get(this.toPath(uncheckedFileName));
[all …]
DpackageJsonCache.ts33 const packageJsonFileName = host.toPath(combinePaths(ancestor, "package.json"));
/third_party/typescript/src/testRunner/
DcompilerRunner.ts338 const path = ts.toPath(name, root, ts.identity);
339 const pathStart = ts.toPath(IO.getCurrentDirectory(), "", ts.identity);
/third_party/typescript/tests/baselines/reference/user/
Dlodash.log314 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
316 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
318 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
320 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
322 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
324 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
326 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
328 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
330 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
332 …nction: any; isWeakMap: any; iteratee: any; keys: any; rearg: any; toInteger: any; toPath: any; }'.
[all …]
/third_party/skia/src/pathops/
DSkOpContour.cpp11 void SkOpContour::toPath(SkPathWriter* path) const { in toPath() function in SkOpContour
DSkOpBuilder.cpp103 test->toPath(&woundPath); in FixWinding()
/third_party/typescript/src/services/codefixes/
DimportFixes.ts757 …const _toPath = (fileName: string) => toPath(fileName, host.getCurrentDirectory(), hostGetCanonica…
779 … fileName => toPath(fileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host)),
791 toPath: (fileName: string) => Path,
797 … isFixPossiblyReExportingImportingFile(a, importingFile, program.getCompilerOptions(), toPath),
798 … isFixPossiblyReExportingImportingFile(b, importingFile, program.getCompilerOptions(), toPath))
809 …eSpecifier, importingFile: SourceFile, compilerOptions: CompilerOptions, toPath: (fileName: string…
815 const reExportDir = toPath(getDirectoryPath(fix.exportInfo.moduleFileName));
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrCodeGeneratorDemo.java67 Files.write(svgFile.toPath(), // Write image to file in doBasicDemo()

123