Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp95 m_FileLen(m_pFileAccess->GetSize()) { in CPDF_SyntaxParser()
96 ASSERT(m_HeaderOffset <= m_FileLen); in CPDF_SyntaxParser()
108 if (read_pos >= m_FileLen) in ReadBlockAt()
113 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_FileLen) in ReadBlockAt()
114 read_size = m_FileLen - read_pos; in ReadBlockAt()
129 if (pos >= m_FileLen) in GetNextChar()
141 return m_FileLen - m_HeaderOffset; in GetDocumentSize()
146 if (pos >= m_FileLen) in GetCharAtBackward()
411 m_Pos = std::min(pos, m_FileLen); in SetPos()
589 if (IsWholeWord(GetPos() - word.GetLength(), m_FileLen, word, true)) in FindWordPos()
[all …]
Dcpdf_syntax_parser.h109 const FX_FILESIZE m_FileLen; variable
Dcpdf_security_handler_embeddertest.cpp186 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.cpp157 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in OpenDocumentWithOptions()
474 saved_file_access_.m_FileLen = data_string_.size(); in OpenSavedDocumentWithPassword()
/external/pdfium/fpdfsdk/
Dfpdf_dataavail_embeddertest.cpp45 file_access_.m_FileLen = static_cast<unsigned long>(file_length_); in TestAsyncLoader()
221 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F()
231 EXPECT_GT(loader.file_access()->m_FileLen, loader.max_requested_bound()); in TEST_F()
240 EXPECT_GT(loader.file_access()->m_FileLen, in TEST_F()
Dcpdfsdk_customaccess.cpp17 return m_FileAccess.m_FileLen; in GetSize()
Dfpdf_dataavail.cpp73 FX_FILESIZE GetSize() override { return file_->m_FileLen; } in GetSize()
Dfpdf_view_embeddertest.cpp426 file_access.m_FileLen = pdf_length; in TEST_F()
Dfpdf_annot_embeddertest.cpp685 file_access.m_FileLen = new_file.size(); in TEST_F()
/external/pdfium/testing/utils/
Dfile_util.cpp49 m_FileLen = static_cast<unsigned long>(file_length_); in FileAccessForTesting()
/external/pdfium/testing/fuzzers/
Dpdfium_fuzzer_helper.cc139 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf()
/external/pdfium/public/
Dfpdfview.h382 unsigned long m_FileLen; member
/external/pdfium/samples/
Dpdfium_test.cc823 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf()