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()
57 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
61 << "\nEvaluation context: " << ec->DumpContext(); in EvaluatePolicy()
64 ec, state_.get(), &error, result, args...); in EvaluatePolicy()
81 std::shared_ptr<EvaluationContext> ec, in OnPolicyReadyToEvaluate() argument
88 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...); in OnPolicyReadyToEvaluate()
100 ec, in OnPolicyReadyToEvaluate()
104 if (ec->RunOnValueChangeOrTimeout(reeval_callback)) in OnPolicyReadyToEvaluate()
122 auto ec = std::make_shared<EvaluationContext>(clock_, evaluation_timeout_); in PolicyRequest() local
129 ec.get(), policy_method, result, args...); in PolicyRequest()
143 auto ec = std::make_shared<EvaluationContext>( in AsyncPolicyRequest() local
151 if (!ec_repo_.insert(ec).second) { in AsyncPolicyRequest()
161 ec, in AsyncPolicyRequest()