Home
last modified time | relevance | path

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

12345678910>>...17

/arkcompiler/runtime_core/static_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 memoryOrder) const in GetPrimitive()
63 inline void Array::SetPrimitive(size_t offset, T value, std::memory_order memoryOrder) in SetPrimitive()
70 inline ObjectHeader *Array::GetObject(size_t offset, std::memory_order memoryOrder) const in GetObject()
77 inline void Array::SetObject(size_t offset, ObjectHeader *value, std::memory_order memoryOrder) in SetObject()
83 inline bool Array::CompareAndSetPrimitive(size_t offset, T oldValue, T newValue, std::memory_order … in CompareAndSetPrimitive()
93 inline bool Array::CompareAndSetObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValu… in CompareAndSetObject()
[all …]
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_header-inl.h43 inline T ObjectHeader::GetFieldPrimitive(size_t offset) const in GetFieldPrimitive()
49 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
55 inline ObjectHeader *ObjectHeader::GetFieldObject(int offset) const in GetFieldObject()
61 inline void ObjectHeader::SetFieldObject(size_t offset, ObjectHeader *value) in SetFieldObject()
103 inline void ObjectHeader::SetFieldObject(const ManagedThread *thread, size_t offset, ObjectHeader *… in SetFieldObject()
109 inline T ObjectHeader::GetFieldPrimitive(size_t offset, std::memory_order memoryOrder) const in GetFieldPrimitive()
115 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value, std::memory_order memoryOrder) in SetFieldPrimitive()
121 inline ObjectHeader *ObjectHeader::GetFieldObject(size_t offset, std::memory_order memoryOrder) con… 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 oldValue, T newValue, in CompareAndSetFieldPrimitive()
[all …]
Dobject_accessor.h31 static T GetPrimitive(const void *obj, size_t offset) in GetPrimitive()
37 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
121 static inline T GetDynValue(const void *obj, size_t offset) in GetDynValue()
133 static T Get(const void *obj, size_t offset) in Get()
146 static void Set(void *obj, size_t offset, T value) in Set()
159 static T Get(const void *obj, size_t offset, std::memory_order memoryOrder) in Get()
168 static void Set(void *obj, size_t offset, T value, std::memory_order memoryOrder) in Set()
Dobject_accessor-inl.h30 inline ObjectHeader *ObjectAccessor::GetObject(const void *obj, size_t offset) in GetObject()
41 inline void ObjectAccessor::SetObject(void *obj, size_t offset, ObjectHeader *value) in SetObject()
72 size_t offset) in GetObject()
83 inline void ObjectAccessor::SetObject(const ManagedThread *thread, void *obj, size_t offset, Object… in SetObject()
176 inline T ObjectAccessor::GetFieldPrimitive(const void *obj, size_t offset, std::memory_order memory… in GetFieldPrimitive()
183 inline void ObjectAccessor::SetFieldPrimitive(void *obj, size_t offset, T value, std::memory_order … in SetFieldPrimitive()
190 inline ObjectHeader *ObjectAccessor::GetFieldObject(const void *obj, int offset, std::memory_order … in GetFieldObject()
210 inline void ObjectAccessor::SetFieldObject(void *obj, size_t offset, ObjectHeader *value, std::memo… in SetFieldObject()
243 inline std::pair<bool, T> ObjectAccessor::CompareAndSetFieldPrimitive(void *obj, size_t offset, T o… in CompareAndSetFieldPrimitive()
257 … std::pair<bool, ObjectHeader *> ObjectAccessor::CompareAndSetFieldObject(void *obj, size_t offset, in CompareAndSetFieldObject()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.h44 GateRef offset = IntPtr(JSTypedArray::VIEWED_ARRAY_BUFFER_OFFSET); in GetViewedArrayBuffer() local
50 GateRef offset = IntPtr(JSTypedArray::ARRAY_LENGTH_OFFSET); in GetArrayLength() local
56 GateRef offset = IntPtr(JSTypedArray::BYTE_OFFSET_OFFSET); in GetByteOffset() local
62 GateRef offset = IntPtr(JSArrayBuffer::DATA_OFFSET); in GetArrayBufferData() local
68 GateRef offset = IntPtr(JSArrayBuffer::BYTE_LENGTH_OFFSET); in GetArrayBufferByteLength() local
74 GateRef offset = IntPtr(JSNativePointer::POINTER_OFFSET); in GetExternalPointer() local
/arkcompiler/runtime_core/static_core/verification/jobs/
Djob.h51 bool IsFieldPresentForOffset(uint32_t offset) const in IsFieldPresentForOffset()
56 bool IsMethodPresentForOffset(uint32_t offset) const in IsMethodPresentForOffset()
61 bool IsTypePresentForOffset(uint32_t offset) const in IsTypePresentForOffset()
66 Field const *GetCachedField(uint32_t offset) const in GetCachedField()
71 Method const *GetCachedMethod(uint32_t offset) const in GetCachedMethod()
76 Type GetCachedType(uint32_t offset) const in GetCachedType()
160 void AddField(uint32_t offset, Field const *field) in AddField()
165 void AddMethod(uint32_t offset, Method const *method) in AddMethod()
170 void AddType(uint32_t offset, Type const *type) in AddType()
/arkcompiler/ets_runtime/ecmascript/mem/
Ddyn_chunk.h88 inline uint64_t GetU64(size_t offset) const in GetU64()
94 inline uint32_t GetU32(size_t offset) const in GetU32()
100 inline void PutU32(size_t offset, uint32_t data) const in PutU32()
106 inline uint32_t GetU16(size_t offset) const in GetU16()
112 inline void PutU16(size_t offset, uint16_t data) const in PutU16()
118 inline uint32_t GetU8(size_t offset) const in GetU8()
124 inline void PutU8(size_t offset, uint8_t data) const in PutU8()
Dbarriers.h31 static inline void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
39 static inline T AtomicSetPrimitive(volatile void *obj, size_t offset, T oldValue, T value) in AtomicSetPrimitive()
55 static inline T GetValue(const void *obj, size_t offset) in GetValue()
Dbarriers-inl.h28 static ARK_INLINE void WriteBarrier(const JSThread *thread, void *obj, size_t offset, JSTaggedType … in WriteBarrier()
55 inline void Barriers::SetObject(const JSThread *thread, void *obj, size_t offset, JSTaggedType valu… in SetObject()
68 inline void Barriers::SynchronizedSetObject(const JSThread *thread, void *obj, size_t offset, JSTag… in SynchronizedSetObject()
/arkcompiler/runtime_core/static_core/runtime/arch/
Dasm_support.h54 #define CFI_DEF_CFA(reg, offset) .cfi_def_cfa reg, (offset) argument
56 #define CFI_ADJUST_CFA_OFFSET(offset) .cfi_adjust_cfa_offset (offset) argument
60 #define CFI_REL_OFFSET(reg, offset) .cfi_rel_offset reg, (offset) argument
62 #define CFI_OFFSET(reg, offset) .cfi_offset reg, (offset) argument
79 #define CFI_DEF_CFA(reg, offset) argument
81 #define CFI_ADJUST_CFA_OFFSET(offset) argument
85 #define CFI_REL_OFFSET(reg, offset) argument
87 #define CFI_OFFSET(reg, offset) argument
/arkcompiler/runtime_core/bytecode_optimizer/
Dir_interface.h36 virtual std::string GetMethodIdByOffset(uint32_t offset) const in GetMethodIdByOffset()
44 virtual std::string GetStringIdByOffset(uint32_t offset) const in GetStringIdByOffset()
52 virtual std::string GetLiteralArrayByOffset(uint32_t offset) const in GetLiteralArrayByOffset()
60 std::optional<std::string> GetLiteralArrayIdByOffset(uint32_t offset) const in GetLiteralArrayIdByOffset()
72 virtual std::string GetTypeIdByOffset(uint32_t offset) const in GetTypeIdByOffset()
80 virtual std::string GetFieldIdByOffset(uint32_t offset) const in GetFieldIdByOffset()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
Dpgo_method_type_set.h35 void AddType(uint32_t offset, PGOSampleType type) in AddType()
46 void AddCallTargetType(uint32_t offset, PGOSampleType type) in AddCallTargetType()
57 void AddObjectInfo(uint32_t offset, const PGOObjectInfo &info) in AddObjectInfo()
67 void AddDefine(uint32_t offset, PGODefineOpType type) in AddDefine()
115 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader()
116 TypeInfoHeader(uint32_t size, InfoType type, uint32_t offset) in TypeInfoHeader()
143 …explicit RWScalarOpTemplate(uint32_t offset) : TypeInfoHeader(InfoType::USE_HCLASS_TYPE, offset) {… in RWScalarOpTemplate()
144 RWScalarOpTemplate(uint32_t offset, ObjectInfoType info) in RWScalarOpTemplate()
207 ScalarOpTemplate(uint32_t offset, SampleType type) in ScalarOpTemplate()
239 ScalarOpTemplate(uint32_t size, InfoType infoType, uint32_t offset, SampleType type) in ScalarOpTemplate()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
Dassembler_x64.cpp304 void AssemblerX64::EmitJmp(int32_t offset) in EmitJmp()
318 void AssemblerX64::EmitJa(int32_t offset) in EmitJa()
334 void AssemblerX64::EmitJb(int32_t offset) in EmitJb()
350 void AssemblerX64::EmitJz(int32_t offset) in EmitJz()
366 void AssemblerX64::EmitJne(int32_t offset) in EmitJne()
382 void AssemblerX64::EmitJbe(int32_t offset) in EmitJbe()
398 void AssemblerX64::EmitJnz(int32_t offset) in EmitJnz()
414 void AssemblerX64::EmitJle(int32_t offset) in EmitJle()
430 void AssemblerX64::EmitJae(int32_t offset) in EmitJae()
446 void AssemblerX64::EmitJg(int32_t offset) in EmitJg()
[all …]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dir_interface.h38 virtual std::string GetMethodIdByOffset(uint32_t offset) const in GetMethodIdByOffset()
46 virtual std::string GetStringIdByOffset(uint32_t offset) const in GetStringIdByOffset()
54 std::optional<std::string> GetLiteralArrayIdByOffset(uint32_t offset) const in GetLiteralArrayIdByOffset()
66 virtual std::string GetTypeIdByOffset(uint32_t offset) const in GetTypeIdByOffset()
74 virtual std::string GetFieldIdByOffset(uint32_t offset) const in GetFieldIdByOffset()
/arkcompiler/runtime_core/static_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
71 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in ZapFreedHandles() local
91 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in UpdateHeapObject() local
111 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in VisitGCRoots() local
135 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in UpdateHeapObject() local
159 uint32_t offset = lastIndex_ & NODE_BLOCK_SIZE_MASK; in VisitGCRoots() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dinstruction.h36 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
63 T Read(size_t offset) const in Read()
69 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write()
77 uint8_t ReadByte(size_t offset) const in ReadByte()
83 inline auto ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const in ReadHelper()
122 inline auto Read64(size_t offset, size_t width) const in Read64()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_region.h53 Iterator(const BitMemoryRegion &region, uint32_t offset) : region_(region), bit_(offset) in Iterator()
129 bool Read(size_t offset) in Read()
138 void Write(bool value, size_t offset) in Write()
152 Read(size_t offset, size_t length) const in Read()
183 bool ReadBit(size_t offset) const in ReadBit()
201 void Write(uint32_t value, size_t offset, size_t length) in Write()
226 BitMemoryRegion Subregion(size_t offset, size_t length) in Subregion()
233 BitMemoryRegion Subregion(size_t offset, size_t length) const in Subregion()
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction.h95 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
112 T Read(size_t offset) const in Read()
118 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write()
126 uint8_t ReadByte(size_t offset) const in ReadByte()
146 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
158 const uint8_t *GetPointer(int32_t offset, size_t size) const in GetPointer()
197 T Read(size_t offset) const in Read()
354 uint8_t ReadByte(size_t offset) const in ReadByte()
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/mem/
Ddyn_chunk.h107 inline uint32_t GetU32(size_t offset) const in GetU32()
113 inline void PutU32(size_t offset, uint32_t data) const in PutU32()
119 inline uint32_t GetU16(size_t offset) const in GetU16()
125 inline void PutU16(size_t offset, uint16_t data) const in PutU16()
131 inline uint32_t GetU8(size_t offset) const in GetU8()
137 inline void PutU8(size_t offset, uint8_t data) const in PutU8()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dbit_memory_region.h61 Iterator(const BitMemoryRegion &region, uint32_t offset) : region_(region), bit_(offset) in Iterator()
139 bool Read(size_t offset) in Read()
148 void Write(bool value, size_t offset) in Write()
162 Read(size_t offset, size_t length) const in Read()
193 bool ReadBit(size_t offset) const in ReadBit()
211 void Write(uint32_t value, size_t offset, size_t length) in Write()
236 BitMemoryRegion Subregion(size_t offset, size_t length) in Subregion()
243 BitMemoryRegion Subregion(size_t offset, size_t length) const in Subregion()
/arkcompiler/runtime_core/static_core/libpandafile/
Dbytecode_instruction.h95 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
112 T Read(size_t offset) const in Read()
118 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write()
126 uint8_t ReadByte(size_t offset) const in ReadByte()
146 const uint8_t *GetPointer(int32_t offset) const in GetPointer()
158 NO_UB_SANITIZE const uint8_t *GetPointer(int32_t offset, size_t size) const in GetPointer()
197 T Read(size_t offset) const in Read()
365 uint8_t ReadByte(size_t offset) const in ReadByte()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_object.h51 EtsObject *GetAndSetFieldObject(size_t offset, EtsObject *value, std::memory_order memoryOrder) in GetAndSetFieldObject()
63 T GetFieldPrimitive(size_t offset) in GetFieldPrimitive()
93 void SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
114 EtsObject *GetFieldObject(size_t offset) in GetFieldObject()
139 void SetFieldObject(size_t offset, EtsObject *value) in SetFieldObject()
144 void SetFieldObject(size_t offset, EtsObject *value, std::memory_order memoryOrder) in SetFieldObject()
150 …bool CompareAndSetFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOr… in CompareAndSetFieldPrimitive()
155 bool CompareAndSetFieldObject(size_t offset, EtsObject *oldValue, EtsObject *newValue, in CompareAndSetFieldObject()
/arkcompiler/runtime_core/static_core/runtime/arch/aarch64/
Dcall_runtime.S18 .macro SAVE_CALLEE_GP_REGS base_reg, offset
36 .macro RESTORE_CALLEE_GP_REGS base_reg, offset
54 .macro SAVE_CALLEE_FP_REGS base_reg, offset
69 .macro RESTORE_CALLEE_FP_REGS base_reg, offset
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/arm/
Dcompiled_code_to_runtime_bridge_arm.S18 .macro SAVE_CALLEE_GP_REGS base_reg, tmp_reg, offset
30 .macro RESTORE_CALLEE_GP_REGS base_reg, tmp_reg, offset
42 .macro SAVE_CALLEE_FP_REGS base_reg, tmp_reg, offset
55 .macro RESTORE_CALLEE_FP_REGS base_reg, tmp_reg, offset
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Dbit_set.h61 bool TestBit(size_t offset) const in TestBit()
71 void SetBit(size_t offset) in SetBit()
81 void ClearBit(size_t offset) in ClearBit()
180 size_t IndexInWord(size_t offset) const in IndexInWord()
185 size_t Index(size_t offset) const in Index()

12345678910>>...17