/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_parser.cpp | 62 CPDF_Parser::ObjectType GetObjectTypeFromCrossRefStreamType( in GetObjectTypeFromCrossRefStreamType() 66 return CPDF_Parser::ObjectType::kFree; in GetObjectTypeFromCrossRefStreamType() 68 return CPDF_Parser::ObjectType::kNotCompressed; in GetObjectTypeFromCrossRefStreamType() 70 return CPDF_Parser::ObjectType::kCompressed; in GetObjectTypeFromCrossRefStreamType() 72 return CPDF_Parser::ObjectType::kNull; in GetObjectTypeFromCrossRefStreamType() 143 class ObjectsHolderStub final : public CPDF_Parser::ParsedObjectsHolder { 152 CPDF_Parser::CPDF_Parser(ParsedObjectsHolder* holder) in CPDF_Parser() function in CPDF_Parser 161 CPDF_Parser::CPDF_Parser() : CPDF_Parser(nullptr) {} in CPDF_Parser() function in CPDF_Parser 163 CPDF_Parser::~CPDF_Parser() = default; 165 uint32_t CPDF_Parser::GetLastObjNum() const { in GetLastObjNum() [all …]
|
D | cpdf_parser_unittest.cpp | 29 CPDF_CrossRefTable::ObjectInfo GetObjInfo(const CPDF_Parser& parser, in GetObjInfo() 35 class TestObjectsHolder final : public CPDF_Parser::ParsedObjectsHolder { 48 class CPDF_TestParser final : public CPDF_Parser { 50 CPDF_TestParser() : CPDF_Parser(&object_holder_) {} in CPDF_TestParser() 79 using CPDF_Parser::LoadCrossRefV4; 80 using CPDF_Parser::ParseLinearizedHeader; 81 using CPDF_Parser::ParseStartXRef; 82 using CPDF_Parser::RebuildCrossRef; 83 using CPDF_Parser::StartParseInternal; 359 EXPECT_EQ(CPDF_Parser::FORMAT_ERROR, parser.StartParseInternal()); in TEST() [all …]
|
D | cpdf_document.h | 28 public CPDF_Parser::ParsedObjectsHolder { 96 CPDF_Parser* GetParser() const { return m_pParser.get(); } in GetParser() 138 CPDF_Parser::Error LoadDoc(RetainPtr<IFX_SeekableReadStream> pFileAccess, 140 CPDF_Parser::Error LoadLinearizedDoc(RetainPtr<CPDF_ReadValidator> validator, 154 void SetParser(std::unique_ptr<CPDF_Parser> pParser); 190 CPDF_Parser::Error HandleLoadResult(CPDF_Parser::Error error); 192 std::unique_ptr<CPDF_Parser> m_pParser;
|
D | cpdf_cross_ref_table.cpp | 40 if (obj_num >= CPDF_Parser::kMaxObjectNumber || in AddCompressed() 41 archive_obj_num >= CPDF_Parser::kMaxObjectNumber) { in AddCompressed() 64 if (obj_num >= CPDF_Parser::kMaxObjectNumber) { in AddNormal() 84 if (obj_num >= CPDF_Parser::kMaxObjectNumber) { in SetFree()
|
D | cpdf_parser.h | 37 class CPDF_Parser { 64 explicit CPDF_Parser(ParsedObjectsHolder* holder); 65 CPDF_Parser(); 66 ~CPDF_Parser();
|
D | cpdf_document.cpp | 165 CPDF_Parser::Error CPDF_Document::LoadDoc( in LoadDoc() 169 SetParser(std::make_unique<CPDF_Parser>(this)); in LoadDoc() 175 CPDF_Parser::Error CPDF_Document::LoadLinearizedDoc( in LoadLinearizedDoc() 179 SetParser(std::make_unique<CPDF_Parser>(this)); in LoadLinearizedDoc() 278 void CPDF_Document::SetParser(std::unique_ptr<CPDF_Parser> pParser) { in SetParser() 283 CPDF_Parser::Error CPDF_Document::HandleLoadResult(CPDF_Parser::Error error) { in HandleLoadResult() 284 if (error == CPDF_Parser::SUCCESS) in HandleLoadResult()
|
D | cpdf_hint_tables.cpp | 105 if (!dwObjLeastNum || dwObjLeastNum >= CPDF_Parser::kMaxObjectNumber) in ReadPageHintTable() 180 dwStartObjNum.ValueOrDie() >= CPDF_Parser::kMaxObjectNumber) { in ReadPageHintTable() 307 if (dwFirstSharedObjNum >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable() 308 m_nFirstPageSharedObjs >= CPDF_Parser::kMaxObjectNumber || in ReadSharedObjHintTable() 309 dwSharedObjTotal >= CPDF_Parser::kMaxObjectNumber) { in ReadSharedObjHintTable()
|
D | cpdf_data_avail.cpp | 214 CPDF_Parser* pParser = m_pDocument ? m_pDocument->GetParser() : &m_parser; in GetObject() 786 CPDF_Parser::Error eRet = in CheckLinearizedData() 789 if (eRet != CPDF_Parser::SUCCESS) in CheckLinearizedData() 1023 std::pair<CPDF_Parser::Error, std::unique_ptr<CPDF_Document>> 1030 return std::make_pair(CPDF_Parser::HANDLER_ERROR, nullptr); in ParseDocument() 1037 CPDF_Parser::Error error = in ParseDocument() 1043 return std::make_pair(CPDF_Parser::HANDLER_ERROR, nullptr); in ParseDocument() 1046 if (error != CPDF_Parser::SUCCESS) in ParseDocument() 1050 return std::make_pair(CPDF_Parser::SUCCESS, std::move(document)); in ParseDocument()
|
D | cpdf_data_avail.h | 88 std::pair<CPDF_Parser::Error, std::unique_ptr<CPDF_Document>> ParseDocument( 169 CPDF_Parser m_parser;
|
D | cpdf_object_stream.cpp | 39 static_cast<int>(CPDF_Parser::kMaxObjectNumber)) { in IsObjectStream()
|
D | cpdf_object.cpp | 24 static_assert(CPDF_Parser::kMaxObjectNumber < static_cast<uint32_t>(1) << 31,
|
D | cpdf_linearized_header.cpp | 51 header->GetFirstPageObjNum() < CPDF_Parser::kMaxObjectNumber && in IsLinearizedHeaderValid()
|
D | object_tree_traversal_util.cpp | 29 const CPDF_Parser* parser = document_->GetParser(); in ObjectTreeTraverser()
|
D | cpdf_document_unittest.cpp | 266 auto parser = std::make_unique<CPDF_Parser>(); in TEST_F()
|
D | cpdf_security_handler_embeddertest.cpp | 73 CPDF_Parser* parser = doc->GetParser(); in RemoveTrailerIdFromDocument()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_helpers.cpp | 429 void ProcessParseError(CPDF_Parser::Error err) { in ProcessParseError() 433 case CPDF_Parser::SUCCESS: in ProcessParseError() 436 case CPDF_Parser::FILE_ERROR: in ProcessParseError() 439 case CPDF_Parser::FORMAT_ERROR: in ProcessParseError() 442 case CPDF_Parser::PASSWORD_ERROR: in ProcessParseError() 445 case CPDF_Parser::HANDLER_ERROR: in ProcessParseError()
|
D | fpdf_dataavail.cpp | 173 CPDF_Parser::Error error; in FPDFAvail_GetDocument() 178 if (error != CPDF_Parser::SUCCESS) { in FPDFAvail_GetDocument()
|
D | fpdf_view.cpp | 194 ProcessParseError(CPDF_Parser::FILE_ERROR); in LoadDocumentImpl() 202 CPDF_Parser::Error error = in LoadDocumentImpl() 204 if (error != CPDF_Parser::SUCCESS) { in LoadDocumentImpl() 354 const CPDF_Parser* pParser = pDoc->GetParser(); in FPDF_GetFileVersion()
|
D | cpdfsdk_helpers.h | 300 void ProcessParseError(CPDF_Parser::Error err);
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_creator.h | 24 class CPDF_Parser; variable 76 UnownedPtr<CPDF_Parser> const m_pParser;
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_pageimagecache_unittest.cpp | 38 CPDF_Parser::SUCCESS); in TEST()
|