Lines Matching defs:pFunc

8475     FuncDef *pFunc;        /* Used when p4type is P4_FUNCDEF */
10460 FuncDef *pFunc; /* The aggregate function implementation */
13060 FuncDef *pFunc; /* The definition of the function */
13082 FuncDef *pFunc; /* Pointer to function information. MUST BE FIRST */
58596 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){
58598 if( ALWAYS(pFunc && pFunc->xFinalize) ){
58600 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef );
58606 ctx.pFunc = pFunc;
58607 pFunc->xFinalize(&ctx); /* IMP: R-24505-23230 */
60125 freeEphemeralFunction(db, pVdbeFunc->pFunc);
60406 FuncDef *pDef = pOp->p4.pFunc;
63269 assert( p && p->pFunc );
63270 return p->pFunc->pUserData;
63284 assert( p && p->pFunc );
63301 const char *zName = context->pFunc->zName;
63317 assert( p && p->pFunc && p->pFunc->xStep );
63329 pMem->u.pDef = p->pFunc;
63380 pVdbeFunc->pFunc = pCtx->pFunc;
63408 assert( p && p->pMem && p->pFunc && p->pFunc->xStep );
66261 u.ah.ctx.pFunc = pOp->p4.pFunc;
66265 u.ah.ctx.pFunc = u.ah.ctx.pVdbeFunc->pFunc;
66281 if( u.ah.ctx.pFunc->flags & SQLITE_FUNC_NEEDCOLL ){
66288 (*u.ah.ctx.pFunc->xFunc)(&u.ah.ctx, u.ah.n, u.ah.apVal); /* IMP: R-24505-23230 */
70318 u.cf.ctx.pFunc = pOp->p4.pFunc;
70330 if( u.cf.ctx.pFunc->flags & SQLITE_FUNC_NEEDCOLL ){
70336 (u.cf.ctx.pFunc->xStep)(&u.cf.ctx, u.cf.n, u.cf.apVal); /* IMP: R-24505-23230 */
70371 rc = sqlite3VdbeMemFinalize(u.cg.pMem, pOp->p4.pFunc);
78299 pItem->pFunc = sqlite3FindFunction(pParse->db,
80691 FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */
80739 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
80740 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
80741 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
80742 sqlite3VdbeChangeP4(v, -1, (char *)pFunc, P4_FUNCDEF);
97644 if( (pAggInfo->aFunc[0].pFunc->flags&SQLITE_FUNC_COUNT)==0 ) return 0;
98052 struct AggInfo_func *pFunc;
98059 for(pFunc=pAggInfo->aFunc, i=0; i<pAggInfo->nFunc; i++, pFunc++){
98060 sqlite3VdbeAddOp2(v, OP_Null, 0, pFunc->iMem);
98061 if( pFunc->iDistinct>=0 ){
98062 Expr *pE = pFunc->pExpr;
98067 pFunc->iDistinct = -1;
98070 sqlite3VdbeAddOp4(v, OP_OpenEphemeral, pFunc->iDistinct, 0, 0,
98089 (void*)pF->pFunc, P4_FUNCDEF);
98126 if( pF->pFunc->flags & SQLITE_FUNC_NEEDCOLL ){
98130 assert( pList!=0 ); /* pList!=0 if pF->pFunc has NEEDCOLL */
98141 (void*)pF->pFunc, P4_FUNCDEF);