Lines Matching refs:current
88349 Stat4Sample current; /* Current row as a Stat4Sample */
88427 sampleClear(p->db, &p->current);
88500 p->current.anDLt = (tRowcnt*)&p[1];
88501 p->current.anEq = &p->current.anDLt[nColUp];
88511 p->current.anLt = &p->current.anEq[nColUp];
88515 p->a = (struct Stat4Sample*)&p->current.anLt[nColUp];
88711 pBest->anEq[i] = p->current.anEq[i];
88721 if( p->a[i].anEq[j]==0 ) p->a[i].anEq[j] = p->current.anEq[j];
88728 tRowcnt nLt = p->current.anLt[0];
88729 tRowcnt nEq = p->current.anEq[0];
88733 p->current.isPSample = 1;
88734 sampleInsert(p, &p->current, 0);
88735 p->current.isPSample = 0;
88740 || sampleIsBetter(p, &p->current, &p->a[p->iMin])
88742 sampleInsert(p, &p->current, 0);
88787 for(i=0; i<p->nCol; i++) p->current.anEq[i] = 1;
88795 p->current.anEq[i]++;
88798 p->current.anDLt[i]++;
88800 p->current.anLt[i] += p->current.anEq[i];
88802 p->current.anEq[i] = 1;
88808 sampleSetRowidInt64(p->db, &p->current, sqlite3_value_int64(argv[2]));
88810 sampleSetRowid(p->db, &p->current, sqlite3_value_bytes(argv[2]),
88813 p->current.iHash = p->iPrn = p->iPrn*1103515245 + 12345;
88818 tRowcnt nLt = p->current.anLt[p->nCol-1];
88822 p->current.isPSample = 1;
88823 p->current.iCol = 0;
88824 sampleInsert(p, &p->current, p->nCol-1);
88825 p->current.isPSample = 0;
88830 p->current.iCol = i;
88831 if( i>=iChng || sampleIsBetterPost(p, &p->current, &p->aBest[i]) ){
88832 sampleCopy(p, &p->aBest[i], &p->current);
88922 u64 nDistinct = p->current.anDLt[i] + 1;
88926 assert( p->current.anEq[i] );