Home | History | Annotate | Download | only in dist

Lines Matching full:trowcnt

8518  typedef u64 tRowcnt;    /* 64-bit only if requested at compile-time */
8520 typedef u32 tRowcnt; /* 32-bit is the default */
11182 tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */
11208 tRowcnt *anEq; /* Est. number of rows where the key equals this sample */
11209 tRowcnt *anLt; /* Est. number of rows where key is less than this sample */
11210 tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */
83698 tRowcnt *anEq; /* sqlite_stat4.nEq */
83699 tRowcnt *anDLt; /* sqlite_stat4.nDLt */
83701 tRowcnt *anLt; /* sqlite_stat4.nLt */
83713 tRowcnt nRow; /* Number of rows in the entire table */
83714 tRowcnt nPSample; /* How often to do a periodic sample */
83776 memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
83777 memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
83778 memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
83842 nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol;
83849 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anEq */
83850 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anDLt */
83852 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anLt */
83854 + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample)
83868 p->current.anDLt = (tRowcnt*)&p[1];
83878 p->nPSample = (tRowcnt)(sqlite3_value_int64(argv[2])/(mxSample/3+1) + 1);
83887 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83888 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83889 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83956 tRowcnt nEqNew = pNew->anEq[pNew->iCol];
83957 tRowcnt nEqOld = pOld->anEq[pOld->iCol];
84016 tRowcnt *anEq = pMin->anEq;
84017 tRowcnt *anLt = pMin->anLt;
84018 tRowcnt *anDLt = pMin->anDLt;
84043 memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero);
84093 tRowcnt nLt = p->current.anLt[0];
84094 tRowcnt nEq = p->current.anEq[0];
84183 tRowcnt nLt = p->current.anLt[p->nCol-1];
84313 tRowcnt *aCnt = 0;
84852 tRowcnt *aOut, /* Store integers here */
84859 tRowcnt v;
85004 tRowcnt sumEq = 0; /* Sum of the nEq values */
85005 tRowcnt nSum = 0; /* Number of terms contributing to sumEq */
85006 tRowcnt avgEq = 0;
85007 tRowcnt nDLt = pFinal->anDLt[iCol];
85089 tRowcnt *pSpace;
85109 nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample;
85110 nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */
85117 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
112812 tRowcnt *aStat /* OUT: stats written here */
112867 tRowcnt iLower, iUpper, iGap;
113085 tRowcnt a[2];
113105 tRowcnt iLower;
113106 tRowcnt iUpper;
113132 tRowcnt iNew;
113147 tRowcnt iNew;
113221 tRowcnt *pnRow /* Write the revised row estimate here */
113228 tRowcnt a[2]; /* Statistics */
113286 tRowcnt *pnRow /* Write the revised row estimate here */
113292 tRowcnt nEst; /* Number of rows for a single term */
113293 tRowcnt nRowEst = 0; /* New estimate of the number of rows */
115339 tRowcnt nOut = 0;