Home
last modified time | relevance | path

Searched refs:CPDF_Array (Results 1 – 25 of 108) sorted by relevance

12345

/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.cpp21 CPDF_Array::CPDF_Array() {} in CPDF_Array() function in CPDF_Array
23 CPDF_Array::CPDF_Array(const WeakPtr<ByteStringPool>& pPool) : m_pPool(pPool) {} in CPDF_Array() function in CPDF_Array
25 CPDF_Array::~CPDF_Array() { in ~CPDF_Array()
34 CPDF_Object::Type CPDF_Array::GetType() const { in GetType()
38 bool CPDF_Array::IsArray() const { in IsArray()
42 CPDF_Array* CPDF_Array::AsArray() { in AsArray()
46 const CPDF_Array* CPDF_Array::AsArray() const { in AsArray()
50 std::unique_ptr<CPDF_Object> CPDF_Array::Clone() const { in Clone()
54 std::unique_ptr<CPDF_Object> CPDF_Array::CloneNonCyclic( in CloneNonCyclic()
58 auto pCopy = pdfium::MakeUnique<CPDF_Array>(); in CloneNonCyclic()
[all …]
Dcpdf_array.h21 class CPDF_Array : public CPDF_Object {
26 CPDF_Array();
27 explicit CPDF_Array(const WeakPtr<ByteStringPool>& pPool);
28 ~CPDF_Array() override;
34 CPDF_Array* AsArray() override;
35 const CPDF_Array* AsArray() const override;
48 CPDF_Array* GetArrayAt(size_t index) const;
118 inline CPDF_Array* ToArray(CPDF_Object* obj) { in ToArray()
122 inline const CPDF_Array* ToArray(const CPDF_Object* obj) { in ToArray()
126 inline std::unique_ptr<CPDF_Array> ToArray(std::unique_ptr<CPDF_Object> obj) { in ToArray()
[all …]
Dcpdf_array_unittest.cpp18 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
37 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
47 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
59 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
78 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
95 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
98 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->Clone()); in TEST()
112 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
116 auto arr_elem = pdfium::MakeUnique<CPDF_Array>(); in TEST()
130 std::unique_ptr<CPDF_Array> arr1 = ToArray(arr->Clone()); in TEST()
[all …]
Dcpdf_object_unittest.cpp24 void TestArrayAccessors(const CPDF_Array* arr, in TestArrayAccessors()
30 CPDF_Array* arr_val, in TestArrayAccessors()
60 m_ArrayObj = new CPDF_Array; in SetUp()
123 const CPDF_Array* array1 = obj1->AsArray(); in Equal()
124 const CPDF_Array* array2 = obj2->AsArray(); in Equal()
182 UnownedPtr<CPDF_Array> m_ArrayObj;
265 const CPDF_Array* const direct_obj_results[] = { in TEST_F()
398 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
419 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
435 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST()
[all …]
Dcpdf_document.cpp194 void InsertWidthArrayImpl(int* widths, int size, CPDF_Array* pWidthArray) { in InsertWidthArrayImpl()
205 CPDF_Array* pWidthArray1 = pWidthArray->AddNew<CPDF_Array>(); in InsertWidthArrayImpl()
213 void InsertWidthArray(HDC hDC, int start, int end, CPDF_Array* pWidthArray) { in InsertWidthArray()
237 CPDF_Array* pWidthArray) { in InsertWidthArray1()
253 CPDF_Array* pKidList = pPages->GetArrayFor("Kids"); in CountPages()
303 std::unique_ptr<CPDF_Array> pWidths) { in ProcessNonbCJK()
324 std::unique_ptr<CPDF_Array> bbox, in CalculateFontDesc()
413 CPDF_Array* pKidList = pPages->GetArrayFor("Kids"); in TraversePDFPages()
535 CPDF_Array* pKidList = pNode->GetArrayFor("Kids"); in FindPageIndex()
665 pPages->SetNewFor<CPDF_Array>("Kids"); in CreateNewDoc()
[all …]
Dcpdf_security_handler.h20 class CPDF_Array; variable
31 const CPDF_Array* pIdArray,
34 const CPDF_Array* pIdArray,
38 const CPDF_Array* pIdArray,
81 const CPDF_Array* pIdArray,
Dcpdf_document_unittest.cpp28 CPDF_Dictionary* CreatePageTreeNode(std::unique_ptr<CPDF_Array> kids, in CreatePageTreeNode()
31 CPDF_Array* pUnowned = pDoc->AddIndirectObject(std::move(kids))->AsArray(); in CreatePageTreeNode()
54 auto zeroToTwo = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages()
64 auto zeroToThree = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages()
71 auto fourFive = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages()
78 auto justSix = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages()
83 auto allPages = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages()
110 auto allPages = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentWithPageWithoutPageNum()
Dcpdf_dictionary.cpp142 CPDF_Array* CPDF_Dictionary::GetArrayFor(const ByteString& key) const { in GetArrayFor()
152 CPDF_Array* pArray = GetArrayFor(key); in GetRectFor()
160 CPDF_Array* pArray = GetArrayFor(key); in GetMatrixFor()
223 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetRectFor()
232 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetMatrixFor()
Dcpdf_object.h17 class CPDF_Array; variable
78 virtual CPDF_Array* AsArray();
79 virtual const CPDF_Array* AsArray() const;
122 static const bool value = std::is_same<T, CPDF_Array>::value ||
Dcpdf_object_walker_unittest.cpp60 EXPECT_EQ(Walk(pdfium::MakeUnique<CPDF_Array>().get()), "Arr"); in TEST()
71 auto array = pdfium::MakeUnique<CPDF_Array>(); in TEST()
87 auto level_1 = pdfium::MakeUnique<CPDF_Array>(); in TEST()
104 auto root_array = pdfium::MakeUnique<CPDF_Array>(); in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree.cpp22 std::pair<WideString, WideString> GetNodeLimitsMaybeSwap(CPDF_Array* pLimits) { in GetNodeLimitsMaybeSwap()
40 const CPDF_Array* pFind, in GetNodeAncestorsLimits()
42 std::vector<CPDF_Array*>* pLimits) { in GetNodeAncestorsLimits()
51 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in GetNodeAncestorsLimits()
72 const CPDF_Array* pFind, in UpdateNodesAndLimitsUponDeletion()
78 CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in UpdateNodesAndLimitsUponDeletion()
84 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in UpdateNodesAndLimitsUponDeletion()
109 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in UpdateNodesAndLimitsUponDeletion()
136 CPDF_Array* pKidLimits = pKids->GetDictAt(j)->GetArrayFor("Limits"); in UpdateNodesAndLimitsUponDeletion()
160 CPDF_Array** ppFind, in SearchNameNodeByName()
[all …]
Dcpdf_nametree_unittest.cpp14 void AddNameKeyValue(CPDF_Array* pNames, const char* key, const int value) { in AddNameKeyValue()
19 void CheckNameKeyValue(CPDF_Array* pNames, in CheckNameKeyValue()
30 CPDF_Array* pLimits = pNode->SetNewFor<CPDF_Array>("Limits"); in AddLimitsArray()
38 CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in CheckLimitsArray()
45 CPDF_Array* pKids = pRootDict->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict()
50 pKids = pKid1->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict()
55 pKids = pKid2->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict()
60 CPDF_Array* pNames = pKid3->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict()
65 pNames = pKid4->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict()
70 pNames = pKid5->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict()
[all …]
Dcpdf_occontext.cpp15 int32_t FindGroup(const CPDF_Array* pArray, const CPDF_Dictionary* pGroupDict) { in FindGroup()
34 if (CPDF_Array* pArray = pIntent->AsArray()) { in HasIntent()
53 CPDF_Array* pOCGs = pOCProperties->GetArrayFor("OCGs"); in GetConfig()
61 CPDF_Array* pConfigs = pOCProperties->GetArrayFor("Configs"); in GetConfig()
109 CPDF_Array* pArray = pConfig->GetArrayFor("ON"); in LoadOCGStateFromConfig()
132 CPDF_Array* pOCGs = pUsage->GetArrayFor("OCGs"); in LoadOCGStateFromConfig()
195 bool CPDF_OCContext::GetOCGVE(CPDF_Array* pExpression, int nLevel) { in GetOCGVE()
206 if (CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
223 else if (CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
240 CPDF_Array* pVE = pOCMDDict->GetArrayFor("VE"); in LoadOCMDState()
[all …]
Dcpdf_dest.cpp42 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageIndex()
57 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetPageObjNum()
72 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetZoomMode()
99 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetXYZ()
137 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetNumParams()
147 CPDF_Array* pArray = ToArray(m_pObj.Get()); in GetParam()
Dcpdf_formfield.cpp430 if (CPDF_Array* pArray = pValue->AsArray()) in CountSelectedItems()
451 CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex()
512 CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected()
546 CPDF_Array* pArray = m_pDict->SetNewFor<CPDF_Array>("V"); in SetItemSelection()
556 CPDF_Array* pI = m_pDict->SetNewFor<CPDF_Array>("I"); in SetItemSelection()
568 auto pArray = pdfium::MakeUnique<CPDF_Array>(); in SetItemSelection()
613 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in CountOptions()
618 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in GetOptionText()
625 if (CPDF_Array* pOptionArray = pOption->AsArray()) in GetOptionText()
667 CPDF_Array* pOpt = ToArray(FPDF_GetFieldAttr(m_pDict.Get(), "Opt")); in InsertOption()
[all …]
Dcpdf_numbertree.cpp15 CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in SearchNumberNode()
20 CPDF_Array* pNumbers = pNode->GetArrayFor("Nums"); in SearchNumberNode()
32 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in SearchNumberNode()
Dcpdf_actionfields.cpp39 if (CPDF_Array* pArray = pFields->AsArray()) in GetFieldsCount()
65 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetAllFields()
97 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetField()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp33 CPDF_Array* pBoundingBoxArray = page->m_pFormDict->SetNewFor<CPDF_Array>(key); in SetBoundingBox()
46 CPDF_Array* pArray = page->m_pFormDict->GetArrayFor(key); in GetBoundingBox()
150 if (CPDF_Array* pContentArray = ToArray(pContentObj)) { in FPDFPage_TransFormWithClip()
154 CPDF_Array* pContentArray = pDoc->NewIndirect<CPDF_Array>(); in FPDFPage_TransFormWithClip()
300 if (CPDF_Array* pArray = ToArray(pContentObj)) { in FPDFPage_InsertClipPath()
303 CPDF_Array* pContentArray = pDoc->NewIndirect<CPDF_Array>(); in FPDFPage_InsertClipPath()
Dcpdfsdk_baannot.cpp177 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in SetBorderWidth()
190 if (CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border")) in GetBorderWidth()
241 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in GetBorderStyle()
244 CPDF_Array* pDP = pBorder->GetArrayAt(3); in GetBorderStyle()
254 CPDF_Array* pArray = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Array>("C"); in SetColor()
268 if (CPDF_Array* pEntry = m_pAnnot->GetAnnotDict()->GetArrayFor("C")) { in GetColor()
Dfpdfannot.cpp224 CPDF_Array* pAnnotList = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_CreateAnnot()
226 pAnnotList = pPage->m_pFormDict->SetNewFor<CPDF_Array>("Annots"); in FPDFPage_CreateAnnot()
237 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnotCount()
247 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnot()
263 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnotIndex()
290 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_RemoveAnnot()
492 CPDF_Array* pColor = pAnnotDict->GetArrayFor(key); in FPDFAnnot_SetColor()
496 pColor = pAnnotDict->SetNewFor<CPDF_Array>(key); in FPDFAnnot_SetColor()
525 CPDF_Array* pColor = pAnnotDict->GetArrayFor( in FPDFAnnot_GetColor()
594 CPDF_Array* pQuadPoints = pAnnotDict->GetArrayFor("QuadPoints"); in FPDFAnnot_SetAttachmentPoints()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp35 void CPDF_AllStates::SetLineDash(CPDF_Array* pArray, float phase, float scale) { in SetLineDash()
65 CPDF_Array* pDash = pObject->AsArray(); in ProcessExtGS()
69 CPDF_Array* pArray = pDash->GetArrayAt(0); in ProcessExtGS()
80 CPDF_Array* pFont = pObject->AsArray(); in ProcessExtGS()
96 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS()
Dcpdf_colorspace.h30 class CPDF_Array; variable
81 CPDF_Array* GetArray() const { return m_pArray.Get(); } in GetArray()
90 CPDF_Array* pArray,
98 UnownedPtr<CPDF_Array> m_pArray;
Dcpdf_colorspace.cpp81 CPDF_Array* pArray,
103 CPDF_Array* pArray,
129 CPDF_Array* pArray,
157 CPDF_Array* pArray,
193 CPDF_Array* pArray,
219 CPDF_Array* pArray,
240 CPDF_Array* pArray,
423 CPDF_Array* pArray = pObj->AsArray(); in Load()
560 CPDF_Array* pArray, in v_Load()
566 CPDF_Array* pParam = pDict->GetArrayFor("WhitePoint"); in v_Load()
[all …]
Dcpdf_image.cpp104 CPDF_Array* pDecode = pDict->SetNewFor<CPDF_Array>("Decode"); in InitJPEG()
199 CPDF_Array* pArray = pDict->SetNewFor<CPDF_Array>("Decode"); in SetImage()
204 CPDF_Array* pCS = pDict->SetNewFor<CPDF_Array>("ColorSpace"); in SetImage()
224 CPDF_Array* pCS = m_pDocument->NewIndirect<CPDF_Array>(); in SetImage()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.h19 class CPDF_Array; variable
47 CPDF_Array* GetIDArray() const { return m_pIDArray.get(); } in GetIDArray()
101 std::unique_ptr<CPDF_Array> m_pIDArray;

12345