Home
last modified time | relevance | path

Searched refs:newProgram (Results 1 – 23 of 23) sorted by relevance

/third_party/typescript/src/compiler/
DbuilderPublic.ts159 …export function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
169 …export function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderP…
185 let newProgram = builderCreatetionParameters.newProgram;
192 builderCreatetionParameters.newProgram = newProgram;
203 …export function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: …
206 …const { newProgram, configFileParsingDiagnostics: newConfigFileParsingDiagnostics } = getBuilderCr… constant
207 …return createRedirectedBuilderProgram(() => ({ program: newProgram, compilerOptions: newProgram.ge…
Dbuilder.ts190 …function createBuilderProgramState(newProgram: Program, getCanonicalFileName: GetCanonicalFileName…
191 …const state = BuilderState.create(newProgram, getCanonicalFileName, oldState, disableUseFileVersio…
192 state.program = newProgram;
193 const compilerOptions = newProgram.getCompilerOptions();
261 const sourceFile = newProgram.getSourceFileByPath(sourceFilePath)!;
269 …c ? convertToDiagnostics(diagnostics as readonly ReusableDiagnostic[], newProgram, getCanonicalFil…
280 …convertToDiagnostics(diagnostics as readonly ReusableDiagnostic[], newProgram, getCanonicalFileNam…
301 …BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, /*firstSourceFile*/ undefin…
306newProgram.getSourceFiles().forEach(f => addToAffectedFilesPendingEmit(state, f.resolvedPath, Buil…
316 …function convertToDiagnostics(diagnostics: readonly ReusableDiagnostic[], newProgram: Program, get…
[all …]
DbuilderState.ts265 …export function create(newProgram: Program, getCanonicalFileName: GetCanonicalFileName, oldState?:…
267 …const referencedMap = newProgram.getCompilerOptions().module !== ModuleKind.None ? createManyToMan…
272 newProgram.getTypeChecker();
275 for (const sourceFile of newProgram.getSourceFiles()) {
282 … const newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName);
DresolutionCache.ts23 …finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program | undefin…
324 …function finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program …
329 if (newProgram !== oldProgram) {
330 newProgram?.getSourceFiles().forEach(newFile => {
345 if (!newProgram?.getSourceFileByPath(path)) {
/third_party/typescript/src/testRunner/unittests/
DreuseProgramStructure.ts58 public updateProgram(newProgram: string): SourceText {
59 Debug.assert(newProgram !== undefined);
60 …return new SourceText(this.references, this.importsAndExports, newProgram, this.changedPart | Chan…
147 …export function newProgram(texts: NamedSourceText[], rootNames: string[], options: CompilerOptions… function
231 const program1 = newProgram(files, ["a.ts"], { target });
242 const program1 = newProgram(files, ["a.ts"], { target });
261 const program1 = newProgram(files, ["/a.ts"], options);
272 const program1 = newProgram(files, ["a.ts"], { target });
283 const program1 = newProgram(files, ["a.ts"], { types: ["a"] });
289 const program1 = newProgram(files, ["a.ts"], { types: ["a"] });
[all …]
Dbuilder.ts10 let program = newProgram(files, ["/a.ts"], {});
31 let program = newProgram(files, ["/a.ts", "/b.ts"], {});
52 let program = newProgram(files, ["/d.ts", "/e.ts", "/a.ts"], {});
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_get_program_binary.txt294 GLuint newProgram;
307 newProgram = glCreateProgram();
308 glAttachShader(newProgram, newVS);
309 glAttachShader(newProgram, newFS);
322 glProgramParameteri(newProgram, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
323 glLinkProgram(newProgram);
324 glGetProgramiv(newProgram, GL_LINK_STATUS, &success);
333 glUseProgram(newProgram);
338 DoRendering(newProgram);
343 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH, &binaryLength);
[all …]
/third_party/openGLES/extensions/ARB/
DARB_get_program_binary.txt305 GLuint newProgram;
318 newProgram = glCreateProgram();
319 glAttachShader(newProgram, newVS);
320 glAttachShader(newProgram, newFS);
333 glProgramParameteri(newProgram, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
334 glLinkProgram(newProgram);
335 glGetProgramiv(newProgram, GL_LINK_STATUS, &success);
344 glUseProgram(newProgram);
349 DoRendering(newProgram);
354 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH, &binaryLength);
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_get_program_binary.txt306 GLuint newProgram;
315 newProgram = glCreateProgram();
316 glAttachShader(newProgram, newVS);
317 glAttachShader(newProgram, newFS);
330 glLinkProgram(newProgram);
331 glGetProgramiv(newProgram, GL_LINK_STATUS, &success);
342 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
344 glGetProgramBinaryOES(newProgram, &binaryLength, NULL, binaryFormat, binary);
366 glDeleteProgram(newProgram);
/third_party/openGLES/extensions/OES/
DOES_get_program_binary.txt317 GLuint newProgram;
326 newProgram = glCreateProgram();
327 glAttachShader(newProgram, newVS);
328 glAttachShader(newProgram, newFS);
341 glLinkProgram(newProgram);
342 glGetProgramiv(newProgram, GL_LINK_STATUS, &success);
353 glGetProgramiv(newProgram, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
355 glGetProgramBinaryOES(newProgram, binaryLength, NULL, binaryFormat, binary);
377 glDeleteProgram(newProgram);
/third_party/typescript/src/testRunner/unittests/tsserver/
DdynamicFiles.ts141 const newProgram = service.inferredProjects[0].getCurrentProgram()!; constant
142 const newSourceFile = newProgram.getSourceFile(untitledFile)!;
143 assert.notStrictEqual(newProgram, program);
/third_party/typescript/src/testRunner/unittests/tscWatch/
DresolutionCache.ts439 …const newProgram = (watchorSolution as WatchOfConfigFile<EmitAndSemanticDiagnosticsBuilderProgram>… constant
440 … assert.strictEqual(newProgram, oldBuilderProgram, "No change so builder program should be same");
441 … assert.strictEqual(newProgram.getProgram(), oldProgram, "No change so program should be same");
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp1943 angle::Result State::setProgram(const Context *context, Program *newProgram) in setProgram() argument
1945 if (newProgram && !newProgram->isLinked()) in setProgram()
1953 if (mProgram != newProgram) in setProgram()
1961 mProgram = newProgram; in setProgram()
1967 newProgram->addRef(); in setProgram()
1968 ANGLE_TRY(onProgramExecutableChange(context, newProgram)); in setProgram()
DState.h368 angle::Result setProgram(const Context *context, Program *newProgram);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp1312 Program *newProgram = mResourceManager->getProgram(program); in useProgram() local
1315 if(newProgram) in useProgram()
1317 newProgram->addRef(); in useProgram()
/third_party/typescript/lib/
Dtsc.js103795 … function create(newProgram, getCanonicalFileName, oldState, disableUseFileVersionAsSignature) { argument
103798 …var referencedMap = newProgram.getCompilerOptions().module !== ts.ModuleKind.None ? createManyToMa…
103801 newProgram.getTypeChecker();
103802 for (var _i = 0, _d = newProgram.getSourceFiles(); _i < _d.length; _i++) {
103810 … var newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName);
104043 …function createBuilderProgramState(newProgram, getCanonicalFileName, oldState, disableUseFileVersi… argument
104045 …var state = ts.BuilderState.create(newProgram, getCanonicalFileName, oldState, disableUseFileVersi…
104046 state.program = newProgram;
104047 var compilerOptions = newProgram.getCompilerOptions();
104096 var sourceFile = newProgram.getSourceFileByPath(sourceFilePath);
[all …]
DtypingsInstaller.js124908 … function create(newProgram, getCanonicalFileName, oldState, disableUseFileVersionAsSignature) { argument
124911 …var referencedMap = newProgram.getCompilerOptions().module !== ts.ModuleKind.None ? createManyToMa…
124915 newProgram.getTypeChecker();
124917 for (var _i = 0, _d = newProgram.getSourceFiles(); _i < _d.length; _i++) {
124925 … var newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName);
125229 …function createBuilderProgramState(newProgram, getCanonicalFileName, oldState, disableUseFileVersi… argument
125231 …var state = ts.BuilderState.create(newProgram, getCanonicalFileName, oldState, disableUseFileVersi…
125232 state.program = newProgram;
125233 var compilerOptions = newProgram.getCompilerOptions();
125298 var sourceFile = newProgram.getSourceFileByPath(sourceFilePath);
[all …]
Dtypescript.d.ts5744 …function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, ol…
5750 …function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
5756 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder…
DtypescriptServices.d.ts5744 …function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, ol…
5750 …function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
5756 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder…
Dtsserverlibrary.d.ts5744 …function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, ol…
5750 …function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
5756 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder…
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp1007 for (const auto &newProgram : newPrograms) in MaybeResetResources() local
1009 out << " glDeleteProgram(gShaderProgramMap2[" << newProgram << "]);\n"; in MaybeResetResources()
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts5744 …function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, ol…
5750 …function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
5756 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder…
Dtsserverlibrary.d.ts5744 …function createSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramHost, ol…
5750 …function createEmitAndSemanticDiagnosticsBuilderProgram(newProgram: Program, host: BuilderProgramH…
5756 …function createAbstractBuilder(newProgram: Program, host: BuilderProgramHost, oldProgram?: Builder…