Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_data_avail.cpp561 const uint32_t kReqSize = std::min(static_cast<uint32_t>(m_dwFileLen), 1024U); in CheckHeader() local
563 if (m_pFileAvail->IsDataAvail(0, kReqSize)) { in CheckHeader()
565 m_pFileRead->ReadBlock(buffer, 0, kReqSize); in CheckHeader()
567 if (IsLinearizedFile(buffer, kReqSize)) { in CheckHeader()
577 pHints->AddSegment(0, kReqSize); in CheckHeader()
690 const uint32_t kReqSize = 1024; in IsLinearizedPDF() local
691 if (!m_pFileAvail->IsDataAvail(0, kReqSize)) in IsLinearizedPDF()
698 if (dwSize < (FX_FILESIZE)kReqSize) in IsLinearizedPDF()
702 m_pFileRead->ReadBlock(buffer, 0, kReqSize); in IsLinearizedPDF()
703 if (IsLinearizedFile(buffer, kReqSize)) in IsLinearizedPDF()