Defines |
#define | mBits(x, m) ((x)&(m)) |
#define | mBitsExcept(x, m, be) (((x)&(m))& ~(be)) |
#define | mBitsIsSet(x, n) mBits(x, (int) (1 << n) ) |
#define | mBitsOff(lvx, bn) ((lvx)&= ~(bn)) |
#define | mBitsOffExcept(lvx, bn, be) ((lvx)&= ~((bn)&~(be))) |
#define | mBitsOn(lvx, by) ((lvx)|=(by)) |
#define | mBitsOnExcept(lvx, by, be) ((lvx)|=(by)&~(be)) |
#define | mBitsOnOff(lvx, by, bn) {mBitsOff(lvx,bn);mBitsOn(lvx,by);} |
#define | mBitsOnOffExcept(lvx, by, bn, be) {mBitsOffExcept(lvx,bn,be);mBitsOnExcept(lvx,by,be);} |
#define | mBitsSet(x, n) mBitsOn(x, (int) (1 << n) ) |
#define | mBitsTogg(x, n) mBitsToggle(x, (int) (1 << n) ) |
#define | mBitsToggle(lvx, b) ((lvx)^= (b)) |
#define | mBitsToggleExcept(lvx, b, be) ((lvx)^= ((b)&~(be))) |
#define | mBitsUnset(x, n) mBitsOff(x, (int) (1 << n) ) |
#define | mTestBits(x, m, b) (mBits(x,m)==(b))) |
#define | mTestBitsExcept(x, m, b, be) (mBitsExcept(x,m,be)==(b)) |
Variables |
Status | status |