Lines Matching refs:tRowcnt
14337 typedef u64 tRowcnt; /* 64-bit only if requested at compile-time */ typedef
14339 typedef u32 tRowcnt; /* 32-bit is the default */ typedef
17779 tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */
17781 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */
17782 tRowcnt nRowEst0; /* Non-logarithmic number of rows in the index */
17815 tRowcnt *anEq; /* Est. number of rows where the key equals this sample */
17816 tRowcnt *anLt; /* Est. number of rows where key is less than this sample */
17817 tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */
107497 tRowcnt *anEq; /* sqlite_stat4.nEq */
107498 tRowcnt *anDLt; /* sqlite_stat4.nDLt */
107500 tRowcnt *anLt; /* sqlite_stat4.nLt */
107513 tRowcnt nEst; /* Estimated number of rows */
107514 tRowcnt nRow; /* Number of rows visited so far */
107521 tRowcnt nPSample; /* How often to do a periodic sample */
107581 memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
107582 memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
107583 memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
107650 nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol;
107657 + sizeof(tRowcnt)*nColUp /* StatAccum.anEq */
107658 + sizeof(tRowcnt)*nColUp; /* StatAccum.anDLt */
107661 n += sizeof(tRowcnt)*nColUp /* StatAccum.anLt */
107663 + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample);
107680 p->current.anDLt = (tRowcnt*)&p[1];
107690 p->nPSample = (tRowcnt)(p->nEst/(mxSample/3+1) + 1);
107699 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
107700 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
107701 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
107770 tRowcnt nEqNew = pNew->anEq[pNew->iCol];
107771 tRowcnt nEqOld = pOld->anEq[pOld->iCol];
107831 tRowcnt *anEq = pMin->anEq;
107832 tRowcnt *anLt = pMin->anLt;
107833 tRowcnt *anDLt = pMin->anDLt;
107856 memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero);
107974 tRowcnt nLt;
108001 if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){
108124 tRowcnt *aCnt = 0;
108684 tRowcnt *aOut, /* Store integers here */
108691 tRowcnt v;
108780 tRowcnt *aiRowEst = 0;
108787 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
108859 tRowcnt sumEq = 0; /* Sum of the nEq values */
108860 tRowcnt avgEq = 0;
108861 tRowcnt nRow; /* Number of rows in index */
108955 tRowcnt *pSpace;
108971 nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample;
108972 nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */
108979 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
145920 tRowcnt *aStat /* OUT: stats written here */
145930 tRowcnt iLower = 0; /* anLt[] + anEq[] of largest sample pRec is > */
146069 tRowcnt iUpper, iGap;
146303 tRowcnt a[2];
146326 tRowcnt iLower; /* Rows less than the lower bound */
146327 tRowcnt iUpper; /* Rows less than the upper bound */
146362 tRowcnt iNew;
146379 tRowcnt iNew;
146468 tRowcnt *pnRow /* Write the revised row estimate here */
146474 tRowcnt a[2]; /* Statistics */
146532 tRowcnt *pnRow /* Write the revised row estimate here */
146538 tRowcnt nEst; /* Number of rows for a single term */
146539 tRowcnt nRowEst = 0; /* New estimate of the number of rows */
147467 tRowcnt nOut = 0;