Home
last modified time | relevance | path

Searched refs:NBBY (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXpoll.h76 #ifndef NBBY
77 #define NBBY 8 /* number of bits in a byte */ macro
81 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h657 #ifndef NBBY /* the BSD family defines NBBY */
658 #define NBBY 8 /* 8 bits per byte */ macro
666 #define setbit(a, i) (((uint8 *)a)[(i) / NBBY] |= 1 << ((i) % NBBY))
667 #define clrbit(a, i) (((uint8 *)a)[(i) / NBBY] &= ~(1 << ((i) % NBBY)))
668 #define isset(a, i) (((const uint8 *)a)[(i) / NBBY] & (1 << ((i) % NBBY)))
669 #define isclr(a, i) ((((const uint8 *)a)[(i) / NBBY] & (1 << ((i) % NBBY))) == 0)
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c2270 ((uint8 *)array)[bit / NBBY] |= 1 << (bit % NBBY); in setbit()
2277 ((uint8 *)array)[bit / NBBY] &= ~(1 << (bit % NBBY)); in clrbit()
2284 return (((const uint8 *)array)[bit / NBBY] & (1 << (bit % NBBY))); in isset()
2291 return ((((const uint8 *)array)[bit / NBBY] & (1 << (bit % NBBY))) == 0); in isclr()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp140 #define NBBY 8 /* number of bits/byte */ macro
143 #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
144 #define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
145 #define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
146 #define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
1377 if ((ext_cap_length >= CEIL(DOT11_EXT_CAP_FTM_RESPONDER, NBBY)) && in is11mcAP()