Lines Matching refs:pc
422 int pc, i, n; in defragmentPage() local
428 pc = sizeof(PageHdr); in defragmentPage()
429 pPage->u.hdr.firstCell = SWAB16(pBt, pc); in defragmentPage()
430 memcpy(newPage, pPage->u.aDisk, pc); in defragmentPage()
440 pCell->h.iNext = SWAB16(pBt, pc + n); in defragmentPage()
441 memcpy(&newPage[pc], pCell, n); in defragmentPage()
442 pPage->apCell[i] = (Cell*)&pPage->u.aDisk[pc]; in defragmentPage()
443 pc += n; in defragmentPage()
445 assert( pPage->nFree==SQLITE_USABLE_SIZE-pc ); in defragmentPage()
446 memcpy(pPage->u.aDisk, newPage, pc); in defragmentPage()
450 pFBlk = (FreeBlk*)&pPage->u.aDisk[pc]; in defragmentPage()
451 pFBlk->iSize = SWAB16(pBt, SQLITE_USABLE_SIZE - pc); in defragmentPage()
453 pPage->u.hdr.firstFree = SWAB16(pBt, pc); in defragmentPage()
454 memset(&pFBlk[1], 0, SQLITE_USABLE_SIZE - pc - sizeof(FreeBlk)); in defragmentPage()