/external/chromium_org/third_party/sqlite/src/src/ |
H A D | build.c | 43 int iTab; /* The root page of the table to be locked */ member in struct:TableLock 51 ** The table to be locked has root page iTab and is found in database iDb. 61 int iTab, /* Root page number of the table to be locked */ 73 if( p->iDb==iDb && p->iTab==iTab ){ 85 p->iTab = iTab; 108 sqlite3VdbeAddOp4(pVdbe, OP_TableLock, p1, p->iTab, p->isWriteLock, 1957 int iTab = pTab->tnum; 1964 if( iDestroyed==0 || iTab<iDestroye 58 sqlite3TableLock( Parse *pParse, int iDb, int iTab, u8 isWriteLock, const char *zName ) argument 2311 int iTab = pParse->nTab++; /* Btree cursor used for pTab */ local [all...] |
H A D | expr.c | 1431 int iTab = pParse->nTab++; /* Cursor of the RHS table */ local 1466 sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead); 1498 sqlite3VdbeAddOp4(v, OP_OpenRead, iTab, pIdx->tnum, iDb, 1531 pX->iTable = iTab; 1994 void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){ argument 2017 if( p->iReg && p->iTable==iTab && p->iColumn==iCol ){ 2025 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol ); 2033 p->iTable = iTab; 2054 p->iTable = iTab;
|
H A D | select.c | 468 ** form a distinct entry. iTab is a sorting index that holds previously 469 ** seen combinations of the N values. A new entry is made in iTab 477 int iTab, /* A sorting index used to test for distinctness */ 487 sqlite3VdbeAddOp4Int(v, OP_Found, iTab, addrRepeat, iMem, N); 489 sqlite3VdbeAddOp2(v, OP_IdxInsert, iTab, r1); 877 int iTab; local 887 iTab = pOrderBy->iECursor; 896 addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak); 898 sqlite3VdbeAddOp3(v, OP_Column, iTab, pOrderBy->nExpr + 1, regRow); 951 sqlite3VdbeAddOp2(v, OP_Next, iTab, add 475 codeDistinct( Parse *pParse, int iTab, int addrRepeat, int N, int iMem ) argument [all...] |
H A D | where.c | 3283 int iTab; local 3289 iTab = pX->iTable; 3290 sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0); 3302 pIn->iCur = iTab; 3304 pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iReg); 3306 pIn->addrInTop = sqlite3VdbeAddOp3(v, OP_Column, iTab, 0, iReg);
|
H A D | btree.c | 128 Pgno iTab = 0; local 159 iTab = pIdx->pTable->tnum; 163 iTab = iRoot; 166 /* Search for the required lock. Either a write-lock on root-page iTab, a 168 ** read-lock on iTab will suffice. Return 1 if any of these are found. */ 171 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) 218 ** (READ_LOCK or WRITE_LOCK) on the table with root-page iTab. Return 222 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){ argument 229 assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 ); 263 if( pIter->pBtree!=p && pIter->iTable==iTab 8028 sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock) argument [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 7714 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock); 47247 Pgno iTab = 0; local 47341 querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock) argument 55147 sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock) argument 72168 int iTab = pParse->nTab++; /* Cursor of the RHS table */ local 72731 sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg) argument 76882 int iTab; /* The root page of the table to be locked */ member in struct:TableLock 76897 sqlite3TableLock( Parse *pParse, int iDb, int iTab, u8 isWriteLock, const char *zName ) argument 79150 int iTab = pParse->nTab++; /* Btree cursor used for pTab */ local 90397 codeDistinct( Parse *pParse, int iTab, int addrRepeat, int N, int iMem ) argument 90799 int iTab; local 100937 int iTab; local [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 8925 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock); 51686 Pgno iTab = 0; local 51780 querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock) argument 59936 sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock) argument 79815 int iTab = pParse->nTab++; /* Cursor of the RHS table */ local 80434 sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg) argument 80749 int iTab = pExpr->iTable; local 82146 sqlite3ExprCompare(Expr *pA, Expr *pB, int iTab) argument 82202 sqlite3ExprListCompare(ExprList *pA, ExprList *pB, int iTab) argument 82236 sqlite3ExprImpliesExpr(Expr *pE1, Expr *pE2, int iTab) argument 84702 int iTab; local 86134 int iTab; /* The root page of the table to be locked */ member in struct:TableLock 86149 sqlite3TableLock( Parse *pParse, int iDb, int iTab, u8 isWriteLock, const char *zName ) argument 88746 int iTab = pParse->nTab++; /* Btree cursor used for pTab */ local 102009 codeDistinct( Parse *pParse, int iTab, int addrRepeat, int N, int iMem ) argument 102575 int iTab; local 110560 u8 iTab; /* Position in FROM clause of table for this loop */ member in struct:WhereLoop 113405 int iTab; local 115449 whereUsablePartialIndex(int iTab, WhereClause *pWC, Expr *pWhere) argument 115965 int iTab; local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 8925 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock); 51706 Pgno iTab = 0; local 51800 querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock) argument 59956 sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock) argument 79835 int iTab = pParse->nTab++; /* Cursor of the RHS table */ local 80454 sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg) argument 80769 int iTab = pExpr->iTable; local 82166 sqlite3ExprCompare(Expr *pA, Expr *pB, int iTab) argument 82222 sqlite3ExprListCompare(ExprList *pA, ExprList *pB, int iTab) argument 82256 sqlite3ExprImpliesExpr(Expr *pE1, Expr *pE2, int iTab) argument 84722 int iTab; local 86154 int iTab; /* The root page of the table to be locked */ member in struct:TableLock 86169 sqlite3TableLock( Parse *pParse, int iDb, int iTab, u8 isWriteLock, const char *zName ) argument 88766 int iTab = pParse->nTab++; /* Btree cursor used for pTab */ local 102029 codeDistinct( Parse *pParse, int iTab, int addrRepeat, int N, int iMem ) argument 102595 int iTab; local 110580 u8 iTab; /* Position in FROM clause of table for this loop */ member in struct:WhereLoop 113425 int iTab; local 115469 whereUsablePartialIndex(int iTab, WhereClause *pWC, Expr *pWhere) argument 115985 int iTab; local [all...] |