Lines Matching refs:iOff
7355 ** Read nRead bytes of data from offset iOff of file pFile into buffer
7368 i64 iOff, /* Offset to read from */
7372 fseek(pFile, (long)iOff, SEEK_SET);
7637 ** for which the CDS record is at offset iOff.
7648 i64 iOff, /* Offset of CDS record */
7657 rc = zipfileReadData(pFile, aRead, ZIPFILE_CDS_FIXED_SZ, iOff, pzErr);
7659 aRead = (u8*)&aBlob[iOff];
7682 *pzErr = sqlite3_mprintf("failed to read CDS at offset %lld", iOff);
7685 pFile, aRead, nExtra+nFile, iOff+ZIPFILE_CDS_FIXED_SZ, pzErr
7688 aRead = (u8*)&aBlob[iOff + ZIPFILE_CDS_FIXED_SZ];
7991 i64 iOff; /* Offset to read from */
7999 iOff = szFile - nRead;
8000 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg);
8069 i64 iOff;
8072 iOff = eocd.iOffset;
8075 rc = zipfileGetEntry(pTab, aBlob, nBlob, pTab->pWriteFd, iOff, &pNew);
8079 iOff += ZIPFILE_CDS_FIXED_SZ;
8080 iOff += (int)pNew->cds.nExtra + pNew->cds.nFile + pNew->cds.nComment;
11919 int iOff = (pCsr->iPgno==1 ? 100 : 0);
11932 pCsr->nCell = get_uint16(&pCsr->aPage[iOff+3]);
11936 if( pCsr->aPage[iOff]!=0x02 && pCsr->aPage[iOff]!=0x05 ){
11959 switch( pCsr->aPage[iOff] ){
11978 iOff += 8 + nPointer + pCsr->iCell*2;
11979 if( iOff>pCsr->nPage ){
11982 iOff = get_uint16(&pCsr->aPage[iOff]);
11986 iOff += nPointer;
11989 if( bNextPage || iOff>pCsr->nPage ){
11992 iOff += dbdataGetVarintU32(&pCsr->aPage[iOff], &nPayload);
11996 if( bHasRowid && !bNextPage && iOff<pCsr->nPage ){
11997 iOff += dbdataGetVarint(&pCsr->aPage[iOff], &pCsr->iIntkey);
12020 if( bNextPage || nLocal+iOff>pCsr->nPage ){
12033 memcpy(pCsr->pRec, &pCsr->aPage[iOff], nLocal);
12034 iOff += nLocal;
12039 u32 pgnoOvfl = get_uint32(&pCsr->aPage[iOff]);
12254 int iOff = pCsr->iPgno==1 ? 100 : 0;
12256 iOff += 8;
12258 iOff += 12 + pCsr->iCell*2;
12259 if( iOff>pCsr->nPage ) return SQLITE_OK;
12260 iOff = get_uint16(&pCsr->aPage[iOff]);
12262 if( iOff<=pCsr->nPage ){
12263 sqlite3_result_int64(ctx, get_uint32(&pCsr->aPage[iOff]));
14732 int iOff = recoverGetU16(&a[iCellOff + 2*ii]);
14733 if( iOff<iContent || iOff>n ){
14737 nByte += recoverGetVarint(&a[iOff+nByte], &nPayload);
14740 nByte += recoverGetVarint(&a[iOff+nByte], &dummy);
14756 if( iOff+nByte>n ){
14759 for(iByte=iOff; iByte<(iOff+nByte); iByte++){
14792 static int recoverVfsUnfetch(sqlite3_file *pFd, sqlite3_int64 iOff, void *p);
14884 int iOff;
14885 for(iOff=0; iOff<nMax; iOff+=pgsz2){
14886 if( recoverIsValidPage(aTmp, &aPg[iOff], pgsz2-nReserve) ){
14911 static int recoverVfsRead(sqlite3_file *pFd, void *aBuf, int nByte, i64 iOff){
14915 rc = pFd->pMethods->xRead(pFd, aBuf, nByte, iOff);
14919 if( rc==SQLITE_OK && iOff==0 && nByte>=108 ){
15017 rc = pFd->pMethods->xRead(pFd, aBuf, nByte, iOff);
15043 sqlite3_file *pFd, const void *aBuf, int nByte, i64 iOff
15046 pFd->pMethods->xWrite(pFd, aBuf, nByte, iOff)
15123 sqlite3_int64 iOff,
15130 static int recoverVfsUnfetch(sqlite3_file *pFd, sqlite3_int64 iOff, void *p){