Home
last modified time | relevance | path

Searched refs:dwAvail (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp308 FX_DWORD dwAvail = pJpegModule->GetAvailInput(m_pJpegContext, NULL); in JpegReadMoreData() local
309 if (dwAvail == m_SrcSize) { in JpegReadMoreData()
313 m_SrcSize = (dwSize + dwAvail + FXCODEC_BLOCK_SIZE - 1) / in JpegReadMoreData()
321 FX_DWORD dwConsume = m_SrcSize - dwAvail; in JpegReadMoreData()
322 if (dwAvail) { in JpegReadMoreData()
323 FXSYS_memcpy(m_pSrcBuf, m_pSrcBuf + dwConsume, dwAvail); in JpegReadMoreData()
329 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in JpegReadMoreData()
334 pJpegModule->Input(m_pJpegContext, m_pSrcBuf, dwSize + dwAvail); in JpegReadMoreData()
566 FX_DWORD dwAvail = pGifModule->GetAvailInput(m_pGifContext, NULL); in GifReadMoreData() local
567 if (dwAvail == m_SrcSize) { in GifReadMoreData()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfview.cpp115 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock() local
116 if (dwAvail < (FX_FILESIZE)size) in ReadBlock()
117 size = (size_t)dwAvail; in ReadBlock()