Home
last modified time | relevance | path

Searched defs:alignment (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dmem.h89 constexpr inline bool IsAligned(T value, size_t alignment) in IsAligned()
95 inline T AlignDown(T x, size_t alignment) in AlignDown()
104 inline T AlignUp(T x, size_t alignment) in AlignUp()
Dmem_map_allocator.cpp27 MemMap MemMapAllocator::Allocate(size_t size, size_t alignment, bool regular, bool isMachineCode) in Allocate()
Dmem_map_allocator.h209 void Initialize(size_t alignment) in Initialize()
/arkcompiler/runtime_core/libpandabase/mem/
Darena-inl.h46 inline void *Arena::Alloc(size_t size, Alignment alignment) in Alloc()
59 inline void *Arena::AlignedAlloc(size_t size, [[maybe_unused]] Alignment alignment) in AlignedAlloc()
Dmem.h98 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignUp(T value, size_t alignment) in AlignUp()
104 constexpr std::enable_if_t<std::is_unsigned_v<T>, T> AlignDown(T value, size_t alignment) in AlignDown()
Darena_allocator.cpp70 …ine void *ArenaAllocatorT<use_oom_handler>::AllocateAndAddNewPool(size_t size, Alignment alignment) in AllocateAndAddNewPool()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dmap.cpp27 MemMap PageMap(size_t size, int prot, size_t alignment) in PageMap()
53 MemMap MachineCodePageMap(size_t size, int prot, size_t alignment) in MachineCodePageMap()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dmap.cpp39 MemMap PageMap(size_t size, int prot, size_t alignment) in PageMap()
68 MemMap MachineCodePageMap(size_t size, int prot, size_t alignment) in MachineCodePageMap()
/arkcompiler/runtime_core/libpandabase/tests/
Dcode_allocator_test.cpp38 static bool IsAligned(const void *ptr, size_t alignment) in IsAligned()
Darena_allocator_test.cpp64 static bool IsAligned(const void *ptr, size_t alignment) in IsAligned()
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.h48 bool Align(size_t alignment) in Align()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dllvm_codegen.cpp243 …_t *RoundTripAllocateCodeSection(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateCodeSection()
250 …_t *RoundTripAllocateDataSection(void *object, uintptr_t size, [[maybe_unused]] unsigned alignment, in RoundTripAllocateDataSection()
Dstub_builder-inl.h2357 inline GateRef StubBuilder::AlignUp(GateRef x, GateRef alignment) in AlignUp()