Home
last modified time | relevance | path

Searched defs:align (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator-inl.h23 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
Dallocator.h105 [[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/
Dinternal_allocator.cpp65 [[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()
Dmalloc-proxy-allocator-inl.h38 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
Dallocator.cpp117 void *ObjectAllocatorNoGen<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] ark::M… in Allocate()
140 void *ObjectAllocatorNoGen<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, ark::ManagedT… in AllocateNonMovable()
158 Alignment ObjectAllocatorNoGen<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment()
273 void *ObjectAllocatorGen<MT_MODE>::Allocate(size_t size, Alignment align, [[maybe_unused]] ark::Man… in Allocate()
290 void *ObjectAllocatorGen<MT_MODE>::AllocateNonMovable(size_t size, Alignment align, in AllocateNonMovable()
323 Alignment ObjectAllocatorGen<MT_MODE>::CalculateAllocatorAlignment(size_t align) in CalculateAllocatorAlignment()
Dheap_manager.cpp107 ObjectHeader *HeapManager::AllocateObject(BaseClass *cls, size_t size, Alignment align, ManagedThre… in AllocateObject()
140 void *HeapManager::TryGCAndAlloc(size_t size, Alignment align, ManagedThread *thread, in TryGCAndAlloc()
177 void *HeapManager::AllocateMemoryForObject(size_t size, Alignment align, ManagedThread *thread, in AllocateMemoryForObject()
209 ObjectHeader *HeapManager::AllocateNonMovableObject(BaseClass *cls, size_t size, Alignment align, M… in AllocateNonMovableObject()
Dpygote_space_allocator.h66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
Dregion_allocator-inl.h215 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()
679Alignment align) in NewRegionAndRetryAlloc()
741 void *RegionHumongousAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align) in Alloc()
Dhumongous_obj_allocator-inl.h45 … *HumongousObjAllocator<AllocConfigT, LockConfigT>::Alloc(const size_t size, const Alignment align) in Alloc()
320 size_t size, Alignment align) in Alloc()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/cmc-gc-adapter/
Dcmc-allocator-adapter.cpp33 …AllocatorAdapter<MT_MODE>::Allocate([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in Allocate()
47 …[[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, // CC-OFF(G.FMT.06) project code … in AllocateNonMovable()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
Delf_file.h29 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/
Djit_dump_elf.h44 …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/
Difile.cpp23 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/
Daarch64_memlayout.cpp88 uint32 align; in LayoutFormalParams() local
98 uint32 align; in LayoutFormalParams() local
156 uint32 align = ty->GetAlign(); in LayoutLocalVariables() local
/arkcompiler/runtime_core/libpandabase/tests/
Darena_allocator_test.cpp80 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/
Dx64_memlayout.cpp81 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/
Difile.h37 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/
Dg1-allocator.cpp193 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/
Dcommon_utils.h320 inline uint64 RoundUpConst(uint64 offset, uint64 align) in RoundUpConst()
333 inline uint64 RoundUp(uint64 offset, uint64 align) in RoundUp()
342 inline int64 RoundDownConst(int64 offset, int64 align) in RoundDownConst()
348 inline int64 RoundDown(int64 offset, int64 align) in RoundDown()
357 inline bool IsAlignedTo(uint64 offset, uint64 align) in IsAlignedTo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dbecommon.cpp51 void BECommon::ComputeTypeSizesAligns(MIRType &ty, uint8 align) in ComputeTypeSizesAligns()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Darena_allocator_test.cpp88 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/
Dtlab_test.cpp97 Alignment align = DEFAULT_ALIGNMENT; in TEST_F() local
/arkcompiler/runtime_core/libpandabase/mem/
Darena_allocator.cpp93 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Darena_allocator.cpp87 void *ArenaAllocatorT<USE_OOM_HANDLER>::Alloc(size_t size, Alignment align) in Alloc()
Dmem.h155 constexpr Alignment GetAlignment(size_t align) in GetAlignment()
166 constexpr Alignment GetInternalAlignment(size_t align) in GetInternalAlignment()

12