Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_udev.c356 if (test_bit(EV_ABS, bitmask_ev) && in guess_device_class()
357 test_bit(ABS_X, bitmask_abs) && test_bit(ABS_Y, bitmask_abs)) { in guess_device_class()
358 if (test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key)) { in guess_device_class()
360 } else if (test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key)) { in guess_device_class()
371 test_bit(BTN_A, bitmask_key) || in guess_device_class()
372 test_bit(BTN_1, bitmask_key) || in guess_device_class()
373 test_bit(ABS_RX, bitmask_abs) || in guess_device_class()
374 test_bit(ABS_RY, bitmask_abs) || in guess_device_class()
385 if (test_bit(EV_REL, bitmask_ev) && in guess_device_class()
386 test_bit(REL_X, bitmask_rel) && test_bit(REL_Y, bitmask_rel) && in guess_device_class()
[all …]
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c115 #define test_bit(nr, addr) \ macro
128 test_bit(0x2c0, keybit)) { in FixupDeviceInfoForMapping()
168 if (!(test_bit(EV_KEY, evbit) && test_bit(EV_ABS, evbit) && in IsJoystick()
169 test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit))) { in IsJoystick()
682 if (test_bit(i, keybit)) { in ConfigJoystick()
692 if (test_bit(i, keybit)) { in ConfigJoystick()
707 if (test_bit(i, absbit)) { in ConfigJoystick()
741 if (test_bit(i, absbit) || test_bit(i + 1, absbit)) { in ConfigJoystick()
758 if (test_bit(REL_X, relbit) || test_bit(REL_Y, relbit)) { in ConfigJoystick()
776 if (test_bit(FF_RUMBLE, ffbit)) { in ConfigJoystick()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/net_os/
A Dnet_bitops.h60 test_bit(unsigned long nr, volatile void * addr) in test_bit() function
/AliOS-Things-master/components/SDL2/src/haptic/linux/
A DSDL_syshaptic.c89 #define test_bit(nr, addr) \ macro
92 if (test_bit((ev), features)) ret |= (f);
147 if (test_bit(BTN_MOUSE, argp) != 0) { in EV_IsMouse()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dtest.h1811 std::uint32_t test_bit = 1;
1813 if (remaining_paths & test_bit) {
1814 result.push_back(static_cast<Path>(test_bit));
1816 remaining_paths &= ~test_bit;
1817 test_bit <<= 1;

Completed in 11 milliseconds