Home
last modified time | relevance | path

Searched refs:address (Results 1 - 25 of 66) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_tracker.cpp34 void HeapTracker::AllocationEvent(TaggedObject *address, size_t size) in AllocationEvent() argument
36 if (snapshot_ == nullptr || address == nullptr || prevAllocation_ == address) { in AllocationEvent()
39 prevAllocation_ = address; in AllocationEvent()
40 Node *node = snapshot_->AddNode(address, size); in AllocationEvent()
51 void HeapTracker::MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size) in MoveEvent() argument
54 snapshot_->MoveNode(address, forwardAddress, size); in MoveEvent()
H A Dheap_tracker.h91 void AllocationEvent(TaggedObject *address, size_t size);
92 void MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size);
H A Dheap_profiler_interface.h51 virtual void AllocationEvent(TaggedObject *address, size_t size) = 0;
52 virtual void MoveEvent(uintptr_t address, TaggedObject *forwardAddress, size_t size)= 0;
H A Dheap_snapshot.h65 uint32_t traceId, JSTaggedType address, bool isLive = true) in Node()
73 address_(address), in Node()
136 void SetAddress(JSTaggedType address) in SetAddress() argument
138 address_ = address; in SetAddress()
419 Node *AddNode(TaggedObject *address, size_t size);
420 void MoveNode(uintptr_t address, TaggedObject *forwardAddress, size_t size);
64 Node(NodeId id, uint32_t index, const CString *name, NodeType type, size_t size, size_t nativeSize, uint32_t traceId, JSTaggedType address, bool isLive = true) Node() argument
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dtlab.cpp26 TLAB::TLAB(void *address, size_t size) in TLAB() argument
30 Fill(address, size); in TLAB()
31 LOG_TLAB_ALLOCATOR(DEBUG) << "Construct a new TLAB at addr " << std::hex << address << " with size " << std::dec in TLAB()
35 void TLAB::Fill(void *address, size_t size) in Fill() argument
37 ASSERT(ToUintPtr(address) == AlignUp(ToUintPtr(address), DEFAULT_ALIGNMENT_IN_BYTES)); in Fill()
38 memoryStartAddr_ = address; in Fill()
39 memoryEndAddr_ = ToVoidPtr(ToUintPtr(address) + size); in Fill()
40 curFreePosition_ = address; in Fill()
42 LOG_TLAB_ALLOCATOR(DEBUG) << "Fill a TLAB with buffer at addr " << std::hex << address << " wit in Fill()
[all...]
H A Dtlab.h117 * @brief Construct TLAB with the buffer at @param address with @param size
118 * @param address - a pointer into the memory where TLAB memory will be created
121 explicit TLAB(void *address = nullptr, size_t size = 0);
127 * @brief Fill a TLAB with the buffer at @param address with @param size
128 * @param address - a pointer into the memory where TLAB memory will be created
131 void Fill(void *address, size_t size);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/
H A Dindex.js49 return obj.address ? obj.address.city : 'Address not found';
55 return obj.address ? obj.address.city : 'Address not found';
61 return obj.address ? obj.address.city : 'Address not found';
/arkcompiler/ets_runtime/ecmascript/
H A Dfree_object.cpp23 FreeObject *FreeObject::FillFreeObject(BaseHeap *heap, uintptr_t address, size_t size) in FillFreeObject() argument
25 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(address), size); in FillFreeObject()
29 object = reinterpret_cast<FreeObject *>(address); in FillFreeObject()
34 object = reinterpret_cast<FreeObject *>(address); in FillFreeObject()
40 object = reinterpret_cast<FreeObject *>(address); in FillFreeObject()
47 ASAN_POISON_MEMORY_REGION(reinterpret_cast<void *>(address), size); in FillFreeObject()
H A Dglobal_env.h57 uintptr_t address = ComputeObjectAddress(index); in GetGlobalEnvObjectByIndex()
58 JSHandle<JSTaggedValue> result(address); in GetGlobalEnvObjectByIndex()
88 uintptr_t address = ComputeObjectAddress(JSTHREAD_INDEX); in GetJSThread() local
89 return *reinterpret_cast<JSThread**>(address); in GetJSThread()
94 uintptr_t address = ComputeObjectAddress(JSTHREAD_INDEX); in SetJSThread() local
95 *reinterpret_cast<JSThread**>(address) = thread; in SetJSThread()
147 const uintptr_t address = \
149 JSHandle<type> result(address); \
170 const uintptr_t address = \
172 JSHandle<type> result(address); \
[all...]
H A Dfree_object.h34 static FreeObject *FillFreeObject(BaseHeap *heap, uintptr_t address, size_t size);
/arkcompiler/runtime_core/libpandabase/mem/
H A Dmem.h206 inline bool IsAddressInObjectsHeap([[maybe_unused]] uintptr_t address) in IsAddressInObjectsHeap() argument
209 return PANDA_32BITS_HEAP_START_ADDRESS <= address && address < PANDA_32BITS_HEAP_END_OBJECTS_ADDRESS; in IsAddressInObjectsHeap()
215 inline bool IsInObjectsAddressSpace(uintptr_t address) in IsInObjectsAddressSpace() argument
217 return address == ToUintPtr(nullptr) || IsAddressInObjectsHeap(address); in IsInObjectsAddressSpace()
221 inline bool IsInObjectsAddressSpace(T *address) in IsInObjectsAddressSpace() argument
223 return IsInObjectsAddressSpace(ToUintPtr(address)); in IsInObjectsAddressSpace()
H A Darena_allocator_stl_adapter.h108 pointer address(reference x) const in address() function in panda::ArenaAllocatorAdapter
113 const_pointer address(const_reference x) const in address() function in panda::ArenaAllocatorAdapter
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Dmem.h232 constexpr bool IsAddressInObjectsHeap([[maybe_unused]] uintptr_t address) in IsAddressInObjectsHeap() argument
235 return PANDA_32BITS_HEAP_START_ADDRESS <= address && address < PANDA_32BITS_HEAP_END_OBJECTS_ADDRESS; in IsAddressInObjectsHeap()
242 constexpr bool IsAddressInObjectsHeap(const T *address) in IsAddressInObjectsHeap() argument
244 return IsAddressInObjectsHeap(ToUintPtr(address)); in IsAddressInObjectsHeap()
247 constexpr bool IsAddressInObjectsHeapOrNull(uintptr_t address) in IsAddressInObjectsHeapOrNull() argument
249 return address == ToUintPtr(nullptr) || IsAddressInObjectsHeap(address); in IsAddressInObjectsHeapOrNull()
253 constexpr bool IsAddressInObjectsHeapOrNull(const T *address) in IsAddressInObjectsHeapOrNull() argument
255 return IsAddressInObjectsHeapOrNull(ToUintPtr(address)); in IsAddressInObjectsHeapOrNull()
[all...]
H A Darena_allocator_stl_adapter.h112 pointer address(reference x) const in address() function in ark::ArenaAllocatorAdapter
117 const_reference address(const_reference x) const in address() function in ark::ArenaAllocatorAdapter
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dglue_regs_test.cpp38 const JSTaggedValue *address = globalConst->BeginSlot(); in HWTEST_F_L0() local
41 while (address < globalConst->EndSlot()) { in HWTEST_F_L0()
43 EXPECT_TRUE(!(*address).IsHole()); // Visit barely in HWTEST_F_L0()
45 address += 1; in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
H A Dllvm_stackmap_parser.cpp70 auto calStkMapRecordFunc = [this, &recordNum, &pc2CallSiteInfo, &deoptbundles](uintptr_t address, in CalcCallSite()
75 uintptr_t pc = address + instructionOffset; in CalcCallSite()
101 << " address:" << address in CalcCallSite()
137 << " address:" << address in CalcCallSite()
164 uintptr_t address = sizeRec.functionAddress; in CalcCallSite() local
166 fun2RecordNum_.emplace_back(std::make_pair(address, recordCount)); in CalcCallSite()
168 calStkMapRecordFunc(address, k); in CalcCallSite()
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dcode_info_tables.h53 static constexpr uintptr_t PackAddress(uintptr_t address, Arch arch) in PackAddress() argument
55 ASSERT(IsAligned(address, GetInstructionAlignment(arch))); in PackAddress()
56 return address / GetInstructionAlignment(arch); in PackAddress()
64 static constexpr uintptr_t UnpackAddress(uintptr_t address, Arch arch) in UnpackAddress() argument
66 return address * GetInstructionAlignment(arch); in UnpackAddress()
/arkcompiler/toolchain/tooling/client/domain/
H A Dprofiler_client.h45 void SetAddress(std::string address) in SetAddress() argument
47 address_ = address; in SetAddress()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dparallel_evacuator.cpp183 uintptr_t address = 0; in EvacuateRegion()
187 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
191 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
194 address = allocator->Allocate(size, SEMI_SPACE); in EvacuateRegion()
195 if (address == 0) { in EvacuateRegion()
196 address = allocator->Allocate(size, OLD_SPACE); in EvacuateRegion()
203 LOG_ECMA_IF(address == 0, FATAL) << "Evacuate object failed:" << size; in EvacuateRegion()
205 if (memcpy_s(ToVoidPtr(address), size, ToVoidPtr(ToUintPtr(mem)), size) != EOK) { // LOCV_EXCL_BR_LINE in EvacuateRegion()
209 heap_->OnMoveEvent(reinterpret_cast<uintptr_t>(mem), reinterpret_cast<TaggedObject *>(address), size); in EvacuateRegion()
217 Barriers::SetPrimitive(header, 0, MarkWord::FromForwardingAddress(address)); in EvacuateRegion()
[all...]
H A Dregion-inl.h152 inline bool Region::AtomicMark(void *address) in AtomicMark() argument
154 auto addrPtr = reinterpret_cast<uintptr_t>(address); in AtomicMark()
160 inline bool Region::NonAtomicMark(void *address) in NonAtomicMark() argument
163 auto addrPtr = reinterpret_cast<uintptr_t>(address); in NonAtomicMark()
169 inline void Region::ClearMark(void *address) in ClearMark() argument
171 auto addrPtr = reinterpret_cast<uintptr_t>(address); in ClearMark()
H A Djit_fort.h58 bool InRange(uintptr_t address) const;
199 inline bool AtomicMark(void *address) in AtomicMark() argument
201 auto addrPtr = reinterpret_cast<uintptr_t>(address); in AtomicMark()
H A Dchunk_allocator.h73 pointer address(reference x) const in address() function in panda::ecmascript::ChunkAllocator
78 const_pointer address(const_reference x) const in address() function in panda::ecmascript::ChunkAllocator
H A Dtlab_allocator-inl.h71 uintptr_t address = heap_->AllocateYoungSync(size); in AllocateInYoungSpace() local
72 return address; in AllocateInYoungSpace()
/arkcompiler/ets_runtime/ecmascript/intl/
H A Dlocale_helper.cpp271 size_t address = 1; in IsStructurallyValidLanguageTag() local
286 bool result = DealwithLanguageTag(containers, address); in IsStructurallyValidLanguageTag()
307 bool LocaleHelper::DealwithLanguageTag(const std::vector<std::string> &containers, size_t &address) in DealwithLanguageTag() argument
332 if (IsScriptSubtag(containers[address])) { in DealwithLanguageTag()
333 address++; in DealwithLanguageTag()
334 if (containers.size() == address) { in DealwithLanguageTag()
339 if (IsRegionSubtag(containers[address])) { in DealwithLanguageTag()
340 address++; in DealwithLanguageTag()
343 for (size_t i = address; i < containers.size(); i++) { in DealwithLanguageTag()
/arkcompiler/runtime_core/libpandafile/
H A Ddata_protect.h45 static inline uintptr_t DataProtectAut(const uintptr_t pointer, [[maybe_unused]]const uintptr_t address) in DataProtectAut() argument
53 void *t2 = reinterpret_cast<void*>(address); in DataProtectAut()
65 static inline uintptr_t DataProtectPac(const uintptr_t pointer, [[maybe_unused]]const uintptr_t address) in DataProtectPac() argument
73 void *t2 = reinterpret_cast<void*>(address); in DataProtectPac()

Completed in 11 milliseconds

123