Searched refs:NBBY (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dbusybox.h88 #define NBBY CHAR_BIT macro
89 #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
90 #define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
91 #define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
92 #define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
/asus-wl-520gu-7.0.1.45/src/include/
H A Dbcmutils.h407 #ifndef NBBY /* the BSD family defines NBBY */
408 #define NBBY 8 /* 8 bits per byte */ macro
409 #endif /* #ifndef NBBY */
410 #define setbit(a, i) (((uint8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))
411 #define clrbit(a, i) (((uint8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
412 #define isset(a, i) (((const uint8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))
[all...]

Completed in 37 milliseconds