Searched refs:NUM_BITS (Results 1 – 3 of 3) sorted by relevance
/third_party/openssl/test/ |
D | exptest.c | 23 #define NUM_BITS (BN_BITS2 * 4) macro 179 if (!TEST_true(BN_rand(a, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 186 if (!TEST_true(BN_rand(b, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 193 if (!TEST_true(BN_rand(m, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_passes.c | 273 const unsigned NUM_BITS = 8; in lower_uint_color_write() local 274 const unsigned bits[4] = { NUM_BITS, NUM_BITS, NUM_BITS, NUM_BITS }; in lower_uint_color_write() 294 nir_iadd(b, def, nir_imm_int(b, 1 << NUM_BITS)), in lower_uint_color_write()
|
/third_party/python/Modules/_ctypes/ |
D | cfield.c | 404 #define NUM_BITS(x) ((x) >> 16) macro 407 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) 413 if (NUM_BITS(size)) { \ 414 v <<= (sizeof(v)*8 - LOW_BIT(size) - NUM_BITS(size)); \ 415 v >>= (sizeof(v)*8 - NUM_BITS(size)); \ 420 (NUM_BITS(size) ? \
|