Home
last modified time | relevance | path

Searched refs:RoundDown (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dbit_utils_test.cpp60 TEST(BitUtils, RoundDown) in TEST()
62 ASSERT_EQ(RoundDown(0, 4), 0); in TEST()
63 ASSERT_EQ(RoundDown(3, 4), 0); in TEST()
64 ASSERT_EQ(RoundDown(8, 4), 8); in TEST()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dbit_utils_test.cpp60 TEST(BitUtils, RoundDown) in TEST()
62 ASSERT_EQ(RoundDown(0U, 4U), 0U); in TEST()
63 ASSERT_EQ(RoundDown(3U, 4U), 0U); in TEST()
64 ASSERT_EQ(RoundDown(8U, 4U), 8U); in TEST()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dmem.cpp42 size_t map_offset = RoundDown(file_offset, GetPageSize()); in MapFile()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A Dmem.cpp161 size_t map_offset = RoundDown(file_offset, GetPageSize()); in MapFile()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dmem.cpp44 size_t mapOffset = RoundDown(fileOffset, GetPageSize()); in MapFile()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dmem.cpp165 size_t mapOffset = RoundDown(fileOffset, GetPageSize()); in MapFile()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
H A Dcommon_utils.h343 inline int64 RoundDown(int64 offset, int64 align) in RoundDown() function
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_utils.h158 constexpr T RoundDown(T x, size_t n) in RoundDown() function
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_utils.h159 constexpr T RoundDown(T x, size_t n) in RoundDown() function
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dcframe_iterators.h359 fpCurrentSlot_ = static_cast<ptrdiff_t>(RoundDown(static_cast<uintptr_t>(fpCurrentSlot_) + 1, 2U) - 1); in HandleHardDouble()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dg1gc_test.cpp1463 size_t numFilledRegions = RoundDown(numFreeRegions, NumYoungRegions()); in TEST_F()

Completed in 9 milliseconds