Home
last modified time | relevance | path

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

/third_party/eudev/src/udev/
Dudev-builtin-input_id.c43 #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/
DSDL_udev.c285 #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/
Dsupport.h66 #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); \
Ddevice.h48 #define test_ndev_flag(nd, flag) test_bit(ND_##flag, (nd)->d_state)
Dinode.h57 #define test_nino_flag(ni, flag) test_bit(NI_##flag, (ni)->state)
Dvolume.h123 #define test_nvol_flag(nv, flag) test_bit(NV_##flag, (nv)->state)
Dattrib.h217 #define test_nattr_flag(na, flag) test_bit(NA_##flag, (na)->state)
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/
DSDL_sysjoystick.c76 #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/
Dmodule-mmkbd-evdev.c151 #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/
Dbitmap.h10 static inline int test_bit(unsigned int nr, unsigned long *bitmap) in test_bit() function
Dcompile-i386.c282 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/
Dintel_pixel_bitmap.c91 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/
Dbrw_pixel_bitmap.c89 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/
Dvc4_simulator_validate.h57 test_bit(unsigned int bit, unsigned long *addr) in test_bit() function
/third_party/flutter/skia/third_party/externals/sdl/src/haptic/linux/
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()
/third_party/boost/libs/dynamic_bitset/test/
Ddyn_bitset_unit_tests3.cpp666 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()
Dbitset_test.hpp1119 static void test_bit(const Bitset& b, std::size_t pos) in test_bit() function
/third_party/ntfs-3g/ntfsprogs/
Dntfsmove.c422 bit = !!test_bit(j & 7, buffer[j>>3]); in find_unused()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c739 if (!test_bit(ip, validation_state->branch_targets)) in vc4_handle_branch_target()