Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minui/
Devents.cpp52 static bool test_bit(size_t bit, unsigned long* array) { in test_bit() function
82 … if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in ev_init()
188 if (!test_bit(EV_KEY, ev_bits)) { in ev_sync_key_state()
196 if (test_bit(code, key_bits)) { in ev_sync_key_state()
217 if (!test_bit(EV_KEY, ev_bits)) { in ev_iterate_available_keys()
227 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys()
/bootable/recovery/
Dwear_touch.cpp125 #define test_bit(bit, array) (array[bit/8] & (1<<(bit%8))) macro
145 if (test_bit(ABS_MT_POSITION_X, bits) && test_bit(ABS_MT_POSITION_Y, bits)) { in openDevice()