Lines Matching refs:pIdxInfo
183 static int fsdirBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ in fsdirBestIndex() argument
186 pIdxInfo->estimatedCost = 1000000000.0; in fsdirBestIndex()
188 for(ii=0; ii<pIdxInfo->nConstraint; ii++){ in fsdirBestIndex()
189 struct sqlite3_index_constraint const *p = &pIdxInfo->aConstraint[ii]; in fsdirBestIndex()
192 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fsdirBestIndex()
195 pIdxInfo->idxNum = 1; in fsdirBestIndex()
196 pIdxInfo->estimatedCost = 1.0; in fsdirBestIndex()
390 static int fstreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ in fstreeBestIndex() argument
393 for(ii=0; ii<pIdxInfo->nConstraint; ii++){ in fstreeBestIndex()
394 struct sqlite3_index_constraint const *p = &pIdxInfo->aConstraint[ii]; in fstreeBestIndex()
401 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fstreeBestIndex()
402 pIdxInfo->idxNum = p->op; in fstreeBestIndex()
404 pIdxInfo->estimatedCost = 100000.0; in fstreeBestIndex()
409 pIdxInfo->estimatedCost = 1000000000.0; in fstreeBestIndex()
774 static int fsBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ in fsBestIndex() argument
777 for(ii=0; ii<pIdxInfo->nConstraint; ii++){ in fsBestIndex()
778 struct sqlite3_index_constraint const *pCons = &pIdxInfo->aConstraint[ii]; in fsBestIndex()
782 pUsage = &pIdxInfo->aConstraintUsage[ii]; in fsBestIndex()
785 pIdxInfo->idxNum = 1; in fsBestIndex()
786 pIdxInfo->estimatedCost = 1.0; in fsBestIndex()