Home
last modified time | relevance | path

Searched full:address (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/arkcompiler/ets_runtime/common_components/heap/
Dheap_allocator.cpp25 Address AllocateYoungInAllocBuffer(uintptr_t buffer, size_t size) in AllocateYoungInAllocBuffer()
32 Address AllocateOldInAllocBuffer(uintptr_t buffer, size_t size) in AllocateOldInAllocBuffer()
39 Address HeapAllocator::AllocateInYoungOrHuge(size_t size, LanguageType language) in AllocateInYoungOrHuge()
41 auto address = HeapManager::Allocate(size); in AllocateInYoungOrHuge() local
42 BaseObject::Cast(address)->SetLanguageType(language); in AllocateInYoungOrHuge()
43 return address; in AllocateInYoungOrHuge()
46 Address HeapAllocator::AllocateInNonmoveOrHuge(size_t size, LanguageType language) in AllocateInNonmoveOrHuge()
48 auto address = HeapManager::Allocate(size, AllocType::PINNED_OBJECT); in AllocateInNonmoveOrHuge() local
49 BaseObject::Cast(address)->SetLanguageType(language); in AllocateInNonmoveOrHuge()
50 return address; in AllocateInNonmoveOrHuge()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DUnsafe.ets27 export native function writeInt8(address: long, value: byte) : void;
28 export native function writeBoolean(address: long, value: boolean) : void;
29 export native function writeInt16(address: long, value: short) : void;
30 export native function writeInt32(address: long, value: int) : void;
31 export native function writeFloat32(address: long, value: float) : void;
32 export native function writeInt64(address: long, value: long) : void;
33 export native function writeFloat64(address: long, value: double) : void;
34 export native function writeNumber(address: long, value: number) : void;
35 export native function writeString(address: long, value: String) : int;
37 export native function readInt8(address: long) : byte;
[all …]
/arkcompiler/runtime_core/common_interfaces/heap/
Dheap_allocator.h25 using Address = uint64_t; variable
29 static Address AllocateInYoungOrHuge(size_t size, LanguageType language);
30 static Address AllocateInNonmoveOrHuge(size_t size, LanguageType language);
32 static Address AllocateInOldOrHuge(size_t size, LanguageType language);
33 static Address AllocateInHuge(size_t size, LanguageType language);
34 static Address AllocateInReadOnly(size_t size, LanguageType language);
37 static Address AllocateNoGC(size_t size);
38 static Address AllocateOldOrLargeNoGC(size_t size);
39 static Address AllocatePinNoGC(size_t size);
40 static Address AllocateOldRegion();
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_thread_stub_entries.h33 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 …]
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()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
Dbaseline_compiler.cpp101Address 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()
339 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
341 LOG_INST() << " BaselineNewlexenvImm8 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
359 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
361 LOG_INST() << " BaselineNewlexenvwithnameImm8Id16 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
381 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
383 LOG_INST() << " BaselineLdlexvarImm4Imm4 Address: " << std::hex << builtinAddress; in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
402 Address builtinAddress = in BYTECODE_BASELINE_HANDLER_IMPLEMENT()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/13.chaining_operator/
Dchop_access01.ets27 address: AddressType;
28 constructor(address: AddressType) {
29 this.address = address;
35 person1.address.street = "123";
36 person1.address.city = "xian";
38 assertEQ(person1?.address.city, "xian");
Dchop_complex.ets21 class Address {
32 address?: Address;
50 company.CEO.address = new Address("San Francisco");
51 company.CEO.address.zipCode = "94105";
52 assertEQ(company.CEO?.address?.zipCode, "94105");
Dchop_nested_obj.ets20 class Address {
31 address?: Address;
40 bob.address = new Address("New York");
41 assertEQ(bob.address?.city, "New York");
Dchop_nested_obj01.ets20 class Address {
31 address?: Address;
40 assertEQ(bob.address?.city, undefined);
Dchop_complex01.ets20 class Address {
31 address?: Address;
48 assertEQ(company.CEO?.address?.zipCode, undefined);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/
Dindex.js29 return obj.address ? obj.address.city : 'Address not found';
33 return obj.address ? obj.address.city : 'Address not found';
37 return obj.address ? obj.address.city : 'Address not found';
Doptional_reference_type.ts39 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';
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dgui.rst44 @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/
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()
/arkcompiler/runtime_core/static_core/compiler/docs/
Dplt.md24 …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 …]
Davoid-calculating-start-of-array.md1 # 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/
Dplt.md24 …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 …]
Davoid-calculating-start-of-array.md1 # 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/plugins/ets/tests/ets_func_tests/std/core/
DConsoleDirTest.ets38 class Address {
53 address: Address;
55 constructor(name: string, employees: Employee[], address: Address) {
58 this.address = address;
88 new Address("123 Main St", "Tech City", "Techland")
/arkcompiler/runtime_core/static_core/runtime/mem/
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… 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/
Dmem.h27 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/
Dmmap_test.cpp65 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/
Dgc_barrier.h79 …* 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* , …
Dmem_pool.h78 * @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

12345678910>>...24