Lines Matching refs:ttContext
36535 function sanitizeTTProgram(table, ttContext) { argument
36548 var tooComplexToFollowFunctions = ttContext.tooComplexToFollowFunctions;
36605 ttContext.functionsUsed[funcId] = true;
36607 if (funcId in ttContext.functionsStackDeltas) {
36608 var newStackLength = stack.length + ttContext.functionsStackDeltas[funcId];
36612 ttContext.hintsValid = false;
36617 … } else if (funcId in ttContext.functionsDefined && !functionsCalled.includes(funcId)) {
36624 pc = ttContext.functionsDefined[funcId];
36628 ttContext.hintsValid = false;
36646 ttContext.functionsDefined[funcId] = {
36659 ttContext.hintsValid = false;
36666 ttContext.functionsStackDeltas[funcId] = stack.length - pc.stackTop;
36719 ttContext.tooComplexToFollowFunctions = tooComplexToFollowFunctions;
36734 function checkInvalidFunctions(ttContext, maxFunctionDefs) { argument
36735 if (ttContext.tooComplexToFollowFunctions) {
36739 if (ttContext.functionsDefined.length > maxFunctionDefs) {
36741 ttContext.hintsValid = false;
36745 for (var j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) {
36748 ttContext.hintsValid = false;
36752 if (ttContext.functionsUsed[j] && !ttContext.functionsDefined[j]) {
36754 ttContext.hintsValid = false;
36784 var ttContext = { variable
36793 sanitizeTTProgram(fpgm, ttContext);
36797 sanitizeTTProgram(prep, ttContext);
36801 checkInvalidFunctions(ttContext, maxFunctionDefs);
36810 return ttContext.hintsValid;