• Home
  • Raw
  • Download

Lines Matching refs:iOff

4891   i64 iOff,                       /* Offset to read from */  in zipfileReadData()  argument
4895 fseek(pFile, (long)iOff, SEEK_SET); in zipfileReadData()
5178 i64 iOff, /* Offset of CDS record */ in zipfileGetEntry() argument
5187 rc = zipfileReadData(pFile, aRead, ZIPFILE_CDS_FIXED_SZ, iOff, pzErr); in zipfileGetEntry()
5189 aRead = (u8*)&aBlob[iOff]; in zipfileGetEntry()
5212 *pzErr = sqlite3_mprintf("failed to read CDS at offset %lld", iOff); in zipfileGetEntry()
5215 pFile, aRead, nExtra+nFile, iOff+ZIPFILE_CDS_FIXED_SZ, pzErr in zipfileGetEntry()
5218 aRead = (u8*)&aBlob[iOff + ZIPFILE_CDS_FIXED_SZ]; in zipfileGetEntry()
5520 i64 iOff; /* Offset to read from */ in zipfileReadEOCD() local
5529 iOff = szFile - nRead; in zipfileReadEOCD()
5530 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
5599 i64 iOff; in zipfileLoadDirectory() local
5602 iOff = eocd.iOffset; in zipfileLoadDirectory()
5605 rc = zipfileGetEntry(pTab, aBlob, nBlob, pTab->pWriteFd, iOff, &pNew); in zipfileLoadDirectory()
5609 iOff += ZIPFILE_CDS_FIXED_SZ; in zipfileLoadDirectory()
5610 iOff += (int)pNew->cds.nExtra + pNew->cds.nFile + pNew->cds.nComment; in zipfileLoadDirectory()
9307 int iOff = (pCsr->iPgno==1 ? 100 : 0); in dbdataNext() local
9319 pCsr->nCell = get_uint16(&pCsr->aPage[iOff+3]); in dbdataNext()
9323 if( pCsr->aPage[iOff]!=0x02 && pCsr->aPage[iOff]!=0x05 ){ in dbdataNext()
9346 switch( pCsr->aPage[iOff] ){ in dbdataNext()
9365 iOff += 8 + nPointer + pCsr->iCell*2; in dbdataNext()
9366 if( iOff>pCsr->nPage ){ in dbdataNext()
9369 iOff = get_uint16(&pCsr->aPage[iOff]); in dbdataNext()
9373 iOff += nPointer; in dbdataNext()
9376 if( bNextPage || iOff>pCsr->nPage ){ in dbdataNext()
9379 iOff += dbdataGetVarint(&pCsr->aPage[iOff], &nPayload); in dbdataNext()
9383 if( bHasRowid && !bNextPage && iOff<pCsr->nPage ){ in dbdataNext()
9384 iOff += dbdataGetVarint(&pCsr->aPage[iOff], &pCsr->iIntkey); in dbdataNext()
9407 if( bNextPage || nLocal+iOff>pCsr->nPage ){ in dbdataNext()
9420 memcpy(pCsr->pRec, &pCsr->aPage[iOff], nLocal); in dbdataNext()
9421 iOff += nLocal; in dbdataNext()
9426 unsigned int pgnoOvfl = get_uint32(&pCsr->aPage[iOff]); in dbdataNext()
9587 int iOff = pCsr->iPgno==1 ? 100 : 0; in dbdataColumn() local
9589 iOff += 8; in dbdataColumn()
9591 iOff += 12 + pCsr->iCell*2; in dbdataColumn()
9592 if( iOff>pCsr->nPage ) return SQLITE_OK; in dbdataColumn()
9593 iOff = get_uint16(&pCsr->aPage[iOff]); in dbdataColumn()
9595 if( iOff<=pCsr->nPage ){ in dbdataColumn()
9596 sqlite3_result_int64(ctx, get_uint32(&pCsr->aPage[iOff])); in dbdataColumn()