Lines Matching refs:pSrc

1464 static void ptrmapPutOvflPtr(MemPage *pPage, MemPage *pSrc, u8 *pCell,int *pRC){  in ptrmapPutOvflPtr()  argument
1471 if( SQLITE_WITHIN(pSrc->aDataEnd, pCell, pCell+info.nLocal) ){ in ptrmapPutOvflPtr()
1472 testcase( pSrc!=pPage ); in ptrmapPutOvflPtr()
6806 const u8 *pSrc; in fillInCell() local
6827 pSrc = pX->pData; in fillInCell()
6835 pSrc = pX->pKey; in fillInCell()
6851 memcpy(pPayload, pSrc, nSrc); in fillInCell()
6909 memcpy(pPayload, pSrc, n); in fillInCell()
6912 memcpy(pPayload, pSrc, n); in fillInCell()
6919 pSrc += n; in fillInCell()
9302 int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){ in sqlite3BtreeTransferRow() argument
9310 getCellInfo(pSrc); in sqlite3BtreeTransferRow()
9311 if( pSrc->info.nPayload<0x80 ){ in sqlite3BtreeTransferRow()
9312 *(aOut++) = pSrc->info.nPayload; in sqlite3BtreeTransferRow()
9314 aOut += sqlite3PutVarint(aOut, pSrc->info.nPayload); in sqlite3BtreeTransferRow()
9317 nIn = pSrc->info.nLocal; in sqlite3BtreeTransferRow()
9318 aIn = pSrc->info.pPayload; in sqlite3BtreeTransferRow()
9319 if( aIn+nIn>pSrc->pPage->aDataEnd ){ in sqlite3BtreeTransferRow()
9322 nRem = pSrc->info.nPayload; in sqlite3BtreeTransferRow()
9327 Pager *pSrcPager = pSrc->pBt->pPager; in sqlite3BtreeTransferRow()
9334 nOut = btreePayloadToLocal(pDest->pPage, pSrc->info.nPayload); in sqlite3BtreeTransferRow()
9336 if( nOut<pSrc->info.nPayload ){ in sqlite3BtreeTransferRow()
9342 if( aIn+nIn+4>pSrc->pPage->aDataEnd ){ in sqlite3BtreeTransferRow()
9345 ovflIn = get4byte(&pSrc->info.pPayload[nIn]); in sqlite3BtreeTransferRow()
9368 nIn = pSrc->pBt->usableSize - 4; in sqlite3BtreeTransferRow()