| /third_party/typescript/src/compiler/ |
| D | builderPublic.ts | 156 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 157 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 166 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 167 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 175 …export function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: … 176 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram…
|
| D | builder.ts | 1050 oldProgram: BuilderProgram | undefined; property 1057 let oldProgram: BuilderProgram; 1061 oldProgram = configFileParsingDiagnosticsOrOldProgram as BuilderProgram; 1062 Debug.assert(!!oldProgram); 1063 newProgram = oldProgram.getProgram(); 1066 oldProgram = configFileParsingDiagnosticsOrOldProgram as BuilderProgram; 1071 oldProgram: oldProgram && oldProgram.getProgramOrUndefined(), 1080 oldProgram = oldProgramOrHost as BuilderProgram; 1083 …return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics … 1129 …export function createBuilderProgram(kind: BuilderProgramKind, { newProgram, host, oldProgram, con… [all …]
|
| D | program.ts | 989 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 994 oldProgram, 1024 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 1028 let { oldProgram } = createProgramOptions; 1162 ….push(tracing.Phase.Program, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram }); 1163 const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options); 1262 if (oldProgram && host.onReleaseOldSourceFile) { 1263 const oldSourceFiles = oldProgram.getSourceFiles(); 1269 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 1273 oldProgram.forEachResolvedProjectReference(resolvedProjectReference => { [all …]
|
| D | watchPublic.ts | 51 const oldProgram = readBuilderProgram(options, host) as any as T; constant 52 …return createProgram(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectRe… 57 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP… 501 const oldProgram = getCurrentProgram(); constant 503 … resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram);
|
| D | resolutionCache.ts | 23 …finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program | undefin… 324 …function finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program … 329 if (newProgram !== oldProgram) {
|
| /third_party/typescript/tests/baselines/reference/ |
| D | APISample_WatchWithDefaults.js | 41 host.createProgram = (rootNames, options, host, oldProgram) => { argument 43 return origCreateProgram(rootNames, options, host, oldProgram); 86 host.createProgram = function (rootNames, options, host, oldProgram) { 88 return origCreateProgram(rootNames, options, host, oldProgram);
|
| D | APISample_Watch.js | 54 host.createProgram = (rootNames: ReadonlyArray<string>, options, host, oldProgram) => { argument 56 return origCreateProgram(rootNames, options, host, oldProgram); 119 host.createProgram = function (rootNames, options, host, oldProgram) { 121 return origCreateProgram(rootNames, options, host, oldProgram);
|
| D | APISample_WatchWithOwnWatchHost.js | 48 host.createProgram = (rootNames, options, host, oldProgram) => { argument 50 return origCreateProgram(rootNames, options, host, oldProgram); 98 host.createProgram = function (rootNames, options, host, oldProgram) { 100 return origCreateProgram(rootNames, options, host, oldProgram);
|
| /third_party/typescript/tests/cases/compiler/ |
| D | APISample_WatchWithDefaults.ts | 44 host.createProgram = (rootNames, options, host, oldProgram) => { 46 return origCreateProgram(rootNames, options, host, oldProgram);
|
| D | APISample_Watch.ts | 57 host.createProgram = (rootNames: ReadonlyArray<string>, options, host, oldProgram) => { 59 return origCreateProgram(rootNames, options, host, oldProgram);
|
| D | APISample_WatchWithOwnWatchHost.ts | 51 host.createProgram = (rootNames, options, host, oldProgram) => { 53 return origCreateProgram(rootNames, options, host, oldProgram);
|
| /third_party/typescript/src/server/ |
| D | project.ts | 1243 const oldProgram = this.languageService.getCurrentProgram(); constant 1252 this.resolutionCache.finishCachingPerDirectoryResolution(this.program, oldProgram); 1255 Debug.assert(oldProgram === undefined || this.program !== undefined); 1261 …if (this.program && (!oldProgram || (this.program !== oldProgram && this.program.structureIsReused… 1263 if (oldProgram) { 1264 for (const f of oldProgram.getSourceFiles()) { 1273 oldProgram.forEachResolvedProjectReference(resolvedProjectReference => { 1329 if (this.hasAddedorRemovedFiles || oldProgram && !this.program!.structureIsReused) { 1332 else if (this.changedFilesForExportMapCache && oldProgram && this.program) { 1334 const oldSourceFile = oldProgram.getSourceFileByPath(fileName); [all …]
|
| /third_party/typescript/src/testRunner/unittests/ |
| D | reuseProgramStructure.ts | 107 …tCompilerHost(texts: readonly NamedSourceText[], target: ScriptTarget, oldProgram?: ProgramWithSou… 109 if (oldProgram) { 110 let oldFile = oldProgram.getSourceFile(t.name) as SourceFileWithText; 155 …export function updateProgram(oldProgram: ProgramWithSourceTexts, rootNames: readonly string[], op… 157 newTexts = oldProgram.sourceTexts!.slice(0); 160 …const host = createTestCompilerHost(newTexts, options.target!, oldProgram, useGetSourceFileByPath); 161 … const program = createProgram(rootNames, options, host, oldProgram) as ProgramWithSourceTexts;
|
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| D | helpers.ts | 317 …ram(baseline: string[], [program, builderProgram]: CommandLineProgram, oldProgram: CommandLineProg… 318 if (program !== oldProgram?.[0]) { 334 if (builderProgram !== oldProgram?.[1]) {
|
| D | resolutionCache.ts | 437 timeouts: (sys, [[oldProgram, oldBuilderProgram]], watchorSolution) => { 441 … assert.strictEqual(newProgram.getProgram(), oldProgram, "No change so program should be same");
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| D | ProgramPipeline.cpp | 62 Program *oldProgram = mPrograms[shaderType]; in useProgramStage() local 63 if (oldProgram) in useProgramStage() 65 oldProgram->release(context); in useProgramStage()
|
| /third_party/typescript/src/executeCommandLine/ |
| D | executeCommandLine.ts | 863 …host.createProgram = (rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectR… 864 Debug.assert(rootNames !== undefined || (options === undefined && !!oldProgram)); 868 …return compileUsingBuilder(rootNames, options, host, oldProgram, configFileParsingDiagnostics, pro…
|
| /third_party/typescript/lib/ |
| D | typescript.d.ts | 3309 oldProgram?: Program; property 5588 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 5726 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 5727 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 5732 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 5733 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 5737 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder… 5738 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram… 5760 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP…
|
| D | typescriptServices.d.ts | 3309 oldProgram?: Program; property 5588 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 5726 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 5727 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 5732 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 5733 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 5737 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder… 5738 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram… 5760 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP…
|
| D | tsserverlibrary.d.ts | 3309 oldProgram?: Program; property 5588 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 5726 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 5727 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 5732 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 5733 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 5737 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder… 5738 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram… 5760 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP…
|
| D | tsc.js | 100788 …function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnos… argument 100793 oldProgram: oldProgram, 100801 var oldProgram = createProgramOptions.oldProgram; 100885 …: ts.tracing.push("program", "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram }); 100886 var shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options); 100969 if (oldProgram && host.onReleaseOldSourceFile) { 100970 var oldSourceFiles = oldProgram.getSourceFiles(); 100976 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 100980 oldProgram.forEachResolvedProjectReference(function (resolvedProjectReference) { 100982 …host.onReleaseOldSourceFile(resolvedProjectReference.sourceFile, oldProgram.getCompilerOptions(), … [all …]
|
| D | typingsInstaller.js | 121495 …function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnos… argument 121500 oldProgram: oldProgram, 121508 var oldProgram = createProgramOptions.oldProgram; 121618 …/* tracing.Phase.Program */, "shouldProgramCreateNewSourceFiles", { hasOldProgram: !!oldProgram }); 121619 var shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options); 121715 if (oldProgram && host.onReleaseOldSourceFile) { 121716 var oldSourceFiles = oldProgram.getSourceFiles(); 121723 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 121727 oldProgram.forEachResolvedProjectReference(function (resolvedProjectReference) { 121729 …host.onReleaseOldSourceFile(resolvedProjectReference.sourceFile, oldProgram.getCompilerOptions(), … [all …]
|
| /third_party/typescript/tests/baselines/reference/api/ |
| D | typescript.d.ts | 3309 oldProgram?: Program; property 5588 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 5726 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 5727 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 5732 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 5733 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 5737 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder… 5738 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram… 5760 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP…
|
| D | tsserverlibrary.d.ts | 3309 oldProgram?: Program; property 5588 …mes: readonly string[], options: CompilerOptions, host?: CompilerHost, oldProgram?: Program, confi… 5726 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: SemanticDiagno… 5727 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: SemanticDiagno… 5732 …agnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, oldProgram?: EmitAndSemanti… 5733 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: EmitAndSemanti… 5737 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder… 5738 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram… 5760 … undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: T, configFileP…
|
| /third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
| D | Context.cpp | 1313 Program *oldProgram = mResourceManager->getProgram(priorProgram); in useProgram() local 1320 if(oldProgram) in useProgram() 1322 oldProgram->release(); in useProgram()
|