Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 116) sorted by relevance

12345

/ark/runtime_core/runtime/include/coretypes/
Darray-inl.h30 inline T Array::GetPrimitive(size_t offset) const in GetPrimitive()
37 inline void Array::SetPrimitive(size_t offset, T value) in SetPrimitive()
44 inline ObjectHeader *Array::GetObject(int offset) const in GetObject()
51 inline void Array::SetObject(size_t offset, ObjectHeader *value) in SetObject()
57 inline T Array::GetPrimitive(size_t offset, std::memory_order memory_order) const in GetPrimitive()
63 inline void Array::SetPrimitive(size_t offset, T value, std::memory_order memory_order) in SetPrimitive()
70 inline ObjectHeader *Array::GetObject(size_t offset, std::memory_order memory_order) const in GetObject()
77 inline void Array::SetObject(size_t offset, ObjectHeader *value, std::memory_order memory_order) in SetObject()
83 inline bool Array::CompareAndSetPrimitive(size_t offset, T old_value, T new_value, std::memory_orde… in CompareAndSetPrimitive()
93 inline bool Array::CompareAndSetObject(size_t offset, ObjectHeader *old_value, ObjectHeader *new_va… in CompareAndSetObject()
[all …]
/ark/runtime_core/runtime/include/
Dobject_header-inl.h33 inline T ObjectHeader::GetFieldPrimitive(size_t offset) const in GetFieldPrimitive()
40 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
47 inline ObjectHeader *ObjectHeader::GetFieldObject(int offset) const in GetFieldObject()
54 inline void ObjectHeader::SetFieldObject(size_t offset, ObjectHeader *value) in SetFieldObject()
101 inline void ObjectHeader::SetFieldObject(ManagedThread *thread, size_t offset, ObjectHeader *value) in SetFieldObject()
107 inline T ObjectHeader::GetFieldPrimitive(size_t offset, std::memory_order memory_order) const in GetFieldPrimitive()
113 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in SetFieldPrimitive()
120 inline ObjectHeader *ObjectHeader::GetFieldObject(size_t offset, std::memory_order memory_order) co… in GetFieldObject()
127 inline void ObjectHeader::SetFieldObject(size_t offset, ObjectHeader *value, std::memory_order memo… in SetFieldObject()
133 inline bool ObjectHeader::CompareAndSetFieldPrimitive(size_t offset, T old_value, T new_value, in CompareAndSetFieldPrimitive()
[all …]
Dobject_accessor.h32 static T GetPrimitive(const void *obj, size_t offset) in GetPrimitive()
38 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
115 static inline void SetDynPrimitive(void *obj, size_t offset, T value) in SetDynPrimitive()
126 static inline T GetDynValue(const void *obj, size_t offset) in GetDynValue()
135 static T Get(const void *obj, size_t offset) in Get()
146 static void Set(void *obj, size_t offset, T value) in Set()
157 static T Get(const void *obj, size_t offset, std::memory_order memory_order) in Get()
165 static void Set(void *obj, size_t offset, T value, std::memory_order memory_order) in Set()
Dobject_accessor-inl.h31 inline ObjectHeader *ObjectAccessor::GetObject(const void *obj, size_t offset) in GetObject()
43 inline void ObjectAccessor::SetObject(void *obj, size_t offset, ObjectHeader *value) in SetObject()
76 size_t offset) in GetObject()
88 inline void ObjectAccessor::SetObject(const ManagedThread *thread, void *obj, size_t offset, Object… in SetObject()
186 inline T ObjectAccessor::GetFieldPrimitive(const void *obj, size_t offset, std::memory_order memory… in GetFieldPrimitive()
193 inline void ObjectAccessor::SetFieldPrimitive(void *obj, size_t offset, T value, std::memory_order … in SetFieldPrimitive()
201 inline ObjectHeader *ObjectAccessor::GetFieldObject(const void *obj, int offset, std::memory_order … in GetFieldObject()
212 inline void ObjectAccessor::SetFieldObject(void *obj, size_t offset, ObjectHeader *value, in SetFieldObject()
244 inline std::pair<bool, T> ObjectAccessor::CompareAndSetFieldPrimitive(void *obj, size_t offset, T o… in CompareAndSetFieldPrimitive()
260 … std::pair<bool, ObjectHeader *> ObjectAccessor::CompareAndSetFieldObject(void *obj, size_t offset, in CompareAndSetFieldObject()
[all …]
Dclass-inl.h392 inline T Class::GetFieldPrimitive(size_t offset) const in GetFieldPrimitive()
400 inline void Class::SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
407 inline ObjectHeader *Class::GetFieldObject(size_t offset) const in GetFieldObject()
415 inline void Class::SetFieldObject(size_t offset, ObjectHeader *value) in SetFieldObject()
446 auto offset = field.GetOffset() + (ToUintPtr(this) - ToUintPtr(object)); in SetFieldObject() local
466 auto offset = field.GetOffset() + (ToUintPtr(this) - ToUintPtr(object)); in SetFieldObject() local
475 inline T Class::GetFieldPrimitive(size_t offset, std::memory_order memory_order) const in GetFieldPrimitive()
481 inline void Class::SetFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in SetFieldPrimitive()
488 inline ObjectHeader *Class::GetFieldObject(size_t offset, std::memory_order memory_order) const in GetFieldObject()
495 inline void Class::SetFieldObject(size_t offset, ObjectHeader *value, std::memory_order memory_orde… in SetFieldObject()
[all …]
/ark/runtime_core/verification/job_queue/
Djob.h44 void AddField(uint32_t offset, const CachedField &cached_field) in AddField()
49 void AddMethod(uint32_t offset, const CachedMethod &ch_method) in AddMethod()
54 void AddClass(uint32_t offset, const CachedClass &ch_method) in AddClass()
59 bool IsFieldPresentForOffset(uint32_t offset) const in IsFieldPresentForOffset()
64 bool IsMethodPresentForOffset(uint32_t offset) const in IsMethodPresentForOffset()
69 bool IsClassPresentForOffset(uint32_t offset) const in IsClassPresentForOffset()
74 const CachedField &GetField(uint32_t offset) const in GetField()
79 const CachedMethod &GetMethod(uint32_t offset) const in GetMethod()
84 const CachedClass &GetClass(uint32_t offset) const in GetClass()
/ark/runtime_core/runtime/arch/
Dasm_support.h47 #define CFI_DEF_CFA(reg, offset) .cfi_def_cfa reg, (offset) argument
49 #define CFI_ADJUST_CFA_OFFSET(offset) .cfi_adjust_cfa_offset (offset) argument
53 #define CFI_REL_OFFSET(reg, offset) .cfi_rel_offset reg, (offset) argument
55 #define CFI_OFFSET(reg, offset) .cfi_offset reg, (offset) argument
72 #define CFI_DEF_CFA(reg, offset) argument
74 #define CFI_ADJUST_CFA_OFFSET(offset) argument
78 #define CFI_REL_OFFSET(reg, offset) argument
80 #define CFI_OFFSET(reg, offset) argument
/ark/js_runtime/ecmascript/regexp/
Ddyn_chunk.h87 inline uint32_t GetU32(size_t offset) const in GetU32()
93 inline void PutU32(size_t offset, uint32_t data) const in PutU32()
99 inline uint32_t GetU16(size_t offset) const in GetU16()
105 inline void PutU16(size_t offset, uint16_t data) const in PutU16()
111 inline uint32_t GetU8(size_t offset) const in GetU8()
117 inline void PutU8(size_t offset, uint8_t data) const in PutU8()
/ark/runtime_core/runtime/
Dhandle_storage-inl.h27 uint32_t offset = index & NODE_BLOCK_SIZE_MASK; in GetNodeAddress() local
37 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in NewHandle() local
72 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in ZapFreedHandles() local
92 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in UpdateHeapObject() local
112 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in VisitGCRoots() local
136 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in UpdateHeapObject() local
160 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in VisitGCRoots() local
/ark/runtime_core/libpandabase/utils/
Dbit_memory_region.h53 Iterator(const BitMemoryRegion &region, uint32_t offset) : region_(region), bit_(offset) in Iterator()
130 bool Read(size_t offset) in Read()
139 void Write(bool value, size_t offset) in Write()
153 Read(size_t offset, size_t length) const in Read()
184 bool ReadBit(size_t offset) const in ReadBit()
202 void Write(uint32_t value, size_t offset, size_t length) in Write()
227 BitMemoryRegion Subregion(size_t offset, size_t length) in Subregion()
234 BitMemoryRegion Subregion(size_t offset, size_t length) const in Subregion()
/ark/runtime_core/libpandafile/
Dbytecode_instruction.h85 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
102 T Read(size_t offset) const in Read()
108 uint8_t ReadByte(size_t offset) const in ReadByte()
130 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
142 const uint8_t *GetPointer(int32_t offset, size_t size) const in GetPointer()
181 T Read(size_t offset) const in Read()
328 uint8_t ReadByte(size_t offset) const in ReadByte()
Dline_program_state.h55 void SetFile(uint32_t offset) in SetFile()
70 void SetSourceCode(uint32_t offset) in SetSourceCode()
Dbytecode_instruction-inl.h26 inline auto BytecodeInst<Mode>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size… in ReadHelper()
69 inline auto BytecodeInst<Mode>::Read64(size_t offset, size_t width) const in Read64()
/ark/js_runtime/ecmascript/mem/
Dbarriers.h25 static inline void SetDynPrimitive(void *obj, size_t offset, T value) in SetDynPrimitive()
33 static inline bool AtomicSetDynPrimitive(volatile void *obj, size_t offset, T oldValue, T value) in AtomicSetDynPrimitive()
44 static inline T GetDynValue(const void *obj, size_t offset) in GetDynValue()
Dbarriers-inl.h25 static ARK_INLINE void WriteBarrier(void *obj, size_t offset, JSTaggedType value) in WriteBarrier()
46 …line void Barriers::SetDynObject([[maybe_unused]] const JSThread *thread, void *obj, size_t offset, in SetDynObject()
/ark/runtime_core/runtime/mem/gc/
Dcrossing_map.h197 void SetInitialized(CROSSING_MAP_TYPE offset) in SetInitialized()
204 void SetInitializedAndCrossedBorder(CROSSING_MAP_TYPE offset) in SetInitializedAndCrossedBorder()
211 void SetCrossedBorder(CROSSING_MAP_TYPE offset) in SetCrossedBorder()
247 void *GetAddrFromOffset(size_t map_num, size_t offset) in GetAddrFromOffset()
256 size_t offset = (ToUintPtr(addr) - start_addr_) % CROSSING_MAP_GRANULARITY; in GetOffsetFromAddr() local
/ark/runtime_core/runtime/tests/
Doffsets_test.cpp31 size_t offset = 0; in TEST() local
54 size_t offset = 0; in TEST() local
/ark/runtime_core/runtime/mem/
Dobject_helpers-inl.h89 size_t offset = field.GetOffset(); in TraverseFields() local
109 uint32_t offset = cls->GetRefFieldsOffset<true>(); in TraverseClass() local
130 uint32_t offset = cls->GetRefFieldsOffset<false>(); in TraverseObject() local
187 …size_t offset = ObjectHeader::ObjectHeaderSize() + sizeof(HClass) + i * TaggedValue::TaggedTypeSiz… in TraverseObject() local
207 … size_t offset = ObjectHeader::ObjectHeaderSize() + i * TaggedValue::TaggedTypeSize(); in TraverseObject() local
/ark/js_runtime/ecmascript/
Dtagged_array-inl.h29 size_t offset = JSTaggedValue::TaggedTypeSize() * idx; in Get() local
55 size_t offset = JSTaggedValue::TaggedTypeSize() * idx; in Set() local
68 size_t offset = JSTaggedValue::TaggedTypeSize() * idx; in Set() local
143 size_t offset = JSTaggedValue::TaggedTypeSize() * i; in InitializeWithSpecialValue() local
Decma_macros.h52 #define GET_VALUE(addr, offset) Barriers::GetDynValue<JSTaggedType>((addr), (offset)) argument
55 #define SET_VALUE_WITH_BARRIER(thread, addr, offset, value) \ argument
63 #define SET_VALUE_PRIMITIVE(addr, offset, value) \ argument
67 #define ACCESSORS(name, offset, endOffset) … argument
106 #define DEFINE_ALIGN_SIZE(offset) \ argument
110 #define ACCESSORS_FIXED_SIZE_FIELD(name, type, sizeType, offset, endOffset) \ argument
123 #define ACCESSORS_NATIVE_FIELD(name, type, offset, endOffset) \ argument
127 #define ACCESSORS_PRIMITIVE_FIELD(name, type, offset, endOffset) \ argument
131 #define ACCESSORS_BIT_FIELD(name, offset, endOffset) \ argument
/ark/runtime_core/libpandafile/external/
Dpanda_file_external.h55 …static std::unique_ptr<PandaFileWrapper> OpenPandafileFromFd(int fd, uint64_t offset, const std::s… in OpenPandafileFromFd()
71 MethodSymInfoExt QueryMethodSymByOffset(uint64_t offset) in QueryMethodSymByOffset()
/ark/js_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.h28 uint32_t offset; member
38 uint32_t offset; member
/ark/runtime_core/libpandabase/tests/
Dbit_memory_region_test.cpp23 static void CompareData(const uint8_t *data, size_t offset, size_t length, uint32_t value, uint8_t … in CompareData()
39 for (size_t offset = 0; offset < MAX_BITS_COUNT; offset++) { in TEST() local
64 for (size_t offset = 0; offset < MAX_BITS_COUNT; offset++) { in TEST() local
/ark/runtime_core/runtime/mem/gc/static/
Dgc_static_impl.cpp31 uint32_t offset = cls->GetRefFieldsOffset<false>(); in HandleObject() local
50 uint32_t offset = cls->GetRefFieldsOffset<true>(); in HandleClass() local
/ark/runtime_core/verification/cflow/
Dcflow_common.cpp26 …auto offset = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(ptr) - reinterpret_cast<uintptr_t>… in OffsetAsHexStr() local

12345