/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_reference.cpp | 14 CPDF_Reference::CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, uint32_t objnum) in CPDF_Reference() function in CPDF_Reference 17 CPDF_Reference::~CPDF_Reference() {} in ~CPDF_Reference() 19 CPDF_Object::Type CPDF_Reference::GetType() const { in GetType() 23 ByteString CPDF_Reference::GetString() const { in GetString() 28 float CPDF_Reference::GetNumber() const { in GetNumber() 33 int CPDF_Reference::GetInteger() const { in GetInteger() 38 CPDF_Dictionary* CPDF_Reference::GetDict() { in GetDict() 43 const CPDF_Dictionary* CPDF_Reference::GetDict() const { in GetDict() 48 bool CPDF_Reference::IsReference() const { in IsReference() 52 CPDF_Reference* CPDF_Reference::AsReference() { in AsReference() [all …]
|
D | cpdf_document_unittest.cpp | 35 pageNode->SetNewFor<CPDF_Reference>("Kids", pDoc, pUnowned->GetObjNum()); in CreatePageTreeNode() 38 pUnowned->GetDictAt(i)->SetNewFor<CPDF_Reference>("Parent", pDoc, in CreatePageTreeNode() 58 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 60 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 62 zeroToTwo->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 68 zeroToThree->AddNew<CPDF_Reference>(this, branch1->GetObjNum()); in CPDF_TestDocumentForPages() 69 zeroToThree->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 75 fourFive->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 77 fourFive->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() 82 justSix->AddNew<CPDF_Reference>( in CPDF_TestDocumentForPages() [all …]
|
D | cpdf_reference.h | 18 class CPDF_Reference final : public CPDF_Object { 34 CPDF_Reference* AsReference() override; 35 const CPDF_Reference* AsReference() const override; 46 CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, uint32_t objnum); 47 ~CPDF_Reference() override; 59 inline CPDF_Reference* ToReference(CPDF_Object* obj) { in ToReference() 63 inline const CPDF_Reference* ToReference(const CPDF_Object* obj) { in ToReference()
|
D | cpdf_object_avail_unittest.cpp | 144 holder.AddObject(1, pdfium::MakeRetain<CPDF_Reference>(&holder, 2), in TEST() 162 holder.AddObject(1, pdfium::MakeRetain<CPDF_Reference>(&holder, 2), in TEST() 164 holder.AddObject(2, pdfium::MakeRetain<CPDF_Reference>(&holder, 3), in TEST() 166 holder.AddObject(3, pdfium::MakeRetain<CPDF_Reference>(&holder, 1), in TEST() 192 holder.GetTestObject(2)->GetDict()->SetNewFor<CPDF_Reference>("Parent", in TEST() 211 holder.GetTestObject(i)->GetDict()->SetNewFor<CPDF_Reference>( in TEST() 237 holder.AddObject(1, pdfium::MakeRetain<CPDF_Reference>(&holder, 2), in TEST() 249 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("ArrayRef", in TEST() 253 holder.GetTestObject(2)->AsArray()->AddNew<CPDF_Reference>(&holder, 2); in TEST() 268 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("DictRef", in TEST() [all …]
|
D | cpdf_object.cpp | 149 CPDF_Reference* CPDF_Object::AsReference() { in AsReference() 153 const CPDF_Reference* CPDF_Object::AsReference() const { in AsReference() 179 return pdfium::MakeRetain<CPDF_Reference>(holder, GetObjNum()); in MakeReference()
|
D | cpdf_document.cpp | 278 const CPDF_Reference* pKid = ToReference(pKidList->GetObjectAt(i)); in FindPageIndex() 358 m_pRootDict->SetNewFor<CPDF_Reference>("Pages", this, pPages->GetObjNum()); in CreateNewDoc() 390 pKidList->InsertNewAt<CPDF_Reference>(i, this, pPageDict->GetObjNum()); in InsertDeletePDFPage() 391 pPageDict->SetNewFor<CPDF_Reference>("Parent", this, in InsertDeletePDFPage() 434 pPagesList->AddNew<CPDF_Reference>(this, pPageDict->GetObjNum()); in InsertNewPage() 436 pPageDict->SetNewFor<CPDF_Reference>("Parent", this, pPages->GetObjNum()); in InsertNewPage() 455 pdfium::MakeRetain<CPDF_Reference>(this, m_pParser->GetInfoObjNum()); in GetInfo()
|
D | cpdf_page_object_avail_unittest.cpp | 102 holder.GetTestObject(1)->GetDict()->SetNewFor<CPDF_Reference>("Kids", &holder, in TEST() 106 holder.GetTestObject(2)->AsArray()->AddNew<CPDF_Reference>(&holder, 3); in TEST() 112 holder.GetTestObject(3)->GetDict()->SetNewFor<CPDF_Reference>("OtherPageData", in TEST()
|
D | cpdf_object.h | 25 class CPDF_Reference; variable 90 virtual CPDF_Reference* AsReference(); 91 virtual const CPDF_Reference* AsReference() const;
|
D | cpdf_data_avail.cpp | 264 const CPDF_Reference* pRef = in CheckRoot() 278 const CPDF_Reference* pRef = in PreparePageItem() 312 if (CPDF_Reference* pRef = ToReference(pArrayObj.Get())) in CheckPage() 359 if (CPDF_Reference* pRef = ToReference(pKidsArray->GetObjectAt(i))) in GetPageKids() 547 CPDF_Reference* pKid = ToReference(pArray->GetObjectAt(i)); in CheckArrayPageNode() 603 CPDF_Reference* pKid = pKids->AsReference(); in CheckUnknownPageNode() 612 CPDF_Reference* pKid = ToReference(pKidsArray->GetObjectAt(i)); in CheckUnknownPageNode()
|
D | cpdf_object_walker_unittest.cpp | 64 EXPECT_EQ(Walk(pdfium::MakeRetain<CPDF_Reference>(nullptr, 0).Get()), "Ref"); in TEST() 72 array->Add(pdfium::MakeRetain<CPDF_Reference>(nullptr, 0)); in TEST()
|
D | cpdf_object_avail.h | 16 class CPDF_Reference; variable
|
D | cpdf_object_unittest.cpp | 108 m_RefObjs.emplace_back(pdfium::MakeRetain<CPDF_Reference>( in SetUp() 753 arr->AddNew<CPDF_Reference>(holder.get(), obj_nums[i]); in TEST() 754 arr1->AddNew<CPDF_Reference>(holder.get(), indirect_objs[i]->GetObjNum()); in TEST() 774 array->AddNew<CPDF_Reference>(&objects_holder, 1234); in TEST() 880 dict->SetNewFor<CPDF_Reference>("foo", &objects_holder, 1234); in TEST() 936 arr_obj->InsertNewAt<CPDF_Reference>(0, &objects_holder, in TEST() 987 auto original_ref = pdfium::MakeRetain<CPDF_Reference>(obj_holder.get(), 42); in TEST()
|
D | fpdf_parser_utility_unittest.cpp | 101 dict->SetNewFor<CPDF_Reference>("f1", doc.get(), new_dict->GetObjNum()); in TEST()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_doc_unittest.cpp | 101 bookmarks[1].obj->SetNewFor<CPDF_Reference>("Parent", m_pIndirectObjs.Get(), in TEST_F() 103 bookmarks[1].obj->SetNewFor<CPDF_Reference>("Next", m_pIndirectObjs.Get(), in TEST_F() 107 bookmarks[2].obj->SetNewFor<CPDF_Reference>("Parent", m_pIndirectObjs.Get(), in TEST_F() 109 bookmarks[2].obj->SetNewFor<CPDF_Reference>("Prev", m_pIndirectObjs.Get(), in TEST_F() 114 bookmarks[0].obj->SetNewFor<CPDF_Reference>("First", m_pIndirectObjs.Get(), in TEST_F() 116 bookmarks[0].obj->SetNewFor<CPDF_Reference>("Last", m_pIndirectObjs.Get(), in TEST_F() 119 m_pRootObj->SetNewFor<CPDF_Reference>("Outlines", m_pIndirectObjs.Get(), in TEST_F() 145 bookmarks[1].obj->SetNewFor<CPDF_Reference>("Parent", m_pIndirectObjs.Get(), in TEST_F() 147 bookmarks[1].obj->SetNewFor<CPDF_Reference>("First", m_pIndirectObjs.Get(), in TEST_F() 151 bookmarks[2].obj->SetNewFor<CPDF_Reference>("Parent", m_pIndirectObjs.Get(), in TEST_F() [all …]
|
D | fpdf_transformpage.cpp | 245 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip() 246 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip() 249 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip() 250 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_TransFormWithClip() 251 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip() 252 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_TransFormWithClip() 417 pArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath() 420 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath() 421 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_InsertClipPath() 422 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_InsertClipPath()
|
D | fpdf_edittext.cpp | 111 pFontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum()); in LoadFontDesc() 308 pFontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, in LoadSimpleFont() 313 pFontDict->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in LoadSimpleFont() 347 pCIDFont->SetNewFor<CPDF_Reference>("CIDSystemInfo", pDoc, in LoadCompositeFont() 352 pCIDFont->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in LoadCompositeFont() 425 pCIDFont->SetNewFor<CPDF_Reference>("W", pDoc, widthsArray->GetObjNum()); in LoadCompositeFont() 430 pDescendant->AddNew<CPDF_Reference>(pDoc, pCIDFont->GetObjNum()); in LoadCompositeFont() 433 pFontDict->SetNewFor<CPDF_Reference>("ToUnicode", pDoc, in LoadCompositeFont()
|
D | fpdf_save.cpp | 103 CPDF_Reference* pDataSetsRefObj = pDataSetsPDFObj->AsReference(); in SaveXFADocumentData() 128 pArray->InsertNewAt<CPDF_Reference>(iLast + 1, pPDFDocument, in SaveXFADocumentData() 148 pArray->InsertNewAt<CPDF_Reference>(iLast + 1, pPDFDocument, in SaveXFADocumentData()
|
D | fpdf_attachment.cpp | 79 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum()); in FPDFDoc_AddAttachment() 86 pNames->SetNewFor<CPDF_Reference>("EmbeddedFiles", pDoc, in FPDFDoc_AddAttachment() 260 pEFDict->SetNewFor<CPDF_Reference>("F", pDoc, pFileStream->GetObjNum()); in FPDFAttachment_SetFile()
|
D | fpdf_ppo.cpp | 298 uint32_t GetNewObjId(CPDF_Reference* pRef); 336 pNewRoot->SetNewFor<CPDF_Reference>("Pages", dest(), in Init() 346 pNewPages->SetNewFor<CPDF_Reference>("Kids", dest(), in Init() 355 CPDF_Reference* pReference = pObj->AsReference(); in UpdateReference() 401 uint32_t CPDF_PageOrganizer::GetNewObjId(CPDF_Reference* pRef) { in GetNewObjId() 729 pPageXObject->SetNewFor<CPDF_Reference>(it.first, dest(), it.second); in FinishPage() 735 pDestPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, in FinishPage()
|
D | fpdf_flatten.cpp | 218 pContentsArray->AddNew<CPDF_Reference>(pDocument, in SetPageContents() 220 pPage->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDocument, in SetPageContents() 320 pPageXObject->SetNewFor<CPDF_Reference>(key, pDocument, in FPDFPage_Flatten() 398 pXObject->SetNewFor<CPDF_Reference>(sFormName, pDocument, in FPDFPage_Flatten()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentmanager.cpp | 30 CPDF_Reference* contents_reference = ToReference(contents_obj); in CPDF_PageContentManager() 51 CPDF_Reference* stream_reference = in GetStreamByIndex() 70 new_contents_array->AddNew<CPDF_Reference>(doc_.Get(), in AddStream() 72 new_contents_array->AddNew<CPDF_Reference>(doc_.Get(), in AddStream() 76 page_dict->SetNewFor<CPDF_Reference>("Contents", doc_.Get(), in AddStream() 85 contents_array_->AddNew<CPDF_Reference>(doc_.Get(), in AddStream() 93 page_dict->SetNewFor<CPDF_Reference>("Contents", doc_.Get(), in AddStream()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_structelement.cpp | 74 if (const CPDF_Reference* pRef = ToReference(pObj)) in LoadKids() 115 if (const CPDF_Reference* pRef = ToReference(pKidDict->GetObjectFor("Pg"))) in LoadKid() 126 const CPDF_Reference* pRef = ToReference(pKidDict->GetObjectFor("Stm")); in LoadKid() 135 const CPDF_Reference* pObj = ToReference(pKidDict->GetObjectFor("Obj")); in LoadKid()
|
D | cpdf_formfield_unittest.cpp | 24 root->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict1->GetObjNum()); in TEST() 34 dict2->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict3->GetObjNum()); in TEST() 40 dict3->SetNewFor<CPDF_Reference>("Parent", &obj_holder, root->GetObjNum()); in TEST()
|
D | cpvt_fontmap.cpp | 46 pFontList->SetNewFor<CPDF_Reference>(*sSysFontAlias, pDoc, in GetAnnotSysPDFFont()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 242 pCS->AddNew<CPDF_Reference>(m_pDocument.Get(), pCTS->GetObjNum()); in SetImage() 243 pDict->SetNewFor<CPDF_Reference>("ColorSpace", m_pDocument.Get(), in SetImage() 281 pDict->SetNewFor<CPDF_Reference>("SMask", m_pDocument.Get(), in SetImage()
|