Home
last modified time | relevance | path

Searched refs:AsDictionary (Results 1 – 25 of 29) sorted by relevance

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_dictionary.h38 CPDF_Dictionary* AsDictionary() override;
39 const CPDF_Dictionary* AsDictionary() const override;
113 return obj ? obj->AsDictionary() : nullptr; in ToDictionary()
117 return obj ? obj->AsDictionary() : nullptr; in ToDictionary()
Dcpdf_object.cpp118 CPDF_Dictionary* CPDF_Object::AsDictionary() { in AsDictionary() function in CPDF_Object
122 const CPDF_Dictionary* CPDF_Object::AsDictionary() const { in AsDictionary() function in CPDF_Object
Dcpdf_object.h82 virtual CPDF_Dictionary* AsDictionary();
83 virtual const CPDF_Dictionary* AsDictionary() const;
Dcpdf_dictionary.cpp55 CPDF_Dictionary* CPDF_Dictionary::AsDictionary() { in AsDictionary() function in CPDF_Dictionary
59 const CPDF_Dictionary* CPDF_Dictionary::AsDictionary() const { in AsDictionary() function in CPDF_Dictionary
135 if (CPDF_Dictionary* pDict = p->AsDictionary()) in GetDictFor()
Dcpdf_object_unittest.cpp134 const CPDF_Dictionary* dict1 = obj1->AsDictionary(); in Equal()
135 const CPDF_Dictionary* dict2 = obj2->AsDictionary(); in Equal()
368 EXPECT_EQ(m_DirectObjs[i].get(), m_DirectObjs[i]->AsDictionary()); in TEST_F()
371 EXPECT_EQ(nullptr, m_DirectObjs[i]->AsDictionary()); in TEST_F()
893 EXPECT_EQ(nullptr, cloned_dict->AsDictionary()->GetObjectFor("arr")); in TEST()
910 EXPECT_EQ(nullptr, cloned_dict->AsDictionary()->GetObjectFor("stream")); in TEST()
Dcpdf_object_walker.cpp120 return pdfium::MakeUnique<DictionaryIterator>(object->AsDictionary()); in MakeIterator()
Dcpdf_object_walker_unittest.cpp141 EXPECT_EQ(walker.GetParent()->AsDictionary()->GetObjectFor( in TEST()
Dfpdf_parser_utility.cpp193 const CPDF_Dictionary* p = pObj->AsDictionary(); in operator <<()
Dcpdf_array.cpp130 if (CPDF_Dictionary* pDict = p->AsDictionary()) in GetDictAt()
Dcpdf_parser.cpp334 if (CPDF_Dictionary* pEncryptDict = pEncryptObj->AsDictionary()) { in SetEncryptHandler()
893 pStream ? pStream->GetDict() : pObj->AsDictionary()) { in RebuildCrossRef()
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec.cpp94 if (CPDF_Dictionary* pDict = m_pObj->AsDictionary()) { in GetFileName()
120 CPDF_Dictionary* pDict = m_pObj->AsDictionary(); in GetFileStream()
189 } else if (CPDF_Dictionary* pDict = m_pObj->AsDictionary()) { in SetFileName()
Dcpdf_occontext.cpp204 if (CPDF_Dictionary* pDict = pOCGObj->AsDictionary()) in GetOCGVE()
221 if (CPDF_Dictionary* pDict = pOCGObj->AsDictionary()) in GetOCGVE()
249 if (const CPDF_Dictionary* pDict = pOCGObj->AsDictionary()) in LoadOCMDState()
Dcpdf_filespec_unittest.cpp190 file_spec.GetObj()->AsDictionary()->GetDictFor("EF"); in TEST()
235 file_spec.GetObj()->AsDictionary()->GetDictFor("EF"); in TEST()
Dcpdf_structelement.cpp98 CPDF_Dictionary* pKidDict = pKidObj->AsDictionary(); in LoadKid()
Dcpdf_pagelabel.cpp109 if (CPDF_Dictionary* pLabel = pValue->AsDictionary()) { in GetLabel()
Dcpdf_formcontrol.cpp79 CPDF_Dictionary* pSubDict = pObjDirect1->AsDictionary(); in SetOnStateName()
Dcpdf_nametree.cpp439 if (CPDF_Dictionary* pDict = pValue->AsDictionary()) in LookupNamedDest()
Dcpdf_annot.cpp84 CPDF_Dictionary* pDict = psub->AsDictionary(); in FPDFDOC_GetAnnotAPInternal()
/external/pdfium/core/fpdfapi/page/
Dcpdf_function.cpp27 else if (CPDF_Dictionary* pDict = pFuncObj->AsDictionary()) in Load()
69 CPDF_Dictionary* pDict = pStream ? pStream->GetDict() : pObj->AsDictionary(); in Init()
Dcpdf_streamcontentparser.cpp175 CPDF_Dictionary* pDict = pObj->AsDictionary(); in ReplaceAbbr()
600 if (CPDF_Dictionary* pDict = pProperty->AsDictionary()) { in Handle_BeginMarkedContent_Dictionary()
/external/pdfium/fpdfsdk/
Dfpdfppo.cpp269 CPDF_Dictionary* pDict = pObj->AsDictionary(); in UpdateReference()
329 if (CPDF_Dictionary* pDictClone = pClone->AsDictionary()) { in GetNewObjId()
Dfpdfattachment.cpp253 pFile->AsDictionary()->SetNewFor<CPDF_Dictionary>("EF"); in FPDFAttachment_SetFile()
Dcpdfsdk_baannot.cpp318 pDict = pDoc->AddIndirectObject(pDict->Clone())->AsDictionary(); in SetAction()
Dfpdf_transformpage.cpp174 pDict = pObj->AsDictionary(); in FPDFPage_TransFormWithClip()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp391 CPDF_Dictionary* pDict = pEncoding->AsDictionary(); in LoadPDFEncoding()

12