| /arkcompiler/runtime_core/static_core/runtime/include/mem/ |
| D | allocator-inl.h | 23 inline void *ObjectAllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *objectAllocato… in AllocateSafe() 35 inline void *ObjectAllocatorBase::AddPoolsAndAlloc(size_t size, Alignment align, AllocT *objectAllo… in AddPoolsAndAlloc() 63 Alignment align = DEFAULT_ALIGNMENT; in AllocateTenuredImpl() local
|
| D | allocator.h | 105 [[nodiscard]] void *Alloc(size_t size, Alignment align) in Alloc() 115 [[nodiscard]] void *AllocLocal(size_t size, Alignment align) in AllocLocal() 271 …tual void *AllocateInLargeAllocator([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateInLargeAllocator() 338 void *Allocate([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in Allocate() 494 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] ark::ManagedThread *th… in Allocate() 499 …[[nodiscard]] void *AllocateLocal(size_t size, Alignment align, [[maybe_unused]] ark::ManagedThrea… in AllocateLocal() 538 Alignment CalculateAllocatorAlignment(size_t align) final in CalculateAllocatorAlignment()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | internal_allocator.cpp | 65 [[nodiscard]] void *InternalAllocator<CONFIG>::Alloc(size_t size, Alignment align) in Alloc() 141 void *AllocInRunSlots(AllocatorT *runslotsAllocator, size_t size, Alignment align, size_t poolSize) in AllocInRunSlots() 168 void *InternalAllocator<CONFIG>::AllocViaRunSlotsAllocator(size_t size, Alignment align) in AllocViaRunSlotsAllocator() 185 void *InternalAllocator<CONFIG>::AllocViaFreeListAllocator(size_t size, Alignment align) in AllocViaFreeListAllocator() 213 void *InternalAllocator<CONFIG>::AllocViaHumongousAllocator(size_t size, Alignment align) in AllocViaHumongousAllocator() 242 void *InternalAllocator<CONFIG>::AllocViaPandaAllocators(size_t size, Alignment align) in AllocViaPandaAllocators()
|
| D | malloc-proxy-allocator-inl.h | 38 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
| D | allocator.cpp | 113 void *ObjectAllocatorNoGen<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] ark::M… in Allocate() 136 void *ObjectAllocatorNoGen<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, ark::ManagedT… in AllocateNonMovable() 154 Alignment ObjectAllocatorNoGen<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment() 268 void *ObjectAllocatorGen<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] ark::Man… in Allocate() 285 void *ObjectAllocatorGen<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable() 318 Alignment ObjectAllocatorGen<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment()
|
| D | heap_manager.cpp | 102 ObjectHeader *HeapManager::AllocateObject(BaseClass *cls, size_t size, Alignment align, ManagedThre… in AllocateObject() 135 void *HeapManager::TryGCAndAlloc(size_t size, Alignment align, ManagedThread *thread, in TryGCAndAlloc() 172 void *HeapManager::AllocateMemoryForObject(size_t size, Alignment align, ManagedThread *thread, in AllocateMemoryForObject() 204 ObjectHeader *HeapManager::AllocateNonMovableObject(BaseClass *cls, size_t size, Alignment align, M… in AllocateNonMovableObject()
|
| D | pygote_space_allocator.h | 66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
|
| D | region_allocator-inl.h | 215 void *RegionAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align, bool pinned) in Alloc() 618 …onmovableAllocator<AllocConfigT, LockConfigT, ObjectAllocator>::Alloc(size_t size, Alignment align) in Alloc() 679 … Alignment align) in NewRegionAndRetryAlloc() 741 void *RegionHumongousAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
| D | humongous_obj_allocator-inl.h | 45 … *HumongousObjAllocator<AllocConfigT, LockConfigT>::Alloc(const size_t size, const Alignment align) in Alloc() 320 size_t size, Alignment align) in Alloc()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
| D | elf_file.h | 29 static T Align(T offset, T align) in Align() 40 Section(const std::string &name, Word type, Xword flags, Xword align) : name(name) in Section() 149 …DataSection(const std::string &name, Word type, Xword flags, Xword align) : Section(name, type, fl… in DataSection() 198 …StringSection(const std::string &name, Word type, Xword flags, Xword align) : DataSection(name, ty… in StringSection() 215 …RelaSection(const std::string &name, Word type, Xword flags, Word info, Xword align, const Section… in RelaSection() 246 SymbolSection(const std::string &name, Word type, Xword flags, Xword align, const Section &link) in SymbolSection()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/dump_code/ |
| D | jit_dump_elf.h | 44 …Section(const std::string &name, maplebe::Word type, maplebe::Xword flags, maplebe::Xword align) :… in Section() 154 maplebe::Xword align, const Section &link) : Section(name, type, flags, align) in RelaSection() 184 …bolSection(const std::string &name, maplebe::Word type, maplebe::Xword flags, maplebe::Xword align, in SymbolSection() 253 …ataSection(const std::string &name, maplebe::Word type, maplebe::Xword flags, maplebe::Xword align) in DataSection() 303 …ingSection(const std::string &name, maplebe::Word type, maplebe::Xword flags, maplebe::Xword align) in StringSection() 322 static T Align(T offset, T align) in Align()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | ifile.cpp | 23 Section::Section(std::string secName, Word type, Word flags, uint32 align, ObjEmitter &objEmitter, … in Section()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_memlayout.cpp | 88 uint32 align; in LayoutFormalParams() local 98 uint32 align; in LayoutFormalParams() local 156 uint32 align = ty->GetAlign(); in LayoutLocalVariables() local
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | arena_allocator_test.cpp | 80 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in AllocateWithAlignment() local 123 …size_t align = MIN_LOG_ALIGN_SIZE_T + random_value % (MAX_LOG_ALIGN_SIZE_T - MIN_LOG_ALIGN_SIZE_T); in AllocateWithDiffAlignment() local 448 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; variable 465 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; variable
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_memlayout.cpp | 81 uint32 align = 0; in LayoutFormalParams() local 117 uint32 align = ty->GetAlign(); in LayoutLocalVariables() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | ifile.h | 37 static T Align(T offset, T align) in Align() 219 …DataSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, MemPo… in DataSection() 332 …StringSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, Mem… in StringSection() 357 …SymbolSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, Mem… in SymbolSection() 417 …RelaSection(const std::string &name, Word type, Word flags, Word info, Word align, const Section &… in RelaSection()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
| D | g1-allocator.cpp | 193 void *ObjectAllocatorG1<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] ark::Mana… in Allocate() 212 void *ObjectAllocatorG1<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable() 239 Alignment ObjectAllocatorG1<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| D | common_utils.h | 319 inline uint64 RoundUpConst(uint64 offset, uint64 align) in RoundUpConst() 332 inline uint64 RoundUp(uint64 offset, uint64 align) in RoundUp() 341 inline int64 RoundDownConst(int64 offset, int64 align) in RoundDownConst() 347 inline int64 RoundDown(int64 offset, int64 align) in RoundDown() 356 inline bool IsAlignedTo(uint64 offset, uint64 align) in IsAlignedTo()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | becommon.cpp | 51 void BECommon::ComputeTypeSizesAligns(MIRType &ty, uint8 align) in ComputeTypeSizesAligns()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | arena_allocator_test.cpp | 88 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in AllocateWithAlignment() local 131 … size_t align = MIN_LOG_ALIGN_SIZE_T + randomValue % (MAX_LOG_ALIGN_SIZE_T - MIN_LOG_ALIGN_SIZE_T); in AllocateWithDiffAlignment() local 468 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local 485 for (Alignment align = LOG_ALIGN_MIN; align <= LOG_ALIGN_MAX; in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | tlab_test.cpp | 97 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 86 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 86 void *ArenaAllocatorT<USE_OOM_HANDLER>::Alloc(size_t size, Alignment align) in Alloc()
|
| D | mem.h | 155 constexpr Alignment GetAlignment(size_t align) in GetAlignment() 166 constexpr Alignment GetInternalAlignment(size_t align) in GetInternalAlignment()
|
| /arkcompiler/ets_runtime/ecmascript/ohos/ |
| D | aot_runtime_info.h | 454 uint64_t AlignValues(uint64_t val, uint64_t align) const in AlignValues() 459 uint64_t AlignMask(uint64_t align) const in AlignMask() 464 uint64_t AlignBytes(uint64_t align) const in AlignBytes()
|