/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_array.cpp | 23 CPDF_Array::CPDF_Array() = default; 25 CPDF_Array::CPDF_Array(const WeakPtr<ByteStringPool>& pPool) : m_pPool(pPool) {} in CPDF_Array() function in CPDF_Array 27 CPDF_Array::~CPDF_Array() { in ~CPDF_Array() 36 CPDF_Object::Type CPDF_Array::GetType() const { in GetType() 40 bool CPDF_Array::IsArray() const { in IsArray() 44 CPDF_Array* CPDF_Array::AsArray() { in AsArray() 48 const CPDF_Array* CPDF_Array::AsArray() const { in AsArray() 52 RetainPtr<CPDF_Object> CPDF_Array::Clone() const { in Clone() 56 RetainPtr<CPDF_Object> CPDF_Array::CloneNonCyclic( in CloneNonCyclic() 60 auto pCopy = pdfium::MakeRetain<CPDF_Array>(); in CloneNonCyclic() [all …]
|
D | cpdf_array.h | 22 class CPDF_Array final : public CPDF_Object { 33 CPDF_Array* AsArray() override; 34 const CPDF_Array* AsArray() const override; 53 CPDF_Array* GetArrayAt(size_t index); 54 const CPDF_Array* GetArrayAt(size_t index) const; 118 CPDF_Array(); 119 explicit CPDF_Array(const WeakPtr<ByteStringPool>& pPool); 120 ~CPDF_Array() override; 133 using const_iterator = CPDF_Array::const_iterator; 135 explicit CPDF_ArrayLocker(const CPDF_Array* pArray); [all …]
|
D | cpdf_array_unittest.cpp | 17 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 39 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 58 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 68 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 80 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 99 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 116 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 119 RetainPtr<CPDF_Array> arr2 = ToArray(arr->Clone()); in TEST() 133 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 137 auto arr_elem = pdfium::MakeRetain<CPDF_Array>(); in TEST() [all …]
|
D | fpdf_parser_decode_unittest.cpp | 17 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 22 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 28 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 34 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 41 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 48 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 58 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 68 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 74 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() 81 auto decoders = pdfium::MakeRetain<CPDF_Array>(); in TEST() [all …]
|
D | cpdf_object_unittest.cpp | 28 void TestArrayAccessors(const CPDF_Array* arr, in TestArrayAccessors() 34 CPDF_Array* arr_val, in TestArrayAccessors() 64 m_ArrayObj = pdfium::MakeRetain<CPDF_Array>(); in SetUp() 128 const CPDF_Array* array1 = obj1->AsArray(); in Equal() 129 const CPDF_Array* array2 = obj2->AsArray(); in Equal() 189 RetainPtr<CPDF_Array> m_ArrayObj; 272 const CPDF_Array* const direct_obj_results[] = { in TEST_F() 417 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 438 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() 454 auto arr = pdfium::MakeRetain<CPDF_Array>(); in TEST() [all …]
|
D | cpdf_security_handler.h | 21 class CPDF_Array; variable 32 const CPDF_Array* pIdArray, 35 const CPDF_Array* pIdArray, 39 const CPDF_Array* pIdArray, 80 const CPDF_Array* pIdArray,
|
D | cpdf_document_unittest.cpp | 29 CPDF_Dictionary* CreatePageTreeNode(RetainPtr<CPDF_Array> kids, in CreatePageTreeNode() 32 CPDF_Array* pUnowned = pDoc->AddIndirectObject(std::move(kids))->AsArray(); in CreatePageTreeNode() 57 auto zeroToTwo = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentForPages() 67 auto zeroToThree = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentForPages() 74 auto fourFive = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentForPages() 81 auto justSix = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentForPages() 86 auto allPages = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentForPages() 111 auto allPages = pdfium::MakeRetain<CPDF_Array>(); in CPDF_TestDocumentWithPageWithoutPageNum()
|
D | cpdf_dictionary.cpp | 163 const CPDF_Array* CPDF_Dictionary::GetArrayFor(const ByteString& key) const { in GetArrayFor() 167 CPDF_Array* CPDF_Dictionary::GetArrayFor(const ByteString& key) { in GetArrayFor() 181 const CPDF_Array* pArray = GetArrayFor(key); in GetRectFor() 189 const CPDF_Array* pArray = GetArrayFor(key); in GetMatrixFor() 260 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetRectFor() 269 CPDF_Array* pArray = SetNewFor<CPDF_Array>(key); in SetMatrixFor()
|
D | cpdf_object.h | 17 class CPDF_Array; variable 80 virtual CPDF_Array* AsArray(); 81 virtual const CPDF_Array* AsArray() const; 128 static const bool value = std::is_same<T, CPDF_Array>::value ||
|
D | cpdf_object_walker_unittest.cpp | 60 EXPECT_EQ(Walk(pdfium::MakeRetain<CPDF_Array>().Get()), "Arr"); in TEST() 71 auto array = pdfium::MakeRetain<CPDF_Array>(); in TEST() 87 auto level_1 = pdfium::MakeRetain<CPDF_Array>(); in TEST() 104 auto root_array = pdfium::MakeRetain<CPDF_Array>(); in TEST()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_docrenderdata_unittest.cpp | 77 CPDF_Array* domain_array = func_dict->SetNewFor<CPDF_Array>("Domain"); in CreateType0FunctionStream() 81 CPDF_Array* range_array = func_dict->SetNewFor<CPDF_Array>("Range"); in CreateType0FunctionStream() 85 CPDF_Array* size_array = func_dict->SetNewFor<CPDF_Array>("Size"); in CreateType0FunctionStream() 103 CPDF_Array* domain_array = func_dict->SetNewFor<CPDF_Array>("Domain"); in CreateType2FunctionDict() 107 CPDF_Array* c0_array = func_dict->SetNewFor<CPDF_Array>("C0"); in CreateType2FunctionDict() 112 CPDF_Array* c1_array = func_dict->SetNewFor<CPDF_Array>("C1"); in CreateType2FunctionDict() 124 CPDF_Array* domain_array = func_dict->SetNewFor<CPDF_Array>("Domain"); in CreateType4FunctionStream() 128 CPDF_Array* range_array = func_dict->SetNewFor<CPDF_Array>("Range"); in CreateType4FunctionStream() 144 CPDF_Array* domain_array = func_dict->SetNewFor<CPDF_Array>("Domain"); in CreateBadType4FunctionStream() 148 CPDF_Array* range_array = func_dict->SetNewFor<CPDF_Array>("Range"); in CreateBadType4FunctionStream() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree.cpp | 22 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 …]
|
D | cpdf_nametree_unittest.cpp | 15 void AddNameKeyValue(CPDF_Array* pNames, const char* key, const int value) { in AddNameKeyValue() 20 void CheckNameKeyValue(CPDF_Array* pNames, in CheckNameKeyValue() 31 CPDF_Array* pLimits = pNode->SetNewFor<CPDF_Array>("Limits"); in AddLimitsArray() 39 CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in CheckLimitsArray() 46 CPDF_Array* pKids = pRootDict->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict() 51 pKids = pKid1->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict() 56 pKids = pKid2->SetNewFor<CPDF_Array>("Kids"); in FillNameTreeDict() 61 CPDF_Array* pNames = pKid3->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() 66 pNames = pKid4->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() 71 pNames = pKid5->SetNewFor<CPDF_Array>("Names"); in FillNameTreeDict() [all …]
|
D | cpdf_dest.h | 15 class CPDF_Array; variable 20 explicit CPDF_Dest(const CPDF_Array* pArray); 24 const CPDF_Array* GetArray() const { return m_pArray.Get(); } in GetArray() 41 RetainPtr<const CPDF_Array> const m_pArray;
|
D | cpdf_numbertree.cpp | 15 const CPDF_Array* pLimits = pNode->GetArrayFor("Limits"); in SearchNumberNode() 20 const CPDF_Array* pNumbers = pNode->GetArrayFor("Nums"); in SearchNumberNode() 32 const CPDF_Array* pKids = pNode->GetArrayFor("Kids"); in SearchNumberNode()
|
D | cpdf_formfield.cpp | 422 const CPDF_Array* pArray = pValue->AsArray(); in CountSelectedItems() 440 const CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex() 497 const CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected() 537 CPDF_Array* pI = m_pDict->SetNewFor<CPDF_Array>("I"); in SetItemSelectionSelected() 548 CPDF_Array* pArray = m_pDict->SetNewFor<CPDF_Array>(pdfium::form_fields::kV); in SetItemSelectionSelected() 578 auto pArray = pdfium::MakeRetain<CPDF_Array>(); in SetItemSelectionUnselected() 612 const CPDF_Array* pArray = ToArray(GetFieldAttr(m_pDict.Get(), "Opt")); in CountOptions() 617 const CPDF_Array* pArray = ToArray(GetFieldAttr(m_pDict.Get(), "Opt")); in GetOptionText() 624 if (const CPDF_Array* pOptionArray = pOption->AsArray()) in GetOptionText() 744 const CPDF_Array* pArray = ToArray(GetSelectedIndicesObject()); in CountSelectedOptions() [all …]
|
D | cpdf_color_utils.h | 12 class CPDF_Array; variable 20 CFX_Color CFXColorFromArray(const CPDF_Array& array);
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_helpers.h | 99 inline FPDF_DEST FPDFDestFromCPDFArray(const CPDF_Array* dest) { in FPDFDestFromCPDFArray() 100 return reinterpret_cast<FPDF_DEST>(const_cast<CPDF_Array*>(dest)); in FPDFDestFromCPDFArray() 102 inline CPDF_Array* CPDFArrayFromFPDFDest(FPDF_DEST dest) { in CPDFArrayFromFPDFDest() 103 return reinterpret_cast<CPDF_Array*>(dest); in CPDFArrayFromFPDFDest() 154 inline FPDF_PAGERANGE FPDFPageRangeFromCPDFArray(CPDF_Array* range) { in FPDFPageRangeFromCPDFArray() 157 inline CPDF_Array* CPDFArrayFromFPDFPageRange(FPDF_PAGERANGE range) { in CPDFArrayFromFPDFPageRange() 158 return reinterpret_cast<CPDF_Array*>(range); in CPDFArrayFromFPDFPageRange() 225 const CPDF_Array* GetQuadPointsArrayFromDictionary(const CPDF_Dictionary* dict); 226 CPDF_Array* GetQuadPointsArrayFromDictionary(CPDF_Dictionary* dict); 227 CPDF_Array* AddQuadPointsArrayToDictionary(CPDF_Dictionary* dict); [all …]
|
D | cpdfsdk_helpers.cpp | 212 const CPDF_Array* GetQuadPointsArrayFromDictionary( in GetQuadPointsArrayFromDictionary() 217 CPDF_Array* GetQuadPointsArrayFromDictionary(CPDF_Dictionary* dict) { in GetQuadPointsArrayFromDictionary() 221 CPDF_Array* AddQuadPointsArrayToDictionary(CPDF_Dictionary* dict) { in AddQuadPointsArrayToDictionary() 222 return dict->SetNewFor<CPDF_Array>(kQuadPoints); in AddQuadPointsArrayToDictionary() 225 bool IsValidQuadPointsIndex(const CPDF_Array* array, size_t index) { in IsValidQuadPointsIndex() 229 bool GetQuadPointsAtIndex(const CPDF_Array* array, in GetQuadPointsAtIndex() 343 const CPDF_Array* pArray = in ReportUnsupportedFeatures()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_occontext.cpp | 16 int32_t FindGroup(const CPDF_Array* pArray, const CPDF_Dictionary* pGroupDict) { in FindGroup() 35 if (const CPDF_Array* pArray = pIntent->AsArray()) { in HasIntent() 54 CPDF_Array* pOCGs = pOCProperties->GetArrayFor("OCGs"); in GetConfig() 62 CPDF_Array* pConfigs = pOCProperties->GetArrayFor("Configs"); in GetConfig() 110 CPDF_Array* pArray = pConfig->GetArrayFor("ON"); in LoadOCGStateFromConfig() 133 CPDF_Array* pOCGs = pUsage->GetArrayFor("OCGs"); in LoadOCGStateFromConfig() 196 bool CPDF_OCContext::GetOCGVE(const CPDF_Array* pExpression, int nLevel) const { in GetOCGVE() 207 if (const CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE() 224 else if (const CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE() 241 const CPDF_Array* pVE = pOCMDDict->GetArrayFor("VE"); in LoadOCMDState() [all …]
|
D | cpdf_docpagedata.cpp | 44 void InsertWidthArrayImpl(std::vector<int> widths, CPDF_Array* pWidthArray) { in InsertWidthArrayImpl() 57 CPDF_Array* pWidthArray1 = pWidthArray->AddNew<CPDF_Array>(); in InsertWidthArrayImpl() 63 void InsertWidthArray(HDC hDC, int start, int end, CPDF_Array* pWidthArray) { in InsertWidthArray() 86 CPDF_Array* pWidthArray) { in InsertWidthArray1() 123 RetainPtr<CPDF_Array> pWidths) { in ProcessNonbCJK() 143 RetainPtr<CPDF_Array> bbox, in CalculateFontDesc() 303 const CPDF_Array* pArray = pCSObj->AsArray(); in GetColorSpaceInternal() 472 auto pWidths = pdfium::MakeRetain<CPDF_Array>(); in AddFont() 502 [&pFont, &pEncoding](wchar_t start, wchar_t end, CPDF_Array* widthArr) { in AddFont() 509 auto pBBox = pdfium::MakeRetain<CPDF_Array>(); in AddFont() [all …]
|
D | cpdf_allstates.cpp | 39 void CPDF_AllStates::SetLineDash(const CPDF_Array* pArray, in SetLineDash() 73 CPDF_Array* pDash = pObject->AsArray(); in ProcessExtGS() 77 CPDF_Array* pArray = pDash->GetArrayAt(0); in ProcessExtGS() 88 CPDF_Array* pFont = pObject->AsArray(); in ProcessExtGS() 105 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS()
|
D | cpdf_colorspace.h | 35 class CPDF_Array; variable 77 const CPDF_Array* GetArray() const { return m_pArray.Get(); } in GetArray() 124 const CPDF_Array* pArray, 132 RetainPtr<const CPDF_Array> m_pArray;
|
D | cpdf_colorspace.cpp | 82 const CPDF_Array* pParam = pDict->GetArrayFor("BlackPoint"); in GetBlackPoint() 99 const CPDF_Array* pParam = pDict->GetArrayFor("WhitePoint"); in GetWhitePoint() 118 const CPDF_Array* pArray, 153 const CPDF_Array* pArray, 190 const CPDF_Array* pArray, 221 const CPDF_Array* pArray, 254 const CPDF_Array* pArray, 282 const CPDF_Array* pArray, 309 const CPDF_Array* pArray, 516 const CPDF_Array* pArray = pObj->AsArray(); in Load() [all …]
|
D | cpdf_stitchfunc.cpp | 35 const CPDF_Array* pFunctionsArray = pDict->GetArrayFor("Functions"); in v_Init() 39 const CPDF_Array* pBoundsArray = pDict->GetArrayFor("Bounds"); in v_Init() 43 const CPDF_Array* pEncodeArray = pDict->GetArrayFor("Encode"); in v_Init()
|