Home
last modified time | relevance | path

Searched refs:struct_type (Results 1 - 25 of 82) sorted by relevance

1234

/third_party/libabigail/tests/data/test-diff-suppr/
H A Dtest36-leaf-v1.cc16 struct struct_type struct
22 interface1(struct_type*) in interface1()
26 interface2(struct_type&) in interface2()
30 interface3(struct_type**) in interface3()
H A Dtest36-leaf-v0.cc15 struct struct_type struct
21 interface1(struct_type*) in interface1()
25 interface2(struct_type&) in interface2()
29 interface3(struct_type**) in interface3()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.h29 // Constructs a reduction opportunity from the struct type |struct_type|, for
31 RemoveStructMemberReductionOpportunity(opt::Instruction* struct_type, in RemoveStructMemberReductionOpportunity() argument
33 : struct_type_(struct_type), in RemoveStructMemberReductionOpportunity()
35 original_number_of_members_(struct_type->NumInOperands()) {} in RemoveStructMemberReductionOpportunity()
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp146 for (auto struct_type : entry.second) { in GetAvailableOpportunities()
148 struct_type, entry.first)); in GetAvailableOpportunities()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.h29 // Constructs a reduction opportunity from the struct type |struct_type|, for
31 RemoveStructMemberReductionOpportunity(opt::Instruction* struct_type, in RemoveStructMemberReductionOpportunity() argument
33 : struct_type_(struct_type), in RemoveStructMemberReductionOpportunity()
35 original_number_of_members_(struct_type->NumInOperands()) {} in RemoveStructMemberReductionOpportunity()
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp146 for (auto struct_type : entry.second) { in GetAvailableOpportunities()
148 struct_type, entry.first)); in GetAvailableOpportunities()
/third_party/spirv-tools/source/reduce/
H A Dremove_struct_member_reduction_opportunity.h29 // Constructs a reduction opportunity from the struct type |struct_type|, for
31 RemoveStructMemberReductionOpportunity(opt::Instruction* struct_type, in RemoveStructMemberReductionOpportunity() argument
33 : struct_type_(struct_type), in RemoveStructMemberReductionOpportunity()
35 original_number_of_members_(struct_type->NumInOperands()) {} in RemoveStructMemberReductionOpportunity()
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp146 for (auto struct_type : entry.second) { in GetAvailableOpportunities()
148 struct_type, entry.first)); in GetAvailableOpportunities()
/third_party/spirv-tools/source/opt/
H A Dliveness.cpp97 auto struct_type = type->AsStruct(); in GetLocSize() local
98 if (struct_type) { in GetLocSize()
100 for (auto& el_type : struct_type->element_types()) in GetLocSize()
130 auto struct_type = agg_type->AsStruct(); in GetComponentType()
131 if (struct_type) return struct_type->element_types()[index]; in GetComponentType()
143 auto struct_type = agg_type->AsStruct(); in GetLocOffset()
144 if (struct_type) { in GetLocOffset()
147 for (auto& el_type : struct_type->element_types()) { in GetLocOffset()
H A Deliminate_dead_io_components_pass.cpp120 const analysis::Struct* struct_type = core_type->AsStruct(); in Process() local
121 if (struct_type == nullptr) continue; in Process()
122 const auto elt_types = struct_type->element_types(); in Process()
/third_party/node/deps/v8/src/wasm/
H A Dinit-expr-interface.cc124 std::vector<WasmValue> field_values(imm.struct_type->field_count()); in StructNewWithRtt()
130 imm.struct_type, field_values.data(), in StructNewWithRtt()
165 std::vector<WasmValue> field_values(imm.struct_type->field_count()); in StructNewDefault()
167 field_values[i] = DefaultValueForType(imm.struct_type->field(i), isolate_); in StructNewDefault()
171 imm.struct_type, field_values.data(), in StructNewDefault()
H A Dwasm-module.h356 : struct_type(type), supertype(supertype), kind(kStruct) {} in TypeDefinition()
364 const StructType* struct_type; member
376 return *struct_type == *other.struct_type; in operator ==()
472 const StructType* struct_type(uint32_t index) const { in struct_type() function
474 return types[index].struct_type; in struct_type()
/third_party/node/deps/v8/src/torque/
H A Dcsa-generator.cc949 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local
952 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction()
954 IsPointerSizeIntegralType(struct_type) || smi_tagged_type; in EmitInstruction()
955 DCHECK_IMPLIES(!struct_is_pointer_size, Is32BitIntegralType(struct_type)); in EmitInstruction()
977 << GetBitFieldSpecialization(struct_type, instruction.bit_field) in EmitInstruction()
991 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local
994 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction()
996 IsPointerSizeIntegralType(struct_type) || smi_tagged_type; in EmitInstruction()
997 DCHECK_IMPLIES(!struct_is_pointer_size, Is32BitIntegralType(struct_type)); in EmitInstruction()
1007 decls() << " " << struct_type in EmitInstruction()
[all...]
H A Dclass-debug-reader-generator.cc47 if (auto struct_type = type_->StructSupertype()) { in operator *()
48 const auto& field = (*struct_type)->fields()[index_]; in operator *()
90 base::Optional<const StructType*> struct_type = type_->StructSupertype(); in end() local
91 if (struct_type && *struct_type != TypeOracle::GetFloat64OrHoleType()) { in end()
92 index = (*struct_type)->fields().size(); in end()
H A Dtype-visitor.cc194 StructType* struct_type = TypeOracle::GetStructType(decl, specialized_from); in ComputeType() local
195 CurrentScope::Scope struct_namespace_scope(struct_type->nspace()); in ComputeType()
208 struct_type, in ComputeType() local
217 struct_type->RegisterField(f); in ComputeType()
234 return struct_type; in ComputeType()
491 StructType* struct_type, const StructDeclaration* struct_declaration) { in VisitStructMethods()
492 DeclareMethods(struct_type, struct_declaration->methods); in VisitStructMethods()
490 VisitStructMethods( StructType* struct_type, const StructDeclaration* struct_declaration) VisitStructMethods() argument
H A Dcc-generator.cc447 const Type* struct_type = instruction.bit_field_struct_type; in EmitInstruction() local
453 Type::MatchUnaryGeneric(struct_type, TypeOracle::GetSmiTaggedGeneric()); in EmitInstruction()
461 struct_type = *smi_tagged_type; in EmitInstruction()
465 << GetBitFieldSpecialization(struct_type, instruction.bit_field) in EmitInstruction()
481 } else if (auto struct_type = result.type()->StructSupertype()) { in CollectAllFields()
482 for (const Field& field : (*struct_type)->fields()) { in CollectAllFields()
H A Dtypes.cc124 if (auto* struct_type = StructType::DynamicCast(t)) { in StructSupertype()
125 return struct_type; in StructSupertype()
618 if (auto struct_type = type->StructSupertype()) { in ComputeSlotKindsHelper()
619 ComputeSlotKindsHelper(slots, offset, (*struct_type)->fields()); in ComputeSlotKindsHelper()
1200 base::Optional<const StructType*> struct_type = type->StructSupertype(); in ValidateAlignment() local
1201 if (struct_type && struct_type != TypeOracle::GetFloat64OrHoleType()) { in ValidateAlignment()
1202 for (const Field& field : (*struct_type)->fields()) { in ValidateAlignment()
1259 } else if (auto struct_type = type->StructSupertype()) { in SizeOf()
1264 size = (*struct_type) in SizeOf()
[all...]
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_msl.hpp886 uint32_t get_declared_struct_member_size_msl(const SPIRType &struct_type, uint32_t index) const;
887 uint32_t get_declared_struct_member_array_stride_msl(const SPIRType &struct_type, uint32_t index) const;
888 uint32_t get_declared_struct_member_matrix_stride_msl(const SPIRType &struct_type, uint32_t index) const;
889 uint32_t get_declared_struct_member_alignment_msl(const SPIRType &struct_type, uint32_t index) const;
891 uint32_t get_declared_input_size_msl(const SPIRType &struct_type, uint32_t index) const;
892 uint32_t get_declared_input_array_stride_msl(const SPIRType &struct_type, uint32_t index) const;
893 uint32_t get_declared_input_matrix_stride_msl(const SPIRType &struct_type, uint32_t index) const;
894 uint32_t get_declared_input_alignment_msl(const SPIRType &struct_type, uint32_t index) const;
896 const SPIRType &get_physical_member_type(const SPIRType &struct_type, uint32_t index) const;
897 SPIRType get_presumed_input_type(const SPIRType &struct_type, uint32_
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_composite_construct.cpp205 const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_composite_construct.cpp205 const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK()
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()
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_composite_construct.cpp205 const opt::analysis::Struct& struct_type) const { in ComponentsForStructConstructionAreOK()
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()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectwriter_test.cc1600 StructType struct_type; in TEST_P() local
1601 google::protobuf::Struct* s = struct_type.mutable_object(); in TEST_P()
1611 CheckOutput(struct_type); in TEST_P()
1615 StructType struct_type; in TEST_P() local
1621 CheckOutput(struct_type); in TEST_P()
1625 StructType struct_type; in TEST_P() local
1634 CheckOutput(struct_type); in TEST_P()
1638 StructType struct_type; in TEST_P() local
1642 CheckOutput(struct_type); in TEST_P()
1646 StructType struct_type; in TEST_P() local
1705 StructType struct_type; TEST_P() local
1727 StructType struct_type; TEST_P() local
1746 StructType struct_type; TEST_P() local
[all...]
/third_party/openssl/test/helpers/
H A Dssl_test_ctx.c37 #define IMPLEMENT_SSL_TEST_BOOL_OPTION(struct_type, name, field) \
38 static int parse_##name##_##field(struct_type *ctx, const char *value) \
43 #define IMPLEMENT_SSL_TEST_STRING_OPTION(struct_type, name, field) \
44 static int parse_##name##_##field(struct_type *ctx, const char *value) \
51 #define IMPLEMENT_SSL_TEST_INT_OPTION(struct_type, name, field) \
52 static int parse_##name##_##field(struct_type *ctx, const char *value) \
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_annotation.cpp432 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local
433 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate()
440 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_annotation.cpp432 const auto struct_type = _.FindDef(struct_type_id); in ValidateMemberDecorate() local
433 if (!struct_type || SpvOpTypeStruct != struct_type->opcode()) { in ValidateMemberDecorate()
440 static_cast<uint32_t>(struct_type->words().size() - 2); in ValidateMemberDecorate()

Completed in 22 milliseconds

1234