| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_thread_stub_entries.h | 33 Address stubEntries_[COUNT] = {0}; 38 void Set(size_t index, Address addr) in Set() 44 Address* GetAddr() in GetAddr() 46 return reinterpret_cast<Address*>(stubEntries_); in GetAddr() 49 Address Get(size_t index) const in Get() 59 Address stubEntries_[COUNT]; 64 void Set(size_t index, Address addr) in Set() 70 Address Get(size_t index) const in Get() 80 Address stubEntries_[COUNT]; 85 void Set(size_t index, Address addr) in Set() [all …]
|
| D | free_object.cpp | 23 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()
|
| D | global_env.h | 57 uintptr_t address = ComputeObjectAddress(index); in GetGlobalEnvObjectByIndex() local 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); \
|
| /arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
| D | baseline_compiler.cpp | 101 …Address builtinAddress = thread->GetBaselineStubEntry(BaselineStubCSigns::BaselineUpdateHotness); \ 139 Address bcAddr = thread->GetRTInterface(RuntimeStubCSigns::ID_CallArg1AndCheckToBaseline); in Compile() 140 LOG_INST() << " ID_CallArg1AndCheckToBaseline Address: " << std::hex << bcAddr; in Compile() 349 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 351 LOG_INST() << " BaselineNewlexenvImm8 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 369 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 371 LOG_INST() << " BaselineNewlexenvwithnameImm8Id16 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 391 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 393 LOG_INST() << " BaselineLdlexvarImm4Imm4 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT() 411 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/ |
| D | index.js | 49 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';
|
| D | optional_reference_type.ts | 39 address?: AddressType; property 42 export type UserPick = Pick<TestUserType, 'name' | 'address'>; 47 return obj.address ? obj.address.city : 'Adress not found'; 51 return obj.address ? obj.address.city : 'Adress not found'; 55 return obj.address ? obj.address.city : 'Adress not found';
|
| D | optional_reference_type.sts | 52 address: testAddress 61 return fnWithSubsetPick(testObj) == 'Address not found'; 71 address: testAddress 80 return fnWithSubsetPick(testObj) == 'Address not found'; 90 address: testAddress 99 return fnWithSubsetPick(testObj) == 'Address not found';
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
| D | gui.rst | 44 @Observed class Address { 59 address : Address 73 this.address = new Address(street, zip, city) 136 @Prop address : Address 152 TextInput({text: this.address.street}) 154 this.address.street = value 157 TextInput({text: this.address.city}) 159 this.address.city = value 162 TextInput({text: this.address.zip.toString()}) 165 this.address.zip = Number.isNaN(result) ? 0 : result [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_tracker.cpp | 34 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()
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | plt.md | 24 …lot` is filled during AOT file loading into runtime and contains `PLT CallStatic Resolver` address. 26 to address of `SecondSlot`, subtracted by `GetCompiledEntryPointOffset` value. 38 -YY-00: ThirdSlot - address of (-YY-08-56) <-------------- 41 -NN: address of handler 0, NN = N * 8 | 43 -16: address of handler N-1 | 44 -08: address of handler N | 48 XX+00: adr x0, #-(YY+XX) ; Put to the x0 address of ThirdSlot ; before resolve ; after resolve 60 …pointer`, it is stored into `ThirdSlot`, allow to load proper executable address, and goes as first 78 -NN: address of handler 0, NN = N * 8 | 80 -16: address of handler N-1 | [all …]
|
| D | avoid-calculating-start-of-array.md | 1 # Avoid re-calculating the address of array data for consequent array accesses 6 the address of the actual array data has to be infered from the object address. 12 in the unnecessary repetitive calculation of the data payload address. 22 interspersed by instructions that call runtime. Calculate the payload address 24 array acesses instead of object address. Replace the `{Store, Load}Array`
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | plt.md | 24 …lot` is filled during AOT file loading into runtime and contains `PLT CallStatic Resolver` address. 26 to address of `SecondSlot`, subtracted by `GetCompiledEntryPointOffset` value. 38 -YY-00: ThirdSlot - address of (-YY-08-56) <-------------- 41 -NN: address of handler 0, NN = N * 8 | 43 -16: address of handler N-1 | 44 -08: address of handler N | 48 XX+00: adr x0, #-(YY+XX) ; Put to the x0 address of ThirdSlot ; before resolve ; after resolve 60 …pointer`, it is stored into `ThirdSlot`, allow to load proper executable address, and goes as first 78 -NN: address of handler 0, NN = N * 8 | 80 -16: address of handler N-1 | [all …]
|
| D | avoid-calculating-start-of-array.md | 1 # Avoid re-calculating the address of array data for consequent array accesses 6 the address of the actual array data has to be infered from the object address. 12 in the unnecessary repetitive calculation of the data payload address. 22 interspersed by instructions that call runtime. Calculate the payload address 24 array acesses instead of object address. Replace the `{Store, Load}Array`
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | tlab.cpp | 26 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… 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 << " with s… in Fill()
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | mem.h | 27 https://linux-kernel-labs.github.io/refs/heads/master/lectures/address-space.html 29 Linux is using a split address space for 32 bit systems, although in the past there 30 were options for supporting 4/4s split or dedicated kernel address space (on those 31 …architecture that supports it, e.g. x86). Linux always uses split address space for 64 bit systems. 36 …s: https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/virtual-address-spaces 38 For a 32-bit process, the virtual address space is usually the 2-gigabyte range 0x00000000 40 For a 64-bit process on 64-bit Windows, the virtual address space is the 128-terabyte range
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | mmap_test.cpp | 65 ASSERT_EQ(result, DEFAULT_MMAP_TEST_HINT) << "mmap with fixed flag must return hint address"; in TEST_F() 67 ASSERT_FALSE(res) << "Unmup for mmaped address must be correct"; in TEST_F() 80 …tr(result), ToUintPtr(DEFAULT_MMAP_TEST_HINT)) << "mmaped address can't be less then hint address"; in TEST_F() 83 ASSERT_FALSE(res) << "Unmup for mmaped address must be correct"; in TEST_F() 103 …tr(result), ToUintPtr(DEFAULT_MMAP_TEST_HINT)) << "mmaped address can't be less then hint address"; in TEST_F() 109 ASSERT_FALSE(res) << "Unmup for mmaped address must be correct"; in TEST_F() 142 // TSAN+Aarch64 stores its data near the address, in TEST_F() 143 // mmap cannot return the same address, as it is used by TSAN, in TEST_F()
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | gc_barrier.h | 79 …* CONCURRENT_MARKING_ADDR - address of bool flag which indicates that we have concurrent marking on 80 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference 95 * MIN_ADDR - minimal address used by runtime (it is required only to support 64-bit addresses) 96 * CARD_TABLE_ADDR - address of the start of card table raw data array 113 * // Check if new_val and address of field is in different regions 169 ADDRESS = 0, // just an address (void*) enumerator 170 BOOL_ADDRESS, // contains address of bool value (bool*) 171 UINT8_ADDRESS, // contains address of uint8_t value 172 … FUNC_WITH_OBJ_REF_ADDRESS, // contains address of function with this sig: void foo(void* ); 174 …FUNC_WITH_TWO_OBJ_REF_ADDRESSES, // contains address of function with this sig: void foo(void* , …
|
| D | mem_pool.h | 78 * @param allocator_addr - address of the allocator header. 107 * @param allocator_addr - address of the allocator header. 128 * Get info about the allocator in which this address is used 138 * Get space type which this address used for 148 * Get address of pool start for input address 149 * @param addr address in pool 150 * @return address of pool start
|
| D | mmap_mem_pool.h | 129 * Get min address in pool 130 * @return min address in pool 143 * Get max address in pool 144 * @return max address in pool 157 * Get start address of pool for input address in this pool 158 * @param addr address in pool 159 * @return start address of pool 253 uintptr_t min_address_ {0U}; /// < Min address for the space 258 uintptr_t min_object_memory_addr_ {0U}; // < Minimal address of the mmaped object memory
|
| D | mem.h | 206 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_ADDRE… 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()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | gc_barrier.h | 75 …* PRE_WRITE_BARRIER_ADDR - address of pre WRB function (!= nullptr) ---> indicates that we have co… 77 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference 92 * MIN_ADDR - minimal address used by runtime (it is required only to support 64-bit addresses) 93 * CARD_TABLE_ADDR - address of the start of card table raw data array 110 * // Check if new_val and address of field is in different regions 165 ADDRESS = 0, // just an address (void*) enumerator 166 …PRE_WRITE_BARRIER_ADDRESS, // contains nullptr or address of function (during concurrent ma… 168 UINT8_ADDRESS, // contains address of uint8_t value 169 … FUNC_WITH_OBJ_REF_ADDRESS, // contains address of function with this sig: void foo(void* ); 171 …FUNC_WITH_TWO_OBJ_REF_ADDRESSES, // contains address of function with this sig: void foo(void* , …
|
| D | mem.h | 232 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_ADDRE… 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()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | standardize.h | 32 * maple provide a default implement from three address to two address 36 * maple provide a default implement from two address to one address for unary op
|
| /arkcompiler/runtime_core/docs/ |
| D | aot.md | 64 -NN: address of handler 0, NN = N * 8 66 -16: address of handler N-1 67 -08: address of handler N 76 instruction from this address. Example for arm64: 82 -NN: address of handler 0, NN = N * 8 84 -16: address of handler N-1 85 -08: address of handler N <----- 92 80: adr x30, #-88 -------------- ; Put to the x30 address of last entry in the table 93 84: ldr x30, [x30] ; Load address of the entrypoint handler
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | aot.md | 64 -NN: address of handler 0, NN = N * 8 66 -16: address of handler N-1 67 -08: address of handler N 76 instruction from this address. Example for arm64: 82 -NN: address of handler 0, NN = N * 8 84 -16: address of handler N-1 85 -08: address of handler N <----- 92 80: adr x30, #-88 -------------- ; Put to the x30 address of last entry in the table 93 84: ldr x30, [x30] ; Load address of the entrypoint handler
|