Searched refs:u_intN_min (Results 1 – 5 of 5) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | int_min_max.cpp | 39 TEST(int_min_max, u_intN_min) in TEST() argument 41 EXPECT_EQ(INT64_MIN, u_intN_min(64)); in TEST() 42 EXPECT_EQ(INT32_MIN, u_intN_min(32)); in TEST() 43 EXPECT_EQ(INT16_MIN, u_intN_min(16)); in TEST() 44 EXPECT_EQ(INT8_MIN, u_intN_min(8)); in TEST() 46 EXPECT_EQ(MESA_INT24_MIN, u_intN_min(24)); in TEST() 47 EXPECT_EQ(MESA_INT12_MIN, u_intN_min(12)); in TEST() 48 EXPECT_EQ(MESA_INT10_MIN, u_intN_min(10)); in TEST()
|
D | fast_idiv_by_const_test.cpp | 230 return u_intN_min(bits); in rand_sint()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | bitpack_helpers.h | 84 const int64_t min = u_intN_min(bits); in util_bitpack_sint() 128 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed() 148 const float min = u_intN_min(total_bits) / factor; in util_bitpack_sfixed_clamp()
|
D | macros.h | 407 u_intN_min(unsigned bit_size) in u_intN_min() function
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | format_utils.h | 164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size)); in _mesa_signed_to_signed()
|