| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | compiler_intrinsics.cpp | 45 template <panda_file::Type::TypeId FIELD_TYPE> 66 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_GETTER> 83 callee = klass->LookupGetterByName<FIELD_TYPE>(rawField->GetName()); in TryGetCallee() 85 callee = klass->LookupSetterByName<FIELD_TYPE>(rawField->GetName()); in TryGetCallee() 95 template <panda_file::Type::TypeId FIELD_TYPE, class T> 101 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType() 105 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType() 109 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType() 113 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType() 117 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType() [all …]
|
| /arkcompiler/runtime_core/disassembler/templates/ |
| D | type_to_pandasm_type.cpp.erb | 42 pandasm::Type field_type; 50 field_type = pandasm::Type("<%= type.name %>", 0); 55 field_type = pandasm::Type("any", 0); 61 field_type = pandasm::Type::FromDescriptor(type_name); 65 return field_type;
|
| /arkcompiler/runtime_core/abc2program/common/ |
| D | abc_type_convert.cpp.erb | 44 pandasm::Type field_type; 52 field_type = pandasm::Type("<%= type.name %>", 0); 57 field_type = pandasm::Type("any", 0); 63 field_type = pandasm::Type::FromDescriptor(type_name); 67 return field_type;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/ |
| D | interpreter_handlers.irt | 107 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type| 109 store_type = field_type[0] + "32" 110 value_0 := Load(klass, offset).send(:"#{field_type}") 111 acc_fast_value_0 := send(:"#{field_type}to#{store_type}", value_0.send(:"#{field_type}")) 181 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type| 183 acc_type = field_type[0] + "32" 184 Store(klass, offset, acc_field.send(:"#{acc_type}")).send(:"#{field_type}")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| D | interpreter-inl.h | 102 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_LOAD> 115 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupFieldByName() 128 template <panda_file::Type::TypeId FIELD_TYPE> 139 auto method = klass->LookupGetterByName<FIELD_TYPE>(rawField->GetName()); in LookupGetterByName() 143 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupGetterByName() 160 template <panda_file::Type::TypeId FIELD_TYPE> 171 auto method = klass->LookupSetterByName<FIELD_TYPE>(rawField->GetName()); in LookupSetterByName() 174 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupSetterByName()
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | class.h | 848 template <panda_file::Type::TypeId FIELD_TYPE> 865 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupGetterByName() 875 if constexpr (panda_file::Type(FIELD_TYPE).GetBitWidth() == coretypes::INT64_BITS) { in LookupGetterByName() 889 template <panda_file::Type::TypeId FIELD_TYPE> 905 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupSetterByName() 916 if constexpr (panda_file::Type(FIELD_TYPE).GetBitWidth() == coretypes::INT64_BITS) { in LookupSetterByName()
|
| /arkcompiler/runtime_core/abc2program/ |
| D | abc_field_processor.cpp | 54 uint32_t field_type = field_data_accessor_->GetType(); in FillFieldType() local 55 field_.type = type_converter_.FieldTypeToPandasmType(field_type); in FillFieldType()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_runtime_interface.h | 71 template <panda_file::Type::TypeId FIELD_TYPE>
|
| D | ets_runtime_interface.cpp | 38 template <panda_file::Type::TypeId FIELD_TYPE> 43 return ClassCast(klass)->LookupSetterByName<FIELD_TYPE>(FieldCast(rawField)->GetName()); in GetLookUpCall() 45 return ClassCast(klass)->LookupGetterByName<FIELD_TYPE>(FieldCast(rawField)->GetName()); in GetLookUpCall()
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | messages.yaml | 69 args: field, field_type, acc_type 71 Field is '${field}'. Field type is '${field_type}'. Accumulator type is '${acc_type}'. 226 args: field, field_type, field_obj_type 229 Field type is '${field_type}'.
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | file_item_container_test.cpp | 382 PrimitiveTypeItem *field_type = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::I32); variable 384 FieldItem *field_item = class_item->AddField(field_name, field_type, ACC_PUBLIC); 747 PrimitiveTypeItem *field_type = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::I32); variable 748 …FieldItem *field_item = container.CreateItem<ForeignFieldItem>(class_item, field_name, field_type); 789 EXPECT_EQ(field_data_accessor.GetType(), field_type->GetType().GetFieldEncoding()); 910 PrimitiveTypeItem *field_type = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::I32); in CreateItems() local 911 class_item_a->AddField(field_name, field_type, ACC_PUBLIC); in CreateItems() 1172 PrimitiveTypeItem *field_type = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::I32); variable 1174 class_item->AddField(field_name, field_type, ACC_PUBLIC); 1234 PrimitiveTypeItem *field_type = container.GetOrCreatePrimitiveTypeItem(Type::TypeId::I32); variable [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | interpreter.irt | 1292 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type| 1294 acc_type = field_type[0] + "32" 1295 Store(vs, offset, acc.send(:"#{acc_type}")).send(:"#{field_type}") 1352 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type| 1354 reg_type = field_type[0] + "32" 1355 Store(v2, offset, v1.send(:"#{reg_type}")).send(:"#{field_type}") 1413 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type| 1415 store_type = field_type[0] + "32" 1416 value := Load(vs, offset).send(:"#{field_type}") 1417 acc_value := send(:"#{field_type}to#{store_type}", value) [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | file_reader.cpp | 743 Type field_type = Type::GetTypeFromFieldEncoding(field_acc.GetType()); in CreateFieldItem() local 746 if (field_type.IsReference()) { in CreateFieldItem() 759 field_type_item = container_.GetOrCreatePrimitiveTypeItem(field_type.GetId()); in CreateFieldItem() 767 switch (field_type.GetId()) { in CreateFieldItem() 871 Type field_type = Type::GetTypeFromFieldEncoding(field_acc.GetType()); in CreateForeignFieldItem() local 873 if (field_type.IsReference()) { in CreateForeignFieldItem() 886 field_type_item = container_.GetOrCreatePrimitiveTypeItem(field_type.GetId()); in CreateForeignFieldItem()
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | assembly_format.md | 398 field_def := field_type field_name def_field_meta 399 field_type := type_def
|
| /arkcompiler/runtime_core/docs/ |
| D | assembly_format.md | 445 field_def := field_type field_name def_field_meta 446 field_type := type_def
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | json.sts | 611 const FIELD_TYPE = 0 618 const objField = fieldTypeValuePair[FIELD_TYPE]
|
| /arkcompiler/runtime_core/disassembler/ |
| D | disassembler.cpp | 515 uint32_t field_type = field_accessor.GetType(); in GetFields() local 516 field.type = FieldTypeToPandasmType(field_type); in GetFields()
|