Home
last modified time | relevance | path

Searched refs:ARENA_ALIGNMENT (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Darena_test.cpp90 static constexpr Alignment ARENA_ALIGNMENT = LOG_ALIGN_4; in TEST_F() local
91 static constexpr size_t ALIGNED_ALLOC_SIZE = AlignUp(ALLOC_SIZE, GetAlignmentInBytes(ARENA_ALIGNMENT)); in TEST_F()
93 GetOccupiedAndFreeSizeTestImplementation<AlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
94 GetOccupiedAndFreeSizeTestImplementation<DoubleLinkedAlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
100 static constexpr Alignment ARENA_ALIGNMENT = LOG_ALIGN_4; in TEST_F() local
101 static constexpr size_t ALIGNED_ALLOC_SIZE = AlignUp(ALLOC_SIZE, GetAlignmentInBytes(ARENA_ALIGNMENT)); in TEST_F()
103 ResizeAndResetTestImplementation<AlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
104 ResizeAndResetTestImplementation<DoubleLinkedAlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Darena_test.cpp94 static constexpr Alignment ARENA_ALIGNMENT = LOG_ALIGN_4; in TEST_F() local
95 static constexpr size_t ALIGNED_ALLOC_SIZE = AlignUp(ALLOC_SIZE, GetAlignmentInBytes(ARENA_ALIGNMENT)); in TEST_F()
97 GetOccupiedAndFreeSizeTestImplementation<AlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
98 GetOccupiedAndFreeSizeTestImplementation<DoubleLinkedAlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
104 static constexpr Alignment ARENA_ALIGNMENT = LOG_ALIGN_4; in TEST_F() local
105 static constexpr size_t ALIGNED_ALLOC_SIZE = AlignUp(ALLOC_SIZE, GetAlignmentInBytes(ARENA_ALIGNMENT)); in TEST_F()
107 ResizeAndResetTestImplementation<AlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()
108 ResizeAndResetTestImplementation<DoubleLinkedAlignedArena<ARENA_ALIGNMENT>>(ARENA_SIZE, ALIGNED_ALLOC_SIZE); in TEST_F()

Completed in 2 milliseconds