Lines Matching refs:szFrame
1257 int szFrame; /* Number of bytes in buffer aFrame[] */ in walIndexRecover() local
1310 szFrame = szPage + WAL_FRAME_HDRSIZE; in walIndexRecover()
1311 aFrame = (u8 *)sqlite3_malloc64(szFrame + WALINDEX_PGSZ); in walIndexRecover()
1320 iLastFrame = (nSize - WAL_HDRSIZE) / szFrame; in walIndexRecover()
1338 rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset); in walIndexRecover()
2518 int szFrame; /* Number of bytes in buffer aFrame[] */ in walBeginShmUnreliable() local
2608 szFrame = pWal->szPage + WAL_FRAME_HDRSIZE; in walBeginShmUnreliable()
2609 aFrame = (u8 *)sqlite3_malloc64(szFrame); in walBeginShmUnreliable()
2623 iOffset+szFrame<=szWal; in walBeginShmUnreliable()
2624 iOffset+=szFrame in walBeginShmUnreliable()
2630 rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset); in walBeginShmUnreliable()
3617 int szFrame; /* The size of a single frame */ in sqlite3WalFrames() local
3701 szFrame = szPage + WAL_FRAME_HDRSIZE; in sqlite3WalFrames()
3735 iOffset += szFrame; in sqlite3WalFrames()
3769 iOffset += szFrame; in sqlite3WalFrames()