Searched refs:m_FileLen (Results 1 – 12 of 12) sorted by relevance
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_syntax_parser.cpp | 59 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()
|
D | cpdf_syntax_parser.h | 40 void SetPos(FX_FILESIZE pos) { m_Pos = std::min(pos, m_FileLen); } in SetPos() 98 FX_FILESIZE m_FileLen; variable
|
D | cpdf_security_handler_embeddertest.cpp | 72 file_access.m_FileLen = new_file.size(); in TEST_F()
|
D | cpdf_parser.cpp | 306 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/ |
D | fpdf_dataavail_embeddertest.cpp | 44 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()
|
D | fpdf_dataavail.cpp | 72 FX_FILESIZE GetSize() override { return m_pFileAccess->m_FileLen; } in GetSize()
|
D | fpdfview.cpp | 153 return m_FileAccess.m_FileLen; in GetSize() 165 newPos.ValueOrDie() > static_cast<FX_FILESIZE>(m_FileAccess.m_FileLen)) { in ReadBlock()
|
D | fpdfannot_embeddertest.cpp | 466 file_access.m_FileLen = new_file.size(); in TEST_F()
|
/external/pdfium/testing/ |
D | fake_file_access.cpp | 21 m_FileLen = simulator_->GetFileSize(); in FileAccessWrapper() 96 return file_access_->m_FileLen; in GetFileSize()
|
D | embedder_test.cpp | 132 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/ |
D | fpdfview.h | 336 unsigned long m_FileLen; member
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 1376 file_access.m_FileLen = static_cast<unsigned long>(len); in RenderPdf()
|