/third_party/eudev/src/udev/ |
D | udev-builtin-input_id.c | 43 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro 169 has_keys = test_bit(EV_KEY, bitmask_ev); in test_pointers() 170 has_abs_coordinates = test_bit(ABS_X, bitmask_abs) && test_bit(ABS_Y, bitmask_abs); in test_pointers() 171 has_3d_coordinates = has_abs_coordinates && test_bit(ABS_Z, bitmask_abs); in test_pointers() 172 is_accelerometer = test_bit(INPUT_PROP_ACCELEROMETER, bitmask_props); in test_pointers() 182 is_pointing_stick = test_bit(INPUT_PROP_POINTING_STICK, bitmask_props); in test_pointers() 183 stylus_or_pen = test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers() 184 …finger_but_no_pen = test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers() 186 has_mouse_button = test_bit(button, bitmask_key); in test_pointers() 187 …has_rel_coordinates = test_bit(EV_REL, bitmask_ev) && test_bit(REL_X, bitmask_rel) && test_bit(REL… in test_pointers() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_udev.c | 285 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro 343 if (test_bit(EV_ABS, bitmask_ev) && in guess_device_class() 344 test_bit(ABS_X, bitmask_abs) && test_bit(ABS_Y, bitmask_abs)) { in guess_device_class() 345 if (test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key)) { in guess_device_class() 347 } else if (test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key)) { in guess_device_class() 349 } else if (test_bit(BTN_MOUSE, bitmask_key)) { in guess_device_class() 351 } else if (test_bit(BTN_TOUCH, bitmask_key)) { in guess_device_class() 357 if (test_bit(BTN_TRIGGER, bitmask_key) || in guess_device_class() 358 test_bit(BTN_A, bitmask_key) || in guess_device_class() 359 test_bit(BTN_1, bitmask_key) || in guess_device_class() [all …]
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | support.h | 66 #define test_bit(bit, var) ((var) & (1 << (bit))) macro 72 const BOOL old_state = test_bit(bit, var); \ 79 const BOOL old_state = test_bit(bit, var); \
|
D | device.h | 48 #define test_ndev_flag(nd, flag) test_bit(ND_##flag, (nd)->d_state)
|
D | inode.h | 57 #define test_nino_flag(ni, flag) test_bit(NI_##flag, (ni)->state)
|
D | volume.h | 123 #define test_nvol_flag(nv, flag) test_bit(NV_##flag, (nv)->state)
|
D | attrib.h | 217 #define test_nattr_flag(na, flag) test_bit(NA_##flag, (na)->state)
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 76 #define test_bit(nr, addr) \ macro 98 if (!(test_bit(EV_KEY, evbit) && test_bit(EV_ABS, evbit) && in IsJoystick() 99 test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit))) { in IsJoystick() 445 if (test_bit(i, keybit)) { in ConfigJoystick() 454 if (test_bit(i, keybit)) { in ConfigJoystick() 468 if (test_bit(i, absbit)) { in ConfigJoystick() 501 if (test_bit(i, absbit) || test_bit(i + 1, absbit)) { in ConfigJoystick() 516 if (test_bit(REL_X, relbit) || test_bit(REL_Y, relbit)) { in ConfigJoystick()
|
/third_party/pulseaudio/src/modules/ |
D | module-mmkbd-evdev.c | 151 #define test_bit(bit, array) (array[bit/8] & (1<<(bit%8))) macro 224 if (!test_bit(EV_KEY, evtype_bitmask)) { in pa__init()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | bitmap.h | 10 static inline int test_bit(unsigned int nr, unsigned long *bitmap) in test_bit() function
|
D | compile-i386.c | 282 if (test_bit(regno, regs_in_use)) in get_hardreg() 335 if (!test_bit(regno, regs_in_use)) { in register_busy() 341 if (test_bit(regno, regs_in_use)) in register_busy()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_bitmap.c | 91 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function 144 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_pixel_bitmap.c | 89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function 143 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_simulator_validate.h | 57 test_bit(unsigned int bit, unsigned long *addr) in test_bit() function
|
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/ |
D | SDL_syshaptic.c | 89 #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()
|
/third_party/boost/libs/dynamic_bitset/test/ |
D | dyn_bitset_unit_tests3.cpp | 666 Tests::test_bit(b, 0); in run_test_cases() 670 Tests::test_bit(b, 0); in run_test_cases() 674 Tests::test_bit(b, long_string.size()/2); in run_test_cases()
|
D | bitset_test.hpp | 1119 static void test_bit(const Bitset& b, std::size_t pos) in test_bit() function
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsmove.c | 422 bit = !!test_bit(j & 7, buffer[j>>3]); in find_unused()
|
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate_shaders.c | 739 if (!test_bit(ip, validation_state->branch_targets)) in vc4_handle_branch_target()
|