Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.h83 using BoolExpr = std::shared_ptr<const internal::BoolExprImpl>; variable
121 SANDBOX_EXPORT BoolExpr BoolConst(bool value);
124 SANDBOX_EXPORT BoolExpr Not(BoolExpr cond);
128 SANDBOX_EXPORT BoolExpr AllOf();
129 SANDBOX_EXPORT BoolExpr AllOf(BoolExpr lhs, BoolExpr rhs);
131 SANDBOX_EXPORT BoolExpr AllOf(BoolExpr first, Rest&&... rest);
135 SANDBOX_EXPORT BoolExpr AnyOf();
136 SANDBOX_EXPORT BoolExpr AnyOf(BoolExpr lhs, BoolExpr rhs);
138 SANDBOX_EXPORT BoolExpr AnyOf(BoolExpr first, Rest&&... rest);
157 friend BoolExpr operator==(const Arg& lhs, T rhs) { return lhs.EqualTo(rhs); }
[all …]
Dbpf_dsl.cc74 IfThenResultExprImpl(BoolExpr cond, in IfThenResultExprImpl()
95 BoolExpr cond_;
145 explicit NegateBoolExprImpl(BoolExpr cond) : cond_(std::move(cond)) {} in NegateBoolExprImpl()
155 BoolExpr cond_;
162 AndBoolExprImpl(BoolExpr lhs, BoolExpr rhs) in AndBoolExprImpl()
174 BoolExpr lhs_;
175 BoolExpr rhs_;
182 OrBoolExprImpl(BoolExpr lhs, BoolExpr rhs) in OrBoolExprImpl()
194 BoolExpr lhs_;
195 BoolExpr rhs_;
[all …]
Dbpf_dsl_forward.h25 using BoolExpr = std::shared_ptr<const internal::BoolExprImpl>; variable
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc115 using sandbox::bpf_dsl::BoolExpr;
138 const BoolExpr glibc_test = flags == kGlibcPthreadFlags; in RestrictCloneToThreadsAndEPERMFork()
140 const BoolExpr android_test = in RestrictCloneToThreadsAndEPERMFork()
/external/clang/lib/Analysis/
DCFG.cpp649 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator() local
653 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
657 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator()
688 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator() local
692 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
698 const BinaryOperator *BitOp = dyn_cast<BinaryOperator>(BoolExpr); in checkIncorrectEqualityOperator()
721 } else if (BoolExpr->isKnownToHaveBooleanValue()) { in checkIncorrectEqualityOperator()