Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_table.cpp15 std::unique_ptr<CPDF_CrossRefTable> CPDF_CrossRefTable::MergeUp( in MergeUp()
16 std::unique_ptr<CPDF_CrossRefTable> current, in MergeUp()
17 std::unique_ptr<CPDF_CrossRefTable> top) { in MergeUp()
28 CPDF_CrossRefTable::CPDF_CrossRefTable() = default;
30 CPDF_CrossRefTable::CPDF_CrossRefTable(RetainPtr<CPDF_Dictionary> trailer) in CPDF_CrossRefTable() function in CPDF_CrossRefTable
33 CPDF_CrossRefTable::~CPDF_CrossRefTable() = default;
35 void CPDF_CrossRefTable::AddCompressed(uint32_t obj_num, in AddCompressed()
57 void CPDF_CrossRefTable::AddNormal(uint32_t obj_num, in AddNormal()
79 void CPDF_CrossRefTable::SetFree(uint32_t obj_num) { in SetFree()
91 void CPDF_CrossRefTable::SetTrailer(RetainPtr<CPDF_Dictionary> trailer) { in SetTrailer()
[all …]
Dcpdf_cross_ref_table.h16 class CPDF_CrossRefTable {
41 static std::unique_ptr<CPDF_CrossRefTable> MergeUp(
42 std::unique_ptr<CPDF_CrossRefTable> current,
43 std::unique_ptr<CPDF_CrossRefTable> top);
45 CPDF_CrossRefTable();
46 explicit CPDF_CrossRefTable(RetainPtr<CPDF_Dictionary> trailer);
47 ~CPDF_CrossRefTable();
63 void Update(std::unique_ptr<CPDF_CrossRefTable> new_cross_ref);
Dcpdf_parser.h113 const CPDF_CrossRefTable* GetCrossRefTable() const { in GetCrossRefTable()
124 using ObjectType = CPDF_CrossRefTable::ObjectType;
125 using ObjectInfo = CPDF_CrossRefTable::ObjectInfo;
187 std::unique_ptr<CPDF_CrossRefTable> m_CrossRefTable;
Dcpdf_parser.cpp60 m_CrossRefTable(pdfium::MakeUnique<CPDF_CrossRefTable>()) { in CPDF_Parser()
327 m_CrossRefTable = CPDF_CrossRefTable::MergeUp( in LoadAllCrossRefV4()
328 pdfium::MakeUnique<CPDF_CrossRefTable>(std::move(pDict)), in LoadAllCrossRefV4()
366 m_CrossRefTable = CPDF_CrossRefTable::MergeUp( in LoadLinearizedAllCrossRefV4()
367 pdfium::MakeUnique<CPDF_CrossRefTable>(std::move(main_trailer)), in LoadLinearizedAllCrossRefV4()
394 m_CrossRefTable = CPDF_CrossRefTable::MergeUp( in LoadLinearizedAllCrossRefV4()
395 pdfium::MakeUnique<CPDF_CrossRefTable>(std::move(pDict)), in LoadLinearizedAllCrossRefV4()
585 auto cross_ref_table = pdfium::MakeUnique<CPDF_CrossRefTable>(); in RebuildCrossRef()
610 cross_ref_table = CPDF_CrossRefTable::MergeUp( in RebuildCrossRef()
612 pdfium::MakeUnique<CPDF_CrossRefTable>(ToDictionary( in RebuildCrossRef()
[all …]
Dcpdf_parser_unittest.cpp24 CPDF_CrossRefTable::ObjectInfo GetObjInfo(const CPDF_Parser& parser, in GetObjInfo()
27 return info ? *info : CPDF_CrossRefTable::ObjectInfo(); in GetObjInfo()