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()
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()
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.cpp113 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()
Dheap_manager.cpp102 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()
Dpygote_space_allocator.h66 bool CanAllocNonMovable(size_t size, Alignment align) in CanAllocNonMovable()
Dregion_allocator-inl.h227 void *RegionAllocator<AllocConfigT, LockConfigT>::Alloc(size_t size, Alignment align, bool pinned) in Alloc()
588 …onmovableAllocator<AllocConfigT, LockConfigT, ObjectAllocator>::Alloc(size_t size, Alignment align) in Alloc()
649Alignment align) in NewRegionAndRetryAlloc()
685 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/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/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/aarch64/
Daarch64_memlayout.cpp139 uint32 align; in SetSegmentSize() local
256 uint32 align; in LayoutFormalParams() local
281 uint32 align; in LayoutFormalParams() local
344 uint32 align = ty->GetAlign(); in LayoutLocalsInSize() local
419 uint32 align = ty->GetAlign(); in LayoutLocalVariables() local
Daarch64_call_conv.cpp112 …nvImpl::AllocateRegisterForAgg(const MIRType &mirType, CCLocInfo &pLoc, uint64 size, uint64 &align) in AllocateRegisterForAgg()
161 …allConvImpl::AllocateGPRegister(const MIRType &mirType, CCLocInfo &pLoc, uint64 size, uint64 align) in AllocateGPRegister()
/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/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dcommon_utils.h315 inline uint64 RoundUpConst(uint64 offset, uint64 align) in RoundUpConst()
328 inline uint64 RoundUp(uint64 offset, uint64 align) in RoundUp()
337 inline int64 RoundDownConst(int64 offset, int64 align) in RoundDownConst()
343 inline int64 RoundDown(int64 offset, int64 align) in RoundDown()
352 inline bool IsAlignedTo(uint64 offset, uint64 align) in IsAlignedTo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_memlayout.cpp177 uint32 align = 0; in LayoutFormalParams() local
218 uint32 align = ty->GetAlign(); in LayoutLocalVariables() local
/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/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/ets_runtime/ecmascript/ohos/
Daot_runtime_info.h454 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()

12