Lines Matching refs:bit_val
131 int bit_val; in ZTEST() local
153 ret = sys_bitarray_test_bit(&ba, bit, &bit_val); in ZTEST()
156 zassert_equal(bit_val, 1, in ZTEST()
167 ret = sys_bitarray_test_bit(&ba, bit, &bit_val); in ZTEST()
170 zassert_equal(bit_val, 0, in ZTEST()
174 ret = sys_bitarray_test_and_set_bit(&ba, bit, &bit_val); in ZTEST()
177 zassert_equal(bit_val, 0, in ZTEST()
185 ret = sys_bitarray_test_and_set_bit(&ba, bit, &bit_val); in ZTEST()
188 zassert_equal(bit_val, 1, in ZTEST()
196 ret = sys_bitarray_test_and_clear_bit(&ba, bit, &bit_val); in ZTEST()
199 zassert_equal(bit_val, 1, in ZTEST()
208 ret = sys_bitarray_test_and_clear_bit(&ba, bit, &bit_val); in ZTEST()
211 zassert_equal(bit_val, 0, in ZTEST()
235 ret = sys_bitarray_test_bit(&ba, ba.num_bits, &bit_val); in ZTEST()
240 ret = sys_bitarray_test_and_set_bit(&ba, ba.num_bits, &bit_val); in ZTEST()
246 ret = sys_bitarray_test_and_clear_bit(&ba, ba.num_bits, &bit_val); in ZTEST()
262 ret = sys_bitarray_test_bit(&ba, -1, &bit_val); in ZTEST()
267 ret = sys_bitarray_test_and_set_bit(&ba, -1, &bit_val); in ZTEST()
273 ret = sys_bitarray_test_and_clear_bit(&ba, -1, &bit_val); in ZTEST()