/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object.cpp | 20 CPDF_Object::~CPDF_Object() {} in ~CPDF_Object() 22 CPDF_Object* CPDF_Object::GetDirect() { in GetDirect() 26 const CPDF_Object* CPDF_Object::GetDirect() const { in GetDirect() 30 RetainPtr<CPDF_Object> CPDF_Object::CloneObjectNonCyclic(bool bDirect) const { in CloneObjectNonCyclic() 31 std::set<const CPDF_Object*> visited_objs; in CloneObjectNonCyclic() 35 RetainPtr<CPDF_Object> CPDF_Object::CloneDirectObject() const { in CloneDirectObject() 39 RetainPtr<CPDF_Object> CPDF_Object::CloneNonCyclic( in CloneNonCyclic() 41 std::set<const CPDF_Object*>* pVisited) const { in CloneNonCyclic() 45 ByteString CPDF_Object::GetString() const { in GetString() 49 WideString CPDF_Object::GetUnicodeText() const { in GetUnicodeText() [all …]
|
D | cpdf_object_walker.h | 14 class CPDF_Object; variable 25 const CPDF_Object* Increment(); 26 const CPDF_Object* object() const { return object_.Get(); } in object() 29 explicit SubobjectIterator(const CPDF_Object* object); 31 virtual const CPDF_Object* IncrementImpl() = 0; 35 RetainPtr<const CPDF_Object> object_; 39 explicit CPDF_ObjectWalker(const CPDF_Object* root); 42 const CPDF_Object* GetNext(); 46 const CPDF_Object* GetParent() const { return parent_object_.Get(); } in GetParent() 51 const CPDF_Object* object); [all …]
|
D | cpdf_reference.cpp | 19 CPDF_Object::Type CPDF_Reference::GetType() const { in GetType() 24 const CPDF_Object* obj = SafeGetDirect(); in GetString() 29 const CPDF_Object* obj = SafeGetDirect(); in GetNumber() 34 const CPDF_Object* obj = SafeGetDirect(); in GetInteger() 39 CPDF_Object* obj = SafeGetDirect(); in GetDict() 44 const CPDF_Object* obj = SafeGetDirect(); in GetDict() 60 RetainPtr<CPDF_Object> CPDF_Reference::Clone() const { in Clone() 64 RetainPtr<CPDF_Object> CPDF_Reference::CloneNonCyclic( in CloneNonCyclic() 66 std::set<const CPDF_Object*>* pVisited) const { in CloneNonCyclic() 77 CPDF_Object* CPDF_Reference::SafeGetDirect() { in SafeGetDirect() [all …]
|
D | cpdf_array.cpp | 36 CPDF_Object::Type CPDF_Array::GetType() const { in GetType() 52 RetainPtr<CPDF_Object> CPDF_Array::Clone() const { in Clone() 56 RetainPtr<CPDF_Object> CPDF_Array::CloneNonCyclic( in CloneNonCyclic() 58 std::set<const CPDF_Object*>* pVisited) const { in CloneNonCyclic() 63 std::set<const CPDF_Object*> visited(*pVisited); in CloneNonCyclic() 91 CPDF_Object* CPDF_Array::GetObjectAt(size_t index) { in GetObjectAt() 97 const CPDF_Object* CPDF_Array::GetObjectAt(size_t index) const { in GetObjectAt() 103 CPDF_Object* CPDF_Array::GetDirectObjectAt(size_t index) { in GetDirectObjectAt() 109 const CPDF_Object* CPDF_Array::GetDirectObjectAt(size_t index) const { in GetDirectObjectAt() 130 const CPDF_Object* p = m_Objects[index].Get(); in GetBooleanAt() [all …]
|
D | cpdf_dictionary.cpp | 42 CPDF_Object::Type CPDF_Dictionary::GetType() const { in GetType() 66 RetainPtr<CPDF_Object> CPDF_Dictionary::Clone() const { in Clone() 70 RetainPtr<CPDF_Object> CPDF_Dictionary::CloneNonCyclic( in CloneNonCyclic() 72 std::set<const CPDF_Object*>* pVisited) const { in CloneNonCyclic() 78 std::set<const CPDF_Object*> visited(*pVisited); in CloneNonCyclic() 86 const CPDF_Object* CPDF_Dictionary::GetObjectFor(const ByteString& key) const { in GetObjectFor() 91 CPDF_Object* CPDF_Dictionary::GetObjectFor(const ByteString& key) { in GetObjectFor() 92 return const_cast<CPDF_Object*>( in GetObjectFor() 96 const CPDF_Object* CPDF_Dictionary::GetDirectObjectFor( in GetDirectObjectFor() 98 const CPDF_Object* p = GetObjectFor(key); in GetDirectObjectFor() [all …]
|
D | cpdf_indirect_object_holder.cpp | 19 CPDF_Object* FilterInvalidObjNum(CPDF_Object* obj) { in FilterInvalidObjNum() 20 return obj && obj->GetObjNum() != CPDF_Object::kInvalidObjNum ? obj : nullptr; in FilterInvalidObjNum() 33 CPDF_Object* CPDF_IndirectObjectHolder::GetIndirectObject( in GetIndirectObject() 40 CPDF_Object* CPDF_IndirectObjectHolder::GetOrParseIndirectObject( in GetOrParseIndirectObject() 42 if (objnum == 0 || objnum == CPDF_Object::kInvalidObjNum) in GetOrParseIndirectObject() 50 RetainPtr<CPDF_Object> pNewObj = ParseIndirectObject(objnum); in GetOrParseIndirectObject() 62 RetainPtr<CPDF_Object> CPDF_IndirectObjectHolder::ParseIndirectObject( in ParseIndirectObject() 67 CPDF_Object* CPDF_IndirectObjectHolder::AddIndirectObject( in AddIndirectObject() 68 RetainPtr<CPDF_Object> pObj) { in AddIndirectObject() 79 RetainPtr<CPDF_Object> pObj) { in ReplaceIndirectObjectIfHigherGeneration() [all …]
|
D | cpdf_reference.h | 18 class CPDF_Reference final : public CPDF_Object { 25 RetainPtr<CPDF_Object> Clone() const override; 26 CPDF_Object* GetDirect() override; 27 const CPDF_Object* GetDirect() const override; 38 RetainPtr<CPDF_Object> MakeReference( 49 RetainPtr<CPDF_Object> CloneNonCyclic( 51 std::set<const CPDF_Object*>* pVisited) const override; 52 CPDF_Object* SafeGetDirect(); 53 const CPDF_Object* SafeGetDirect() const; 59 inline CPDF_Reference* ToReference(CPDF_Object* obj) { in ToReference() [all …]
|
D | cpdf_array.h | 22 class CPDF_Array final : public CPDF_Object { 24 using const_iterator = std::vector<RetainPtr<CPDF_Object>>::const_iterator; 31 RetainPtr<CPDF_Object> Clone() const override; 40 CPDF_Object* GetObjectAt(size_t index); 41 const CPDF_Object* GetObjectAt(size_t index) const; 42 CPDF_Object* GetDirectObjectAt(size_t index); 43 const CPDF_Object* GetDirectObjectAt(size_t index) const; 105 CPDF_Object* Add(RetainPtr<CPDF_Object> pObj); 106 CPDF_Object* SetAt(size_t index, RetainPtr<CPDF_Object> pObj); 107 CPDF_Object* InsertAt(size_t index, RetainPtr<CPDF_Object> pObj); [all …]
|
D | cpdf_object.h | 30 class CPDF_Object : public Retainable { 53 virtual RetainPtr<CPDF_Object> Clone() const = 0; 57 virtual RetainPtr<CPDF_Object> CloneDirectObject() const; 59 virtual CPDF_Object* GetDirect(); 60 virtual const CPDF_Object* GetDirect() const; 106 virtual RetainPtr<CPDF_Object> CloneNonCyclic( 108 std::set<const CPDF_Object*>* pVisited) const; 112 virtual RetainPtr<CPDF_Object> MakeReference( 116 CPDF_Object() = default; 117 CPDF_Object(const CPDF_Object& src) = delete; [all …]
|
D | cpdf_dictionary.h | 27 class CPDF_Dictionary final : public CPDF_Object { 30 std::map<ByteString, RetainPtr<CPDF_Object>>::const_iterator; 37 RetainPtr<CPDF_Object> Clone() const override; 49 const CPDF_Object* GetObjectFor(const ByteString& key) const; 50 CPDF_Object* GetObjectFor(const ByteString& key); 51 const CPDF_Object* GetDirectObjectFor(const ByteString& key) const; 52 CPDF_Object* GetDirectObjectFor(const ByteString& key); 101 CPDF_Object* SetFor(const ByteString& key, RetainPtr<CPDF_Object> pObj); 107 RetainPtr<CPDF_Object> RemoveFor(const ByteString& key); 122 RetainPtr<CPDF_Object> CloneNonCyclic( [all …]
|
D | cpdf_object_unittest.cpp | 85 CPDF_Object* objs[] = { in SetUp() 91 CPDF_Object::kBoolean, CPDF_Object::kBoolean, CPDF_Object::kNumber, in SetUp() 92 CPDF_Object::kNumber, CPDF_Object::kString, CPDF_Object::kString, in SetUp() 93 CPDF_Object::kName, CPDF_Object::kArray, CPDF_Object::kDictionary, in SetUp() 94 CPDF_Object::kStream, CPDF_Object::kNullobj}; in SetUp() 107 for (CPDF_Object* pObj : m_IndirectObjs) { in SetUp() 113 bool Equal(const CPDF_Object* obj1, const CPDF_Object* obj2) { in Equal() 119 case CPDF_Object::kBoolean: in Equal() 121 case CPDF_Object::kNumber: in Equal() 124 case CPDF_Object::kString: in Equal() [all …]
|
D | cpdf_object_walker.cpp | 24 const CPDF_Object* IncrementImpl() override { in IncrementImpl() 47 const CPDF_Object* IncrementImpl() override { in IncrementImpl() 50 const CPDF_Object* result = dict_iterator_->second.Get(); in IncrementImpl() 80 const CPDF_Object* IncrementImpl() override { in IncrementImpl() 83 const CPDF_Object* result = arr_iterator_->Get(); in IncrementImpl() 99 const CPDF_Object* CPDF_ObjectWalker::SubobjectIterator::Increment() { in Increment() 105 const CPDF_Object* result = IncrementImpl(); in Increment() 113 const CPDF_Object* object) in SubobjectIterator() 120 CPDF_ObjectWalker::MakeIterator(const CPDF_Object* object) { in MakeIterator() 130 CPDF_ObjectWalker::CPDF_ObjectWalker(const CPDF_Object* root) in CPDF_ObjectWalker() [all …]
|
D | fpdf_parser_utility.cpp | 191 std::ostream& operator<<(std::ostream& buf, const CPDF_Object* pObj) { in operator <<() 197 case CPDF_Object::kNullobj: in operator <<() 200 case CPDF_Object::kBoolean: in operator <<() 201 case CPDF_Object::kNumber: in operator <<() 204 case CPDF_Object::kString: in operator <<() 207 case CPDF_Object::kName: { in operator <<() 212 case CPDF_Object::kReference: { in operator <<() 216 case CPDF_Object::kArray: { in operator <<() 220 const CPDF_Object* pElement = p->GetObjectAt(i); in operator <<() 230 case CPDF_Object::kDictionary: { in operator <<() [all …]
|
D | cpdf_indirect_object_holder.h | 25 std::map<uint32_t, RetainPtr<CPDF_Object>>::const_iterator; 30 CPDF_Object* GetIndirectObject(uint32_t objnum) const; 31 virtual CPDF_Object* GetOrParseIndirectObject(uint32_t objnum); 60 CPDF_Object* AddIndirectObject(RetainPtr<CPDF_Object> pObj); 64 RetainPtr<CPDF_Object> pObj); 77 virtual RetainPtr<CPDF_Object> ParseIndirectObject(uint32_t objnum); 81 std::map<uint32_t, RetainPtr<CPDF_Object>> m_IndirectObjs;
|
D | cpdf_stream.h | 18 class CPDF_Stream final : public CPDF_Object { 27 RetainPtr<CPDF_Object> Clone() const override; 71 RetainPtr<CPDF_Object> CloneNonCyclic( 73 std::set<const CPDF_Object*>* pVisited) const override; 82 inline CPDF_Stream* ToStream(CPDF_Object* obj) { in ToStream() 86 inline const CPDF_Stream* ToStream(const CPDF_Object* obj) { in ToStream() 90 inline RetainPtr<CPDF_Stream> ToStream(RetainPtr<CPDF_Object> obj) { in ToStream()
|
D | cpdf_object_avail.h | 15 class CPDF_Object; variable 25 CPDF_Object* root); 34 virtual bool ExcludeObject(const CPDF_Object* object) const; 39 bool AppendObjectSubRefs(const CPDF_Object* object, 46 RetainPtr<CPDF_Object> root_;
|
D | cpdf_object_stream.h | 22 static bool IsObjectsStreamObject(const CPDF_Object* object); 32 RetainPtr<CPDF_Object> ParseObject(CPDF_IndirectObjectHolder* pObjList, 42 RetainPtr<CPDF_Object> ParseObjectAtOffset( 46 uint32_t obj_num_ = CPDF_Object::kInvalidObjNum; 47 uint32_t extends_obj_num_ = CPDF_Object::kInvalidObjNum;
|
D | cpdf_indirect_object_holder_unittest.cpp | 22 MOCK_METHOD1(ParseIndirectObject, RetainPtr<CPDF_Object>(uint32_t objnum)); 33 [&mock_holder](uint32_t objnum) -> RetainPtr<CPDF_Object> { in TEST() 34 const CPDF_Object* same_parse = in TEST() 53 ::testing::Invoke([](uint32_t objnum) -> RetainPtr<CPDF_Object> { in TEST() 71 mock_holder.GetOrParseIndirectObject(CPDF_Object::kInvalidObjNum)); in TEST() 79 CPDF_Object::kInvalidObjNum, pdfium::MakeRetain<CPDF_Null>())); in TEST()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_generalstate.h | 17 class CPDF_Object; variable 41 CPDF_Object* GetSoftMask() const; 42 void SetSoftMask(CPDF_Object* pObject); 44 const CPDF_Object* GetTR() const; 45 void SetTR(CPDF_Object* pObject); 64 void SetBG(CPDF_Object* pObject); 65 void SetUCR(CPDF_Object* pObject); 66 void SetHT(CPDF_Object* pObject); 90 RetainPtr<CPDF_Object> m_pSoftMask; 94 RetainPtr<const CPDF_Object> m_pTR; [all …]
|
D | cpdf_function.h | 15 class CPDF_Object; variable 29 static std::unique_ptr<CPDF_Function> Load(const CPDF_Object* pFuncObj); 56 const CPDF_Object* pFuncObj, 57 std::set<const CPDF_Object*>* pVisited); 58 bool Init(const CPDF_Object* pObj, std::set<const CPDF_Object*>* pVisited); 59 virtual bool v_Init(const CPDF_Object* pObj, 60 std::set<const CPDF_Object*>* pVisited) = 0;
|
D | cpdf_docpagedata.h | 28 class CPDF_Object; variable 66 RetainPtr<CPDF_ColorSpace> GetColorSpace(const CPDF_Object* pCSObj, 73 const CPDF_Object* pCSObj, 75 std::set<const CPDF_Object*>* pVisited); 77 RetainPtr<CPDF_Pattern> GetPattern(CPDF_Object* pPatternObj, 93 const CPDF_Object* pCSObj, 95 std::set<const CPDF_Object*>* pVisited, 96 std::set<const CPDF_Object*>* pVisitedInternal); 110 std::map<const CPDF_Object*, ObservedPtr<CPDF_ColorSpace>> m_ColorSpaceMap; 113 std::map<const CPDF_Object*, ObservedPtr<CPDF_Pattern>> m_PatternMap;
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec.h | 16 class CPDF_Object; variable 21 explicit CPDF_FileSpec(const CPDF_Object* pObj); 22 explicit CPDF_FileSpec(CPDF_Object* pObj); 31 const CPDF_Object* GetObj() const { return m_pObj.Get(); } in GetObj() 32 CPDF_Object* GetObj() { return m_pWritableObj.Get(); } in GetObj() 43 RetainPtr<const CPDF_Object> const m_pObj; 44 RetainPtr<CPDF_Object> const m_pWritableObj;
|
D | cpdf_action.cpp | 38 const CPDF_Object* pType = m_pDict->GetObjectFor("Type"); in GetType() 61 const CPDF_Object* pDest = m_pDict->GetDirectObjectFor("D"); in GetDest() 81 const CPDF_Object* pFile = m_pDict->GetDirectObjectFor(pdfium::stream::kF); in GetFilePath() 127 std::vector<const CPDF_Object*> CPDF_Action::GetAllFields() const { in GetAllFields() 128 std::vector<const CPDF_Object*> result; in GetAllFields() 133 const CPDF_Object* pFields = csType == "Hide" in GetAllFields() 143 const CPDF_Object* pObj = pArray->GetDirectObjectAt(i); in GetAllFields() 152 const CPDF_Object* pObject = GetJavaScriptObject(); in MaybeGetJavaScript() 159 const CPDF_Object* pObject = GetJavaScriptObject(); in GetJavaScript() 167 const CPDF_Object* pNext = m_pDict->GetDirectObjectFor("Next"); in GetSubActionsCount() [all …]
|
D | cpdf_formfield.cpp | 35 const CPDF_Object* GetFieldAttrRecursive(const CPDF_Dictionary* pFieldDict, in GetFieldAttrRecursive() 42 const CPDF_Object* pAttr = pFieldDict->GetDirectObjectFor(name); in GetFieldAttrRecursive() 62 const CPDF_Object* CPDF_FormField::GetFieldAttr( in GetFieldAttr() 69 CPDF_Object* CPDF_FormField::GetFieldAttr(CPDF_Dictionary* pFieldDict, in GetFieldAttr() 71 return const_cast<CPDF_Object*>(GetFieldAttrRecursive( in GetFieldAttr() 105 const CPDF_Object* ft_attr = in InitFieldFlags() 182 const CPDF_Object* pDV = GetDefaultValueObject(); in ResetField() 190 const CPDF_Object* pV = GetValueObject(); in ResetField() 204 RetainPtr<CPDF_Object> pClone = pDV->Clone(); in ResetField() 265 CPDF_Object* pObj = GetFieldAttr(m_pDict.Get(), pdfium::form_fields::kAA); in GetAdditionalAction() [all …]
|
D | cpdf_formfield.h | 24 class CPDF_Object; variable 77 static const CPDF_Object* GetFieldAttr(const CPDF_Dictionary* pFieldDict, 79 static CPDF_Object* GetFieldAttr(CPDF_Dictionary* pFieldDict, 144 void SetOpt(RetainPtr<CPDF_Object> pOpt); 167 const CPDF_Object* GetDefaultValueObject() const; 168 const CPDF_Object* GetValueObject() const; 171 const CPDF_Object* GetSelectedIndicesObject() const; 175 const CPDF_Object* GetValueOrSelectedIndicesObject() const;
|