Searched refs:pIdxInfo (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_wholenumber.c178 sqlite3_index_info *pIdxInfo
186 pConstraint = pIdxInfo->aConstraint;
187 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
206 pIdxInfo->idxNum = idxNum;
208 pIdxInfo->aConstraintUsage[ltIdx].argvIndex = argvIdx++;
209 pIdxInfo->aConstraintUsage[ltIdx].omit = 1;
212 pIdxInfo->aConstraintUsage[gtIdx].argvIndex = argvIdx;
213 pIdxInfo->aConstraintUsage[gtIdx].omit = 1;
215 if( pIdxInfo->nOrderBy==1
216 && pIdxInfo
[all...]
H A Dtest_tclvar.c227 static int tclvarBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
230 for(ii=0; ii<pIdxInfo->nConstraint; ii++){
231 struct sqlite3_index_constraint const *pCons = &pIdxInfo->aConstraint[ii];
235 pUsage = &pIdxInfo->aConstraintUsage[ii];
242 for(ii=0; ii<pIdxInfo->nConstraint; ii++){
243 struct sqlite3_index_constraint const *pCons = &pIdxInfo->aConstraint[ii];
247 pUsage = &pIdxInfo->aConstraintUsage[ii];
H A Dtest_stat.c171 static int statBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
177 if( ( pIdxInfo->nOrderBy==1
178 && pIdxInfo->aOrderBy[0].iColumn==0
179 && pIdxInfo->aOrderBy[0].desc==0
181 ( pIdxInfo->nOrderBy==2
182 && pIdxInfo->aOrderBy[0].iColumn==0
183 && pIdxInfo->aOrderBy[0].desc==0
184 && pIdxInfo->aOrderBy[1].iColumn==1
185 && pIdxInfo->aOrderBy[1].desc==0
188 pIdxInfo
[all...]
H A Dtest_fuzzer.c751 static int fuzzerBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
756 pConstraint = pIdxInfo->aConstraint;
757 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
764 pIdxInfo->aConstraintUsage[i].argvIndex = 1;
765 pIdxInfo->aConstraintUsage[i].omit = 1;
777 pIdxInfo->aConstraintUsage[iDistTerm].argvIndex = 1;
779 pIdxInfo->aConstraintUsage[iDistTerm].argvIndex = 2;
781 pIdxInfo->idxNum = iPlan;
782 if( pIdxInfo->nOrderBy==1
783 && pIdxInfo
[all...]
H A Dwhere.c1965 sqlite3_index_info *pIdxInfo; local
1997 pIdxInfo = sqlite3DbMallocZero(pParse->db, sizeof(*pIdxInfo)
2000 if( pIdxInfo==0 ){
2011 pIdxCons = (struct sqlite3_index_constraint*)&pIdxInfo[1];
2014 *(int*)&pIdxInfo->nConstraint = nTerm;
2015 *(int*)&pIdxInfo->nOrderBy = nOrderBy;
2016 *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint = pIdxCons;
2017 *(struct sqlite3_index_orderby**)&pIdxInfo->aOrderBy = pIdxOrderBy;
2018 *(struct sqlite3_index_constraint_usage**)&pIdxInfo
2125 sqlite3_index_info *pIdxInfo; local
[all...]
H A Dtest_intarray.c175 static int intarrayBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
H A Dtest_schema.c262 static int schemaBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
H A Drecover.c1581 static int recoverBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
H A DsqliteInt.h1900 ** The pIdxInfo field is used to help pick the best index on a
1901 ** virtual table. The pIdxInfo pointer contains indexing
1903 ** All the pIdxInfo pointers are freed by whereInfoFree() in where.c.
1935 sqlite3_index_info *pIdxInfo; /* Index info for n-th source table */ member in struct:WhereLevel
/external/chromium_org/third_party/sqlite/src/ext/rtree/
H A Drtree.c1354 static int rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ argument
1363 assert( pIdxInfo->idxStr==0 );
1364 for(ii=0; ii<pIdxInfo->nConstraint && iIdx<(int)(sizeof(zIdxStr)-1); ii++){
1365 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];
1371 pIdxInfo->aConstraintUsage[jj].argvIndex = 0;
1372 pIdxInfo->aConstraintUsage[jj].omit = 0;
1374 pIdxInfo->idxNum = 1;
1375 pIdxInfo->aConstraintUsage[ii].argvIndex = 1;
1376 pIdxInfo->aConstraintUsage[jj].omit = 1;
1383 pIdxInfo
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c10245 ** The pIdxInfo field is used to help pick the best index on a
10246 ** virtual table. The pIdxInfo pointer contains indexing
10248 ** All the pIdxInfo pointers are freed by whereInfoFree() in where.c.
10280 sqlite3_index_info *pIdxInfo; /* Index info for n-th source table */ member in struct:WhereLevel
99619 sqlite3_index_info *pIdxInfo; local
99779 sqlite3_index_info *pIdxInfo; local
111821 recoverBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) argument
125622 rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c112639 sqlite3_index_info *pIdxInfo; local
115695 sqlite3_index_info *pIdxInfo; local
128312 fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow) argument
146273 setEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow) argument
146315 rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c112659 sqlite3_index_info *pIdxInfo; local
115715 sqlite3_index_info *pIdxInfo; local
128332 fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow) argument
146305 setEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow) argument
146347 rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) argument
[all...]

Completed in 641 milliseconds