Lines Matching refs:pCursor

303     pCx->uc.pCursor = (BtCursor*)  in allocateCursor()
305 sqlite3BtreeCursorZero(pCx->uc.pCursor); in allocateCursor()
2759 if( sqlite3BtreeEof(pC->uc.pCursor) ){ in sqlite3VdbeExec()
2762 sqlite3VdbeMemSetInt64(pOut, sqlite3BtreeOffset(pC->uc.pCursor)); in sqlite3VdbeExec()
2839 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
2910 }else if( sqlite3BtreeCursorHasMoved(pC->uc.pCursor) ){ in sqlite3VdbeExec()
2927 rc = sqlite3VdbeMemFromBtreeZeroOffset(pC->uc.pCursor,aOffset[0],&sMem); in sqlite3VdbeExec()
3057 rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, aOffset[p2], len, pDest); in sqlite3VdbeExec()
3580 pCrsr = p->apCsr[pOp->p1]->uc.pCursor; in sqlite3VdbeExec()
4159 sqlite3BtreeClearCursor(pCur->uc.pCursor); in sqlite3VdbeExec()
4231 rc = sqlite3BtreeCursor(pX, p2, wrFlag, pKeyInfo, pCur->uc.pCursor); in sqlite3VdbeExec()
4244 sqlite3BtreeCursorHintFlags(pCur->uc.pCursor, in sqlite3VdbeExec()
4278 pCx->pKeyInfo, pCx->uc.pCursor); in sqlite3VdbeExec()
4375 pKeyInfo, pCx->uc.pCursor); in sqlite3VdbeExec()
4381 0, pCx->uc.pCursor); in sqlite3VdbeExec()
4469 pCx->uc.pCursor = sqlite3BtreeFakeValidCursor(); in sqlite3VdbeExec()
4617 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
4630 assert( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ)==0 in sqlite3VdbeExec()
4654 rc = sqlite3BtreeLast(pC->uc.pCursor, &res); in sqlite3VdbeExec()
4684 rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)iKey, 0, &res); in sqlite3VdbeExec()
4695 if( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ) ){ in sqlite3VdbeExec()
4737 rc = sqlite3BtreeIndexMoveto(pC->uc.pCursor, &r, &res); in sqlite3VdbeExec()
4752 rc = sqlite3BtreeNext(pC->uc.pCursor, 0); in sqlite3VdbeExec()
4768 rc = sqlite3BtreePrevious(pC->uc.pCursor, 0); in sqlite3VdbeExec()
4781 res = sqlite3BtreeEof(pC->uc.pCursor); in sqlite3VdbeExec()
4898 if( !sqlite3BtreeCursorIsValidNN(pC->uc.pCursor) ){ in sqlite3VdbeExec()
4958 rc = sqlite3BtreeNext(pC->uc.pCursor, 0); in sqlite3VdbeExec()
5155 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5169 rc = sqlite3BtreeIndexMoveto(pC->uc.pCursor, &r, &pC->seekResult); in sqlite3VdbeExec()
5181 rc = sqlite3BtreeIndexMoveto(pC->uc.pCursor, pIdxKey, &pC->seekResult); in sqlite3VdbeExec()
5303 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
5377 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5405 rc = sqlite3BtreeLast(pC->uc.pCursor, &res); in sqlite3VdbeExec()
5412 assert( sqlite3BtreeCursorIsValid(pC->uc.pCursor) ); in sqlite3VdbeExec()
5413 v = sqlite3BtreeIntegerKey(pC->uc.pCursor); in sqlite3VdbeExec()
5463 }while( ((rc = sqlite3BtreeTableMoveto(pC->uc.pCursor, (u64)v, in sqlite3VdbeExec()
5534 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5582 rc = sqlite3BtreeInsert(pC->uc.pCursor, &x, in sqlite3VdbeExec()
5623 rc = sqlite3BtreeTransferRow(pDest->uc.pCursor, pSrc->uc.pCursor, iKey); in sqlite3VdbeExec()
5674 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5682 && sqlite3BtreeCursorIsValidNN(pC->uc.pCursor) in sqlite3VdbeExec()
5687 i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor); in sqlite3VdbeExec()
5703 pC->movetoTarget = sqlite3BtreeIntegerKey(pC->uc.pCursor); in sqlite3VdbeExec()
5746 rc = sqlite3BtreeDelete(pC->uc.pCursor, pOp->p5); in sqlite3VdbeExec()
5876 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5877 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
5941 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5948 v = sqlite3BtreeIntegerKey(pC->uc.pCursor); in sqlite3VdbeExec()
5976 pC->uc.pCursor = sqlite3BtreeFakeValidCursor(); in sqlite3VdbeExec()
5981 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
5982 sqlite3BtreeClearCursor(pC->uc.pCursor); in sqlite3VdbeExec()
6022 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
6061 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
6136 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
6224 rc = sqlite3BtreePrevious(pC->uc.pCursor, pOp->p3); in sqlite3VdbeExec()
6240 rc = sqlite3BtreeNext(pC->uc.pCursor, pOp->p3); in sqlite3VdbeExec()
6307 rc = sqlite3BtreeInsert(pC->uc.pCursor, &x, in sqlite3VdbeExec()
6370 pCrsr = pC->uc.pCursor; in sqlite3VdbeExec()
6429 assert( pC->uc.pCursor!=0 ); in sqlite3VdbeExec()
6445 rc = sqlite3VdbeIdxRowid(db, pC->uc.pCursor, &rowid); in sqlite3VdbeExec()
6454 assert( pTabCur->uc.pCursor!=0 ); in sqlite3VdbeExec()
6551 assert( pC->uc.pCursor!=0); in sqlite3VdbeExec()
6581 pCur = pC->uc.pCursor; in sqlite3VdbeExec()
6728 rc = sqlite3BtreeClearTableOfCursor(pC->uc.pCursor); in sqlite3VdbeExec()
7833 sqlite3BtreeCursorPin(pC->uc.pCursor); in sqlite3VdbeExec()
7848 sqlite3BtreeCursorUnpin(pC->uc.pCursor); in sqlite3VdbeExec()
8014 pRhs->pCsr = pC->uc.pCursor; in sqlite3VdbeExec()
8642 sqlite3BtreeCursorHint(pC->uc.pCursor, BTREE_HINT_RANGE, in sqlite3VdbeExec()