Home
last modified time | relevance | path

Searched refs:u_intN_min (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dint_min_max.cpp39 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()
Dfast_idiv_by_const_test.cpp230 return u_intN_min(bits); in rand_sint()
/hardware/google/gfxstream/guest/mesa/src/util/
Dbitpack_helpers.h84 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()
Dmacros.h407 u_intN_min(unsigned bit_size) in u_intN_min() function
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dformat_utils.h164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size)); in _mesa_signed_to_signed()