/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | forceConsistentCasingInFileNames.ts | 4 path: `${projectRoot}/logger.ts`, 8 path: `${projectRoot}/another.ts`, 12 path: `${projectRoot}/tsconfig.json`, 44 change: sys => sys.renameFile(loggerFile.path, `${projectRoot}/Logger.ts`), 56 path: `${projectRoot}/moduleA.ts`, 60 path: `${projectRoot}/moduleB.ts`, 64 path: `${projectRoot}/moduleC.ts`, 68 path: `${projectRoot}/tsconfig.json`, 71 …teWatchedSystem([moduleA, moduleB, moduleC, libFile, tsconfig], { currentDirectory: projectRoot }); 76 change: sys => sys.prependFile(`${projectRoot}/moduleA.ts`, `// some comment [all …]
|
D | emitAndErrorUpdates.ts | 4 path: `${projectRoot}/tsconfig.json`, 25 { currentDirectory: currentDirectory || projectRoot } 88 path: `${projectRoot}/a.ts`, 111 path: `${projectRoot}/b.ts`, 119 path: `${projectRoot}/c.ts`, 134 path: `${projectRoot}/b.d.ts`, 142 path: `${projectRoot}/c.d.ts`, 158 path: `${projectRoot}/a.ts`, 169 path: `${projectRoot}/b.ts`, 175 path: `${projectRoot}/c.ts`, [all …]
|
D | watchApi.ts | 8 path: `${projectRoot}/index.ts`, 12 path: `${projectRoot}/tsconfig.json`, 16 path: `${projectRoot}/settings.json`, 22 const host = createWatchedSystem(files, { currentDirectory: projectRoot }); 49 path: `${projectRoot}/tsconfig.json`, 53 path: `${projectRoot}/index.ts`, 59 const host = createWatchedSystem(files, { currentDirectory: projectRoot }); 77 path: `${projectRoot}/tsconfig.json`, 81 path: `${projectRoot}/main.ts`, 91 const barPath = `${projectRoot}/bar.ts`; [all …]
|
D | watchEnvironment.ts | 169 commandLineArgs: ["--w", "-p", `${projectRoot}/tsconfig.json`], 172 path: `${projectRoot}/tsconfig.json`, 176 path: `${projectRoot}/src/file1.ts`, 180 path: `${projectRoot}/node_modules/file2/index.d.ts`, 198 … change: sys => sys.deleteFolder(`${projectRoot}/node_modules`, /*recursive*/ true), 217 change: sys => sys.createDirectory(`${projectRoot}/node_modules`), 222 change: sys => sys.createDirectory(`${projectRoot}/node_modules/file2`), 227 …change: sys => sys.writeFile(`${projectRoot}/node_modules/file2/index.d.ts`, `export const x = 10;… 260 commandLineArgs: ["--w", "-p", `${projectRoot}/tsconfig.json`], 263 path: `${projectRoot}/tsconfig.json`, [all …]
|
D | programUpdates.ts | 585 path: `${projectRoot}/Project/file1.ts`, 589 path: `${projectRoot}/Project/tsconfig.json`, 592 … createWatchedSystem([file1, libFile, configFile], { currentDirectory: `${projectRoot}/Project` }); 597 … change: sys => sys.writeFile(`${projectRoot}/Project/file2.ts`, "export const y = 10;"), 1038 commandLineArgs: ["-w", "-p", `${projectRoot}/tsconfig.json`], 1041 path: `${projectRoot}/file1.ts`, 1045 path: `${projectRoot}/src/file2.ts`, 1049 path: `${projectRoot}/tsconfig.json`, 1052 … return createWatchedSystem([file1, file2, libFile, tsconfig], { currentDirectory: projectRoot }); 1058 … change: sys => sys.writeFile(`${projectRoot}/src/file3.ts`, `export const y = 10;`), [all …]
|
D | resolutionCache.ts | 298 commandLineArgs: ["--w", `${projectRoot}/a.ts`], 301 path: `${projectRoot}/a.ts`, 305 path: `${projectRoot}/node_modules2/@types/qqq/index.d.ts`, 308 … return createWatchedSystem([file, libFile, module], { currentDirectory: projectRoot }); 313 … change: sys => sys.renameFolder(`${projectRoot}/node_modules2`, `${projectRoot}/node_modules`), 327 path: `${projectRoot}/test.ts`, 331 path: `${projectRoot}/node_modules/somemodule/index.d.ts`, 335 path: `${projectRoot}/tsconfig.json`, 344 … path: `${projectRoot}/node_modules/.cache/babel-loader/89c02171edab901b9926470ba6d5677e.ts`, 352 verifyIgnore("watch without configFile", ["--w", `${projectRoot}/test.ts`]); [all …]
|
D | sourceOfProjectReferenceRedirect.ts | 88 path: `${projectRoot}/packages/${packageName}/tsconfig.json`, 104 path: `${projectRoot}/packages/${packageName}/src/${fileName}`, 113 path: `${projectRoot}/packages/B/package.json`, 127 path: `${projectRoot}/node_modules/${scope}b`, 128 symLink: `${projectRoot}/packages/B` 136 path: `${projectRoot}/packages/B/package.json`, 147 path: `${projectRoot}/node_modules/${scope}b`, 148 symLink: `${projectRoot}/packages/B`
|
/third_party/typescript/src/testRunner/unittests/tsc/ |
D | declarationEmit.ts | 21 … sys: () => tscWatch.createWatchedSystem(files, { currentDirectory: tscWatch.projectRoot }), 34 { currentDirectory: tscWatch.projectRoot } 113 … { path: `${tscWatch.projectRoot}/plugin-two/index.d.ts`, content: pluginTwoDts() }, 114 …{ path: `${tscWatch.projectRoot}/plugin-two/node_modules/typescript-fsa/package.json`, content: fs… 115 …{ path: `${tscWatch.projectRoot}/plugin-two/node_modules/typescript-fsa/index.d.ts`, content: fsaI… 116 … { path: `${tscWatch.projectRoot}/plugin-one/tsconfig.json`, content: pluginOneConfig() }, 117 … { path: `${tscWatch.projectRoot}/plugin-one/index.ts`, content: pluginOneIndex() }, 118 … { path: `${tscWatch.projectRoot}/plugin-one/action.ts`, content: pluginOneAction() }, 119 …{ path: `${tscWatch.projectRoot}/plugin-one/node_modules/typescript-fsa/package.json`, content: fs… 120 …{ path: `${tscWatch.projectRoot}/plugin-one/node_modules/typescript-fsa/index.d.ts`, content: fsaI… [all …]
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | moduleResolution.ts | 6 path: `${projectRoot}/packages/pkg1/index.ts`, 12 path: `${projectRoot}/packages/pkg1/tsconfig.json`, 19 path: `${projectRoot}/packages/pkg2/const.ts`, 23 path: `${projectRoot}/packages/pkg2/index.ts`, 27 path: `${projectRoot}/packages/pkg2/tsconfig.json`, 38 path: `${projectRoot}/packages/pkg2/package.json`, 46 path: `${projectRoot}/node_modules/pkg2`, 47 symLink: `${projectRoot}/packages/pkg2`, 50 ], { currentDirectory: projectRoot });
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | watchEnvironment.ts | 572 path: `${tscWatch.projectRoot}/src/main.ts`, 576 path: `${tscWatch.projectRoot}/node_modules/bar/index.d.ts`, 580 path: `${tscWatch.projectRoot}/node_modules/bar/foo.d.ts`, 595 path: `${tscWatch.projectRoot}/tsconfig.json`, 600 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); 614 [`${tscWatch.projectRoot}/src`, `${tscWatch.projectRoot}/node_modules`], 616 f => f === `${tscWatch.projectRoot}/node_modules` ? 1 : 2, 628 [`${tscWatch.projectRoot}/src`], 637 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); 641 projectFileName: `${tscWatch.projectRoot}/project.csproj`, [all …]
|
D | resolutionCache.ts | 441 path: `${tscWatch.projectRoot}/tsconfig.json`, 549 …const expectedRecursiveDirectories = new Set([tscWatch.projectRoot, `${tscWatch.projectRoot}/${nod… 568 path: `${tscWatch.projectRoot}/src/file1.ts`, 572 path: `${tscWatch.projectRoot}/src/file2.ts`, 583 …nst { module1, module2 } = getModules(`${tscWatch.projectRoot}/src/module1.ts`, `${tscWatch.projec… 605 …onst expectedNonRelativeDirectories = [`${tscWatch.projectRoot}/node_modules`, `${tscWatch.project… 610 …le1, module2 } = getModules(`${tscWatch.projectRoot}/src/node_modules/module1/index.ts`, `${tscWat… 635 path: `${tscWatch.projectRoot}/product/src/file1.ts`, 639 path: `${tscWatch.projectRoot}/product/src/feature/file2.ts`, 643 path: `${tscWatch.projectRoot}/product/test/src/file3.ts`, [all …]
|
D | dynamicFiles.ts | 70 path: `${tscWatch.projectRoot}/tsconfig.json`, 73 …st([config, libFile], { useCaseSensitiveFileNames: true, currentDirectory: tscWatch.projectRoot }); 75 …vice.openClientFile(untitledFile, "const x = 10;", /*scriptKind*/ undefined, tscWatch.projectRoot); 78 verifyDynamic(service, `${tscWatch.projectRoot}/${untitledFile}`); 81 path: `${tscWatch.projectRoot}/Untitled-1.ts`, 86 …ce.openClientFile(untitled.path, untitled.content, /*scriptKind*/ undefined, tscWatch.projectRoot); 95 …vice.openClientFile(untitledFile, "const x = 10;", /*scriptKind*/ undefined, tscWatch.projectRoot); 96 verifyDynamic(service, `${tscWatch.projectRoot}/${untitledFile}`); 103 path: `${tscWatch.projectRoot}/tsconfig.json`, 107 path: `${tscWatch.projectRoot}/file.ts`, [all …]
|
D | syntacticServer.ts | 5 path: `${tscWatch.projectRoot}/a.ts`, 11 path: `${tscWatch.projectRoot}/b.ts`, 17 path: `${tscWatch.projectRoot}/c.ts`, 21 path: `${tscWatch.projectRoot}/node_modules/something/index.d.ts`, 25 path: `${tscWatch.projectRoot}/tsconfig.json`, 144 path: `${tscWatch.projectRoot}/a.ts`, 146 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 150 path: `${tscWatch.projectRoot}/b.ts`, 152 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 156 path: `${tscWatch.projectRoot}/c.ts`, [all …]
|
D | forceConsistentCasingInFileNames.ts | 47 path: `${tscWatch.projectRoot}/Logger.ts`, 51 path: `${tscWatch.projectRoot}/another.ts`, 55 path: `${tscWatch.projectRoot}/tsconfig.json`, 63 … openFilesForSession([{ file: loggerFile, projectRootPath: tscWatch.projectRoot }], session); 73 …le: newLoggerPath, content: loggerFile.content, projectRootPath: tscWatch.projectRoot }], session); 76 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session); 99 path: `${tscWatch.projectRoot}/Logger.ts`, 103 path: `${tscWatch.projectRoot}/another.ts`, 107 path: `${tscWatch.projectRoot}/tsconfig.json`, 115 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session);
|
D | partialSemanticServer.ts | 5 path: `${tscWatch.projectRoot}/a.ts`, 11 path: `${tscWatch.projectRoot}/b.ts`, 17 path: `${tscWatch.projectRoot}/c.ts`, 21 path: `${tscWatch.projectRoot}/node_modules/something/index.d.ts`, 25 path: `${tscWatch.projectRoot}/tsconfig.json`, 200 path: `${tscWatch.projectRoot}/a.ts`, 202 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 206 path: `${tscWatch.projectRoot}/b.ts`, 208 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 212 path: `${tscWatch.projectRoot}/c.ts`, [all …]
|
D | reloadProjects.ts | 4 path: `${tscWatch.projectRoot}/tsconfig.json`, 10 path: `${tscWatch.projectRoot}/file1.ts`, 17 path: `${tscWatch.projectRoot}/file2.ts`, 21 path: `${tscWatch.projectRoot}/node_modules/module1/index.d.ts`, 68 …CompilerOptionsForInferredProjects({ excludeDirectories: ["node_modules"] }, tscWatch.projectRoot); 70 …nClientFile(file1.path, /*fileContent*/ undefined, /*scriptKind*/ undefined, tscWatch.projectRoot); 92 projectFileName: `${tscWatch.projectRoot}/project.sln`, 118 projectFileName: `${tscWatch.projectRoot}/project.sln`,
|
D | configuredProjects.ts | 86 path: `${tscWatch.projectRoot}/tsconfig.json`, 92 path: `${tscWatch.projectRoot}/commonFile1.ts`, 96 path: `${tscWatch.projectRoot}/commonFile2.ts`, 110 const watchedFiles = getConfigFilesToWatch(tscWatch.projectRoot).concat(libFile.path); 440 path: `${tscWatch.projectRoot}/a/b/f1.ts`, 444 path: `${tscWatch.projectRoot}/a/c/f2.ts`, 448 path: `${tscWatch.projectRoot}/a/c/f3.ts`, 452 path: `${tscWatch.projectRoot}/a/c/tsconfig.json`, 835 path: `${tscWatch.projectRoot}/bar/tsconfig.json`, 844 path: `${tscWatch.projectRoot}/bar/index.ts`, [all …]
|
D | projectErrors.ts | 384 path: `${tscWatch.projectRoot}/src/client/app.js`, 388 path: `${tscWatch.projectRoot}/src/server/utilities.js`, 392 path: `${tscWatch.projectRoot}/test/backend/index.js`, 398 openFilesForSession([{ file: app, projectRootPath: tscWatch.projectRoot }], session); 403 … openFilesForSession([{ file: backendTest, projectRootPath: tscWatch.projectRoot }], session); 408 …nFilesForSession([{ file: serverUtilities.path, projectRootPath: tscWatch.projectRoot }], session); 485 path: `${tscWatch.projectRoot}/ui.ts`, 490 path: `${tscWatch.projectRoot}/tsconfig.json`, 923 path: `${tscWatch.projectRoot}/src/test.ts`, 929 path: `${tscWatch.projectRoot}/src/blabla.json`, [all …]
|
D | typeReferenceDirectives.ts | 4 const libProjectLocation = `${tscWatch.projectRoot}/lib`; 22 const testProjectLocation = `${tscWatch.projectRoot}/test`; 60 const projectPath = `${tscWatch.projectRoot}/background`; 76 path: `${tscWatch.projectRoot}/typedefs/filesystem.d.ts`,
|
D | inferredProjects.ts | 5 path: `${tscWatch.projectRoot}/app.ts`, 13 path: `${tscWatch.projectRoot}/module.d.ts`, 27 …checkWatchedFiles(host, getConfigFilesToWatch(tscWatch.projectRoot).concat(libFile.path, moduleFil… 28 checkWatchedDirectories(host, [tscWatch.projectRoot], /*recursive*/ false); 29 …checkWatchedDirectories(host, [combinePaths(tscWatch.projectRoot, nodeModulesAtTypes)], /*recursiv… 34 path: `${tscWatch.projectRoot}/a/b/main.ts`, 38 path: `${tscWatch.projectRoot}/a/b/tsconfig.json`, 47 path: `${tscWatch.projectRoot}/a/c/main.ts`, 52 path: `${tscWatch.projectRoot}/a/d/main.ts`, 349 path: `${tscWatch.projectRoot}/app.ts`, [all …]
|
D | projectReferences.ts | 144 const dependecyLocation = `${tscWatch.projectRoot}/dependency`; 145 const dependecyDeclsLocation = `${tscWatch.projectRoot}/decls`; 146 const mainLocation = `${tscWatch.projectRoot}/main`; 188 path: `${tscWatch.projectRoot}/random/random.ts`, 192 path: `${tscWatch.projectRoot}/random/tsconfig.json`, 1366 path: `${tscWatch.projectRoot}/compositea/tsconfig.json`, 1378 path: `${tscWatch.projectRoot}/compositea/a.ts`, 1382 path: `${tscWatch.projectRoot}/compositea/a2.ts`, 1386 path: `${tscWatch.projectRoot}/compositeb/tsconfig.json`, 1390 path: `${tscWatch.projectRoot}/compositeb/b.ts`, [all …]
|
D | configFileSearch.ts | 94 const projectRoot = "/a/b/projects/project"; constant 96 path: `${projectRoot}/src/index.ts`, 100 path: `${projectRoot}/tsconfig.json`, 125 …hanInferredProject ? [projectRoot, `${dirOfFile}/node_modules/@types`] : [projectRoot]).concat(get…
|
/third_party/typescript/src/testRunner/unittests/tsserver/events/ |
D | largeFileReferenced.ts | 10 path: `${tscWatch.projectRoot}/${getLargeFile(useLargeTsFile)}`, 38 path: `${tscWatch.projectRoot}/src/file.ts`, 42 path: `${tscWatch.projectRoot}/tsconfig.json`, 55 path: `${tscWatch.projectRoot}/src/file.ts`,
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ |
D | main.go | 62 projectRoot := fileutils.ProjectRoot() 63 defPath := filepath.Join(projectRoot, defProjectRelPath) 83 files, err := glob.Scan(projectRoot, glob.MustParseConfig(`{ 96 tmplPath := filepath.Join(projectRoot, relTmplPath)
|
/third_party/typescript/src/testRunner/ |
D | projectsRunner.ts | 5 … projectRoot: string; // project where it lives - this also is the current directory when compiling property 100 const projectRoot = vpath.resolve(vfs.srcFolder, this._testCase.projectRoot); constant 102 projectRoot, 103 vpath.resolve(projectRoot, item), 194 fs.mkdirpSync(vpath.combine(vfs.srcFolder, testCase.projectRoot)); 195 fs.chdir(vpath.combine(vfs.srcFolder, testCase.projectRoot)); 288 … let diskProjectPath = ts.normalizeSlashes(Harness.IO.resolvePath(this.testCase.projectRoot)!); 290 const normalizedProjectRoot = ts.normalizeSlashes(this.testCase.projectRoot); 385 cwd: vpath.combine(vfs.srcFolder, this.testCase.projectRoot)
|