Lines Matching refs:pX
6833 BtCursor *pX;
6874 for(pX=pBt->pCursor; pX; pX=pX->pNext){
6875 if( pX->pgnoRoot==(Pgno)iTable ){
6876 pX->curFlags |= 0x20;
8351 const BtreePayload *pX,
8375 nPayload = pX->nData + pX->nZero;
8376 pSrc = pX->pData;
8377 nSrc = pX->nData;
8380 nHeader += sqlite3PutVarint(&pCell[nHeader], *(u64*)&pX->nKey);
8382 assert( pX->nKey<=0x7fffffff && pX->pKey!=0 );
8383 nSrc = nPayload = (int)pX->nKey;
8384 pSrc = pX->pKey;
9776 const BtreePayload *pX,
9780 int nData = pX->nData - iOffset;
9794 int rc = btreeOverwriteContent(pPage, pDest+nData, pX, iOffset+nData,
9799 if( memcmp(pDest, ((u8*)pX->pData) + iOffset, iAmt)!=0 ){
9806 memmove(pDest, ((u8*)pX->pData) + iOffset, iAmt);
9816 static int btreeOverwriteCell(BtCursor *pCur, const BtreePayload *pX){
9818 int nTotal = pX->nData + pX->nZero;
9829 rc = btreeOverwriteContent(pPage, pCur->info.pPayload, pX,
9852 rc = btreeOverwriteContent(pPage, pPage->aData+4, pX,
9864 const BtreePayload *pX,
9896 assert( (pX->pKey==0)==(pCur->pKeyInfo==0) );
9904 assert( pX->pKey==0 );
9907 invalidateIncrblobCursors(p, pCur->pgnoRoot, pX->nKey, 0);
9909 if( (pCur->curFlags&0x02)!=0 && pX->nKey==pCur->info.nKey ){
9912 assert( pX->nData>=0 && pX->nZero>=0 );
9914 && pCur->info.nPayload==(u32)pX->nData+pX->nZero
9917 return btreeOverwriteCell(pCur, pX);
9925 rc = sqlite3BtreeMovetoUnpacked(pCur, 0, pX->nKey, flags!=0, &loc);
9942 if( pX->nMem ){
9945 r.aMem = pX->aMem;
9946 r.nField = pX->nMem;
9954 rc = btreeMoveto(pCur, pX->pKey, pX->nKey, flags!=0, &loc);
9965 if( pCur->info.nKey==pX->nKey ){
9967 x2.pData = pX->pKey;
9968 x2.nData = pX->nKey;
9978 assert( pPage->intKey || pX->nKey>=0 );
9991 rc = fillInCell(pPage, newCell, pX, &szNew);
10046 pCur->pKey = sqlite3Malloc( pX->nKey );
10050 memcpy(pCur->pKey, pX->pKey, pX->nKey);
10054 pCur->nKey = pX->nKey;