Home
last modified time | relevance | path

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

/DragonStub/inc/dragonstub/
H A Dminmax.h41 #define __clamp(val, lo, hi) \ argument
42 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val)))
44 #define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) \ argument
47 typeof(lo) unique_lo = (lo); \
52 #define __clamp_input_check(lo, hi) \ argument
53 (BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \
54 (lo) > (hi), false)))
56 #define __careful_clamp(val, lo, hi) \ argument
58 __clamp_input_check(lo, hi) + \
60 __typecheck(val, lo) && \
[all …]