Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp59 if (read_pos >= m_FileLen) in ReadBlockAt()
64 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_FileLen) in ReadBlockAt()
65 read_size = m_FileLen - read_pos; in ReadBlockAt()
79 if (pos >= m_FileLen) in GetNextChar()
92 if (pos >= m_FileLen) in GetCharAtBackward()
544 if (pos.IsValid() && pos.ValueOrDie() < m_FileLen) in ReadStream()
572 if (IsWholeWord(m_Pos - kEndStreamStr.GetLength(), m_FileLen, in ReadStream()
589 if (IsWholeWord(m_Pos - kEndObjStr.GetLength(), m_FileLen, kEndObjStr, in ReadStream()
630 len = std::min(len, m_FileLen - m_Pos - m_HeaderOffset); in ReadStream()
669 m_FileLen = validator->GetSize(); in InitParserWithValidator()
Dcpdf_syntax_parser.h40 void SetPos(FX_FILESIZE pos) { m_Pos = std::min(pos, m_FileLen); } in SetPos()
98 FX_FILESIZE m_FileLen; variable
Dcpdf_security_handler_embeddertest.cpp72 file_access.m_FileLen = new_file.size(); in TEST_F()
Dcpdf_parser.cpp306 m_pSyntax->SetPos(m_pSyntax->m_FileLen - m_pSyntax->m_HeaderOffset - in ParseStartXRef()
697 while (pos < m_pSyntax->m_FileLen) { in RebuildCrossRef()
701 std::min((uint32_t)(m_pSyntax->m_FileLen - pos), kBufferSize); in RebuildCrossRef()
1018 last_trailer = m_pSyntax->m_FileLen; in RebuildCrossRef()
/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp44 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in TestAsyncLoader()
218 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F()
228 EXPECT_GT(loader.file_access()->m_FileLen, loader.max_requested_bound()); in TEST_F()
237 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F()
Dfpdf_dataavail.cpp72 FX_FILESIZE GetSize() override { return m_pFileAccess->m_FileLen; } in GetSize()
Dfpdfview.cpp153 return m_FileAccess.m_FileLen; in GetSize()
165 newPos.ValueOrDie() > static_cast<FX_FILESIZE>(m_FileAccess.m_FileLen)) { in ReadBlock()
Dfpdfannot_embeddertest.cpp466 file_access.m_FileLen = new_file.size(); in TEST_F()
/external/pdfium/testing/
Dfake_file_access.cpp21 m_FileLen = simulator_->GetFileSize(); in FileAccessWrapper()
96 return file_access_->m_FileLen; in GetFileSize()
Dembedder_test.cpp132 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in OpenDocumentWithOptions()
304 saved_file_access_.m_FileLen = m_String.size(); in OpenSavedDocument()
/external/pdfium/public/
Dfpdfview.h336 unsigned long m_FileLen; member
/external/pdfium/samples/
Dpdfium_test.cc1376 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf()