/third_party/typescript/src/compiler/ |
D | path.ts | 427 export function getPathComponents(path: string, currentDirectory = "") { 428 path = combinePaths(currentDirectory, path); 540 … export function getNormalizedPathComponents(path: string, currentDirectory: string | undefined) { 541 return reducePathComponents(getPathComponents(path, currentDirectory)); 544 …export function getNormalizedAbsolutePath(fileName: string, currentDirectory: string | undefined) { 545 return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory)); 559 …export function getNormalizedAbsolutePathWithoutRoot(fileName: string, currentDirectory: string | … 560 return getPathWithoutRoot(getNormalizedPathComponents(fileName, currentDirectory)); 717 …export function comparePaths(a: string, b: string, currentDirectory: string, ignoreCase?: boolean)… 718 …export function comparePaths(a: string, b: string, currentDirectory?: string | boolean, ignoreCase… [all …]
|
D | watchPublic.ts | 261 const currentDirectory = host.getCurrentDirectory(); constant 269 …== undefined ? undefined : createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensi… 290 …writeLog(`Current directory: ${currentDirectory} CaseSensitiveFileNames: ${useCaseSensitiveFileNam… 322 getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) : 323 currentDirectory, 461 return ts.toPath(fileName, currentDirectory, getCanonicalFileName); 646 …Specs!, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOpt… 647 …InputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOpt… 773 currentDirectory,
|
D | watchUtilities.ts | 42 …on createCachedDirectoryStructureHost(host: DirectoryStructureHost, currentDirectory: string, useC… 65 return ts.toPath(fileName, currentDirectory, getCanonicalFileName); 175 …rootDir, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFi… 386 currentDirectory: string; property 394 currentDirectory, useCaseSensitiveFileNames, 413 …solutePath(getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames, current…
|
D | moduleNameResolver.ts | 247 let currentDirectory: string | undefined; 249 currentDirectory = getDirectoryPath(options.configFilePath); 252 currentDirectory = host.getCurrentDirectory(); 255 if (currentDirectory !== undefined) { 256 return getDefaultTypeRoots(currentDirectory, host, options.packageManagerType); 264 …function getDefaultTypeRoots(currentDirectory: string, host: { directoryExists?: (directoryName: s… 268 return [combinePaths(currentDirectory, modulesAtTypes)]; 273 forEachAncestorDirectory(normalizePath(currentDirectory), directory => { 477 …export function createModuleResolutionCache(currentDirectory: string, getCanonicalFileName: (s: st… 481 currentDirectory, [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/ |
D | clean_test.dart | 19 MockDirectory currentDirectory; 31 currentDirectory = MockDirectory(); 40 when(mockFileSystem.currentDirectory).thenReturn(currentDirectory); 41 when(currentDirectory.childDirectory('example')).thenReturn(exampleDirectory); 42 when(currentDirectory.childFile('pubspec.yaml')).thenReturn(pubspec); 45 when(currentDirectory.childDirectory('.dart_tool')).thenReturn(dartToolDirectory); 46 when(currentDirectory.childDirectory('.android')).thenReturn(androidEphemeralDirectory); 47 when(currentDirectory.childDirectory('.ios')).thenReturn(iosEphemeralDirectory);
|
D | analyze_test.dart | 39 fs.currentDirectory = Cache.flutterRoot; 42 fs.currentDirectory = tempDir.path;
|
/third_party/typescript/src/testRunner/ |
D | rwcRunner.ts | 31 let currentDirectory: string; 42 currentDirectory = undefined!; 55 currentDirectory = ioLog.currentDirectory; 131 currentDirectory); 183 … Harness.Compiler.iterateErrorBaseline(baselineFiles, errors, { caseSensitive, currentDirectory }); 197 …s, compilerResult, /*harnessSettings*/ undefined!, compilerOptions, currentDirectory // TODO: GH#1… 204 …therFiles), declFileCompilationResult.declResult.diagnostics, { caseSensitive, currentDirectory });
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | watchMode.ts | 140 sys: () => createWatchedSystem(allFiles, { currentDirectory: projectsLocation }), 145 … const system = createTsBuildWatchSystem(allFiles, { currentDirectory: projectsLocation }); 193 { currentDirectory: projectsLocation } 228 { currentDirectory: projectsLocation } 247 { currentDirectory: projectsLocation } 292 { currentDirectory: projectsLocation } 343 …em([libFile, coreTsConfig, coreIndex, logicTsConfig, logicIndex], { currentDirectory: projectsLoca… 394 … return createWatchedSystem(files, { currentDirectory: `${projectsLocation}/${project}` }); 426 … sys: () => createWatchedSystem(allFiles, { currentDirectory: projectsLocation }), 496 { currentDirectory: `${projectsLocation}/${solution}` } [all …]
|
/third_party/typescript/src/services/ |
D | documentRegistry.ts | 113 …export function createDocumentRegistry(useCaseSensitiveFileNames?: boolean, currentDirectory?: str… 114 return createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory); 118 …createDocumentRegistryInternal(useCaseSensitiveFileNames?: boolean, currentDirectory = "", externa… 144 const path = toPath(fileName, currentDirectory, getCanonicalFileName); 154 const path = toPath(fileName, currentDirectory, getCanonicalFileName); 227 const path = toPath(fileName, currentDirectory, getCanonicalFileName);
|
D | sourcemaps.ts | 25 const currentDirectory = host.getCurrentDirectory(); constant 31 return ts.toPath(fileName, currentDirectory, getCanonicalFileName); 83 …itOutputFilePathWorker(info.fileName, program.getCompilerOptions(), currentDirectory, program.getC…
|
/third_party/typescript/src/server/ |
D | editorServices.ts | 261 …chOptions(protocolOptions: protocol.ExternalProjectCompilerOptions, currentDirectory?: string): Wa… 270 … convertJsonOption(option, propertyValue, currentDirectory || "", errors || (errors = [])); 736 readonly currentDirectory: NormalizedPath; property in ProjectService 808 this.currentDirectory = toNormalizedPath(this.host.getCurrentDirectory()); 833 …= createDocumentRegistryInternal(this.host.useCaseSensitiveFileNames, this.currentDirectory, this); 847 return toPath(fileName, this.currentDirectory, this.toCanonicalFileName); 1293 currentDirectory: this.currentDirectory, 1407 …const canonicalConfigPath = normalizedPathToPath(configFileName, this.currentDirectory, this.toCan… 1470 projectRootPath || this.currentDirectory : 1478 this.currentDirectory [all …]
|
D | project.ts | 252 readonly currentDirectory: string; 283 currentDirectory: string | undefined, 286 … this.currentDirectory = this.projectService.getNormalizedAbsolutePath(currentDirectory || ""); 338 currentDirectory && this.currentDirectory, 372 … ...options, projectName: this.projectName, projectRootPath: this.toPath(this.currentDirectory) }); 432 …rojectService.getOrCreateScriptInfoNotOpenedByClient(fileName, this.currentDirectory, this.directo… 453 …rojectService.getOrCreateScriptInfoNotOpenedByClient(filename, this.currentDirectory, this.directo… 469 return this.currentDirectory; 527 return toPath(fileName, this.currentDirectory, this.projectService.toCanonicalFileName); 704 …nst outputFileAbsoluteFileName = getNormalizedAbsolutePath(outputFile.name, this.currentDirectory); [all …]
|
D | utilitiesPublic.ts | 66 …export function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, get… 67 …ath(normalizedPath) ? normalizedPath : getNormalizedAbsolutePath(normalizedPath, currentDirectory);
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | emitAndErrorUpdates.ts | 13 currentDirectory, 25 { currentDirectory: currentDirectory || projectRoot } 42 currentDirectory?: string; property 322 currentDirectory: `${TestFSWithWatch.tsbuildProjectsLocation}/noEmitOnError`,
|
D | programUpdates.ts | 592 …return createWatchedSystem([file1, libFile, configFile], { currentDirectory: `${projectRoot}/Proje… 835 … return createWatchedSystem([f1, config, node, cwd, libFile], { currentDirectory: cwd.path }); 980 …return createWatchedSystem([f, config, t1, t2, libFile], { currentDirectory: getDirectoryPath(f.pa… 1052 … return createWatchedSystem([file1, file2, libFile, tsconfig], { currentDirectory: projectRoot }); 1188 …return createWatchedSystem([aFile, bFile, libFile, tsconfigFile], { currentDirectory: projectRoot … 1212 … return createWatchedSystem([aFile, config, libFile], { currentDirectory: projectRoot }); 1255 … return createWatchedSystem([aFile, config, libFile], { currentDirectory: projectRoot }); 1309 … return createWatchedSystem([aFile, bFile, config, libFile], { currentDirectory: projectRoot }); 1376 … return createWatchedSystem([aFile, jsonFile, config, libFile], { currentDirectory: projectRoot }); 1402 … return createWatchedSystem([aFile, config, libFile], { currentDirectory: projectRoot }); [all …]
|
D | forceConsistentCasingInFileNames.ts | 71 …eateWatchedSystem([moduleA, moduleB, moduleC, libFile, tsconfig], { currentDirectory: projectRoot … 119 ], { currentDirectory: projectRoot }), 196 …ateWatchedSystem([moduleA, symlinkA, moduleB, libFile, tsconfig], { currentDirectory: projectRoot … 247 …ateWatchedSystem([moduleA, symlinkA, moduleB, libFile, tsconfig], { currentDirectory: projectRoot …
|
D | emit.ts | 422 const currentDirectory = "/user/someone/projects/myproject"; constant 424 path: `${currentDirectory}/file1.ts`, 428 path: `${currentDirectory}/file2.ts`, 432 path: `${currentDirectory}/file3.ts`, 465 …return createWatchedSystem(files, { currentDirectory: projectLocation, useCaseSensitiveFileNames: …
|
D | resolutionCache.ts | 186 }, libFile], { currentDirectory: "/a/b" }), 237 return createWatchedSystem([root, file, libFile], { currentDirectory: "/a/b" }); 284 …createWatchedSystem([file1, file2, module1, libFile, configFile], { currentDirectory: "/a/b/projec… 308 … return createWatchedSystem([file, libFile, module], { currentDirectory: projectRoot }); 448 return createWatchedSystem(files, { currentDirectory: mainPackageRoot });
|
/third_party/typescript/src/harness/ |
D | virtualFileSystemWithWatch.ts | 36 currentDirectory?: string; property 367 currentDirectory: string; property 396 private readonly currentDirectory: string; 404 useCaseSensitiveFileNames, executingFilePath, currentDirectory, 412 currentDirectory = currentDirectory || "/"; 414 this.toPath = s => toPath(s, currentDirectory, this.getCanonicalFileName); 416 this.currentDirectory = this.getHostSpecificPath(currentDirectory); 459 return getNormalizedAbsolutePath(s, this.currentDirectory); 552 const fullPath = getNormalizedAbsolutePath(fileName, this.currentDirectory); 561 const newFullPath = getNormalizedAbsolutePath(newFileName, this.currentDirectory); [all …]
|
D | loggedIO.ts | 22 currentDirectory: string; property 115 currentDirectory: "", 303 return replayLog.currentDirectory || ""; 306 return recordLog.currentDirectory = underlying.getCurrentDirectory(); 315 …tedDiskPath(ts.normalizeSlashes(path)) && replayLog!.currentDirectory ? replayLog!.currentDirector…
|
D | harnessIO.ts | 395 currentDirectory: string | undefined, 404 if (typeof currentDirectory === "undefined") { 405 currentDirectory = vfs.srcFolder; 413 …ptions.rootDirs = ts.map(options.rootDirs, d => ts.getNormalizedAbsolutePath(d, currentDirectory)); 433 …s.createFromFileSystem(IO, !useCaseSensitiveFileNames, { documents: docs, cwd: currentDirectory }); 448 currentDirectory: string; property 457 currentDirectory: string | undefined): DeclarationCompilationContext | undefined { 477 …eclOtherFiles, harnessSettings, options, currentDirectory: currentDirectory || harnessSettings.cur… 526 … const { declInputFiles, declOtherFiles, harnessSettings, options, currentDirectory } = context; constant 527 …compileFiles(declInputFiles, declOtherFiles, harnessSettings, options, currentDirectory, symlinks); [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/test/ |
D | runner.dart | 116 projectRootDirectory: fs.currentDirectory.uri, 127 final Directory saved = fs.currentDirectory; 131 fs.currentDirectory = workDir; 142 fs.currentDirectory = saved;
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
D | RBManager.java | 33 private File currentDirectory; field in RBManager 80 currentDirectory = new File(""); in RBManager() 101 currentDirectory = new File(mainFile.getParent()); in RBManager() 130 File resDir = currentDirectory; in RBManager() 388 File outputFile = new File(currentDirectory, baseClass + in writeToFile() 397 …Preferences.addRecentFilePreference(baseClass + ".properties", currentDirectory.getAbsolutePath() … in writeToFile() 427 File outputFile = new File(currentDirectory, baseClass + in eraseFile() 445 File outputFile = new File(currentDirectory, baseClass + in writeToFile() 456 …Preferences.addRecentFilePreference(baseClass + ".properties", currentDirectory.getAbsolutePath() … in writeToFile() 829 if (directory.isDirectory()) currentDirectory = directory; in setFileDirectory() [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/ |
D | file_system_test.dart | 38 sourceMemoryFs.currentDirectory = sourcePath; 51 targetMemoryFs.currentDirectory = targetPath; 71 final String expected = fs.path.join(fs.currentDirectory.parent.absolute.path, 'bar', 'Foo'); 84 final String expected = fs.path.join(fs.currentDirectory.parent.absolute.path, 'bar', 'Foo');
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/ |
D | analyze_once.dart | 37 final String currentDirectory = 38 (workingDirectory ?? fs.currentDirectory).path; 61 directories.add(currentDirectory); 64 directories.add(currentDirectory);
|