/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_add_composite_inserts.cpp | 204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer() 205 type.AsStruct()->element_types().end(), in ContainsPointer() 222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray() 223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
|
D | transformation_composite_construct.cpp | 207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
D | transformation_add_copy_memory.cpp | 200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
|
D | transformation_propagate_instruction_up.cpp | 42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers() 43 type.AsStruct()->element_types().end(), in ContainsPointers()
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_pass_add_composite_inserts.cpp | 203 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer() 204 type.AsStruct()->element_types().end(), in ContainsPointer() 221 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray() 222 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
|
D | transformation_composite_construct.cpp | 207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
D | transformation_add_copy_memory.cpp | 200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
|
D | transformation_propagate_instruction_up.cpp | 42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers() 43 type.AsStruct()->element_types().end(), in ContainsPointers()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_pass_add_composite_inserts.cpp | 204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer() 205 type.AsStruct()->element_types().end(), in ContainsPointer() 222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray() 223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
|
D | transformation_composite_construct.cpp | 207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK() 214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK() 224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
|
D | transformation_add_copy_memory.cpp | 200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory() 201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
|
D | transformation_propagate_instruction_up.cpp | 42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers() 43 type.AsStruct()->element_types().end(), in ContainsPointers()
|
/third_party/mindspore/mindspore/core/ir/ |
D | dtype_extends.cc | 204 std::vector<TypePtr> element_types = StringToVectorOfType(element_strs); in ListStrToType() local 205 …bool wrong = std::any_of(element_types.begin(), element_types.end(), [](const TypePtr &x) { return… in ListStrToType() 209 type = std::make_shared<List>(element_types); in ListStrToType() 226 std::vector<TypePtr> element_types = StringToVectorOfType(element_strs); in TupleStrToType() local 227 …bool wrong = std::any_of(element_types.begin(), element_types.end(), [](const TypePtr &x) { return… in TupleStrToType() 231 type = std::make_shared<Tuple>(element_types); in TupleStrToType()
|
/third_party/python/Modules/_ctypes/ |
D | stgdict.c | 712 ffi_type **element_types; /* of this struct/union */ in PyCStructUnionType_update_stgdict() local 794 element_types = (ffi_type **) type_block; in PyCStructUnionType_update_stgdict() 795 dummy_types = &element_types[ffi_ofs + len + 1]; in PyCStructUnionType_update_stgdict() 802 memcpy(element_types, in PyCStructUnionType_update_stgdict() 845 element_types[element_index++] = &dict->ffi_type_pointer; in PyCStructUnionType_update_stgdict() 860 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict() 878 element_types[element_index] = NULL; in PyCStructUnionType_update_stgdict() 885 stgdict->ffi_type_pointer.elements = element_types; in PyCStructUnionType_update_stgdict()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | type_manager.cpp | 101 std::vector<Type*> element_types; in RecordIfTypeDefinition() local 103 element_types.push_back(GetType(inst.GetSingleWordInOperand(i))); in RecordIfTypeDefinition() 105 type = new Struct(element_types); in RecordIfTypeDefinition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | type_manager.cpp | 339 for (auto ty : structTy->element_types()) { in GetTypeInstruction() 578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType() 579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType() 766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local 770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition() 775 type = new Struct(element_types); in RecordIfTypeDefinition() 925 parent_type = struct_type->element_types()[element_index]; in GetMemberType() 960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() 1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
|
D | pass.cpp | 132 original_struct_type->element_types(); in GenerateCopy() 134 new_struct_type->element_types(); in GenerateCopy()
|
D | upgrade_memory_model.cpp | 730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local 731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst() 732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst() 733 analysis::Struct struct_type(element_types); in UpgradeExtInst()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | type_manager.cpp | 339 for (auto ty : structTy->element_types()) { in GetTypeInstruction() 578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType() 579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType() 766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local 770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition() 775 type = new Struct(element_types); in RecordIfTypeDefinition() 925 parent_type = struct_type->element_types()[element_index]; in GetMemberType() 960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() 1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
|
D | pass.cpp | 132 original_struct_type->element_types(); in GenerateCopy() 134 new_struct_type->element_types(); in GenerateCopy()
|
D | upgrade_memory_model.cpp | 730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local 731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst() 732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst() 733 analysis::Struct struct_type(element_types); in UpgradeExtInst()
|
D | types.h | 438 Struct(const std::vector<const Type*>& element_types); 446 const std::vector<const Type*>& element_types() const { in element_types() function 449 std::vector<const Type*>& element_types() { return element_types_; } in element_types() function
|
/third_party/spirv-tools/source/opt/ |
D | type_manager.cpp | 339 for (auto ty : structTy->element_types()) { in GetTypeInstruction() 578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType() 579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType() 766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local 770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition() 775 type = new Struct(element_types); in RecordIfTypeDefinition() 925 parent_type = struct_type->element_types()[element_index]; in GetMemberType() 960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers() 1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
|
D | pass.cpp | 132 original_struct_type->element_types(); in GenerateCopy() 134 new_struct_type->element_types(); in GenerateCopy()
|
D | upgrade_memory_model.cpp | 730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local 731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst() 732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst() 733 analysis::Struct struct_type(element_types); in UpgradeExtInst()
|