/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_array.cpp | 20 CPDF_Array::CPDF_Array() {} in CPDF_Array() function in CPDF_Array 22 CPDF_Array::CPDF_Array(const CFX_WeakPtr<CFX_ByteStringPool>& 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 …]
|
D | cpdf_array_unittest.cpp | 18 std::unique_ptr<CPDF_Array> arr(new CPDF_Array); in TEST() 35 std::unique_ptr<CPDF_Array> arr(new CPDF_Array); in TEST() 52 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() 71 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() 88 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() 91 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->Clone()); in TEST() 105 std::unique_ptr<CPDF_Array> arr(new CPDF_Array); in TEST() 110 auto arr_elem = pdfium::MakeUnique<CPDF_Array>(); in TEST() 124 std::unique_ptr<CPDF_Array> arr1 = ToArray(arr->Clone()); in TEST() 127 std::unique_ptr<CPDF_Array> arr2 = ToArray(arr->CloneDirectObject()); in TEST() [all …]
|
D | cpdf_array.h | 22 class CPDF_Array : public CPDF_Object { 27 CPDF_Array(); 28 explicit CPDF_Array(const CFX_WeakPtr<CFX_ByteStringPool>& pPool); 29 ~CPDF_Array() override; 35 CPDF_Array* AsArray() override; 36 const CPDF_Array* AsArray() const override; 47 CPDF_Array* GetArrayAt(size_t index) const; 116 inline CPDF_Array* ToArray(CPDF_Object* obj) { in ToArray() 120 inline const CPDF_Array* ToArray(const CPDF_Object* obj) { in ToArray() 124 inline std::unique_ptr<CPDF_Array> ToArray(std::unique_ptr<CPDF_Object> obj) { in ToArray() [all …]
|
D | cpdf_object_unittest.cpp | 26 void TestArrayAccessors(const CPDF_Array* arr, in TestArrayAccessors() 32 CPDF_Array* arr_val, in TestArrayAccessors() 62 m_ArrayObj = new CPDF_Array; in SetUp() 125 const CPDF_Array* array1 = obj1->AsArray(); in Equal() 126 const CPDF_Array* array2 = obj2->AsArray(); in Equal() 184 CPDF_Array* m_ArrayObj; 261 const CPDF_Array* const direct_obj_results[] = { in TEST_F() 394 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() 415 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() 431 auto arr = pdfium::MakeUnique<CPDF_Array>(); in TEST() [all …]
|
D | cpdf_document.cpp | 193 void InsertWidthArrayImpl(int* widths, int size, CPDF_Array* pWidthArray) { in InsertWidthArrayImpl() 204 CPDF_Array* pWidthArray1 = pWidthArray->AddNew<CPDF_Array>(); in InsertWidthArrayImpl() 212 void InsertWidthArray(HDC hDC, int start, int end, CPDF_Array* pWidthArray) { in InsertWidthArray() 236 CPDF_Array* pWidthArray) { in InsertWidthArray1() 252 CPDF_Array* pKidList = pPages->GetArrayFor("Kids"); in CountPages() 302 std::unique_ptr<CPDF_Array> pWidths) { in ProcessNonbCJK() 323 std::unique_ptr<CPDF_Array> bbox, in CalculateFontDesc() 407 CPDF_Array* pKidList = pPages->GetArrayFor("Kids"); in TraversePDFPages() 534 CPDF_Array* pKidList = pNode->GetArrayFor("Kids"); in FindPageIndex() 662 pPages->SetNewFor<CPDF_Array>("Kids"); in CreateNewDoc() [all …]
|
D | cpdf_object.h | 17 class CPDF_Array; variable 74 virtual CPDF_Array* AsArray(); 75 virtual const CPDF_Array* AsArray() const; 92 friend class CPDF_Array; 122 static const bool value = std::is_same<T, CPDF_Array>::value ||
|
D | cpdf_document_unittest.cpp | 25 CPDF_Dictionary* CreatePageTreeNode(std::unique_ptr<CPDF_Array> kids, in CreatePageTreeNode() 28 CPDF_Array* pUnowned = pDoc->AddIndirectObject(std::move(kids))->AsArray(); in CreatePageTreeNode() 51 auto zeroToTwo = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages() 61 auto zeroToThree = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages() 68 auto fourFive = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages() 75 auto justSix = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages() 80 auto allPages = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentForPages() 102 auto allPages = pdfium::MakeUnique<CPDF_Array>(); in CPDF_TestDocumentWithPageWithoutPageNum()
|
D | cpdf_dictionary.cpp | 140 CPDF_Array* CPDF_Dictionary::GetArrayFor(const CFX_ByteString& key) const { in GetArrayFor() 150 CPDF_Array* pArray = GetArrayFor(key); in GetRectFor() 158 CPDF_Array* pArray = GetArrayFor(key); in GetMatrixFor() 218 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetRectFor() 227 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetMatrixFor()
|
D | cpdf_security_handler.h | 20 class CPDF_Array; variable 37 CPDF_Array* pIdArray, 45 CPDF_Array* pIdArray, 90 CPDF_Array* pIdArray,
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree.cpp | 20 CPDF_Array** ppFind, in SearchNameNode() 25 CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in SearchNameNode() 40 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in SearchNameNode() 61 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in SearchNameNode() 82 CPDF_Array** ppFind, in SearchNameNode() 87 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in SearchNameNode() 99 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in SearchNameNode() 118 CPDF_Array* pNames = pNode->GetArrayFor("Names"); in CountNames() 122 CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in CountNames() 182 CPDF_Array* CPDF_NameTree::LookupNamedDest(CPDF_Document* pDoc, in LookupNamedDest() [all …]
|
D | cpdf_occontext.cpp | 15 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 …]
|
D | cpdf_dest.cpp | 22 CPDF_Array* pArray = ToArray(m_pObj); in GetPageIndex() 37 CPDF_Array* pArray = ToArray(m_pObj); in GetPageObjNum() 52 CPDF_Array* pArray = ToArray(m_pObj); in GetZoomMode() 79 CPDF_Array* pArray = ToArray(m_pObj); in GetXYZ() 117 CPDF_Array* pArray = ToArray(m_pObj); in GetParam()
|
D | cpdf_formfield.cpp | 430 if (CPDF_Array* pArray = pValue->AsArray()) in CountSelectedItems() 451 CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex() 513 CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected() 547 CPDF_Array* pArray = m_pDict->SetNewFor<CPDF_Array>("V"); in SetItemSelection() 557 CPDF_Array* pI = m_pDict->SetNewFor<CPDF_Array>("I"); in SetItemSelection() 569 std::unique_ptr<CPDF_Array> pArray(new CPDF_Array); in SetItemSelection() 614 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in CountOptions() 619 CPDF_Array* pArray = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in GetOptionText() 626 if (CPDF_Array* pOptionArray = pOption->AsArray()) in GetOptionText() 669 CPDF_Array* pOpt = ToArray(FPDF_GetFieldAttr(m_pDict, "Opt")); in InsertOption() [all …]
|
D | cpdf_numbertree.cpp | 15 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()
|
D | cpdf_actionfields.cpp | 34 if (CPDF_Array* pArray = pFields->AsArray()) in GetFieldsCount() 60 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetAllFields() 92 } else if (CPDF_Array* pArray = pFields->AsArray()) { in GetField()
|
D | doc_tagged.cpp | 85 else if (CPDF_Array* pArray = pKids->AsArray()) in LoadPageTree() 101 CPDF_Array* pParentArray = ToArray(parent_tree.LookupValue(parents_id)); in LoadPageTree() 158 if (CPDF_Array* pTopKids = pObj->AsArray()) { in AddTopLevelNode() 228 if (CPDF_Array* pArray = pKids->AsArray()) { in LoadKids() 305 } else if (CPDF_Array* pArray = pAttrs->AsArray()) { in FindAttrDict() 352 if (CPDF_Array* pArray = pC->AsArray()) { in GetAttr() 372 CPDF_Array* pArray = ToArray(pAttr); in GetAttr() 396 CPDF_Array* pArray = ToArray(GetAttr(owner, name, bInheritable, subindex)); in GetColor()
|
D | cpdf_viewerpreferences.h | 13 class CPDF_Array; variable 25 CPDF_Array* PrintPageRange() const;
|
D | cpdf_action.cpp | 39 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest() 120 if (CPDF_Array* pArray = pNext->AsArray()) in GetSubActionsCount() 133 } else if (CPDF_Array* pArray = ToArray(pNext)) { in GetSubAction()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_transformpage.cpp | 31 CPDF_Array* pBoundingBoxArray = page->m_pFormDict->SetNewFor<CPDF_Array>(key); in SetBoundingBox() 44 CPDF_Array* pArray = page->m_pFormDict->GetArrayFor(key); in GetBoundingBox() 143 CPDF_Array* pContentArray = nullptr; in FPDFPage_TransFormWithClip() 144 CPDF_Array* pArray = ToArray(pContentObj); in FPDFPage_TransFormWithClip() 152 CPDF_Array* pObjArray = pDirectObj->AsArray(); in FPDFPage_TransFormWithClip() 159 pContentArray = pDoc->NewIndirect<CPDF_Array>(); in FPDFPage_TransFormWithClip() 312 CPDF_Array* pArray = ToArray(pContentObj); in FPDFPage_InsertClipPath() 325 CPDF_Array* pObjArray = pDirectObj->AsArray(); in FPDFPage_InsertClipPath() 331 CPDF_Array* pContentArray = pDoc->NewIndirect<CPDF_Array>(); in FPDFPage_InsertClipPath()
|
D | cpdfsdk_baannot.cpp | 170 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in SetBorderWidth() 183 if (CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border")) in GetBorderWidth() 234 CPDF_Array* pBorder = m_pAnnot->GetAnnotDict()->GetArrayFor("Border"); in GetBorderStyle() 237 CPDF_Array* pDP = pBorder->GetArrayAt(3); in GetBorderStyle() 247 CPDF_Array* pArray = m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Array>("C"); in SetColor() 261 if (CPDF_Array* pEntry = m_pAnnot->GetAnnotDict()->GetArrayFor("C")) { in GetColor()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_allstates.cpp | 43 void CPDF_AllStates::SetLineDash(CPDF_Array* pArray, in SetLineDash() 75 CPDF_Array* pDash = pObject->AsArray(); in ProcessExtGS() 79 CPDF_Array* pArray = pDash->GetArrayAt(0); in ProcessExtGS() 90 CPDF_Array* pFont = pObject->AsArray(); in ProcessExtGS() 106 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS()
|
D | cpdf_colorspace.h | 27 class CPDF_Array; variable 75 CPDF_Array*& GetArray() { return m_pArray; } in GetArray() 86 virtual bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray); 100 CPDF_Array* m_pArray;
|
D | cpdf_colorspace.cpp | 66 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 94 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 124 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 156 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 192 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 220 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 242 bool v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override; 359 CPDF_Array* pArray = pObj->AsArray(); in Load() 538 bool CPDF_ColorSpace::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() 561 bool CPDF_CalGray::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() [all …]
|
D | cpdf_image.cpp | 98 CPDF_Array* pDecode = pDict->SetNewFor<CPDF_Array>("Decode"); in InitJPEG() 193 CPDF_Array* pArray = pDict->SetNewFor<CPDF_Array>("Decode"); in SetImage() 198 CPDF_Array* pCS = pDict->SetNewFor<CPDF_Array>("ColorSpace"); in SetImage() 218 CPDF_Array* pCS = m_pDocument->NewIndirect<CPDF_Array>(); in SetImage()
|
D | cpdf_allstates.h | 14 class CPDF_Array; variable 25 void SetLineDash(CPDF_Array*, FX_FLOAT, FX_FLOAT scale);
|