D | bitarray.c | 4 * SPDX-License-Identifier: Apache-2.0 17 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) argument 19 #define BIT_INDEX(bit) (bit >> 3) argument 21 #define BIT_VAL(bit) (1 << (bit & 0x7)) argument 61 zassert_equal(ba->num_bits, num_bits, in validate_bitarray_define() 63 num_bits, ba->num_bits); in validate_bitarray_define() 65 zassert_equal(ba->num_bundles, num_bundles, in validate_bitarray_define() 67 num_bundles, ba->num_bundles); in validate_bitarray_define() 70 zassert_equal(ba->bundles[i], FREE, in validate_bitarray_define() 88 SYS_BITARRAY_DEFINE(ba_128_bit, 128); in ZTEST() [all …]
|