Lines Matching full:testbit
51 static constexpr bool testBit(int bit, const uint8_t arr[]) {
249 if (testBit(axis, mAbsBitmask)) {
270 return testBit(key, mKeyBitmask);
277 return testBit(axis, mRelBitmask);
296 return testBit(property, mPropBitmask);
303 if (testBit(key, mKeyBitmask)) {
307 return testBit(key, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP;
316 if (testBit(sw, mSwBitmask)) {
320 return testBit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP;
331 if (testBit(axis, mAbsBitmask)) {