Home
last modified time | relevance | path

Searched refs:round_down_pot (Results 1 – 4 of 4) sorted by relevance

/external/ruy/ruy/
Dsize_util_test.cc44 EXPECT_EQ(round_down_pot(value), static_cast<Integer>(1) in SizeUtilTestValue()
46 EXPECT_LE(round_down_pot(value), value); in SizeUtilTestValue()
47 EXPECT_GE(round_down_pot(value), value >> 1); in SizeUtilTestValue()
48 EXPECT_TRUE(is_pot(round_down_pot(value))); in SizeUtilTestValue()
59 EXPECT_GE(value, round_down_pot(value, modulo)); in SizeUtilTestValue()
60 EXPECT_EQ(round_down_pot(value, modulo) % modulo, 0); in SizeUtilTestValue()
Dsize_util.h83 Integer round_down_pot(Integer value) { in round_down_pot() function
93 Integer round_down_pot(Integer value, Modulo modulo) { in round_down_pot() function
100 return round_down_pot(value + modulo - 1, modulo); in round_up_pot()
Dpath.h116 return static_cast<Path>(round_down_pot(static_cast<int>(path_mask))); in GetMostSignificantPath()
Dblock_map.cc437 round_down_pot(rows >> num_blocks_of_rows_log2, kernel_rows); in MakeBlockMap()
439 round_down_pot(cols >> num_blocks_of_cols_log2, kernel_cols); in MakeBlockMap()