Home
last modified time | relevance | path

Searched refs:obj_holder (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_indirect_object_holder.cpp71 auto& obj_holder = m_IndirectObjs[m_LastObjNum]; in AddIndirectObject() local
72 if (obj_holder) in AddIndirectObject()
73 m_OrphanObjs.push_back(std::move(obj_holder)); in AddIndirectObject()
75 obj_holder = std::move(pObj); in AddIndirectObject()
76 return obj_holder.get(); in AddIndirectObject()
86 auto& obj_holder = m_IndirectObjs[objnum]; in ReplaceIndirectObjectIfHigherGeneration() local
87 const CPDF_Object* old_object = FilterInvalidObjNum(obj_holder.get()); in ReplaceIndirectObjectIfHigherGeneration()
92 if (obj_holder) in ReplaceIndirectObjectIfHigherGeneration()
93 m_OrphanObjs.push_back(std::move(obj_holder)); in ReplaceIndirectObjectIfHigherGeneration()
95 obj_holder = std::move(pObj); in ReplaceIndirectObjectIfHigherGeneration()
Dcpdf_array_unittest.cpp114 auto obj_holder = pdfium::MakeUnique<CPDF_IndirectObjectHolder>(); in TEST() local
121 obj_holder->ReplaceIndirectObjectIfHigherGeneration(obj_num, in TEST()
123 arr_elem->InsertNewAt<CPDF_Reference>(j, obj_holder.get(), obj_num); in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield_unittest.cpp16 CPDF_IndirectObjectHolder obj_holder; in TEST() local
17 CPDF_Dictionary* root = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST()
22 CPDF_Dictionary* dict1 = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST()
23 root->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict1->GetObjNum()); in TEST()
32 CPDF_Dictionary* dict3 = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST()
33 dict2->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict3->GetObjNum()); in TEST()
39 dict3->SetNewFor<CPDF_Reference>("Parent", &obj_holder, root->GetObjNum()); in TEST()