Home | History | Annotate | Download | only in bpf_dsl

Lines Matching defs:ResultExpr

38 //        ResultExpr EvaluateSyscall(int sysno) const override {
79 // ResultExpr is an opaque reference to an immutable result expression tree.
80 typedef scoped_refptr<const internal::ResultExprImpl> ResultExpr;
87 SANDBOX_EXPORT ResultExpr Allow();
93 SANDBOX_EXPORT ResultExpr Error(int err);
96 SANDBOX_EXPORT ResultExpr Kill();
101 SANDBOX_EXPORT ResultExpr Trace(uint16_t aux);
106 SANDBOX_EXPORT ResultExpr
117 SANDBOX_EXPORT ResultExpr
176 SANDBOX_EXPORT Elser If(const BoolExpr& cond, const ResultExpr& then_result);
185 Elser ElseIf(const BoolExpr& cond, const ResultExpr& then_result) const;
189 ResultExpr Else(const ResultExpr& else_result) const;
192 typedef std::pair<BoolExpr, ResultExpr> Clause;
198 friend Elser If(const BoolExpr&, const ResultExpr&);
216 Caser<T> Case(T value, const ResultExpr& result) const;
222 Caser<T> CasesImpl(const ResultExpr& result, const Values&... values) const;
225 ResultExpr Default(const ResultExpr& result) const;
302 Caser<T> Caser<T>::Case(T value, const ResultExpr& result) const {
308 Caser<T> Caser<T>::CasesImpl(const ResultExpr& result,
318 ResultExpr Caser<T>::Default(const ResultExpr& result) const {