Lines Matching refs:pProgram
10332 SubProgram *pProgram; /* Used when p4type is P4_SUBPROGRAM */ member
13165 SubProgram *pProgram; /* Program implementing pTrigger/orconf */ member
15630 SubProgram *pProgram; /* Linked list of all sub-programs used by VM */ member
67129 if( p->apSub[j]==pRet->p4.pProgram ) break;
67136 p->apSub[p->nSub++] = pRet->p4.pProgram;
67516 p->pNext = pVdbe->pProgram;
67517 pVdbe->pProgram = p;
68196 if( apSub[j]==pOp->p4.pProgram ) break;
68200 apSub[nSub++] = pOp->p4.pProgram;
69482 for(pSub=p->pProgram; pSub; pSub=pNext){
78386 SubProgram *pProgram; /* Sub-program to execute */
78389 pProgram = pOp->p4.pProgram;
78391 assert( pProgram->nOp>0 );
78405 t = pProgram->token;
78426 nMem = pProgram->nMem + pProgram->nCsr;
78429 + pProgram->nCsr * sizeof(VdbeCursor *)
78430 + pProgram->nOnce * sizeof(u8);
78441 pFrame->nChildCsr = pProgram->nCsr;
78449 pFrame->token = pProgram->token;
78463 assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem );
78464 assert( pProgram->nCsr==pFrame->nChildCsr );
78479 p->aOp = aOp = pProgram->aOp;
78480 p->nOp = pProgram->nOp;
78482 p->nOnceFlag = pProgram->nOnce;
115297 SubProgram *pProgram = 0; /* Sub-vdbe for trigger program */
115311 pPrg->pProgram = pProgram = sqlite3DbMallocZero(db, sizeof(SubProgram));
115312 if( !pProgram ) return 0;
115313 sqlite3VdbeLinkSubProgram(pTop->pVdbe, pProgram);
115374 pProgram->aOp = sqlite3VdbeTakeOpArray(v, &pProgram->nOp, &pTop->nMaxArg);
115376 pProgram->nMem = pSubParse->nMem;
115377 pProgram->nCsr = pSubParse->nTab;
115378 pProgram->nOnce = pSubParse->nOnce;
115379 pProgram->token = (void *)pTrigger;
115452 sqlite3VdbeChangeP4(v, -1, (const char *)pPrg->pProgram, P4_SUBPROGRAM);