Home
last modified time | relevance | path

Searched full:field_type (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dcompiler_intrinsics.cpp27 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_GETTER>
38 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_GETTER>
46 …return GetAccessorByName<FIELD_TYPE, IS_GETTER>(cache->GetEntry(address), method, rawField, addres… in TryGetCallee()
49 template <panda_file::Type::TypeId FIELD_TYPE, class T>
56 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
60 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
64 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
68 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
72 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
76 ASSERT(FIELD_TYPE == panda_file::Type::TypeId::I32); in GetFieldPrimitiveType()
[all …]
/arkcompiler/runtime_core/abc2program/common/
Dabc_type_convert.cpp.erb44 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/disassembler/templates/
Dtype_to_pandasm_type.cpp.erb42 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/static_core/plugins/ets/runtime/
Dets_stubs.h59 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_GETTER>
65 template <panda_file::Type::TypeId FIELD_TYPE>
68 template <panda_file::Type::TypeId FIELD_TYPE>
Dets_stubs-inl.h172 template <panda_file::Type::TypeId FIELD_TYPE, bool IS_GETTER>
187 callee = LookupGetterByName<FIELD_TYPE>(rawField->GetName(), current); in GetAccessorByName()
189 callee = LookupSetterByName<FIELD_TYPE>(rawField->GetName(), current); in GetAccessorByName()
195 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in GetAccessorByName()
227 template <panda_file::Type::TypeId FIELD_TYPE>
246 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupGetterByName()
256 if constexpr (panda_file::Type(FIELD_TYPE).GetBitWidth() == coretypes::INT64_BITS) { in LookupGetterByName()
270 template <panda_file::Type::TypeId FIELD_TYPE>
282 if constexpr (FIELD_TYPE == panda_file::Type::TypeId::REFERENCE) { in LookupSetterByName()
293 if constexpr (panda_file::Type(FIELD_TYPE).GetBitWidth() == coretypes::INT64_BITS) { in LookupSetterByName()
Dets_runtime_interface.h90 template <panda_file::Type::TypeId FIELD_TYPE>
Dets_runtime_interface.cpp49 template <panda_file::Type::TypeId FIELD_TYPE>
58 method = LookupSetterByName<FIELD_TYPE>(raw->GetName(), current); in GetLookUpCall()
60 method = LookupGetterByName<FIELD_TYPE>(raw->GetName(), current); in GetLookUpCall()
/arkcompiler/runtime_core/static_core/plugins/ets/irtoc_scripts/
Dinterpreter_handlers.irt125 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type|
127 store_type = field_type[0] + "32"
128 value_0 := Load(klass, offset).send(:"#{field_type}")
129 acc_fast_value_0 := send(:"#{field_type}to#{store_type}", value_0.send(:"#{field_type}"))
199 [[0x2, "u8"], [0x3, "i8"], [0x4, "u8"], [0x5, "i16"], [0x6, "u16"]].each do |typeid, field_type|
201 acc_type = field_type[0] + "32"
202 Store(klass, offset, acc_field.send(:"#{acc_type}")).send(:"#{field_type}")
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/03.utility_types/02.required_utility_type/
Drequired_module_implements.ets22 Use imported class which implements interface with {{c.field_type}} fields as T for Required<T>.
/arkcompiler/runtime_core/abc2program/
Dabc_field_processor.cpp54 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/verification/
Dmessages.yaml69 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/
Dfile_item_container_test.cpp382 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/
Dinterpreter.irt1292 [[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/
Dfile_reader.cpp743 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/
Dassembly_format.md398 field_def := field_type field_name def_field_meta
399 field_type := type_def
/arkcompiler/runtime_core/docs/
Dassembly_format.md445 field_def := field_type field_name def_field_meta
446 field_type := type_def
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
Djson.ets948 const FIELD_TYPE = 0
955 const objField = fieldTypeValuePair[FIELD_TYPE]
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp519 uint32_t field_type = field_accessor.GetType(); in GetFields() local
520 field.type = FieldTypeToPandasmType(field_type); in GetFields()