/external/chromium_org/third_party/sqlite/src/src/ |
H A D | vdbeblob.c | 218 Index *pIdx; local 236 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ 238 for(j=0; j<pIdx->nColumn; j++){ 239 if( pIdx->aiColumn[j]==iCol ){
|
H A D | delete.c | 234 Index *pIdx; /* For looping over indices of the table */ local 301 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ 357 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ 358 assert( pIdx 591 Index *pIdx; local 612 sqlite3GenerateIndexKey( Parse *pParse, Index *pIdx, int iCur, int regOut, int doMakeRec ) argument [all...] |
H A D | update.c | 100 Index *pIdx; /* For looping over indices */ local 178 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ 239 for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){} 244 for(j=0, pIdx [all...] |
H A D | analyze.c | 112 Index *pIdx; /* An index to being analyzed */ local 165 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ 169 if( pOnlyIdx && pOnlyIdx!=pIdx ) continue; 170 nCol = pIdx->nColumn; 171 pKey = sqlite3IndexKeyinfo(pParse, pIdx); 177 assert( iDb==sqlite3SchemaToIndex(db, pIdx->pSchema) ); 178 sqlite3VdbeAddOp4(v, OP_OpenRead, iIdxCur, pIdx 444 Index *pIdx; local 563 sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx) argument 613 Index *pIdx = sqliteHashData(i); local 657 Index *pIdx; /* Pointer to the index object */ local [all...] |
H A D | fkey.c | 188 Index *pIdx = 0; /* Value to return via *ppIdx */ local 225 for(pIdx=pParent->pIndex; pIdx; pIdx=pIdx->pNext){ 226 if( pIdx->nColumn==nCol && pIdx->onError!=OE_None ){ 227 /* pIdx is a UNIQUE index (or a PRIMARY KEY) and has the right number 235 if( pIdx->autoIndex==2 ){ 249 int iCol = pIdx 314 fkLookupParent( Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore ) argument 457 fkScanChildren( Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr ) argument 708 Index *pIdx = 0; /* Index on key columns in pTo */ local 776 Index *pIdx = 0; /* Foreign key index for pFKey */ local 841 Index *pIdx = 0; local 958 Index *pIdx = 0; /* Parent key index for this FK */ local [all...] |
H A D | pragma.c | 902 Index *pIdx; local 905 pIdx = sqlite3FindIndex(db, zRight, zDb); 906 if( pIdx ){ 908 pTab = pIdx->pTable; 914 for(i=0; i<pIdx->nColumn; i++){ 915 int cnum = pIdx->aiColumn[i]; 926 Index *pIdx; local 932 pIdx = pTab->pIndex; 933 if( pIdx ){ 940 while(pIdx){ 1119 Index *pIdx; local 1149 Index *pIdx; local [all...] |
H A D | insert.c | 39 ** pIdx. A column affinity string has one character for each column in 57 const char *sqlite3IndexAffinityStr(Vdbe *v, Index *pIdx){ argument 58 if( !pIdx->zColAff ){ 68 Table *pTab = pIdx->pTable; 70 pIdx->zColAff = (char *)sqlite3DbMallocRaw(0, pIdx->nColumn+2); 71 if( !pIdx->zColAff ){ 75 for(n=0; n<pIdx->nColumn; n++){ 76 pIdx->zColAff[n] = pTab->aCol[pIdx 447 Index *pIdx; /* For looping over indices of the table */ local 1157 Index *pIdx; /* Pointer to one of the indices */ local 1436 Index *pIdx; local 1491 Index *pIdx; local [all...] |
H A D | build.c | 1237 Index *pIdx; local 1244 for(pIdx=p->pIndex; pIdx; pIdx=pIdx->pNext){ 1245 assert( pIdx->nColumn==1 ); 1246 if( pIdx->aiColumn[0]==i ){ 1247 pIdx->azColl[0] = p->aCol[i].zColl; 1340 ** to the specified offset in the buffer and updates *pIdx to refer 1348 static void identPut(char *z, int *pIdx, cha argument 1893 Index *pIdx = sqliteHashData(pElem); local 1937 Index *pIdx; local 2704 Index *pIdx; local 2885 sqlite3DefaultRowEst(Index *pIdx) argument 3735 sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx) argument [all...] |
H A D | expr.c | 1471 Index *pIdx; /* Iterator variable */ local 1485 for(pIdx=pTab->pIndex; pIdx && eType==0 && affinity_ok; pIdx=pIdx->pNext){ 1486 if( (pIdx->aiColumn[0]==iCol) 1487 && sqlite3FindCollSeq(db, ENC(db), pIdx->azColl[0], 0)==pReq 1488 && (!mustBeUnique || (pIdx->nColumn==1 && pIdx->onError!=OE_None)) 1494 pKey = (char *)sqlite3IndexKeyinfo(pParse, pIdx); [all...] |
H A D | select.c | 3120 Index *pIdx; local 3121 for(pIdx=pTab->pIndex; 3122 pIdx && sqlite3StrICmp(pIdx->zName, zIndex); 3123 pIdx=pIdx->pNext 3125 if( !pIdx ){ 3130 pFrom->pIndex = pIdx; 3633 Index *pIdx /* Index used to optimize scan, or NULL */ 3638 pIdx 4226 Index *pIdx; /* Iterator variable */ local [all...] |
H A D | where.c | 572 Index *pIdx /* Must be compatible with this index, if not NULL */ 584 if( pIdx && pTerm->eOperator!=WO_ISNULL ){ 591 idxaff = pIdx->pTable->aCol[iColumn].affinity; 602 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){ 603 if( NEVER(j>=pIdx->nColumn) ) return 0; 605 if( pColl && sqlite3StrICmp(pColl->zName, pIdx->azColl[j]) ) continue; 1402 ** This routine decides if pIdx can be used to satisfy the ORDER BY 1403 ** clause. If it can, it returns 1. If pIdx cannot satisfy the 1408 ** the table has a cursor number of "base". pIdx is an index on pTab. 1410 ** nEqCol is the number of columns of pIdx tha 1420 isSortingIndex( Parse *pParse, WhereMaskSet *pMaskSet, Index *pIdx, int base, ExprList *pOrderBy, int nEqCol, int wsFlags, int *pbRev ) argument 1809 Index *pIdx; /* Object describing the transient index */ local 2276 whereRangeRegion( Parse *pParse, Index *pIdx, sqlite3_value *pVal, int roundUp, int *piRegion ) argument 2696 Index *pIdx; /* Copy of pProbe, or zero for IPK index */ local 3367 Index *pIdx; /* The index being used for this loop */ local 3842 Index *pIdx; /* The index we will be using */ local 4265 Index *pIdx = pWInfo->a[i].plan.u.pIdx; local 4518 Index *pIdx; /* Index for FROM table at pTabItem */ local 4955 Index *pIdx = pLevel->plan.u.pIdx; local [all...] |
H A D | btree.c | 157 Index *pIdx = (Index *)sqliteHashData(p); local 158 if( pIdx->tnum==(int)iRoot ){ 159 iTab = pIdx->pTable->tnum; 1134 ** as the first argument. Write into *pIdx the index into pPage->aData[] 1145 static int allocateSpace(MemPage *pPage, int nByte, int *pIdx){ argument 1205 *pIdx = pc + x; 1232 *pIdx = top;
|
H A D | sqliteInt.h | 1878 ** Within the union, pIdx is only used when wsFlags&WHERE_INDEXED is true. 1888 Index *pIdx; /* Index when WHERE_INDEXED is true */ member in union:WherePlan::__anon14664 1911 int iIdxCur; /* The VDBE cursor used to access pIdx */
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 10238 ** Within the union, pIdx is only used when wsFlags&WHERE_INDEXED is true. 10248 Index *pIdx; /* Index when WHERE_INDEXED is true */ member in union:WherePlan::__anon14627 10271 int iIdxCur; /* The VDBE cursor used to access pIdx */ 47455 Index *pIdx = (Index *)sqliteHashData(p); local 48443 allocateSpace(MemPage *pPage, int nByte, int *pIdx) argument 68825 Index *pIdx; local 72387 Index *pIdx; /* Iterator variable */ local 75613 Index *pIdx; /* An index to being analyzed */ local 75945 Index *pIdx; local 76064 sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx) argument 76114 Index *pIdx = sqliteHashData(i); local 76158 Index *pIdx; /* Pointer to the index object */ local 78253 Index *pIdx; local 78364 identPut(char *z, int *pIdx, char *zSignedIdent) argument 78909 Index *pIdx = sqliteHashData(pElem); local 78953 Index *pIdx; local 79720 Index *pIdx; local 79901 sqlite3DefaultRowEst(Index *pIdx) argument 80751 sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx) argument 81498 Index *pIdx; /* For looping over indices of the table */ local 81855 Index *pIdx; local 81876 sqlite3GenerateIndexKey( Parse *pParse, Index *pIdx, int iCur, int regOut, int doMakeRec ) argument 83687 Index *pIdx = 0; /* Value to return via *ppIdx */ local 83813 fkLookupParent( Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore ) argument 83956 fkScanChildren( Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr ) argument 84207 Index *pIdx = 0; /* Index on key columns in pTo */ local 84275 Index *pIdx = 0; /* Foreign key index for pFKey */ local 84340 Index *pIdx = 0; local 84457 Index *pIdx = 0; /* Parent key index for this FK */ local 84747 sqlite3IndexAffinityStr(Vdbe *v, Index *pIdx) argument 85137 Index *pIdx; /* For looping over indices of the table */ local 85847 Index *pIdx; /* Pointer to one of the indices */ local 86126 Index *pIdx; local 86181 Index *pIdx; local 88645 Index *pIdx; local 88669 Index *pIdx; local 88862 Index *pIdx; local 88892 Index *pIdx; local 93249 Index *pIdx; local 94355 Index *pIdx; /* Iterator variable */ local 96006 Index *pIdx; /* For looping over indices */ local 99281 isSortingIndex( Parse *pParse, WhereMaskSet *pMaskSet, Index *pIdx, int base, ExprList *pOrderBy, int nEqCol, int wsFlags, int *pbRev ) argument 99670 Index *pIdx; /* Object describing the transient index */ local 100137 whereRangeRegion( Parse *pParse, Index *pIdx, sqlite3_value *pVal, int roundUp, int *piRegion ) argument 100557 Index *pIdx; /* Copy of pProbe, or zero for IPK index */ local 101228 Index *pIdx; /* The index being used for this loop */ local 101703 Index *pIdx; /* The index we will be using */ local 102126 Index *pIdx = pWInfo->a[i].plan.u.pIdx; local 102379 Index *pIdx; /* Index for FROM table at pTabItem */ local 102816 Index *pIdx = pLevel->plan.u.pIdx; local [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 10787 ** Within the union, pIdx is only used when wsFlags&WHERE_INDEXED is true. 10797 Index *pIdx; /* Index when WHERE_INDEXED is true */ member in union:WherePlan::__anon26723 10820 int iIdxCur; /* The VDBE cursor used to access pIdx */ 49521 Index *pIdx = (Index *)sqliteHashData(p); local 50516 allocateSpace(MemPage *pPage, int nByte, int *pIdx) argument 71391 Index *pIdx; local 75884 Index *pIdx; /* Iterator variable */ local 79696 Index *pIdx; /* An index to being analyzed */ local 80039 Index *pIdx; local 80158 sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx) argument 80211 Index *pIdx; /* Pointer to the index object */ local 80243 Index *pIdx; /* Pointer to the index object */ local 80341 Index *pIdx = sqliteHashData(i); local 82428 Index *pIdx; local 82539 identPut(char *z, int *pIdx, char *zSignedIdent) argument 83083 Index *pIdx = sqliteHashData(pElem); local 83127 Index *pIdx; local 83973 Index *pIdx; local 84153 sqlite3DefaultRowEst(Index *pIdx) argument 84985 sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx) argument 85704 Index *pIdx; /* For looping over indices of the table */ local 86064 Index *pIdx; local 86085 sqlite3GenerateIndexKey( Parse *pParse, Index *pIdx, int iCur, int regOut, int doMakeRec ) argument 87929 Index *pIdx = 0; /* Value to return via *ppIdx */ local 88055 fkLookupParent( Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore ) argument 88210 fkScanChildren( Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr ) argument 88461 Index *pIdx = 0; /* Index on key columns in pTo */ local 88546 Index *pIdx = 0; /* Foreign key index for pFKey */ local 88611 Index *pIdx = 0; local 88728 Index *pIdx = 0; /* Parent key index for this FK */ local 89019 sqlite3IndexAffinityStr(Vdbe *v, Index *pIdx) argument 89410 Index *pIdx; /* For looping over indices of the table */ local 90121 Index *pIdx; /* Pointer to one of the indices */ local 90400 Index *pIdx; local 90455 Index *pIdx; local 93003 Index *pIdx; local 93027 Index *pIdx; local 93220 Index *pIdx; local 93250 Index *pIdx; local 97661 Index *pIdx; local 98872 Index *pIdx; /* Iterator variable */ local 100541 Index *pIdx; /* For looping over indices */ local 103967 findIndexCol( Parse *pParse, ExprList *pList, int iBase, Index *pIdx, int iCol ) argument 104005 isDistinctIndex( Parse *pParse, WhereClause *pWC, Index *pIdx, int base, ExprList *pDistinct, int nEqCol ) argument 104065 Index *pIdx; local 104133 isSortingIndex( Parse *pParse, WhereMaskSet *pMaskSet, Index *pIdx, int base, ExprList *pOrderBy, int nEqCol, int wsFlags, int *pbRev ) argument 104538 Index *pIdx; /* Object describing the transient index */ local 104991 whereKeyStats( Parse *pParse, Index *pIdx, sqlite3_value *pVal, int roundUp, tRowcnt *aStat ) argument 105417 Index *pIdx; /* Copy of pProbe, or zero for IPK index */ local 106109 Index *pIdx; /* The index being used for this loop */ local 106586 Index *pIdx; /* The index we will be using */ local 107046 Index *pIdx = pWInfo->a[i].plan.u.pIdx; local 107313 Index *pIdx; /* Index for FROM table at pTabItem */ local 107757 Index *pIdx = pLevel->plan.u.pIdx; local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 10787 ** Within the union, pIdx is only used when wsFlags&WHERE_INDEXED is true. 10797 Index *pIdx; /* Index when WHERE_INDEXED is true */ member in union:WherePlan::__anon26748 10820 int iIdxCur; /* The VDBE cursor used to access pIdx */ 49549 Index *pIdx = (Index *)sqliteHashData(p); local 50544 allocateSpace(MemPage *pPage, int nByte, int *pIdx) argument 71419 Index *pIdx; local 75920 Index *pIdx; /* Iterator variable */ local 79732 Index *pIdx; /* An index to being analyzed */ local 80075 Index *pIdx; local 80194 sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx) argument 80247 Index *pIdx; /* Pointer to the index object */ local 80279 Index *pIdx; /* Pointer to the index object */ local 80377 Index *pIdx = sqliteHashData(i); local 82464 Index *pIdx; local 82575 identPut(char *z, int *pIdx, char *zSignedIdent) argument 83119 Index *pIdx = sqliteHashData(pElem); local 83163 Index *pIdx; local 84009 Index *pIdx; local 84189 sqlite3DefaultRowEst(Index *pIdx) argument 85021 sqlite3IndexKeyinfo(Parse *pParse, Index *pIdx) argument 85740 Index *pIdx; /* For looping over indices of the table */ local 86100 Index *pIdx; local 86121 sqlite3GenerateIndexKey( Parse *pParse, Index *pIdx, int iCur, int regOut, int doMakeRec ) argument 87965 Index *pIdx = 0; /* Value to return via *ppIdx */ local 88091 fkLookupParent( Parse *pParse, int iDb, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr, int isIgnore ) argument 88246 fkScanChildren( Parse *pParse, SrcList *pSrc, Table *pTab, Index *pIdx, FKey *pFKey, int *aiCol, int regData, int nIncr ) argument 88497 Index *pIdx = 0; /* Index on key columns in pTo */ local 88582 Index *pIdx = 0; /* Foreign key index for pFKey */ local 88647 Index *pIdx = 0; local 88764 Index *pIdx = 0; /* Parent key index for this FK */ local 89055 sqlite3IndexAffinityStr(Vdbe *v, Index *pIdx) argument 89446 Index *pIdx; /* For looping over indices of the table */ local 90157 Index *pIdx; /* Pointer to one of the indices */ local 90436 Index *pIdx; local 90491 Index *pIdx; local 93039 Index *pIdx; local 93063 Index *pIdx; local 93256 Index *pIdx; local 93286 Index *pIdx; local 97697 Index *pIdx; local 98908 Index *pIdx; /* Iterator variable */ local 100577 Index *pIdx; /* For looping over indices */ local 104003 findIndexCol( Parse *pParse, ExprList *pList, int iBase, Index *pIdx, int iCol ) argument 104041 isDistinctIndex( Parse *pParse, WhereClause *pWC, Index *pIdx, int base, ExprList *pDistinct, int nEqCol ) argument 104101 Index *pIdx; local 104169 isSortingIndex( Parse *pParse, WhereMaskSet *pMaskSet, Index *pIdx, int base, ExprList *pOrderBy, int nEqCol, int wsFlags, int *pbRev ) argument 104574 Index *pIdx; /* Object describing the transient index */ local 105027 whereKeyStats( Parse *pParse, Index *pIdx, sqlite3_value *pVal, int roundUp, tRowcnt *aStat ) argument 105453 Index *pIdx; /* Copy of pProbe, or zero for IPK index */ local 106145 Index *pIdx; /* The index being used for this loop */ local 106622 Index *pIdx; /* The index we will be using */ local 107082 Index *pIdx = pWInfo->a[i].plan.u.pIdx; local 107349 Index *pIdx; /* Index for FROM table at pTabItem */ local 107793 Index *pIdx = pLevel->plan.u.pIdx; local [all...] |