| /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() 34 inline void *ObjectAllocatorBase::AddPoolsAndAlloc(size_t size, Alignment align, AllocT *objectAllo… in AddPoolsAndAlloc() 62 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() 272 …tual void *AllocateInLargeAllocator([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateInLargeAllocator() 339 void *Allocate([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in Allocate() 495 …[[nodiscard]] void *Allocate(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThread *… in Allocate() 500 …[[nodiscard]] void *AllocateLocal(size_t size, Alignment align, [[maybe_unused]] panda::ManagedThr… in AllocateLocal() 539 Alignment CalculateAllocatorAlignment(size_t align) final in CalculateAllocatorAlignment()
|
| /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/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>::AllocViaPandaAllocators(size_t size, Alignment align) in AllocViaPandaAllocators()
|
| D | allocator.cpp | 113 void *ObjectAllocatorNoGen<MT_MODE>::Allocate(size_t size, Alignment align, in Allocate() 136 void *ObjectAllocatorNoGen<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, panda::Manage… 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]] panda::M… 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 | malloc-proxy-allocator-inl.h | 38 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
| D | heap_manager.cpp | 96 ObjectHeader *HeapManager::AllocateObject(BaseClass *cls, size_t size, Alignment align, ManagedThre… in AllocateObject() 129 void *HeapManager::TryGCAndAlloc(size_t size, Alignment align, ManagedThread *thread, in TryGCAndAlloc() 166 void *HeapManager::AllocateMemoryForObject(size_t size, Alignment align, ManagedThread *thread, in AllocateMemoryForObject() 196 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 | 191 void *RegionAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc() 539 …onmovableAllocator<AllocConfigT, LockConfigT, ObjectAllocator>::Alloc(size_t size, Alignment align) in Alloc() 600 … Alignment align) in NewRegionAndRetryAlloc() 636 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()
|
| D | pygote_space_allocator-inl.h | 89 inline void *PygoteSpaceAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
|
| /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 | 126 uint32 align; in SetSegmentSize() local 247 uint32 align; in LayoutFormalParams() local 272 uint32 align; in LayoutFormalParams() local 334 uint32 align = be.GetTypeAlign(tyIdx); 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/include/be/ |
| D | common_utils.h | 310 inline uint64 RoundUpConst(uint64 offset, uint64 align) in RoundUpConst() 321 inline uint64 RoundUp(uint64 offset, uint64 align) in RoundUp() 330 inline int64 RoundDownConst(int64 offset, int64 align) in RoundDownConst() 336 inline int64 RoundDown(int64 offset, int64 align) in RoundDown() 345 inline bool IsAlignedTo(uint64 offset, uint64 align) in IsAlignedTo()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | ifile.h | 36 static T Align(T offset, T align) in Align() 218 …DataSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, MemPo… in DataSection() 331 …StringSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, Mem… in StringSection() 356 …SymbolSection(const std::string &name, Word type, Word flags, Word align, ObjEmitter &emitter, Mem… in SymbolSection() 411 …RelaSection(const std::string &name, Word type, Word flags, Word info, Word align, const Section &… in RelaSection()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_memlayout.cpp | 176 uint32 align = 0; in LayoutFormalParams() local 216 uint32 align = be.GetTypeAlign(tyIdx); in LayoutLocalVariables() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
| D | g1-allocator.cpp | 190 void *ObjectAllocatorG1<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] panda::Ma… in Allocate() 209 void *ObjectAllocatorG1<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable() 236 Alignment ObjectAllocatorG1<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment()
|
| D | g1-allocator.h | 167 … [[nodiscard]] void *AllocateLocal([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateLocal()
|
| /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/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/runtime_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 91 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()
|
| /arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
| D | elf_builder.h | 119 ElfWord align, ElfWord entsize) in Section() 227 ElfWord info, ElfWord align, ElfWord entsize) in SymbolSection() 255 StringSection(ElfBuilder &builder, const std::string &name, ElfWord flags, ElfWord align) in StringSection() 375 ElfOff UpdateOffset(ElfWord align) in UpdateOffset() 381 ElfOff UpdateAddress(ElfWord align) in UpdateAddress()
|