Home
last modified time | relevance | path

Searched refs:NBITS (Results 1 – 3 of 3) sorted by relevance

/external/bison/src/
DSbitset.h27 #define Sbitset__nbytes(NBITS) \ argument
28 (((NBITS) + CHAR_BIT - 1) / CHAR_BIT)
33 #define Sbitset__last_byte_mask(NBITS) \ argument
34 (UCHAR_MAX << (CHAR_BIT - 1 - ((NBITS) - 1) % CHAR_BIT))
62 #define Sbitset__zero(SELF, NBITS) \ argument
64 memset (SELF, 0, Sbitset__nbytes (NBITS)); \
68 #define Sbitset__ones(SELF, NBITS) \ argument
70 memset (SELF, UCHAR_MAX, Sbitset__nbytes (NBITS)); \
74 #define Sbitset__or(SELF, OTHER1, OTHER2, NBITS) \ argument
79 Sbitset end_self = ptr_self + Sbitset__nbytes (NBITS); \
[all …]
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c378 #define NBITS(x) ((((x)-1)/(sizeof(long) * 8))+1) macro
382 unsigned long evbit[NBITS(EV_MAX)] = { 0 }; in EV_IsJoystick()
383 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in EV_IsJoystick()
384 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in EV_IsJoystick()
674 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in EV_ConfigJoystick()
675 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in EV_ConfigJoystick()
676 unsigned long relbit[NBITS(REL_MAX)] = { 0 }; in EV_ConfigJoystick()
/external/bluetooth/bluedroid/btif/include/
Duinput.h552 #ifndef NBITS
553 #define NBITS(x) ((((x) - 1) / (sizeof(long) * 8)) + 1) macro