Home
last modified time | relevance | path

Searched refs:AsArray (Results 1 – 25 of 58) sorted by relevance

123

/external/pdfium/core/fpdfdoc/
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()
Dcpdf_occontext.cpp34 if (CPDF_Array* pArray = pIntent->AsArray()) { in HasIntent()
206 if (CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
223 else if (CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
252 CPDF_Array* pArray = pOCGObj->AsArray(); in LoadOCMDState()
Dcpdf_action.cpp45 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest()
122 if (CPDF_Array* pArray = pNext->AsArray()) in GetSubActionsCount()
Dcpdf_structtree.cpp57 else if (CPDF_Array* pArray = pKids->AsArray()) in LoadPageTree()
132 CPDF_Array* pTopKids = pObj->AsArray(); in AddTopLevelNode()
Dcpdf_link.cpp33 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest()
Dcpdf_formfield.cpp323 pValue = pValue->AsArray()->GetDirectObjectAt(0); in GetValue()
430 if (CPDF_Array* pArray = pValue->AsArray()) in CountSelectedItems()
451 CPDF_Array* pArray = pValue->AsArray(); in GetSelectedIndex()
512 CPDF_Array* pArray = pValue->AsArray(); in IsItemSelected()
625 if (CPDF_Array* pOptionArray = pOption->AsArray()) in GetOptionText()
Dcpdf_bookmark.cpp76 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest()
Dcpdf_structelement.cpp68 if (CPDF_Array* pArray = pKids->AsArray()) { in LoadKids()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.h34 CPDF_Array* AsArray() override;
35 const CPDF_Array* AsArray() const override;
119 return obj ? obj->AsArray() : nullptr; in ToArray()
123 return obj ? obj->AsArray() : nullptr; in ToArray()
Dcpdf_array_unittest.cpp136 CPDF_Array* arr_elem = arr->GetObjectAt(i)->AsArray(); in TEST()
137 CPDF_Array* arr1_elem = arr1->GetObjectAt(i)->AsArray(); in TEST()
138 CPDF_Array* arr2_elem = arr2->GetObjectAt(i)->AsArray(); in TEST()
163 auto* elem_obj1 = arr1->GetObjectAt(i)->AsArray()->GetObjectAt(j); in TEST()
168 arr2->GetObjectAt(i)->AsArray()->GetIntegerAt(j)); in TEST()
Dcpdf_object_walker.cpp74 return IsStarted() && arr_iterator_ == object()->AsArray()->end(); in IsFinished()
85 void Start() override { arr_iterator_ = object()->AsArray()->begin(); } in Start()
122 return pdfium::MakeUnique<ArrayIterator>(object->AsArray()); in MakeIterator()
Dcpdf_object.cpp102 CPDF_Array* CPDF_Object::AsArray() { in AsArray() function in CPDF_Object
106 const CPDF_Array* CPDF_Object::AsArray() const { in AsArray() function in CPDF_Object
Dcpdf_object.h78 virtual CPDF_Array* AsArray();
79 virtual const CPDF_Array* AsArray() const;
Dcpdf_object_unittest.cpp123 const CPDF_Array* array1 = obj1->AsArray(); in Equal()
124 const CPDF_Array* array2 = obj2->AsArray(); in Equal()
270 EXPECT_EQ(direct_obj_results[i], m_DirectObjs[i]->AsArray()); in TEST_F()
274 EXPECT_EQ(nullptr, it->AsArray()); in TEST_F()
328 EXPECT_EQ(m_DirectObjs[i].get(), m_DirectObjs[i]->AsArray()); in TEST_F()
331 EXPECT_EQ(nullptr, m_DirectObjs[i]->AsArray()); in TEST_F()
935 EXPECT_EQ(0U, cloned_arr->AsArray()->GetCount()); in TEST()
937 EXPECT_EQ(nullptr, cloned_arr->AsArray()->GetObjectAt(0)); in TEST()
Dcpdf_array.cpp42 CPDF_Array* CPDF_Array::AsArray() { in AsArray() function in CPDF_Array
46 const CPDF_Array* CPDF_Array::AsArray() const { in AsArray() function in CPDF_Array
Dcpdf_page_object_avail_unittest.cpp108 holder.GetTestObject(2)->AsArray()->AddNew<CPDF_Reference>(&holder, 3); in TEST()
Dfpdf_parser_utility.cpp179 const CPDF_Array* p = pObj->AsArray(); in operator <<()
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp65 CPDF_Array* pDash = pObject->AsArray(); in ProcessExtGS()
80 CPDF_Array* pFont = pObject->AsArray(); in ProcessExtGS()
96 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS()
Dcpdf_shadingpattern.cpp78 if (CPDF_Array* pArray = pFunc->AsArray()) { in Load()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp292 uint32_t subtype = GetTypeInstruction(type->AsArray()->element_type()); in GetTypeInstruction()
297 {SPV_OPERAND_TYPE_ID, {type->AsArray()->LengthId()}}}); in GetTypeInstruction()
506 const Array* array_ty = type.AsArray(); in RebuildType()
808 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
828 type->AsArray()->element_type()->AsForwardPointer(); in ReplaceForwardPointers()
830 type->AsArray()->ReplaceElementType(element_type->target_pointer()); in ReplaceForwardPointers()
888 const Type* element_type = type->AsArray()->element_type(); in ReplaceType()
890 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
Dcopy_prop_arrays.cpp368 } else if (const analysis::Array* array_type = result_type->AsArray()) { in BuildMemoryObjectFromInsert()
487 if (!type->AsStruct() && !type->AsArray() && !type->AsPointer()) { in CanUpdateUses()
724 if (const analysis::Array* original_array_type = original_type->AsArray()) { in GenerateCopy()
728 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
815 } else if (const analysis::Array* array_type = type->AsArray()) { in GetNumberOfMembers()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp292 uint32_t subtype = GetTypeInstruction(type->AsArray()->element_type()); in GetTypeInstruction()
297 {SPV_OPERAND_TYPE_ID, {type->AsArray()->LengthId()}}}); in GetTypeInstruction()
506 const Array* array_ty = type.AsArray(); in RebuildType()
805 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
825 type->AsArray()->element_type()->AsForwardPointer(); in ReplaceForwardPointers()
827 type->AsArray()->ReplaceElementType(element_type->target_pointer()); in ReplaceForwardPointers()
885 const Type* element_type = type->AsArray()->element_type(); in ReplaceType()
887 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
Dcopy_prop_arrays.cpp368 } else if (const analysis::Array* array_type = result_type->AsArray()) { in BuildMemoryObjectFromInsert()
487 if (!type->AsStruct() && !type->AsArray() && !type->AsPointer()) { in CanUpdateUses()
724 if (const analysis::Array* original_array_type = original_type->AsArray()) { in GenerateCopy()
728 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
815 } else if (const analysis::Array* array_type = type->AsArray()) { in GetNumberOfMembers()
/external/pdfium/fpdfsdk/
Dfpdfeditimg.cpp228 return pFilter->AsArray()->GetCount(); in FPDFImageObj_GetImageFilterCount()
250 bsFilter = pFilter->AsArray()->GetStringAt(index); in FPDFImageObj_GetImageFilter()
/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata.cpp76 if (CPDF_Array* pArray = pObj->AsArray()) { in GetTransferFunc()

123