Lines Matching refs:tRowcnt

13925  typedef u64 tRowcnt;    /* 64-bit only if requested at compile-time */  typedef
13927 typedef u32 tRowcnt; /* 32-bit is the default */ typedef
17532 tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */
17534 tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */
17535 tRowcnt nRowEst0; /* Non-logarithmic number of rows in the index */
17568 tRowcnt *anEq; /* Est. number of rows where the key equals this sample */
17569 tRowcnt *anLt; /* Est. number of rows where key is less than this sample */
17570 tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */
110494 tRowcnt *anEq; /* sqlite_stat4.nEq */
110495 tRowcnt *anDLt; /* sqlite_stat4.nDLt */
110497 tRowcnt *anLt; /* sqlite_stat4.nLt */
110510 tRowcnt nEst; /* Estimated number of rows */
110511 tRowcnt nRow; /* Number of rows visited so far */
110518 tRowcnt nPSample; /* How often to do a periodic sample */
110578 memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
110579 memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
110580 memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
110647 nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol;
110654 + sizeof(tRowcnt)*nColUp /* StatAccum.anEq */
110655 + sizeof(tRowcnt)*nColUp; /* StatAccum.anDLt */
110658 n += sizeof(tRowcnt)*nColUp /* StatAccum.anLt */
110660 + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample);
110676 p->current.anDLt = (tRowcnt*)&p[1];
110686 p->nPSample = (tRowcnt)(p->nEst/(mxSample/3+1) + 1);
110695 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
110696 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
110697 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
110766 tRowcnt nEqNew = pNew->anEq[pNew->iCol];
110767 tRowcnt nEqOld = pOld->anEq[pOld->iCol];
110827 tRowcnt *anEq = pMin->anEq;
110828 tRowcnt *anLt = pMin->anLt;
110829 tRowcnt *anDLt = pMin->anDLt;
110852 memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero);
110970 tRowcnt nLt;
110997 if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){
111111 tRowcnt *aCnt = 0;
111686 tRowcnt *aOut, /* Store integers here */
111693 tRowcnt v;
111782 tRowcnt *aiRowEst = 0;
111789 pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol);
111861 tRowcnt sumEq = 0; /* Sum of the nEq values */
111862 tRowcnt avgEq = 0;
111863 tRowcnt nRow; /* Number of rows in index */
111957 tRowcnt *pSpace;
111973 nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample;
111974 nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */
111981 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
151797 tRowcnt *aStat /* OUT: stats written here */
151807 tRowcnt iLower = 0; /* anLt[] + anEq[] of largest sample pRec is > */
151946 tRowcnt iUpper, iGap;
152180 tRowcnt a[2];
152203 tRowcnt iLower; /* Rows less than the lower bound */
152204 tRowcnt iUpper; /* Rows less than the upper bound */
152239 tRowcnt iNew;
152256 tRowcnt iNew;
152345 tRowcnt *pnRow /* Write the revised row estimate here */
152351 tRowcnt a[2]; /* Statistics */
152409 tRowcnt *pnRow /* Write the revised row estimate here */
152415 tRowcnt nEst; /* Number of rows for a single term */
152416 tRowcnt nRowEst = 0; /* New estimate of the number of rows */
153375 tRowcnt nOut = 0;