Home
last modified time | relevance | path

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

1234

/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp157 CPDF_Array* arr_elem = arr->GetObjectAt(i)->AsArray(); in TEST()
158 CPDF_Array* arr1_elem = arr1->GetObjectAt(i)->AsArray(); in TEST()
159 CPDF_Array* arr2_elem = arr2->GetObjectAt(i)->AsArray(); in TEST()
184 auto* elem_obj1 = arr1->GetObjectAt(i)->AsArray()->GetObjectAt(j); in TEST()
189 arr2->GetObjectAt(i)->AsArray()->GetIntegerAt(j)); in TEST()
Dcpdf_array.h33 CPDF_Array* AsArray() override;
34 const CPDF_Array* AsArray() const override;
152 return obj ? obj->AsArray() : nullptr; in ToArray()
156 return obj ? obj->AsArray() : nullptr; in ToArray()
Dcpdf_object.cpp109 CPDF_Array* CPDF_Object::AsArray() { in AsArray() function in CPDF_Object
113 const CPDF_Array* CPDF_Object::AsArray() const { in AsArray() function in CPDF_Object
Dcpdf_object.h80 virtual CPDF_Array* AsArray();
81 virtual const CPDF_Array* AsArray() const;
Dcpdf_object_unittest.cpp128 const CPDF_Array* array1 = obj1->AsArray(); in Equal()
129 const CPDF_Array* array2 = obj2->AsArray(); in Equal()
277 EXPECT_EQ(direct_obj_results[i], m_DirectObjs[i]->AsArray()); in TEST_F()
281 EXPECT_EQ(nullptr, it->AsArray()); in TEST_F()
335 EXPECT_EQ(m_DirectObjs[i].Get(), m_DirectObjs[i]->AsArray()); in TEST_F()
338 EXPECT_EQ(nullptr, m_DirectObjs[i]->AsArray()); in TEST_F()
954 EXPECT_EQ(0U, cloned_arr->AsArray()->size()); in TEST()
956 EXPECT_EQ(nullptr, cloned_arr->AsArray()->GetObjectAt(0)); in TEST()
Dcpdf_array.cpp44 CPDF_Array* CPDF_Array::AsArray() { in AsArray() function in CPDF_Array
48 const CPDF_Array* CPDF_Array::AsArray() const { in AsArray() function in CPDF_Array
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp73 CPDF_Array* pDash = pObject->AsArray(); in ProcessExtGS()
88 CPDF_Array* pFont = pObject->AsArray(); in ProcessExtGS()
105 CPDF_Array* pArray = pObject->AsArray(); in ProcessExtGS()
Dcpdf_occontext.cpp35 if (const CPDF_Array* pArray = pIntent->AsArray()) { in HasIntent()
207 if (const CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
224 else if (const CPDF_Array* pArray = pOCGObj->AsArray()) in GetOCGVE()
253 const CPDF_Array* pArray = pOCGObj->AsArray(); in LoadOCMDState()
Dcpdf_shadingpattern.cpp59 if (const CPDF_Array* pArray = pFunc->AsArray()) { in Load()
/external/pdfium/core/fpdfdoc/
Dcpdf_action.cpp68 if (const CPDF_Array* pArray = pDest->AsArray()) in GetDest()
141 } else if (const CPDF_Array* pArray = pFields->AsArray()) { in GetAllFields()
172 const CPDF_Array* pArray = pNext->AsArray(); in GetSubActionsCount()
Dcpdf_structtree.cpp58 else if (const CPDF_Array* pArray = pKids->AsArray()) in LoadPageTree()
133 const CPDF_Array* pTopKids = pObj->AsArray(); in AddTopLevelNode()
Dcpdf_link.cpp34 if (CPDF_Array* pArray = pDest->AsArray()) in GetDest()
Dcpdf_bookmark.cpp60 if (const CPDF_Array* pArray = pDest->AsArray()) in GetDest()
Dcpdf_formfield.cpp314 pValue = pValue->AsArray()->GetDirectObjectAt(0); in GetValue()
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()
624 if (const CPDF_Array* pOptionArray = pOption->AsArray()) in GetOptionText()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_add_type_array_test.cpp104 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsArray()); in TEST()
118 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsArray()); in TEST()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dpass.cpp104 if (const analysis::Array* original_array_type = original_type->AsArray()) { in GenerateCopy()
108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
Dtype_manager.cpp314 uint32_t subtype = GetTypeInstruction(type->AsArray()->element_type()); in GetTypeInstruction()
322 {SPV_OPERAND_TYPE_ID, {type->AsArray()->LengthId()}}}); in GetTypeInstruction()
564 const Array* array_ty = type.AsArray(); in RebuildType()
926 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
946 type->AsArray()->element_type()->AsForwardPointer(); in ReplaceForwardPointers()
948 type->AsArray()->ReplaceElementType(element_type->target_pointer()); in ReplaceForwardPointers()
1006 const Type* element_type = type->AsArray()->element_type(); in ReplaceType()
1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass.cpp104 if (const analysis::Array* original_array_type = original_type->AsArray()) { in GenerateCopy()
108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
Dtype_manager.cpp314 uint32_t subtype = GetTypeInstruction(type->AsArray()->element_type()); in GetTypeInstruction()
322 {SPV_OPERAND_TYPE_ID, {type->AsArray()->LengthId()}}}); in GetTypeInstruction()
564 const Array* array_ty = type.AsArray(); in RebuildType()
926 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
946 type->AsArray()->element_type()->AsForwardPointer(); in ReplaceForwardPointers()
948 type->AsArray()->ReplaceElementType(element_type->target_pointer()); in ReplaceForwardPointers()
1006 const Type* element_type = type->AsArray()->element_type(); in ReplaceType()
1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dpass.cpp104 if (const analysis::Array* original_array_type = original_type->AsArray()) { in GenerateCopy()
108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
Dtype_manager.cpp314 uint32_t subtype = GetTypeInstruction(type->AsArray()->element_type()); in GetTypeInstruction()
322 {SPV_OPERAND_TYPE_ID, {type->AsArray()->LengthId()}}}); in GetTypeInstruction()
564 const Array* array_ty = type.AsArray(); in RebuildType()
926 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
946 type->AsArray()->element_type()->AsForwardPointer(); in ReplaceForwardPointers()
948 type->AsArray()->ReplaceElementType(element_type->target_pointer()); in ReplaceForwardPointers()
1006 const Type* element_type = type->AsArray()->element_type(); in ReplaceType()
1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_composite_construct.cpp67 if (composite_type->AsArray() && in IsApplicable()
69 *composite_type->AsArray())) { in IsApplicable()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp67 if (composite_type->AsArray() && in IsApplicable()
69 *composite_type->AsArray())) { in IsApplicable()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp67 if (composite_type->AsArray() && in IsApplicable()
69 *composite_type->AsArray())) { in IsApplicable()
/external/pdfium/fpdfsdk/
Dfpdf_editimg.cpp271 return pFilter->AsArray()->size(); in FPDFImageObj_GetImageFilterCount()
293 bsFilter = pFilter->AsArray()->GetStringAt(index); in FPDFImageObj_GetImageFilter()

1234