Home
last modified time | relevance | path

Searched defs:field (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/runtime_core/runtime/include/coretypes/
Dclass.h54 T GetFieldPrimitive(const Field &field) const in GetFieldPrimitive()
60 void SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive()
66 ObjectHeader *GetFieldObject(const Field &field) const in GetFieldObject()
72 void SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject()
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFieldProto.cpp19 void Field::Serialize(const panda::pandasm::Field &field, protoPanda::Field &protoField) in Serialize()
33 void Field::Deserialize(const protoPanda::Field &protoField, panda::pandasm::Field &field, in Deserialize()
DassemblyRecordProto.cpp27 for (const auto &field : record.field_list) { in Serialize() local
/arkcompiler/runtime_core/runtime/include/
Dobject_header-inl.h67 inline T ObjectHeader::GetFieldPrimitive(const Field &field) const in GetFieldPrimitive()
73 inline void ObjectHeader::SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive()
79 inline ObjectHeader *ObjectHeader::GetFieldObject(const Field &field) const in GetFieldObject()
85 inline void ObjectHeader::SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject()
91 inline ObjectHeader *ObjectHeader::GetFieldObject(const ManagedThread *thread, const Field &field) in GetFieldObject()
97 inline void ObjectHeader::SetFieldObject(const ManagedThread *thread, const Field &field, ObjectHea… in SetFieldObject()
Dobject_accessor-inl.h110 inline T ObjectAccessor::GetFieldPrimitive(const void *obj, const Field &field) in GetFieldPrimitive()
120 inline void ObjectAccessor::SetFieldPrimitive(void *obj, const Field &field, T value) in SetFieldPrimitive()
131 inline ObjectHeader *ObjectAccessor::GetFieldObject(const void *obj, const Field &field) in GetFieldObject()
141 inline void ObjectAccessor::SetFieldObject(void *obj, const Field &field, ObjectHeader *value) in SetFieldObject()
155 …r *ObjectAccessor::GetFieldObject(const ManagedThread *thread, const void *obj, const Field &field) in GetFieldObject()
165 …ine void ObjectAccessor::SetFieldObject(const ManagedThread *thread, void *obj, const Field &field, in SetFieldObject()
Dclass-inl.h219 auto *field = BinarySearchField(fields, id); in FindDeclaredField() local
233 auto *field = cls->FindDeclaredField<filter>(pred); in FindField() local
245 auto *field = iface->FindField<filter>(pred); in FindField() local
658 inline T Class::GetFieldPrimitive(const Field &field) const in GetFieldPrimitive()
664 inline void Class::SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive()
670 inline ObjectHeader *Class::GetFieldObject(const Field &field) const in GetFieldObject()
676 inline void Class::SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject()
689 inline ObjectHeader *Class::GetFieldObject(ManagedThread *thread, const Field &field) const in GetFieldObject()
695 inline void Class::SetFieldObject(ManagedThread *thread, const Field &field, ObjectHeader *value) in SetFieldObject()
/arkcompiler/runtime_core/runtime/mem/
Dobject_helpers.cpp170 for (const Field &field : fields) { in TraverseFields() local
193 ObjectHeader *field_object) { in DumpClass()
214 const char *GetFieldName(const Field &field) in GetFieldName()
233 bool operator()(ObjectHeader *obj, ObjectHeader *field, [[maybe_unused]] uint32_t offset, in operator ()()
299 bool operator()(ObjectHeader *object, ObjectHeader *field, uint32_t offset, bool is_volatile) in operator ()()
333 bool operator()(ObjectHeader *object, ObjectHeader *field, uint32_t offset, bool is_volatile) in operator ()()
/arkcompiler/runtime_core/runtime/interpreter/
Dinterpreter-inl.h1542 Field *field = ResolveField(id); in HandleLdobj() local
1567 Field *field = ResolveField(id); in HandleLdobjWide() local
1592 Field *field = ResolveField(id); in HandleLdobjObj() local
1620 Field *field = ResolveField(id); in HandleLdobjV() local
1647 Field *field = ResolveField(id); in HandleLdobjVWide() local
1674 Field *field = ResolveField(id); in HandleLdobjVObj() local
1701 Field *field = ResolveField(id); in HandleStobj() local
1726 Field *field = ResolveField(id); in HandleStobjWide() local
1751 Field *field = ResolveField(id); in HandleStobjObj() local
1779 Field *field = ResolveField(id); in HandleStobjV() local
[all …]
/arkcompiler/runtime_core/runtime/
Dclass_initializer.cpp353 static void InitializePrimitiveField(Class *klass, const Field &field) in InitializePrimitiveField()
360 static void InitializeTaggedField(Class *klass, const Field &field) in InitializeTaggedField()
366 static void InitializeStringField(Class *klass, const Field &field) in InitializeStringField()
388 for (const auto &field : klass->GetStaticFields()) { in InitializeFields() local
Dclass_linker.cpp315 for (const auto &field : fields_) { in EnumerateStaticFieldTypes() local
486 … Field *field = field_data_accessor.IsStatic() ? &fields[sfields_idx++] : &fields[ifields_idx++]; in LoadFields() local
500 Field *field = fields->front(); in LayoutFieldsWithoutAlignment() local
521 for (auto *field : fields) { in LayoutReferenceFields() local
528 for (auto *field : fields) { in LayoutReferenceFields() local
647 for (auto &field : fields) { in LayoutFields() local
1017 for (auto &field : fields) { in BuildClass() local
1366 Field *field = is_static ? klass->FindStaticFieldById(id) : klass->FindInstanceFieldById(id); in GetFieldById() local
1387 Field *field = klass->FindField([&](const Field &fld) { in GetFieldBySignature() local
1421 Field *field = pf.GetPandaCache()->GetFieldFromCache(id); in GetField() local
[all …]
Dcompiler.h238 size_t GetClassIdForField(FieldPtr field) const override in GetClassIdForField()
462 std::string GetFieldName(FieldPtr field) const override in GetFieldName()
467 panda::Field *FieldCast(FieldPtr field) const in FieldCast()
/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h179 ClassPtr GetClassForField(FieldPtr field) const override in GetClassForField()
317 compiler::DataType::Type GetFieldType(FieldPtr field) const override in GetFieldType()
331 bool IsFieldVolatile(FieldPtr field) const override in IsFieldVolatile()
343 std::string GetFieldName(FieldPtr field) const override in GetFieldName()
460 static panda_file::File::EntityId FieldCast(RuntimeInterface::FieldPtr field) in FieldCast()
/arkcompiler/runtime_core/runtime/tests/
Dobject_helpers_test.cpp156 Field *field = klass->GetStaticFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local
185 Field *field = klass->GetStaticFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local
216 Field *field = klass->GetInstanceFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local
247 Field *field = klass->GetInstanceFieldByName(reinterpret_cast<const uint8_t *>("field")); in TEST_F() local
Dclass_linker_test.cpp326 size_t GetSize(const Field &field) in GetSize()
484 for (const auto &field : klass->GetStaticFields()) { in TEST_F() local
492 for (const auto &field : klass->GetInstanceFields()) { in TEST_F() local
/arkcompiler/runtime_core/compiler/optimizer/code_generator/
Dcallconv.h79 #define SET_CFI_OFFSET(field, value) GetCfiInfo().offsets.field = value argument
86 #define SET_CFI_OFFSET(field, value) argument
/arkcompiler/ets_frontend/es2panda/util/
DmoduleHelpers.cpp51 std::string field = line.substr(pos + 1); in CompileNpmModuleEntryList() local
/arkcompiler/runtime_core/verification/jobs/
Djob.cpp35 ForAllCachedFields([&](const LibCache::CachedField &field) { in UpdateTypes()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Druntime_adapter_test.cpp44 std::vector<RuntimeInterface::FieldPtr> field; member
230 auto field = pointers.field[0]; in TEST() local
/arkcompiler/runtime_core/irtoc/backend/
Dirtoc_runtime.h104 size_t GetFieldOffset(FieldPtr field) const override in GetFieldOffset()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Druntime_interface.h314 virtual ClassPtr GetClassForField([[maybe_unused]] FieldPtr field) const in GetClassForField()
667 virtual size_t GetClassIdForField([[maybe_unused]] FieldPtr field) const in GetClassIdForField()
758 virtual DataType::Type GetFieldType([[maybe_unused]] FieldPtr field) const in GetFieldType()
768 virtual size_t GetFieldOffset([[maybe_unused]] FieldPtr field) const in GetFieldOffset()
778 virtual uintptr_t GetFieldClass([[maybe_unused]] FieldPtr field) const in GetFieldClass()
783 virtual bool IsFieldVolatile([[maybe_unused]] FieldPtr field) const in IsFieldVolatile()
788 virtual bool HasFieldMetadata([[maybe_unused]] FieldPtr field) const in HasFieldMetadata()
793 virtual std::string GetFieldName([[maybe_unused]] FieldPtr field) const in GetFieldName()
/arkcompiler/runtime_core/runtime/tooling/
Ddebugger.cpp40 static PtProperty FieldToPtProperty(Field *field) in FieldToPtProperty()
681 auto *field = classLinker->GetField(*caller, propertyId); in ResolveField() local
710 Field *field = ResolveField(thread, method, inst); in HandlePropertyAccess() local
757 Field *field = ResolveField(thread, method, inst); in HandlePropertyModify() local
/arkcompiler/runtime_core/runtime/entrypoints/
Dentrypoints.cpp589 auto field = class_linker->GetField(*method, panda_file::File::EntityId(field_id)); in GetStaticFieldAddressEntrypoint() local
603 auto field = class_linker->GetField(*method, panda_file::File::EntityId(field_id)); in GetUnknownStaticFieldMemoryAddressEntrypoint() local
623 auto field = class_linker->GetField(*method, panda_file::File::EntityId(field_id)); in GetUnknownStaticFieldPtrEntrypoint() local
649 … auto *field = interpreter::RuntimeInterface::ResolveField(thread, *caller, BytecodeId(field_id)); in GetStaticFieldAddressByIdEntrypoint() local
657 auto field = class_linker->GetField(*method, panda_file::File::EntityId(field_id)); in GetFieldOffsetEntrypoint() local
/arkcompiler/runtime_core/libpandafile/
Dpanda_cache.h121 inline void SetFieldCache(File::EntityId id, Field *field) in SetFieldCache()
Dfile_items.cpp291 for (auto &field : fields_) { in CalculateSize() local
310 for (auto &field : fields_) { in ComputeLayout() local
426 for (auto &field : fields_) { in Write() local
/arkcompiler/runtime_core/verification/absint/
Dabs_int_inl.h2542 const CachedField *field = GetCachedField(); in GetFieldType() local
2554 const CachedField *field = GetCachedField(); in GetFieldObject() local
2565 const CachedField *field = GetCachedField(); in CheckFieldAccess() local
2642 const CachedField *field = GetCachedField(); in ProcessFieldLoad() local
2740 const CachedField *field = GetCachedField(); in ProcessStoreField() local
2869 const CachedField *field = GetCachedField(); in ProcessStobjObj() local

12