Home
last modified time | relevance | path

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

/system/core/include/utils/
DDebug.h38 template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse;
39 template<typename LHS, typename RHS>
40 struct CompileTimeIfElse<true, LHS, RHS> { typedef LHS TYPE; };
41 template<typename LHS, typename RHS>
42 struct CompileTimeIfElse<false, LHS, RHS> { typedef RHS TYPE; };
/system/core/base/include/android-base/
Dlogging.h163 #define CHECK_OP(LHS, RHS, OP) \ argument
164 for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \
169 << "Check failed: " << #LHS << " " << #OP << " " << #RHS \
170 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") "
257 template <typename LHS, typename RHS>
259 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { in EagerEvaluator()
262 RHS rhs;
266 template <typename LHS, typename RHS>
267 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator()
268 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()