Lines Matching refs:Arg
141 class SANDBOX_EXPORT Arg {
145 explicit Arg(int num);
147 Arg(const Arg& arg) : num_(arg.num_), mask_(arg.mask_) {} in Arg() function
151 friend Arg operator&(const Arg& lhs, uint64_t rhs) {
152 return Arg(lhs.num_, lhs.mask_ & rhs);
157 friend BoolExpr operator==(const Arg& lhs, T rhs) { return lhs.EqualTo(rhs); }
161 friend BoolExpr operator!=(const Arg& lhs, T rhs) { return Not(lhs == rhs); }
164 Arg(int num, uint64_t mask) : num_(num), mask_(mask) {} in Arg() function
171 DISALLOW_ASSIGN(Arg);
200 friend Caser<T> Switch(const Arg<T>&);
207 SANDBOX_EXPORT Caser<T> Switch(const Arg<T>& arg);
228 Caser(const Arg<T>& arg, Elser elser) : arg_(arg), elser_(elser) {} in Caser()
230 Arg<T> arg_;
234 friend Caser<U> Switch(const Arg<U>&);
276 Arg<T>::Arg(int num) in Arg() function
288 BoolExpr Arg<T>::EqualTo(T val) const { in EqualTo()
297 SANDBOX_EXPORT Caser<T> Switch(const Arg<T>& arg) { in Switch()