Lines Matching refs:ec
33 EvaluationContext* ec, in EvaluatePolicy() argument
42 if (ec->is_expired()) { in EvaluatePolicy()
44 << ec->DumpContext(); in EvaluatePolicy()
45 ec->ResetExpiration(); in EvaluatePolicy()
49 ec->ResetEvaluation(); in EvaluatePolicy()
56 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
60 << "\nEvaluation context: " << ec->DumpContext(); in EvaluatePolicy()
63 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
78 std::shared_ptr<EvaluationContext> ec, in OnPolicyReadyToEvaluate() argument
85 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...); in OnPolicyReadyToEvaluate()
97 ec, in OnPolicyReadyToEvaluate()
101 if (ec->RunOnValueChangeOrTimeout(reeval_callback)) in OnPolicyReadyToEvaluate()
119 auto ec = std::make_shared<EvaluationContext>(evaluation_timeout_); in PolicyRequest() local
126 ec.get(), policy_method, result, args...); in PolicyRequest()
140 auto ec = std::make_shared<EvaluationContext>( in AsyncPolicyRequest() local
147 if (!ec_repo_.insert(ec).second) { in AsyncPolicyRequest()
157 ec, in AsyncPolicyRequest()