Searched defs:bound (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap4-aah/libtiutils/ |
D | UtilsCommon.h | 82 inline const T & bound(const T & min, const T & x, const T & max) { in bound() function
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 685 #define MODDEC(x, bound) MUX((x) == 0, (bound) - 1, (x) - 1) argument 686 #define MODINC(x, bound) MUX((x) == (bound) - 1, 0, (x) + 1) argument 689 #define MODDEC_POW2(x, bound) (((x) - 1) & ((bound) - 1)) argument 690 #define MODINC_POW2(x, bound) (((x) + 1) & ((bound) - 1)) argument 693 #define MODADD(x, y, bound) \ argument 695 #define MODSUB(x, y, bound) \ argument 699 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1)) argument 700 #define MODSUB_POW2(x, y, bound) (((x) - (y)) & ((bound) - 1)) argument
|