Searched refs:obj_holder (Results 1 – 3 of 3) sorted by relevance
71 auto& obj_holder = m_IndirectObjs[m_LastObjNum]; in AddIndirectObject() local72 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() local87 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()
114 auto obj_holder = pdfium::MakeUnique<CPDF_IndirectObjectHolder>(); in TEST() local121 obj_holder->ReplaceIndirectObjectIfHigherGeneration(obj_num, in TEST()123 arr_elem->InsertNewAt<CPDF_Reference>(j, obj_holder.get(), obj_num); in TEST()
16 CPDF_IndirectObjectHolder obj_holder; in TEST() local17 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()