Lines Matching defs:aFunc

17746   Hash aFunc;                   /* Hash table of connection functions */
18835 ** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate
18838 ** AggInfo.pGroupBy and AggInfo.aFunc.pExpr point to fields within the
18850 int iFirstReg; /* First register in range for aCol[] and aFunc[] */
18872 } *aFunc;
18873 int nFunc; /* Number of entries in aFunc[] */
18881 ** Macros to compute aCol[] and aFunc[] register numbers.
19016 i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */
115702 && pAggInfo->aFunc[iAgg].pFExpr==pExpr
115706 pAggInfo->aFunc[iAgg].pFExpr = pExpr;
115742 ** Add a new element to the pAggInfo->aFunc[] array. Return the index of
115747 pInfo->aFunc = sqlite3ArrayAllocate(
115749 pInfo->aFunc,
115750 sizeof(pInfo->aFunc[0]),
115905 struct AggInfo_func *pItem = pAggInfo->aFunc;
115913 /* pExpr is original. Make a new entry in pAggInfo->aFunc[]
115920 pItem = &pAggInfo->aFunc[i];
115962 /* Make pExpr point to the appropriate pAggInfo->aFunc[] entry
127490 p = (FuncDef*)sqlite3HashFind(&db->aFunc, zName);
127539 pOther = (FuncDef*)sqlite3HashInsert(&db->aFunc, pBest->zName, pBest);
140184 for(j=sqliteHashFirst(&db->aFunc); j; j=sqliteHashNext(j)){
148370 if( (pAggInfo->aFunc[0].pFunc->funcFlags&SQLITE_FUNC_COUNT)==0 ) return 0;
148371 assert( pAggInfo->aFunc[0].pFExpr==pExpr );
149391 sqlite3TreeViewExpr(0, pAggInfo->aFunc[ii].pFExpr, 0);
149422 Expr *pExpr = pAggInfo->aFunc[i].pFExpr;
149510 ** Convert every pAggInfo->aFunc[].pExpr such that any node within
149520 sqlite3WalkExpr(&w, pAggInfo->aFunc[i].pFExpr);
149527 ** pAggInfo->aCol[] and pAggInfo->aFunc[] entry in pAggInfo. The first
149533 ** * The aCol[] and aFunc[] arrays may be modified
149538 ** * The aCol[] and aFunc[] arrays are fixed
149569 for(pFunc=pAggInfo->aFunc, i=0; i<pAggInfo->nFunc; i++, pFunc++){
149626 for(i=0, pF=pAggInfo->aFunc; i<pAggInfo->nFunc; i++, pF++){
149712 for(i=0, pF=pAggInfo->aFunc; i<pAggInfo->nFunc; i++, pF++){
149996 sqlite3DbFree(db, p->aFunc);
151002 minMaxFlag = minMaxQuery(db, pAggInfo->aFunc[0].pFExpr, &pMinMaxOrderBy);
151039 && pAggInfo->aFunc[0].iDistinct>=0
151040 && ALWAYS(pAggInfo->aFunc[0].pFExpr!=0)
151041 && ALWAYS(ExprUseXList(pAggInfo->aFunc[0].pFExpr))
151042 && pAggInfo->aFunc[0].pFExpr->x.pList!=0
151044 Expr *pExpr = pAggInfo->aFunc[0].pFExpr->x.pList->a[0].pExpr;
151167 /* If there are entries in pAgggInfo->aFunc[] that contain subexpressions
151301 struct AggInfo_func *pF = &pAggInfo->aFunc[0];
151383 if( ExprHasProperty(pAggInfo->aFunc[i].pFExpr, EP_WinFunc) ){
151386 if( pAggInfo->aFunc[i].pFunc->funcFlags&SQLITE_FUNC_NEEDCOLL ){
151394 }else if( pAggInfo->nFunc==1 && pAggInfo->aFunc[0].iDistinct>=0 ){
151395 assert( ExprUseXList(pAggInfo->aFunc[0].pFExpr) );
151396 pDistinct = pAggInfo->aFunc[0].pFExpr->x.pList;
151426 struct AggInfo_func *pF = pAggInfo->aFunc;
151492 Expr *pExpr = pAggInfo->aFunc[i].pFExpr;
181180 for(i=sqliteHashFirst(&db->aFunc); i; i=sqliteHashNext(i)){
181190 sqlite3HashClear(&db->aFunc);
216398 } aFunc[] = {
216420 for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
216422 if( aFunc[i].bPure ){
216427 rc = sqlite3_create_function(db, aFunc[i].zName, aFunc[i].nArg,
216429 aFunc[i].xFunc, 0, 0);
239556 } aFunc[] = {
239566 for(i=0; rc==SQLITE_OK && i<ArraySize(aFunc); i++){
239567 struct Fts5ExprFunc *p = &aFunc[i];