Lines Matching refs:tRowcnt

14901 typedef u64 tRowcnt;  typedef
18767 tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */
18769 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */
18770 tRowcnt nRowEst0; /* Non-logarithmic number of rows in the index */
18803 tRowcnt *anEq; /* Est. number of rows where the key equals this sample */
18804 tRowcnt *anLt; /* Est. number of rows where key is less than this sample */
18805 tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */
118723 tRowcnt *anDLt; /* sqlite_stat4.nDLt */
118725 tRowcnt *anEq; /* sqlite_stat4.nEq */
118726 tRowcnt *anLt; /* sqlite_stat4.nLt */
118739 tRowcnt nEst; /* Estimated number of rows */
118740 tRowcnt nRow; /* Number of rows visited so far */
118747 tRowcnt nPSample; /* How often to do a periodic sample */
118807 memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
118808 memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
118809 memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
118876 nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol;
118883 + sizeof(tRowcnt)*nColUp; /* StatAccum.anDLt */
118885 n += sizeof(tRowcnt)*nColUp; /* StatAccum.anEq */
118887 n += sizeof(tRowcnt)*nColUp /* StatAccum.anLt */
118889 + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample);
118905 p->current.anDLt = (tRowcnt*)&p[1];
118915 p->nPSample = (tRowcnt)(p->nEst/(mxSample/3+1) + 1);
118924 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
118925 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
118926 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
118995 tRowcnt nEqNew = pNew->anEq[pNew->iCol];
118996 tRowcnt nEqOld = pOld->anEq[pOld->iCol];
119056 tRowcnt *anEq = pMin->anEq;
119057 tRowcnt *anLt = pMin->anLt;
119058 tRowcnt *anDLt = pMin->anDLt;
119081 memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero);
119203 tRowcnt nLt;
119230 if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){
119352 tRowcnt *aCnt = 0;
119978 tRowcnt *aOut, /* Store integers here */
119985 tRowcnt v;
120084 tRowcnt *aiRowEst = 0;
120091 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
120165 tRowcnt sumEq = 0; /* Sum of the nEq values */
120166 tRowcnt avgEq = 0;
120167 tRowcnt nRow; /* Number of rows in index */
120261 tRowcnt *pSpace;
120282 nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample;
120283 nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */
120290 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
163708 tRowcnt *aStat /* OUT: stats written here */
163718 tRowcnt iLower = 0; /* anLt[] + anEq[] of largest sample pRec is > */
163863 tRowcnt iUpper, iGap;
164097 tRowcnt a[2];
164120 tRowcnt iLower; /* Rows less than the lower bound */
164121 tRowcnt iUpper; /* Rows less than the upper bound */
164156 tRowcnt iNew;
164173 tRowcnt iNew;
164263 tRowcnt *pnRow /* Write the revised row estimate here */
164269 tRowcnt a[2]; /* Statistics */
164327 tRowcnt *pnRow /* Write the revised row estimate here */
164333 tRowcnt nEst; /* Number of rows for a single term */
164334 tRowcnt nRowEst = 0; /* New estimate of the number of rows */
164346 if( nRowEst > (tRowcnt)nRow0 ) nRowEst = nRow0;
165357 tRowcnt nOut = 0;