Home
last modified time | relevance | path

Searched defs:align (Results 1 – 25 of 35) 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()
34 inline void *ObjectAllocatorBase::AddPoolsAndAlloc(size_t size, Alignment align, AllocT *objectAllo… in AddPoolsAndAlloc()
62 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()
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/
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/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>::AllocViaPandaAllocators(size_t size, Alignment align) in AllocViaPandaAllocators()
Dallocator.cpp113 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()
Dmalloc-proxy-allocator-inl.h38 void *MallocProxyAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
Dheap_manager.cpp96 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()
Dpygote_space_allocator.h66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
Dregion_allocator-inl.h191 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()
600Alignment align) in NewRegionAndRetryAlloc()
636 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()
Dpygote_space_allocator-inl.h89 inline void *PygoteSpaceAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc()
/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.cpp126 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/
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/include/be/
Dcommon_utils.h310 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/
Difile.h36 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/
Dx64_memlayout.cpp176 uint32 align = 0; in LayoutFormalParams() local
216 uint32 align = be.GetTypeAlign(tyIdx); in LayoutLocalVariables() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dg1-allocator.cpp190 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()
Dg1-allocator.h167 … [[nodiscard]] void *AllocateLocal([[maybe_unused]] size_t size, [[maybe_unused]] Alignment align, in AllocateLocal()
/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/static_core/libpandabase/mem/
Darena_allocator.cpp86 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()
/arkcompiler/runtime_core/libpandabase/mem/
Darena_allocator.cpp91 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc()
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
Delf_builder.h119 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()

12