Lines Matching refs:pCursor
2427 rc = sqliteBtreeCursor(pX, p2, wrFlag, &p->aCsr[i].pCursor);
2490 rc = sqliteBtreeCursor(pCx->pBt, pgno, 1, &pCx->pCursor);
2493 rc = sqliteBtreeCursor(pCx->pBt, 2, 1, &pCx->pCursor);
2564 if( pC->pCursor!=0 ){
2576 sqliteBtreeMoveto(pC->pCursor, (char*)&iKey, sizeof(int), &res);
2581 sqliteBtreeMoveto(pC->pCursor, pTos->z, pTos->n, &res);
2588 sqliteBtreeNext(pC->pCursor, &res);
2595 sqliteBtreePrevious(pC->pCursor, &res);
2602 res = sqliteBtreeKeySize(pC->pCursor,&keysize)!=0 || keysize==0;
2655 if( (pC = &p->aCsr[i])->pCursor!=0 ){
2658 rx = sqliteBtreeMoveto(pC->pCursor, pTos->z, pTos->n, &res);
2707 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
2782 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
2812 if( (pC = &p->aCsr[i])->pCursor==0 ){
2852 rx = sqliteBtreeLast(pC->pCursor, &res);
2856 sqliteBtreeKey(pC->pCursor, 0, sizeof(v), (void*)&v);
2886 rx = sqliteBtreeMoveto(pC->pCursor, &x, sizeof(int), &res);
2936 if( ((pC = &p->aCsr[i])->pCursor!=0 || pC->pseudoTable) ){
2981 rc = sqliteBtreeInsert(pC->pCursor, zKey, nKey, pTos->z, pTos->n);
3010 if( pC->pCursor!=0 ){
3012 rc = sqliteBtreeDelete(pC->pCursor);
3074 }else if( pC->pCursor!=0 ){
3075 BtCursor *pCrsr = pC->pCursor;
3146 }else if( (pC = &p->aCsr[i])->pCursor!=0 ){
3149 pCrsr = pC->pCursor;
3256 }else if( pC->nullRow || pC->pCursor==0 ){
3260 assert( pC->pCursor!=0 );
3261 sqliteBtreeKey(pC->pCursor, 0, sizeof(u32), (char*)&v);
3288 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
3343 if( (pCrsr = pC->pCursor)!=0 ){
3372 if( (pCrsr = pC->pCursor)!=0 ){
3411 if( (pCrsr = pC->pCursor)!=0 ){
3449 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
3497 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
3525 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){
3577 if( (pCrsr = p->aCsr[i].pCursor)!=0 ){