Home | History | Annotate | Download | only in orig

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 */
83678 tRowcnt *anEq; /* sqlite_stat4.nEq */
83679 tRowcnt *anDLt; /* sqlite_stat4.nDLt */
83681 tRowcnt *anLt; /* sqlite_stat4.nLt */
83693 tRowcnt nRow; /* Number of rows in the entire table */
83694 tRowcnt nPSample; /* How often to do a periodic sample */
83756 memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
83757 memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
83758 memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
83822 nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol;
83829 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anEq */
83830 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anDLt */
83832 + sizeof(tRowcnt)*nColUp /* Stat4Accum.anLt */
83834 + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample)
83848 p->current.anDLt = (tRowcnt*)&p[1];
83858 p->nPSample = (tRowcnt)(sqlite3_value_int64(argv[2])/(mxSample/3+1) + 1);
83867 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83868 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83869 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83936 tRowcnt nEqNew = pNew->anEq[pNew->iCol];
83937 tRowcnt nEqOld = pOld->anEq[pOld->iCol];
83996 tRowcnt *anEq = pMin->anEq;
83997 tRowcnt *anLt = pMin->anLt;
83998 tRowcnt *anDLt = pMin->anDLt;
84023 memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero);
84073 tRowcnt nLt = p->current.anLt[0];
84074 tRowcnt nEq = p->current.anEq[0];
84163 tRowcnt nLt = p->current.anLt[p->nCol-1];
84293 tRowcnt *aCnt = 0;
84832 tRowcnt *aOut, /* Store integers here */
84839 tRowcnt v;
84984 tRowcnt sumEq = 0; /* Sum of the nEq values */
84985 tRowcnt nSum = 0; /* Number of terms contributing to sumEq */
84986 tRowcnt avgEq = 0;
84987 tRowcnt nDLt = pFinal->anDLt[iCol];
85069 tRowcnt *pSpace;
85089 nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample;
85090 tRowcnt); /* Space for Index.aAvgEq[] */
85097 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
112792 tRowcnt *aStat /* OUT: stats written here */
112847 tRowcnt iLower, iUpper, iGap;
113065 tRowcnt a[2];
113085 tRowcnt iLower;
113086 tRowcnt iUpper;
113112 tRowcnt iNew;
113127 tRowcnt iNew;
113201 tRowcnt *pnRow /* Write the revised row estimate here */
113208 tRowcnt a[2]; /* Statistics */
113266 tRowcnt *pnRow /* Write the revised row estimate here */
113272 tRowcnt nEst; /* Number of rows for a single term */
113273 tRowcnt nRowEst = 0; /* New estimate of the number of rows */
115319 tRowcnt nOut = 0;