Lines Matching defs:aFunc
17118 Hash aFunc; /* Hash table of connection functions */
18185 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate
18188 ** AggInfo.pGroupBy and AggInfo.aFunc.pExpr point to fields within the
18200 int mnReg, mxReg; /* Range of registers allocated for aCol and aFunc */
18220 } *aFunc;
18221 int nFunc; /* Number of entries in aFunc[] */
18350 i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */
110257 return pInfo->aFunc[pExpr->iAgg].iMem;
112003 if( pAggInfo->aFunc[iAgg].pFExpr==pExpr ){
112006 pAggInfo->aFunc[iAgg].pFExpr = pExpr;
112043 ** Add a new element to the pAggInfo->aFunc[] array. Return the index of
112048 pInfo->aFunc = sqlite3ArrayAllocate(
112050 pInfo->aFunc,
112051 sizeof(pInfo->aFunc[0]),
112157 struct AggInfo_func *pItem = pAggInfo->aFunc;
112165 /* pExpr is original. Make a new entry in pAggInfo->aFunc[]
112171 pItem = &pAggInfo->aFunc[i];
112185 /* Make pExpr point to the appropriate pAggInfo->aFunc[] entry
123570 p = (FuncDef*)sqlite3HashFind(&db->aFunc, zName);
123619 pOther = (FuncDef*)sqlite3HashInsert(&db->aFunc, pBest->zName, pBest);
135681 for(j=sqliteHashFirst(&db->aFunc); j; j=sqliteHashNext(j)){
143482 if( (pAggInfo->aFunc[0].pFunc->funcFlags&SQLITE_FUNC_COUNT)==0 ) return 0;
143483 assert( pAggInfo->aFunc[0].pFExpr==pExpr );
144483 assert( pAggInfo->aFunc[i].iMem>=pAggInfo->mnReg
144484 && pAggInfo->aFunc[i].iMem<=pAggInfo->mxReg );
144488 for(pFunc=pAggInfo->aFunc, i=0; i<pAggInfo->nFunc; i++, pFunc++){
144515 for(i=0, pF=pAggInfo->aFunc; i<pAggInfo->nFunc; i++, pF++){
144548 for(i=0, pF=pAggInfo->aFunc; i<pAggInfo->nFunc; i++, pF++){
144766 sqlite3DbFree(db, p->aFunc);
145660 minMaxFlag = minMaxQuery(db, pAggInfo->aFunc[0].pFExpr, &pMinMaxOrderBy);
145665 Expr *pExpr = pAggInfo->aFunc[i].pFExpr;
145700 ii, pAggInfo->aFunc[ii].iMem);
145701 sqlite3TreeViewExpr(0, pAggInfo->aFunc[ii].pFExpr, 0);
145725 && pAggInfo->aFunc[0].iDistinct>=0
145726 && ALWAYS(pAggInfo->aFunc[0].pFExpr!=0)
145727 && ALWAYS(ExprUseXList(pAggInfo->aFunc[0].pFExpr))
145728 && pAggInfo->aFunc[0].pFExpr->x.pList!=0
145730 Expr *pExpr = pAggInfo->aFunc[0].pFExpr->x.pList->a[0].pExpr;
145957 struct AggInfo_func *pF = &pAggInfo->aFunc[0];
146018 sqlite3VdbeAddOp2(v, OP_Count, iCsr, pAggInfo->aFunc[0].iMem);
146038 if( ExprHasProperty(pAggInfo->aFunc[i].pFExpr, EP_WinFunc) ){
146041 if( pAggInfo->aFunc[i].pFunc->funcFlags&SQLITE_FUNC_NEEDCOLL ){
146049 }else if( pAggInfo->nFunc==1 && pAggInfo->aFunc[0].iDistinct>=0 ){
146050 assert( ExprUseXList(pAggInfo->aFunc[0].pFExpr) );
146051 pDistinct = pAggInfo->aFunc[0].pFExpr->x.pList;
146080 struct AggInfo_func *pF = pAggInfo->aFunc;
146142 Expr *pExpr = pAggInfo->aFunc[i].pFExpr;
174788 for(i=sqliteHashFirst(&db->aFunc); i; i=sqliteHashNext(i)){
174798 sqlite3HashClear(&db->aFunc);
207122 } aFunc[] = {
207144 for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
207146 if( aFunc[i].bPure ){
207151 rc = sqlite3_create_function(db, aFunc[i].zName, aFunc[i].nArg,
207153 aFunc[i].xFunc, 0, 0);
229166 } aFunc[] = {
229176 for(i=0; rc==SQLITE_OK && i<ArraySize(aFunc); i++){
229177 struct Fts5ExprFunc *p = &aFunc[i];