Searched refs:RHS (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
H A D | bpf_experimental.h | 251 #define __bpf_assert_check(LHS, op, RHS) \ argument 255 _Static_assert(__builtin_constant_p((RHS)), "2nd argument must be a constant expression") 257 #define __bpf_assert(LHS, op, cons, RHS, VAL) \ argument 261 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \ 264 #define __bpf_assert_op_sign(LHS, op, cons, RHS, VAL, supp_sign) \ argument 266 __bpf_assert_check(LHS, op, RHS); \ 268 __bpf_assert(LHS, "s" #op, cons, RHS, VAL); \ 270 __bpf_assert(LHS, #op, cons, RHS, VAL); \ 273 #define __bpf_assert_op(LHS, op, RHS, VAL, supp_sign) \ argument 275 if (sizeof(typeof(RHS)) == 8) { \ [all …]
|
/linux/tools/perf/util/ |
H A D | expr.y | 130 #define BINARY_OP(RESULT, OP, LHS, RHS) \ 131 if (!compute_ids || (is_const(LHS.val) && is_const(RHS.val))) { \ 133 assert(RHS.ids == NULL); \ 134 if (isnan(LHS.val) || isnan(RHS.val)) { \ 137 RESULT.val = LHS.val OP RHS.val; \ 141 RESULT = union_expr(LHS, RHS); \
|