Coverage Report

Created: 2026-11-24 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/proc/self/cwd/runtime/function_adapter.h
Line
Count
Source
1
// Copyright 2023 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
//
15
// Definitions for template helpers to wrap C++ functions as CEL extension
16
// function implementations.
17
18
#ifndef THIRD_PARTY_CEL_CPP_RUNTIME_FUNCTION_ADAPTER_H_
19
#define THIRD_PARTY_CEL_CPP_RUNTIME_FUNCTION_ADAPTER_H_
20
21
#include <cstddef>
22
#include <functional>
23
#include <memory>
24
#include <tuple>
25
#include <type_traits>
26
#include <utility>
27
#include <vector>
28
29
#include "absl/base/nullability.h"
30
#include "absl/functional/any_invocable.h"
31
#include "absl/status/status.h"
32
#include "absl/status/statusor.h"
33
#include "absl/strings/str_cat.h"
34
#include "absl/strings/string_view.h"
35
#include "absl/types/span.h"
36
#include "common/function_descriptor.h"
37
#include "common/value.h"
38
#include "internal/status_macros.h"
39
#include "runtime/function.h"
40
#include "runtime/internal/function_adapter.h"
41
#include "runtime/register_function_helper.h"
42
#include "google/protobuf/arena.h"
43
#include "google/protobuf/descriptor.h"
44
#include "google/protobuf/message.h"
45
46
namespace cel {
47
48
namespace runtime_internal {
49
50
template <typename T>
51
struct AdaptedTypeTraits {
52
  using AssignableType = T;
53
54
26.9M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<double>::ToArg(double)
Line
Count
Source
54
238k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<long>::ToArg(long)
Line
Count
Source
54
17.2M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<unsigned long>::ToArg(unsigned long)
Line
Count
Source
54
9.41M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<bool>::ToArg(bool)
Line
Count
Source
54
2.94k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260526::Duration>::ToArg(absl::lts_20260526::Duration)
Line
Count
Source
54
9.00k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260526::Time>::ToArg(absl::lts_20260526::Time)
Line
Count
Source
54
6.56k
  static T ToArg(AssignableType v) { return v; }
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::ListValue>::ToArg(cel::ListValue)
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::Value>::ToArg(cel::Value)
cel::runtime_internal::AdaptedTypeTraits<cel::StringValue>::ToArg(cel::StringValue)
Line
Count
Source
54
6.27k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::BytesValue>::ToArg(cel::BytesValue)
Line
Count
Source
54
475
  static T ToArg(AssignableType v) { return v; }
55
};
56
57
// Specialization for cref parameters without forcing a temporary copy of the
58
// underlying handle argument.
59
template <>
60
struct AdaptedTypeTraits<const Value&> {
61
  using AssignableType = const Value*;
62
63
8.92k
  static std::reference_wrapper<const Value> ToArg(AssignableType v) {
64
8.92k
    return *v;
65
8.92k
  }
66
};
67
68
template <>
69
struct AdaptedTypeTraits<const StringValue&> {
70
  using AssignableType = const StringValue*;
71
72
214k
  static std::reference_wrapper<const StringValue> ToArg(AssignableType v) {
73
214k
    return *v;
74
214k
  }
75
};
76
77
template <>
78
struct AdaptedTypeTraits<const BytesValue&> {
79
  using AssignableType = const BytesValue*;
80
81
9.44k
  static std::reference_wrapper<const BytesValue> ToArg(AssignableType v) {
82
9.44k
    return *v;
83
9.44k
  }
84
};
85
86
// Partial specialization for other cases.
87
//
88
// These types aren't referenceable since they aren't actually
89
// represented as alternatives in the underlying variant.
90
//
91
// This still requires an implicit copy and corresponding ref-count increase.
92
template <typename T>
93
struct AdaptedTypeTraits<const T&> {
94
  using AssignableType = T;
95
96
842k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::ListValue const&>::ToArg(cel::ListValue)
Line
Count
Source
96
841k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::MapValue const&>::ToArg(cel::MapValue)
Line
Count
Source
96
207
  static T ToArg(AssignableType v) { return v; }
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::NullValue const&>::ToArg(cel::NullValue)
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::TypeValue const&>::ToArg(cel::TypeValue)
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::StructValue const&>::ToArg(cel::StructValue)
97
};
98
99
template <size_t I, typename... Args>
100
struct AdaptHelperImpl {
101
  template <typename T>
102
  static absl::Status Apply(absl::Span<const Value> input, T& output) {
103
    static_assert(sizeof...(Args) > 0);
104
    static_assert(std::tuple_size_v<T> == sizeof...(Args));
105
    CEL_RETURN_IF_ERROR(ValueToAdaptedVisitor{input[I]}(&std::get<I>(output)));
106
    if constexpr (I == sizeof...(Args) - 1) {
107
      return absl::OkStatus();
108
    } else {
109
      CEL_RETURN_IF_ERROR(
110
          (AdaptHelperImpl<I + 1, Args...>::template Apply<T>(input, output)));
111
    }
112
    return absl::OkStatus();
113
  }
114
};
115
116
template <typename... Args>
117
struct AdaptHelper {
118
  template <typename T>
119
  static absl::Status Apply(absl::Span<const Value> input, T& output) {
120
    return AdaptHelperImpl<0, Args...>::template Apply<T>(input, output);
121
  }
122
};
123
124
template <typename... Args>
125
struct ToArgsImpl {
126
  template <int I, typename T>
127
  struct El {
128
    using type = T;
129
    constexpr static size_t index = I;
130
  };
131
132
  template <typename... Es>
133
  struct ZipHolder {
134
    template <typename ResultType, typename TupleType, typename Op>
135
    static ResultType ToArgs(Op&& op, const TupleType& argbuffer,
136
                             const Function::InvokeContext& context) {
137
      return std::forward<Op>(op)(
138
          runtime_internal::AdaptedTypeTraits<typename Es::type>::ToArg(
139
              std::get<Es::index>(argbuffer))...,
140
          context);
141
    }
142
  };
143
144
  template <size_t... Is>
145
  static ZipHolder<El<Is, Args>...> MakeZip(const std::index_sequence<Is...>&) {
146
    return ZipHolder<El<Is, Args>...>{};
147
  }
148
};
149
150
template <typename... Args>
151
struct ToArgsHelper {
152
  template <typename ResultType, typename TupleType, typename Op>
153
  static ResultType Apply(Op&& op, const TupleType& argbuffer,
154
                          const Function::InvokeContext& context) {
155
    using Impl = ToArgsImpl<Args...>;
156
    using Zip = decltype(Impl::MakeZip(std::index_sequence_for<Args...>{}));
157
    return Zip::template ToArgs<ResultType>(std::forward<Op>(op), argbuffer,
158
                                            context);
159
  }
160
};
161
162
}  // namespace runtime_internal
163
164
// Adapter class for generating CEL extension functions from a one argument
165
// function.
166
//
167
// See documentation for Binary Function adapter for general recommendations.
168
//
169
// Example Usage:
170
//  double Invert(ValueManager&, double x) {
171
//   return 1 / x;
172
//  }
173
//
174
//  {
175
//    std::unique_ptr<CelExpressionBuilder> builder;
176
//
177
//    CEL_RETURN_IF_ERROR(
178
//      builder->GetRegistry()->Register(
179
//        UnaryFunctionAdapter<double, double>::CreateDescriptor("inv",
180
//        /*receiver_style=*/false),
181
//         UnaryFunctionAdapter<double, double>::WrapFunction(&Invert)));
182
//  }
183
//  // example CEL expression
184
//  inv(4) == 1/4 [true]
185
template <typename T>
186
class NullaryFunctionAdapter
187
    : public RegisterHelper<NullaryFunctionAdapter<T>> {
188
 public:
189
  using FunctionType =
190
      absl::AnyInvocable<T(const Function::InvokeContext&) const>;
191
192
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
193
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
194
  }
195
196
  template <typename F>
197
  static std::enable_if_t<
198
      std::is_invocable_v<F, const google::protobuf::DescriptorPool* absl_nonnull,
199
                          google::protobuf::MessageFactory* absl_nonnull,
200
                          google::protobuf::Arena* absl_nonnull>,
201
      std::unique_ptr<cel::Function>>
202
  WrapFunction(F&& function) {
203
    return WrapFunction([function = std::forward<F>(function)](
204
                            const Function::InvokeContext& context) -> T {
205
      return function(context.descriptor_pool(), context.message_factory(),
206
                      context.arena());
207
    });
208
  }
209
210
  template <typename F>
211
  static std::enable_if_t<std::is_invocable_v<F>,
212
                          std::unique_ptr<cel::Function>>
213
  WrapFunction(F&& function) {
214
    return WrapFunction([function = std::forward<F>(function)](
215
                            const Function::InvokeContext& context) -> T {
216
      return function();
217
    });
218
  }
219
220
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
221
                                             bool receiver_style,
222
                                             bool is_strict) {
223
    return CreateDescriptor(name, receiver_style,
224
                            {is_strict, /*is_contextual=*/false});
225
  }
226
227
  static FunctionDescriptor CreateDescriptor(
228
      absl::string_view name, bool receiver_style,
229
      FunctionDescriptorOptions options = {}) {
230
    return FunctionDescriptor(name, receiver_style, {}, options);
231
  }
232
233
 private:
234
  class UnaryFunctionImpl : public Function {
235
   public:
236
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
237
    absl::StatusOr<Value> Invoke(
238
        absl::Span<const Value> args,
239
        const Function::InvokeContext& context) const final {
240
      if (args.size() != 0) {
241
        return absl::InvalidArgumentError(
242
            "unexpected number of arguments for nullary function");
243
      }
244
245
      if constexpr (std::is_same_v<T, Value> ||
246
                    std::is_same_v<T, absl::StatusOr<Value>>) {
247
        return fn_(context);
248
      } else {
249
        T result = fn_(context);
250
251
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
252
      }
253
    }
254
255
   private:
256
    FunctionType fn_;
257
  };
258
};
259
260
// Adapter class for generating CEL extension functions from a one argument
261
// function.
262
//
263
// See documentation for Binary Function adapter for general recommendations.
264
//
265
// Example Usage:
266
//  double Invert(ValueManager&, double x) {
267
//   return 1 / x;
268
//  }
269
//
270
//  {
271
//    std::unique_ptr<CelExpressionBuilder> builder;
272
//
273
//    CEL_RETURN_IF_ERROR(
274
//      builder->GetRegistry()->Register(
275
//        UnaryFunctionAdapter<double, double>::CreateDescriptor("inv",
276
//        /*receiver_style=*/false),
277
//         UnaryFunctionAdapter<double, double>::WrapFunction(&Invert)));
278
//  }
279
//  // example CEL expression
280
//  inv(4) == 1/4 [true]
281
template <typename T, typename U>
282
class UnaryFunctionAdapter : public RegisterHelper<UnaryFunctionAdapter<T, U>> {
283
 public:
284
  using FunctionType =
285
      absl::AnyInvocable<T(U, const Function::InvokeContext&) const>;
286
287
1.51M
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
1.51M
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
1.51M
  }
cel::UnaryFunctionAdapter<cel::Value, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
75.6k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
75.6k
  }
cel::UnaryFunctionAdapter<double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<double (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<long> (cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<long> (cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<bool, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::Value, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<long (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<long (cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
302k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
302k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
302k
  }
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<long (absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
100k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
100k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::BytesValue (cel::BytesValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::BytesValue> (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<double, long>::WrapFunction(absl::lts_20260526::AnyInvocable<double (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
126k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
126k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
126k
  }
cel::UnaryFunctionAdapter<double, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<double (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<long, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<long (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, double>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
75.6k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
75.6k
  }
cel::UnaryFunctionAdapter<long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<long (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<long (absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<unsigned long (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
25.2k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::Value const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
50.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
50.4k
  }
290
291
  template <typename F>
292
  static std::enable_if_t<
293
      std::is_invocable_v<F, U, const google::protobuf::DescriptorPool* absl_nonnull,
294
                          google::protobuf::MessageFactory* absl_nonnull,
295
                          google::protobuf::Arena* absl_nonnull>,
296
      std::unique_ptr<cel::Function>>
297
  WrapFunction(F&& function) {
298
    return WrapFunction(
299
        [function = std::forward<F>(function)](
300
            U arg1, const Function::InvokeContext& context) -> T {
301
          return function(arg1, context.descriptor_pool(),
302
                          context.message_factory(), context.arena());
303
        });
304
  }
305
306
  template <typename F>
307
  static std::enable_if_t<std::is_invocable_v<F, U>,
308
                          std::unique_ptr<cel::Function>>
309
756k
  WrapFunction(F&& function) {
310
756k
    return WrapFunction(
311
756k
        [function = std::forward<F>(function)](
312
756k
            U arg1, const Function::InvokeContext& context) -> T {
313
28.1k
          return function(arg1);
314
28.1k
        });
arithmetic_functions.cc:cel::UnaryFunctionAdapter<double, double>::WrapFunction<cel::RegisterArithmeticFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::RegisterArithmeticFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(double, cel::Function::InvokeContext const&)#1}::operator()(double, cel::Function::InvokeContext const&) const
Line
Count
Source
312
5.93k
            U arg1, const Function::InvokeContext& context) -> T {
313
5.93k
          return function(arg1);
314
5.93k
        });
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<long> (&)(cel::ListValue const&)>(absl::lts_20260526::StatusOr<long> (&)(cel::ListValue const&))::{lambda(cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::ListValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
76
            U arg1, const Function::InvokeContext& context) -> T {
313
76
          return function(arg1);
314
76
        });
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::WrapFunction<absl::lts_20260526::StatusOr<long> (&)(cel::MapValue const&)>(absl::lts_20260526::StatusOr<long> (&)(cel::MapValue const&))::{lambda(cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::MapValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
207
            U arg1, const Function::InvokeContext& context) -> T {
313
207
          return function(arg1);
314
207
        });
Unexecuted instantiation: logical_functions.cc:cel::UnaryFunctionAdapter<bool, bool>::WrapFunction<cel::RegisterLogicalFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::RegisterLogicalFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(bool, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::Function::InvokeContext const&) const
string_functions.cc:cel::UnaryFunctionAdapter<long, cel::StringValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_0&>(cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_0&)::{lambda(cel::StringValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
973
            U arg1, const Function::InvokeContext& context) -> T {
313
973
          return function(arg1);
314
973
        });
string_functions.cc:cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_1&>(cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_1&)::{lambda(cel::BytesValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
3.63k
            U arg1, const Function::InvokeContext& context) -> T {
313
3.63k
          return function(arg1);
314
3.63k
        });
Unexecuted instantiation: time_functions.cc:cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_0&&)::{lambda(absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Unexecuted instantiation: time_functions.cc:cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_1&&)::{lambda(absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Unexecuted instantiation: time_functions.cc:cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_2&&)::{lambda(absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Unexecuted instantiation: time_functions.cc:cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_3&&)::{lambda(absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
type_conversion_functions.cc:cel::UnaryFunctionAdapter<bool, bool>::WrapFunction<cel::(anonymous namespace)::RegisterBoolConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterBoolConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(bool, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::Function::InvokeContext const&) const
Line
Count
Source
312
64
            U arg1, const Function::InvokeContext& context) -> T {
313
64
          return function(arg1);
314
64
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::WrapFunction<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(cel::BytesValue, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue, cel::Function::InvokeContext const&) const
Line
Count
Source
312
475
            U arg1, const Function::InvokeContext& context) -> T {
313
475
          return function(arg1);
314
475
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(cel::StringValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
313
            U arg1, const Function::InvokeContext& context) -> T {
313
313
          return function(arg1);
314
313
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<double, double>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(double, cel::Function::InvokeContext const&)#1}::operator()(double, cel::Function::InvokeContext const&) const
Line
Count
Source
312
2.25k
            U arg1, const Function::InvokeContext& context) -> T {
313
2.25k
          return function(arg1);
314
2.25k
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<double, long>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(long, cel::Function::InvokeContext const&)#1}::operator()(long, cel::Function::InvokeContext const&) const
Line
Count
Source
312
3.07k
            U arg1, const Function::InvokeContext& context) -> T {
313
3.07k
          return function(arg1);
314
3.07k
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<double, unsigned long>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)::{lambda(unsigned long, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, cel::Function::InvokeContext const&) const
Line
Count
Source
312
188
            U arg1, const Function::InvokeContext& context) -> T {
313
188
          return function(arg1);
314
188
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<long, bool>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(bool, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::Function::InvokeContext const&) const
Line
Count
Source
312
367
            U arg1, const Function::InvokeContext& context) -> T {
313
367
          return function(arg1);
314
367
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<long, long>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&&)::{lambda(long, cel::Function::InvokeContext const&)#1}::operator()(long, cel::Function::InvokeContext const&) const
Line
Count
Source
312
229
            U arg1, const Function::InvokeContext& context) -> T {
313
229
          return function(arg1);
314
229
        });
Unexecuted instantiation: type_conversion_functions.cc:cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&&)::{lambda(absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::StringValue, bool>::WrapFunction<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(bool, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::Function::InvokeContext const&) const
Line
Count
Source
312
371
            U arg1, const Function::InvokeContext& context) -> T {
313
371
          return function(arg1);
314
371
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::WrapFunction<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)::{lambda(cel::StringValue, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue, cel::Function::InvokeContext const&) const
Line
Count
Source
312
235
            U arg1, const Function::InvokeContext& context) -> T {
313
235
          return function(arg1);
314
235
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<unsigned long, unsigned long>::WrapFunction<cel::(anonymous namespace)::RegisterUintConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterUintConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)::{lambda(unsigned long, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, cel::Function::InvokeContext const&) const
Line
Count
Source
312
182
            U arg1, const Function::InvokeContext& context) -> T {
313
182
          return function(arg1);
314
182
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
Line
Count
Source
312
291
            U arg1, const Function::InvokeContext& context) -> T {
313
291
          return function(arg1);
314
291
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2>(cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&&)::{lambda(absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
312
390
            U arg1, const Function::InvokeContext& context) -> T {
313
390
          return function(arg1);
314
390
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)::{lambda(cel::Value const&, cel::Function::InvokeContext const&)#1}::operator()(cel::Value const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
211
            U arg1, const Function::InvokeContext& context) -> T {
313
211
          return function(arg1);
314
211
        });
type_conversion_functions.cc:cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)::{lambda(cel::Value const&, cel::Function::InvokeContext const&)#1}::operator()(cel::Value const&, cel::Function::InvokeContext const&) const
Line
Count
Source
312
8.71k
            U arg1, const Function::InvokeContext& context) -> T {
313
8.71k
          return function(arg1);
314
8.71k
        });
315
756k
  }
arithmetic_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::RegisterArithmeticFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, double>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<double, double>::WrapFunction<cel::RegisterArithmeticFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::RegisterArithmeticFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<long> (&)(cel::ListValue const&), cel::ListValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<long> (&)(cel::ListValue const&)>(absl::lts_20260526::StatusOr<long> (&)(cel::ListValue const&))
Line
Count
Source
309
50.4k
  WrapFunction(F&& function) {
310
50.4k
    return WrapFunction(
311
50.4k
        [function = std::forward<F>(function)](
312
50.4k
            U arg1, const Function::InvokeContext& context) -> T {
313
50.4k
          return function(arg1);
314
50.4k
        });
315
50.4k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<long> (&)(cel::MapValue const&), cel::MapValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::WrapFunction<absl::lts_20260526::StatusOr<long> (&)(cel::MapValue const&)>(absl::lts_20260526::StatusOr<long> (&)(cel::MapValue const&))
Line
Count
Source
309
50.4k
  WrapFunction(F&& function) {
310
50.4k
    return WrapFunction(
311
50.4k
        [function = std::forward<F>(function)](
312
50.4k
            U arg1, const Function::InvokeContext& context) -> T {
313
50.4k
          return function(arg1);
314
50.4k
        });
315
50.4k
  }
logical_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::RegisterLogicalFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, bool>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<bool, bool>::WrapFunction<cel::RegisterLogicalFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::RegisterLogicalFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
string_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_0&, cel::StringValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, cel::StringValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_0&>(cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_0&)
Line
Count
Source
309
50.4k
  WrapFunction(F&& function) {
310
50.4k
    return WrapFunction(
311
50.4k
        [function = std::forward<F>(function)](
312
50.4k
            U arg1, const Function::InvokeContext& context) -> T {
313
50.4k
          return function(arg1);
314
50.4k
        });
315
50.4k
  }
string_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_1&, cel::BytesValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_1&>(cel::(anonymous namespace)::RegisterSizeFunctions(cel::FunctionRegistry&)::$_1&)
Line
Count
Source
309
50.4k
  WrapFunction(F&& function) {
310
50.4k
    return WrapFunction(
311
50.4k
        [function = std::forward<F>(function)](
312
50.4k
            U arg1, const Function::InvokeContext& context) -> T {
313
50.4k
          return function(arg1);
314
50.4k
        });
315
50.4k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_0, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_1, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_2, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_2&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_3, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterDurationFunctions(cel::FunctionRegistry&)::$_3&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterBoolConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, bool>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<bool, bool>::WrapFunction<cel::(anonymous namespace)::RegisterBoolConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterBoolConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, cel::BytesValue>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::WrapFunction<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, cel::StringValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterBytesConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, double>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<double, double>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<double, long>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3, unsigned long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<double, unsigned long>::WrapFunction<cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterDoubleConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, bool>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, bool>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2, long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, long>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4, absl::lts_20260526::Time>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4>(cel::(anonymous namespace)::RegisterIntConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, bool>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::StringValue, bool>::WrapFunction<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3, cel::StringValue>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::WrapFunction<cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterStringConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUintConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3, unsigned long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<unsigned long, unsigned long>::WrapFunction<cel::(anonymous namespace)::RegisterUintConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3>(cel::(anonymous namespace)::RegisterUintConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, absl::lts_20260526::Time>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2>(cel::(anonymous namespace)::RegisterTimeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0, cel::Value const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0>(cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
type_conversion_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1, cel::Value const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction<cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1>(cel::RegisterTypeConversionFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&&)
Line
Count
Source
309
25.2k
  WrapFunction(F&& function) {
310
25.2k
    return WrapFunction(
311
25.2k
        [function = std::forward<F>(function)](
312
25.2k
            U arg1, const Function::InvokeContext& context) -> T {
313
25.2k
          return function(arg1);
314
25.2k
        });
315
25.2k
  }
316
317
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
318
                                             bool receiver_style,
319
50.4k
                                             bool is_strict) {
320
50.4k
    return CreateDescriptor(
321
50.4k
        name, receiver_style,
322
50.4k
        FunctionDescriptorOptions{is_strict, /*is_contextual=*/false});
323
50.4k
  }
324
325
  static FunctionDescriptor CreateDescriptor(
326
      absl::string_view name, bool receiver_style,
327
1.51M
      FunctionDescriptorOptions options = {}) {
328
1.51M
    return FunctionDescriptor(name, receiver_style,
329
1.51M
                              {runtime_internal::AdaptedKind<U>()}, options);
330
1.51M
  }
cel::UnaryFunctionAdapter<cel::Value, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
75.6k
      FunctionDescriptorOptions options = {}) {
328
75.6k
    return FunctionDescriptor(name, receiver_style,
329
75.6k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
75.6k
  }
cel::UnaryFunctionAdapter<double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
302k
      FunctionDescriptorOptions options = {}) {
328
302k
    return FunctionDescriptor(name, receiver_style,
329
302k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
302k
  }
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
100k
      FunctionDescriptorOptions options = {}) {
328
100k
    return FunctionDescriptor(name, receiver_style,
329
100k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
100k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
126k
      FunctionDescriptorOptions options = {}) {
328
126k
    return FunctionDescriptor(name, receiver_style,
329
126k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
126k
  }
cel::UnaryFunctionAdapter<double, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<long, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
75.6k
      FunctionDescriptorOptions options = {}) {
328
75.6k
    return FunctionDescriptor(name, receiver_style,
329
75.6k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
75.6k
  }
cel::UnaryFunctionAdapter<long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
25.2k
      FunctionDescriptorOptions options = {}) {
328
25.2k
    return FunctionDescriptor(name, receiver_style,
329
25.2k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
25.2k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
50.4k
      FunctionDescriptorOptions options = {}) {
328
50.4k
    return FunctionDescriptor(name, receiver_style,
329
50.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
50.4k
  }
331
332
 private:
333
  class UnaryFunctionImpl : public Function {
334
   public:
335
1.51M
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
75.6k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<double, double>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<double (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<long> (cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<long> (cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<bool, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::Value, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
302k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
100k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::BytesValue (cel::BytesValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::BytesValue> (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<double, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<double (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
126k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<double, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<double (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, double>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
75.6k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<long (absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::StringValue, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::StringValue (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::StringValue, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::StringValue (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::StringValue (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::StringValue (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<unsigned long (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
25.2k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::Value const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
335
50.4k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
336
    absl::StatusOr<Value> Invoke(
337
        absl::Span<const Value> args,
338
330k
        const Function::InvokeContext& context) const final {
339
330k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
330k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
330k
      typename ArgTraits::AssignableType arg1;
345
346
330k
      CEL_RETURN_IF_ERROR(
347
330k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
310k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
310k
        return fn_(ArgTraits::ToArg(arg1), context);
351
310k
      } else {
352
19.7k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
19.7k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
19.7k
      }
356
330k
    }
cel::UnaryFunctionAdapter<cel::Value, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
62.5k
        const Function::InvokeContext& context) const final {
339
62.5k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
62.5k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
62.5k
      typename ArgTraits::AssignableType arg1;
345
346
62.5k
      CEL_RETURN_IF_ERROR(
347
62.5k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
62.5k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
62.5k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
62.5k
    }
cel::UnaryFunctionAdapter<double, double>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
8.19k
        const Function::InvokeContext& context) const final {
339
8.19k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
8.19k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
8.19k
      typename ArgTraits::AssignableType arg1;
345
346
8.19k
      CEL_RETURN_IF_ERROR(
347
8.19k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
8.19k
      } else {
352
8.19k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
8.19k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
8.19k
      }
356
8.19k
    }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::ListValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
76
        const Function::InvokeContext& context) const final {
339
76
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
76
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
76
      typename ArgTraits::AssignableType arg1;
345
346
76
      CEL_RETURN_IF_ERROR(
347
76
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
76
      } else {
352
76
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
76
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
76
      }
356
76
    }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<long>, cel::MapValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
207
        const Function::InvokeContext& context) const final {
339
207
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
207
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
207
      typename ArgTraits::AssignableType arg1;
345
346
207
      CEL_RETURN_IF_ERROR(
347
207
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
207
      } else {
352
207
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
207
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
207
      }
356
207
    }
cel::UnaryFunctionAdapter<bool, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
64
        const Function::InvokeContext& context) const final {
339
64
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
64
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
64
      typename ArgTraits::AssignableType arg1;
345
346
64
      CEL_RETURN_IF_ERROR(
347
64
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
64
      } else {
352
64
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
64
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
64
      }
356
64
    }
Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::Value, cel::Value>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
973
        const Function::InvokeContext& context) const final {
339
973
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
973
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
973
      typename ArgTraits::AssignableType arg1;
345
346
973
      CEL_RETURN_IF_ERROR(
347
973
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
973
      } else {
352
973
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
973
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
973
      }
356
973
    }
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
3.63k
        const Function::InvokeContext& context) const final {
339
3.63k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
3.63k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
3.63k
      typename ArgTraits::AssignableType arg1;
345
346
3.63k
      CEL_RETURN_IF_ERROR(
347
3.63k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
3.63k
      } else {
352
3.63k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
3.63k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
3.63k
      }
356
3.63k
    }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Time>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
291
        const Function::InvokeContext& context) const final {
339
291
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
291
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
291
      typename ArgTraits::AssignableType arg1;
345
346
291
      CEL_RETURN_IF_ERROR(
347
291
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
291
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
291
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
291
    }
Unexecuted instantiation: cel::UnaryFunctionAdapter<long, absl::lts_20260526::Duration>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
6.04k
        const Function::InvokeContext& context) const final {
339
6.04k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
6.04k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
6.04k
      typename ArgTraits::AssignableType arg1;
345
346
6.04k
      CEL_RETURN_IF_ERROR(
347
6.04k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
6.04k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
6.04k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
6.04k
    }
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
475
        const Function::InvokeContext& context) const final {
339
475
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
475
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
475
      typename ArgTraits::AssignableType arg1;
345
346
475
      CEL_RETURN_IF_ERROR(
347
475
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
475
      } else {
352
475
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
475
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
475
      }
356
475
    }
cel::UnaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
313
        const Function::InvokeContext& context) const final {
339
313
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
313
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
313
      typename ArgTraits::AssignableType arg1;
345
346
313
      CEL_RETURN_IF_ERROR(
347
313
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
313
      } else {
352
313
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
313
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
313
      }
356
313
    }
cel::UnaryFunctionAdapter<double, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
3.07k
        const Function::InvokeContext& context) const final {
339
3.07k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
3.07k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
3.07k
      typename ArgTraits::AssignableType arg1;
345
346
3.07k
      CEL_RETURN_IF_ERROR(
347
3.07k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
3.07k
      } else {
352
3.07k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
3.07k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
3.07k
      }
356
3.07k
    }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
182k
        const Function::InvokeContext& context) const final {
339
182k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
182k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
182k
      typename ArgTraits::AssignableType arg1;
345
346
182k
      CEL_RETURN_IF_ERROR(
347
182k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
182k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
182k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
182k
    }
cel::UnaryFunctionAdapter<double, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
188
        const Function::InvokeContext& context) const final {
339
188
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
188
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
188
      typename ArgTraits::AssignableType arg1;
345
346
188
      CEL_RETURN_IF_ERROR(
347
188
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
188
      } else {
352
188
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
188
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
188
      }
356
188
    }
cel::UnaryFunctionAdapter<long, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
367
        const Function::InvokeContext& context) const final {
339
367
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
367
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
367
      typename ArgTraits::AssignableType arg1;
345
346
367
      CEL_RETURN_IF_ERROR(
347
367
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
367
      } else {
352
367
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
367
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
367
      }
356
367
    }
cel::UnaryFunctionAdapter<cel::Value, double>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
27.4k
        const Function::InvokeContext& context) const final {
339
27.4k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
27.4k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
27.4k
      typename ArgTraits::AssignableType arg1;
345
346
27.4k
      CEL_RETURN_IF_ERROR(
347
27.4k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
27.4k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
27.4k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
27.4k
    }
cel::UnaryFunctionAdapter<long, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
229
        const Function::InvokeContext& context) const final {
339
229
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
229
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
229
      typename ArgTraits::AssignableType arg1;
345
346
229
      CEL_RETURN_IF_ERROR(
347
229
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
229
      } else {
352
229
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
229
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
229
      }
356
229
    }
Unexecuted instantiation: cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
20.0k
        const Function::InvokeContext& context) const final {
339
20.0k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
20.0k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
20.0k
      typename ArgTraits::AssignableType arg1;
345
346
20.0k
      CEL_RETURN_IF_ERROR(
347
20.0k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
20.0k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
20.0k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
20.0k
    }
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
2.43k
        const Function::InvokeContext& context) const final {
339
2.43k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
2.43k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
2.43k
      typename ArgTraits::AssignableType arg1;
345
346
2.43k
      CEL_RETURN_IF_ERROR(
347
2.43k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
2.43k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
2.43k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
2.43k
    }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
371
        const Function::InvokeContext& context) const final {
339
371
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
371
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
371
      typename ArgTraits::AssignableType arg1;
345
346
371
      CEL_RETURN_IF_ERROR(
347
371
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
371
      } else {
352
371
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
371
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
371
      }
356
371
    }
cel::UnaryFunctionAdapter<cel::StringValue, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
356
        const Function::InvokeContext& context) const final {
339
356
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
356
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
356
      typename ArgTraits::AssignableType arg1;
345
346
356
      CEL_RETURN_IF_ERROR(
347
356
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
356
      } else {
352
356
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
356
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
356
      }
356
356
    }
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
235
        const Function::InvokeContext& context) const final {
339
235
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
235
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
235
      typename ArgTraits::AssignableType arg1;
345
346
235
      CEL_RETURN_IF_ERROR(
347
235
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
235
      } else {
352
235
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
235
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
235
      }
356
235
    }
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
760
        const Function::InvokeContext& context) const final {
339
760
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
760
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
760
      typename ArgTraits::AssignableType arg1;
345
346
760
      CEL_RETURN_IF_ERROR(
347
760
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
760
      } else {
352
760
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
760
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
760
      }
356
760
    }
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
453
        const Function::InvokeContext& context) const final {
339
453
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
453
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
453
      typename ArgTraits::AssignableType arg1;
345
346
453
      CEL_RETURN_IF_ERROR(
347
453
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
453
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
453
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
453
    }
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
182
        const Function::InvokeContext& context) const final {
339
182
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
182
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
182
      typename ArgTraits::AssignableType arg1;
345
346
182
      CEL_RETURN_IF_ERROR(
347
182
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
182
      } else {
352
182
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
182
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
182
      }
356
182
    }
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
8.92k
        const Function::InvokeContext& context) const final {
339
8.92k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
8.92k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
8.92k
      typename ArgTraits::AssignableType arg1;
345
346
8.92k
      CEL_RETURN_IF_ERROR(
347
8.92k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
8.92k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
8.92k
        return fn_(ArgTraits::ToArg(arg1), context);
351
      } else {
352
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
      }
356
8.92k
    }
357
358
   private:
359
    FunctionType fn_;
360
  };
361
};
362
363
// Adapter class for generating CEL extension functions from a two argument
364
// function. Generates an implementation of the cel::Function interface that
365
// calls the function to wrap.
366
//
367
// Extension functions must distinguish between recoverable errors (error that
368
// should participate in CEL's error pruning) and unrecoverable errors (a non-ok
369
// absl::Status that stops evaluation). The function to wrap may return
370
// StatusOr<T> to propagate a Status, or return a Value with an Error
371
// value to introduce a CEL error.
372
//
373
// To introduce an extension function that may accept any kind of CEL value as
374
// an argument, the wrapped function should use a Value<Handle> parameter and
375
// check the type of the argument at evaluation time.
376
//
377
// Supported CEL to C++ type mappings:
378
// bool -> bool
379
// double -> double
380
// uint -> uint64_t
381
// int -> int64_t
382
// timestamp -> absl::Time
383
// duration -> absl::Duration
384
//
385
// Complex types may be referred to by cref or value.
386
// To return these, users should return a Value.
387
// any/dyn -> Value, const Value&
388
// string -> StringValue | const StringValue&
389
// bytes -> BytesValue | const BytesValue&
390
// list -> ListValue | const ListValue&
391
// map -> MapValue | const MapValue&
392
// struct -> StructValue | const StructValue&
393
// null -> NullValue | const NullValue&
394
//
395
// To intercept error and unknown arguments, users must use a non-strict
396
// overload with all arguments typed as any and check the kind of the
397
// Value argument.
398
//
399
// Example Usage:
400
//  double SquareDifference(ValueManager&, double x, double y) {
401
//    return x * x - y * y;
402
//  }
403
//
404
//  {
405
//    RuntimeBuilder builder;
406
//    // Initialize Expression builder with built-ins as needed.
407
//
408
//    CEL_RETURN_IF_ERROR(
409
//      builder.function_registry().Register(
410
//        BinaryFunctionAdapter<double, double, double>::CreateDescriptor(
411
//          "sq_diff", /*receiver_style=*/false),
412
//        BinaryFunctionAdapter<double, double, double>::WrapFunction(
413
//          &SquareDifference)));
414
//
415
//
416
//    // Alternative shorthand
417
//    // See RegisterHelper (template base class) for details.
418
//    // runtime/register_function_helper.h
419
//    auto status = BinaryFunctionAdapter<double, double, double>::
420
//        RegisterGlobalOverload(
421
//            "sq_diff",
422
//            &SquareDifference,
423
//            builder.function_registry());
424
//    CEL_RETURN_IF_ERROR(status);
425
//  }
426
//
427
// example CEL expression:
428
//  sq_diff(4, 3) == 7 [true]
429
//
430
template <typename T, typename U, typename V>
431
class BinaryFunctionAdapter
432
    : public RegisterHelper<BinaryFunctionAdapter<T, U, V>> {
433
 public:
434
  using FunctionType =
435
      absl::AnyInvocable<T(U, V, const Function::InvokeContext&) const>;
436
437
2.92M
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
2.92M
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
2.92M
  }
cel::BinaryFunctionAdapter<cel::Value, double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<cel::Value, long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
126k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
126k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
126k
  }
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
126k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
126k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
126k
  }
cel::BinaryFunctionAdapter<bool, double, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, double, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (unsigned long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (unsigned long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, long, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, bool, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (bool, bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
252k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
252k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
252k
  }
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
100k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
100k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
100k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::ListValue> (cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (bool, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (long, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (double, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (bool, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (long, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (double, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
75.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
75.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
75.6k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::Value const&, cel::Value const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (bool, bool, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
50.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
50.4k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
50.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
50.4k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::NullValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::StringValue> (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::BytesValue> (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
252k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
252k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
252k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
50.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
50.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
50.4k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
25.2k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
25.2k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
25.2k
  }
440
441
  template <typename F>
442
  static std::enable_if_t<
443
      std::is_invocable_v<F, U, V, const google::protobuf::DescriptorPool* absl_nonnull,
444
                          google::protobuf::MessageFactory* absl_nonnull,
445
                          google::protobuf::Arena* absl_nonnull>,
446
      std::unique_ptr<cel::Function>>
447
529k
  WrapFunction(F&& function) {
448
529k
    return WrapFunction(
449
529k
        [function = std::forward<F>(function)](
450
529k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
431k
          return function(arg1, arg2, context.descriptor_pool(),
452
431k
                          context.message_factory(), context.arena());
453
431k
        });
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
450
420k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
420k
          return function(arg1, arg2, context.descriptor_pool(),
452
420k
                          context.message_factory(), context.arena());
453
420k
        });
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::Value> (*&&)(cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(bool, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(long, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(long, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(double, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(double, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: container_membership_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&)::{lambda(cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: container_membership_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&)::{lambda(bool, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(bool, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: container_membership_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&)::{lambda(long, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(long, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: container_membership_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&)::{lambda(unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: container_membership_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&)::{lambda(double, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(double, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::Value> (*&&)(cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::Value const&, cel::Value const&, cel::Function::InvokeContext const&)#1}::operator()(cel::Value const&, cel::Value const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::WrapFunction<std::__1::function<cel::Value (bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(bool, bool, cel::Function::InvokeContext const&)#1}::operator()(bool, bool, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, long, long>::WrapFunction<std::__1::function<cel::Value (long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(long, long, cel::Function::InvokeContext const&)#1}::operator()(long, long, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::WrapFunction<std::__1::function<cel::Value (unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(unsigned long, unsigned long, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, unsigned long, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, double, double>::WrapFunction<std::__1::function<cel::Value (double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(double, double, cel::Function::InvokeContext const&)#1}::operator()(double, double, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::WrapFunction<std::__1::function<cel::Value (cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<std::__1::function<cel::Value (cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<std::__1::function<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<std::__1::function<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::WrapFunction<std::__1::function<cel::Value (cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(cel::NullValue const&, cel::NullValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::NullValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::WrapFunction<std::__1::function<cel::Value (cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)::{lambda(cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexInequality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexInequality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)::{lambda(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexEquality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexEquality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)::{lambda(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexInequality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexInequality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)::{lambda(cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexEquality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexEquality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)::{lambda(cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::StringValue> (*)(cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::StringValue> (*&&)(cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
450
10.0k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
10.0k
          return function(arg1, arg2, context.descriptor_pool(),
452
10.0k
                          context.message_factory(), context.arena());
453
10.0k
        });
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::BytesValue> (*)(cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::BytesValue> (*&&)(cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))::{lambda(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
450
584
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
584
          return function(arg1, arg2, context.descriptor_pool(),
452
584
                          context.message_factory(), context.arena());
453
584
        });
454
529k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Line
Count
Source
447
25.2k
  WrapFunction(F&& function) {
448
25.2k
    return WrapFunction(
449
25.2k
        [function = std::forward<F>(function)](
450
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
25.2k
          return function(arg1, arg2, context.descriptor_pool(),
452
25.2k
                          context.message_factory(), context.arena());
453
25.2k
        });
454
25.2k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::Value> (*&&)(cel::Value const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(bool, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(unsigned long, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(double, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(cel::StringValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<bool> (&)(cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::WrapFunction<absl::lts_20260526::StatusOr<bool> (&)(cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<bool> (&)(cel::BytesValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
container_membership_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&, cel::StringValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_0&)
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
container_membership_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&, bool, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_1&)
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
container_membership_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&, long, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_2&)
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
container_membership_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&, unsigned long, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_3&)
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
container_membership_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&, double, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&>(cel::(anonymous namespace)::RegisterMapMembershipFunctions(cel::FunctionRegistry&, cel::RuntimeOptions const&)::$_4&)
Line
Count
Source
447
75.6k
  WrapFunction(F&& function) {
448
75.6k
    return WrapFunction(
449
75.6k
        [function = std::forward<F>(function)](
450
75.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
75.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
75.6k
                          context.message_factory(), context.arena());
453
75.6k
        });
454
75.6k
  }
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::Value> (*)(cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::Value> (*&&)(cel::Value const&, cel::Value const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, bool, bool>::WrapFunction<std::__1::function<cel::Value (bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (bool, bool, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, long, long>::WrapFunction<std::__1::function<cel::Value (long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (long, long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::WrapFunction<std::__1::function<cel::Value (unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (unsigned long, unsigned long, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, double, double>::WrapFunction<std::__1::function<cel::Value (double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (double, double, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::WrapFunction<std::__1::function<cel::Value (cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<std::__1::function<cel::Value (cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<std::__1::function<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<std::__1::function<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::WrapFunction<std::__1::function<cel::Value (cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::NullValue const&, cel::NullValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: std::__1::enable_if<std::is_invocable_v<std::__1::function<cel::Value (cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>, cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::WrapFunction<std::__1::function<cel::Value (cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)> >(std::__1::function<cel::Value (cel::TypeValue const&, cel::TypeValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::ComplexInequality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}, cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexInequality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexInequality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::ComplexEquality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}, cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexEquality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexEquality<cel::ListValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::ListValue const&, cel::ListValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::ComplexInequality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}, cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexInequality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexInequality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::ComplexEquality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}, cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction<cel::(anonymous namespace)::ComplexEquality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}>(cel::(anonymous namespace)::ComplexEquality<cel::MapValue const&, absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&>(absl::lts_20260526::FunctionRef<absl::lts_20260526::StatusOr<std::__1::optional<bool> > (cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>&)::{lambda(cel::MapValue const&, cel::MapValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)#1}&&)
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::StringValue> (*)(cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::StringValue> (*)(cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::StringValue> (*&&)(cel::StringValue const&, cel::StringValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Line
Count
Source
447
25.2k
  WrapFunction(F&& function) {
448
25.2k
    return WrapFunction(
449
25.2k
        [function = std::forward<F>(function)](
450
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
25.2k
          return function(arg1, arg2, context.descriptor_pool(),
452
25.2k
                          context.message_factory(), context.arena());
453
25.2k
        });
454
25.2k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::BytesValue> (*)(cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*), cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::BytesValue> (*)(cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*)>(absl::lts_20260526::StatusOr<cel::BytesValue> (*&&)(cel::BytesValue const&, cel::BytesValue const&, google::protobuf::DescriptorPool const*, google::protobuf::MessageFactory*, google::protobuf::Arena*))
Line
Count
Source
447
25.2k
  WrapFunction(F&& function) {
448
25.2k
    return WrapFunction(
449
25.2k
        [function = std::forward<F>(function)](
450
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
25.2k
          return function(arg1, arg2, context.descriptor_pool(),
452
25.2k
                          context.message_factory(), context.arena());
453
25.2k
        });
454
25.2k
  }
455
456
  template <typename F>
457
  static std::enable_if_t<std::is_invocable_v<F, U, V>,
458
                          std::unique_ptr<cel::Function>>
459
1.74M
  WrapFunction(F&& function) {
460
1.74M
    return WrapFunction(
461
1.74M
        [function = std::forward<F>(function)](
462
1.74M
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
275k
          return function(arg1, arg2);
464
275k
        });
cel::BinaryFunctionAdapter<bool, double, long>::WrapFunction<bool (*)(double, long)>(bool (*&&)(double, long))::{lambda(double, long, cel::Function::InvokeContext const&)#1}::operator()(double, long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
11.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
11.8k
          return function(arg1, arg2);
464
11.8k
        });
cel::BinaryFunctionAdapter<bool, double, unsigned long>::WrapFunction<bool (*)(double, unsigned long)>(bool (*&&)(double, unsigned long))::{lambda(double, unsigned long, cel::Function::InvokeContext const&)#1}::operator()(double, unsigned long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
5.69k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
5.69k
          return function(arg1, arg2);
464
5.69k
        });
cel::BinaryFunctionAdapter<bool, unsigned long, double>::WrapFunction<bool (*)(unsigned long, double)>(bool (*&&)(unsigned long, double))::{lambda(unsigned long, double, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, double, cel::Function::InvokeContext const&) const
Line
Count
Source
462
20.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
20.4k
          return function(arg1, arg2);
464
20.4k
        });
cel::BinaryFunctionAdapter<bool, unsigned long, long>::WrapFunction<bool (*)(unsigned long, long)>(bool (*&&)(unsigned long, long))::{lambda(unsigned long, long, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
23.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
23.8k
          return function(arg1, arg2);
464
23.8k
        });
cel::BinaryFunctionAdapter<bool, long, double>::WrapFunction<bool (*)(long, double)>(bool (*&&)(long, double))::{lambda(long, double, cel::Function::InvokeContext const&)#1}::operator()(long, double, cel::Function::InvokeContext const&) const
Line
Count
Source
462
68.0k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
68.0k
          return function(arg1, arg2);
464
68.0k
        });
cel::BinaryFunctionAdapter<bool, long, unsigned long>::WrapFunction<bool (*)(long, unsigned long)>(bool (*&&)(long, unsigned long))::{lambda(long, unsigned long, cel::Function::InvokeContext const&)#1}::operator()(long, unsigned long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
10.5k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
10.5k
          return function(arg1, arg2);
464
10.5k
        });
cel::BinaryFunctionAdapter<bool, bool, bool>::WrapFunction<bool (&)(bool, bool)>(bool (&)(bool, bool))::{lambda(bool, bool, cel::Function::InvokeContext const&)#1}::operator()(bool, bool, cel::Function::InvokeContext const&) const
Line
Count
Source
462
1.06k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.06k
          return function(arg1, arg2);
464
1.06k
        });
cel::BinaryFunctionAdapter<bool, long, long>::WrapFunction<bool (&)(long, long)>(bool (&)(long, long))::{lambda(long, long, cel::Function::InvokeContext const&)#1}::operator()(long, long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
117k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
117k
          return function(arg1, arg2);
464
117k
        });
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::WrapFunction<bool (&)(unsigned long, unsigned long)>(bool (&)(unsigned long, unsigned long))::{lambda(unsigned long, unsigned long, cel::Function::InvokeContext const&)#1}::operator()(unsigned long, unsigned long, cel::Function::InvokeContext const&) const
Line
Count
Source
462
1.62k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.62k
          return function(arg1, arg2);
464
1.62k
        });
cel::BinaryFunctionAdapter<bool, double, double>::WrapFunction<bool (&)(double, double)>(bool (&)(double, double))::{lambda(double, double, cel::Function::InvokeContext const&)#1}::operator()(double, double, cel::Function::InvokeContext const&) const
Line
Count
Source
462
1.08k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.08k
          return function(arg1, arg2);
464
1.08k
        });
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::WrapFunction<bool (&)(cel::StringValue const&, cel::StringValue const&)>(bool (&)(cel::StringValue const&, cel::StringValue const&))::{lambda(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
462
5.21k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
5.21k
          return function(arg1, arg2);
464
5.21k
        });
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<bool (&)(cel::BytesValue const&, cel::BytesValue const&)>(bool (&)(cel::BytesValue const&, cel::BytesValue const&))::{lambda(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const
Line
Count
Source
462
1.10k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.10k
          return function(arg1, arg2);
464
1.10k
        });
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<bool (&)(absl::lts_20260526::Duration, absl::lts_20260526::Duration)>(bool (&)(absl::lts_20260526::Duration, absl::lts_20260526::Duration))::{lambda(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
462
2.83k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
2.83k
          return function(arg1, arg2);
464
2.83k
        });
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<bool (&)(absl::lts_20260526::Time, absl::lts_20260526::Time)>(bool (&)(absl::lts_20260526::Time, absl::lts_20260526::Time))::{lambda(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
Line
Count
Source
462
2.10k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
2.10k
          return function(arg1, arg2);
464
2.10k
        });
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue, cel::Value const&)>(absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue, cel::Value const&))::{lambda(cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&)#1}::operator()(cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_0&&)::{lambda(cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_1&&)::{lambda(cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_2&&)::{lambda(cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const
Unexecuted instantiation: equality_functions.cc:cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_3&&)::{lambda(cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&)#1}::operator()(cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_0&&)::{lambda(absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
462
208
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
208
          return function(arg1, arg2);
464
208
        });
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_1&&)::{lambda(absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
Line
Count
Source
462
802
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
802
          return function(arg1, arg2);
464
802
        });
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_2&&)::{lambda(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
462
374
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
374
          return function(arg1, arg2);
464
374
        });
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_3&&)::{lambda(absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
462
202
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
202
          return function(arg1, arg2);
464
202
        });
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_4>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_4&&)::{lambda(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const
Line
Count
Source
462
426
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
426
          return function(arg1, arg2);
464
426
        });
time_functions.cc:cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_5>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_5&&)::{lambda(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&)#1}::operator()(absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const
Line
Count
Source
462
458
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
458
          return function(arg1, arg2);
464
458
        });
465
1.74M
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(double, long), double, long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, double, long>::WrapFunction<bool (*)(double, long)>(bool (*&&)(double, long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(double, unsigned long), double, unsigned long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, double, unsigned long>::WrapFunction<bool (*)(double, unsigned long)>(bool (*&&)(double, unsigned long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(unsigned long, double), unsigned long, double>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, unsigned long, double>::WrapFunction<bool (*)(unsigned long, double)>(bool (*&&)(unsigned long, double))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(unsigned long, long), unsigned long, long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, unsigned long, long>::WrapFunction<bool (*)(unsigned long, long)>(bool (*&&)(unsigned long, long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(long, double), long, double>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, long, double>::WrapFunction<bool (*)(long, double)>(bool (*&&)(long, double))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (*)(long, unsigned long), long, unsigned long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, long, unsigned long>::WrapFunction<bool (*)(long, unsigned long)>(bool (*&&)(long, unsigned long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(bool, bool), bool, bool>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, bool, bool>::WrapFunction<bool (&)(bool, bool)>(bool (&)(bool, bool))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(long, long), long, long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, long, long>::WrapFunction<bool (&)(long, long)>(bool (&)(long, long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(unsigned long, unsigned long), unsigned long, unsigned long>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::WrapFunction<bool (&)(unsigned long, unsigned long)>(bool (&)(unsigned long, unsigned long))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(double, double), double, double>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, double, double>::WrapFunction<bool (&)(double, double)>(bool (&)(double, double))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(cel::StringValue const&, cel::StringValue const&), cel::StringValue const&, cel::StringValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::WrapFunction<bool (&)(cel::StringValue const&, cel::StringValue const&)>(bool (&)(cel::StringValue const&, cel::StringValue const&))
Line
Count
Source
459
252k
  WrapFunction(F&& function) {
460
252k
    return WrapFunction(
461
252k
        [function = std::forward<F>(function)](
462
252k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
252k
          return function(arg1, arg2);
464
252k
        });
465
252k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(cel::BytesValue const&, cel::BytesValue const&), cel::BytesValue const&, cel::BytesValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction<bool (&)(cel::BytesValue const&, cel::BytesValue const&)>(bool (&)(cel::BytesValue const&, cel::BytesValue const&))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(absl::lts_20260526::Duration, absl::lts_20260526::Duration), absl::lts_20260526::Duration, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<bool (&)(absl::lts_20260526::Duration, absl::lts_20260526::Duration)>(bool (&)(absl::lts_20260526::Duration, absl::lts_20260526::Duration))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<bool (&)(absl::lts_20260526::Time, absl::lts_20260526::Time), absl::lts_20260526::Time, absl::lts_20260526::Time>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<bool (&)(absl::lts_20260526::Time, absl::lts_20260526::Time)>(bool (&)(absl::lts_20260526::Time, absl::lts_20260526::Time))
Line
Count
Source
459
100k
  WrapFunction(F&& function) {
460
100k
    return WrapFunction(
461
100k
        [function = std::forward<F>(function)](
462
100k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
100k
          return function(arg1, arg2);
464
100k
        });
465
100k
  }
std::__1::enable_if<std::is_invocable_v<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue, cel::Value const&), cel::ListValue, cel::Value const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::WrapFunction<absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue, cel::Value const&)>(absl::lts_20260526::StatusOr<cel::ListValue> (&)(cel::ListValue, cel::Value const&))
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_0, cel::StructValue const&, cel::NullValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_0&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_1, cel::NullValue const&, cel::StructValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_1&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_2, cel::StructValue const&, cel::NullValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_2&&)
Unexecuted instantiation: equality_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_3, cel::NullValue const&, cel::StructValue const&>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::WrapFunction<cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterNullMessageEqualityFunctions(cel::FunctionRegistry&)::$_3&&)
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_0, absl::lts_20260526::Time, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_0>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_0&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_1, absl::lts_20260526::Duration, absl::lts_20260526::Time>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_1>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_1&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_2, absl::lts_20260526::Duration, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_2>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_2&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_3, absl::lts_20260526::Time, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_3>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_3&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_4, absl::lts_20260526::Time, absl::lts_20260526::Time>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_4>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_4&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
time_functions.cc:std::__1::enable_if<std::is_invocable_v<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_5, absl::lts_20260526::Duration, absl::lts_20260526::Duration>, std::__1::unique_ptr<cel::Function, std::__1::default_delete<cel::Function> > >::type cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::WrapFunction<cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_5>(cel::(anonymous namespace)::RegisterUncheckedTimeArithmeticFunctions(cel::FunctionRegistry&)::$_5&&)
Line
Count
Source
459
25.2k
  WrapFunction(F&& function) {
460
25.2k
    return WrapFunction(
461
25.2k
        [function = std::forward<F>(function)](
462
25.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.2k
          return function(arg1, arg2);
464
25.2k
        });
465
25.2k
  }
466
467
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
468
                                             bool receiver_style,
469
                                             bool is_strict) {
470
    return CreateDescriptor(name, receiver_style,
471
                            {is_strict, /*is_contextual=*/false});
472
  }
473
474
  static FunctionDescriptor CreateDescriptor(
475
      absl::string_view name, bool receiver_style,
476
2.92M
      FunctionDescriptorOptions options = {}) {
477
2.92M
    return FunctionDescriptor(name, receiver_style,
478
2.92M
                              {runtime_internal::AdaptedKind<U>(),
479
2.92M
                               runtime_internal::AdaptedKind<V>()},
480
2.92M
                              options);
481
2.92M
  }
cel::BinaryFunctionAdapter<cel::Value, double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<cel::Value, long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
126k
      FunctionDescriptorOptions options = {}) {
477
126k
    return FunctionDescriptor(name, receiver_style,
478
126k
                              {runtime_internal::AdaptedKind<U>(),
479
126k
                               runtime_internal::AdaptedKind<V>()},
480
126k
                              options);
481
126k
  }
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
126k
      FunctionDescriptorOptions options = {}) {
477
126k
    return FunctionDescriptor(name, receiver_style,
478
126k
                              {runtime_internal::AdaptedKind<U>(),
479
126k
                               runtime_internal::AdaptedKind<V>()},
480
126k
                              options);
481
126k
  }
cel::BinaryFunctionAdapter<bool, double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, double, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, long, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, long, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
252k
      FunctionDescriptorOptions options = {}) {
477
252k
    return FunctionDescriptor(name, receiver_style,
478
252k
                              {runtime_internal::AdaptedKind<U>(),
479
252k
                               runtime_internal::AdaptedKind<V>()},
480
252k
                              options);
481
252k
  }
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
100k
      FunctionDescriptorOptions options = {}) {
477
100k
    return FunctionDescriptor(name, receiver_style,
478
100k
                              {runtime_internal::AdaptedKind<U>(),
479
100k
                               runtime_internal::AdaptedKind<V>()},
480
100k
                              options);
481
100k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
75.6k
      FunctionDescriptorOptions options = {}) {
477
75.6k
    return FunctionDescriptor(name, receiver_style,
478
75.6k
                              {runtime_internal::AdaptedKind<U>(),
479
75.6k
                               runtime_internal::AdaptedKind<V>()},
480
75.6k
                              options);
481
75.6k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
50.4k
      FunctionDescriptorOptions options = {}) {
477
50.4k
    return FunctionDescriptor(name, receiver_style,
478
50.4k
                              {runtime_internal::AdaptedKind<U>(),
479
50.4k
                               runtime_internal::AdaptedKind<V>()},
480
50.4k
                              options);
481
50.4k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
50.4k
      FunctionDescriptorOptions options = {}) {
477
50.4k
    return FunctionDescriptor(name, receiver_style,
478
50.4k
                              {runtime_internal::AdaptedKind<U>(),
479
50.4k
                               runtime_internal::AdaptedKind<V>()},
480
50.4k
                              options);
481
50.4k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
252k
      FunctionDescriptorOptions options = {}) {
477
252k
    return FunctionDescriptor(name, receiver_style,
478
252k
                              {runtime_internal::AdaptedKind<U>(),
479
252k
                               runtime_internal::AdaptedKind<V>()},
480
252k
                              options);
481
252k
  }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
50.4k
      FunctionDescriptorOptions options = {}) {
477
50.4k
    return FunctionDescriptor(name, receiver_style,
478
50.4k
                              {runtime_internal::AdaptedKind<U>(),
479
50.4k
                               runtime_internal::AdaptedKind<V>()},
480
50.4k
                              options);
481
50.4k
  }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
25.2k
      FunctionDescriptorOptions options = {}) {
477
25.2k
    return FunctionDescriptor(name, receiver_style,
478
25.2k
                              {runtime_internal::AdaptedKind<U>(),
479
25.2k
                               runtime_internal::AdaptedKind<V>()},
480
25.2k
                              options);
481
25.2k
  }
482
483
 private:
484
  class BinaryFunctionImpl : public Function {
485
   public:
486
2.92M
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, double, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
126k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
126k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, double, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (double, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, double, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (double, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, unsigned long, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (unsigned long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, unsigned long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (unsigned long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, long, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, bool, bool>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (bool, bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, double, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
252k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
100k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::ListValue> (cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (bool, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (long, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (double, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<bool> (cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (bool, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (long, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (double, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
75.6k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::Value const&, cel::Value const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (bool, bool, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
50.4k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
50.4k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::NullValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (cel::MapValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (cel::StructValue const&, cel::NullValue const&, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<bool (cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::StringValue> (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::BytesValue> (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
252k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Duration, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<absl::lts_20260526::StatusOr<cel::Value> (absl::lts_20260526::Time, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Time, absl::lts_20260526::Duration, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
50.4k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260526::AnyInvocable<cel::Value (absl::lts_20260526::Duration, absl::lts_20260526::Time, cel::Function::InvokeContext const&) const>)
Line
Count
Source
486
25.2k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
487
    absl::StatusOr<Value> Invoke(
488
        absl::Span<const Value> args,
489
13.8M
        const Function::InvokeContext& context) const final {
490
13.8M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
13.8M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
13.8M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
13.8M
      typename Arg1Traits::AssignableType arg1;
497
13.8M
      typename Arg2Traits::AssignableType arg2;
498
13.8M
      CEL_RETURN_IF_ERROR(
499
13.8M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
13.8M
      CEL_RETURN_IF_ERROR(
501
13.8M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
13.5M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
13.5M
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
13.5M
      } else {
507
283k
        T result =
508
283k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
283k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
283k
      }
512
13.8M
    }
cel::BinaryFunctionAdapter<cel::Value, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
47.4k
        const Function::InvokeContext& context) const final {
490
47.4k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
47.4k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
47.4k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
47.4k
      typename Arg1Traits::AssignableType arg1;
497
47.4k
      typename Arg2Traits::AssignableType arg2;
498
47.4k
      CEL_RETURN_IF_ERROR(
499
47.4k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
47.4k
      CEL_RETURN_IF_ERROR(
501
47.4k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
47.4k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
47.4k
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
47.4k
    }
cel::BinaryFunctionAdapter<cel::Value, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
8.43M
        const Function::InvokeContext& context) const final {
490
8.43M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
8.43M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
8.43M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
8.43M
      typename Arg1Traits::AssignableType arg1;
497
8.43M
      typename Arg2Traits::AssignableType arg2;
498
8.43M
      CEL_RETURN_IF_ERROR(
499
8.43M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
8.43M
      CEL_RETURN_IF_ERROR(
501
8.43M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
8.43M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
8.43M
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
8.43M
    }
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
4.66M
        const Function::InvokeContext& context) const final {
490
4.66M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
4.66M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
4.66M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
4.66M
      typename Arg1Traits::AssignableType arg1;
497
4.66M
      typename Arg2Traits::AssignableType arg2;
498
4.66M
      CEL_RETURN_IF_ERROR(
499
4.66M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
4.66M
      CEL_RETURN_IF_ERROR(
501
4.66M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
4.66M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
4.66M
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
4.66M
    }
cel::BinaryFunctionAdapter<bool, double, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
11.8k
        const Function::InvokeContext& context) const final {
490
11.8k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
11.8k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
11.8k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
11.8k
      typename Arg1Traits::AssignableType arg1;
497
11.8k
      typename Arg2Traits::AssignableType arg2;
498
11.8k
      CEL_RETURN_IF_ERROR(
499
11.8k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
11.8k
      CEL_RETURN_IF_ERROR(
501
11.8k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
11.8k
      } else {
507
11.8k
        T result =
508
11.8k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
11.8k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
11.8k
      }
512
11.8k
    }
cel::BinaryFunctionAdapter<bool, double, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
5.69k
        const Function::InvokeContext& context) const final {
490
5.69k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
5.69k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
5.69k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
5.69k
      typename Arg1Traits::AssignableType arg1;
497
5.69k
      typename Arg2Traits::AssignableType arg2;
498
5.69k
      CEL_RETURN_IF_ERROR(
499
5.69k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
5.69k
      CEL_RETURN_IF_ERROR(
501
5.69k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
5.69k
      } else {
507
5.69k
        T result =
508
5.69k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
5.69k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
5.69k
      }
512
5.69k
    }
cel::BinaryFunctionAdapter<bool, unsigned long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
20.4k
        const Function::InvokeContext& context) const final {
490
20.4k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
20.4k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
20.4k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
20.4k
      typename Arg1Traits::AssignableType arg1;
497
20.4k
      typename Arg2Traits::AssignableType arg2;
498
20.4k
      CEL_RETURN_IF_ERROR(
499
20.4k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
20.4k
      CEL_RETURN_IF_ERROR(
501
20.4k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
20.4k
      } else {
507
20.4k
        T result =
508
20.4k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
20.4k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
20.4k
      }
512
20.4k
    }
cel::BinaryFunctionAdapter<bool, unsigned long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
23.8k
        const Function::InvokeContext& context) const final {
490
23.8k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
23.8k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
23.8k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
23.8k
      typename Arg1Traits::AssignableType arg1;
497
23.8k
      typename Arg2Traits::AssignableType arg2;
498
23.8k
      CEL_RETURN_IF_ERROR(
499
23.8k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
23.8k
      CEL_RETURN_IF_ERROR(
501
23.8k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
23.8k
      } else {
507
23.8k
        T result =
508
23.8k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
23.8k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
23.8k
      }
512
23.8k
    }
cel::BinaryFunctionAdapter<bool, long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
68.0k
        const Function::InvokeContext& context) const final {
490
68.0k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
68.0k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
68.0k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
68.0k
      typename Arg1Traits::AssignableType arg1;
497
68.0k
      typename Arg2Traits::AssignableType arg2;
498
68.0k
      CEL_RETURN_IF_ERROR(
499
68.0k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
68.0k
      CEL_RETURN_IF_ERROR(
501
68.0k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
68.0k
      } else {
507
68.0k
        T result =
508
68.0k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
68.0k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
68.0k
      }
512
68.0k
    }
cel::BinaryFunctionAdapter<bool, long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
10.5k
        const Function::InvokeContext& context) const final {
490
10.5k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
10.5k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
10.5k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
10.5k
      typename Arg1Traits::AssignableType arg1;
497
10.5k
      typename Arg2Traits::AssignableType arg2;
498
10.5k
      CEL_RETURN_IF_ERROR(
499
10.5k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
10.5k
      CEL_RETURN_IF_ERROR(
501
10.5k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
10.5k
      } else {
507
10.5k
        T result =
508
10.5k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
10.5k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
10.5k
      }
512
10.5k
    }
cel::BinaryFunctionAdapter<bool, bool, bool>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
1.06k
        const Function::InvokeContext& context) const final {
490
1.06k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.06k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.06k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.06k
      typename Arg1Traits::AssignableType arg1;
497
1.06k
      typename Arg2Traits::AssignableType arg2;
498
1.06k
      CEL_RETURN_IF_ERROR(
499
1.06k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.06k
      CEL_RETURN_IF_ERROR(
501
1.06k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
1.06k
      } else {
507
1.06k
        T result =
508
1.06k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.06k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.06k
      }
512
1.06k
    }
cel::BinaryFunctionAdapter<bool, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
117k
        const Function::InvokeContext& context) const final {
490
117k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
117k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
117k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
117k
      typename Arg1Traits::AssignableType arg1;
497
117k
      typename Arg2Traits::AssignableType arg2;
498
117k
      CEL_RETURN_IF_ERROR(
499
117k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
117k
      CEL_RETURN_IF_ERROR(
501
117k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
117k
      } else {
507
117k
        T result =
508
117k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
117k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
117k
      }
512
117k
    }
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
1.62k
        const Function::InvokeContext& context) const final {
490
1.62k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.62k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.62k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.62k
      typename Arg1Traits::AssignableType arg1;
497
1.62k
      typename Arg2Traits::AssignableType arg2;
498
1.62k
      CEL_RETURN_IF_ERROR(
499
1.62k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.62k
      CEL_RETURN_IF_ERROR(
501
1.62k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
1.62k
      } else {
507
1.62k
        T result =
508
1.62k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.62k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.62k
      }
512
1.62k
    }
cel::BinaryFunctionAdapter<bool, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
1.08k
        const Function::InvokeContext& context) const final {
490
1.08k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.08k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.08k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.08k
      typename Arg1Traits::AssignableType arg1;
497
1.08k
      typename Arg2Traits::AssignableType arg2;
498
1.08k
      CEL_RETURN_IF_ERROR(
499
1.08k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.08k
      CEL_RETURN_IF_ERROR(
501
1.08k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
1.08k
      } else {
507
1.08k
        T result =
508
1.08k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.08k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.08k
      }
512
1.08k
    }
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
5.21k
        const Function::InvokeContext& context) const final {
490
5.21k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
5.21k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
5.21k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
5.21k
      typename Arg1Traits::AssignableType arg1;
497
5.21k
      typename Arg2Traits::AssignableType arg2;
498
5.21k
      CEL_RETURN_IF_ERROR(
499
5.21k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
5.21k
      CEL_RETURN_IF_ERROR(
501
5.21k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
5.21k
      } else {
507
5.21k
        T result =
508
5.21k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
5.21k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
5.21k
      }
512
5.21k
    }
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
1.10k
        const Function::InvokeContext& context) const final {
490
1.10k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.10k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.10k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.10k
      typename Arg1Traits::AssignableType arg1;
497
1.10k
      typename Arg2Traits::AssignableType arg2;
498
1.10k
      CEL_RETURN_IF_ERROR(
499
1.10k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.10k
      CEL_RETURN_IF_ERROR(
501
1.10k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
1.10k
      } else {
507
1.10k
        T result =
508
1.10k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.10k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.10k
      }
512
1.10k
    }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
2.83k
        const Function::InvokeContext& context) const final {
490
2.83k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
2.83k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
2.83k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
2.83k
      typename Arg1Traits::AssignableType arg1;
497
2.83k
      typename Arg2Traits::AssignableType arg2;
498
2.83k
      CEL_RETURN_IF_ERROR(
499
2.83k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
2.83k
      CEL_RETURN_IF_ERROR(
501
2.83k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
2.83k
      } else {
507
2.83k
        T result =
508
2.83k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
2.83k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
2.83k
      }
512
2.83k
    }
cel::BinaryFunctionAdapter<bool, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
2.10k
        const Function::InvokeContext& context) const final {
490
2.10k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
2.10k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
2.10k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
2.10k
      typename Arg1Traits::AssignableType arg1;
497
2.10k
      typename Arg2Traits::AssignableType arg2;
498
2.10k
      CEL_RETURN_IF_ERROR(
499
2.10k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
2.10k
      CEL_RETURN_IF_ERROR(
501
2.10k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
2.10k
      } else {
507
2.10k
        T result =
508
2.10k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
2.10k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
2.10k
      }
512
2.10k
    }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
420k
        const Function::InvokeContext& context) const final {
490
420k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
420k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
420k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
420k
      typename Arg1Traits::AssignableType arg1;
497
420k
      typename Arg2Traits::AssignableType arg2;
498
420k
      CEL_RETURN_IF_ERROR(
499
420k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
420k
      CEL_RETURN_IF_ERROR(
501
420k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
420k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
420k
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
420k
    }
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, bool, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, long, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, unsigned long, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, double, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, bool, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, long, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, double, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
832
        const Function::InvokeContext& context) const final {
490
832
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
832
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
832
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
832
      typename Arg1Traits::AssignableType arg1;
497
832
      typename Arg2Traits::AssignableType arg2;
498
832
      CEL_RETURN_IF_ERROR(
499
832
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
832
      CEL_RETURN_IF_ERROR(
501
832
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
832
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
832
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
832
    }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
426
        const Function::InvokeContext& context) const final {
490
426
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
426
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
426
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
426
      typename Arg1Traits::AssignableType arg1;
497
426
      typename Arg2Traits::AssignableType arg2;
498
426
      CEL_RETURN_IF_ERROR(
499
426
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
426
      CEL_RETURN_IF_ERROR(
501
426
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
426
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
426
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
426
    }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::TypeValue const&, cel::TypeValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
10.0k
        const Function::InvokeContext& context) const final {
490
10.0k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
10.0k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
10.0k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
10.0k
      typename Arg1Traits::AssignableType arg1;
497
10.0k
      typename Arg2Traits::AssignableType arg2;
498
10.0k
      CEL_RETURN_IF_ERROR(
499
10.0k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
10.0k
      CEL_RETURN_IF_ERROR(
501
10.0k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
10.0k
      } else {
507
10.0k
        T result =
508
10.0k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
10.0k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
10.0k
      }
512
10.0k
    }
cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
584
        const Function::InvokeContext& context) const final {
490
584
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
584
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
584
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
584
      typename Arg1Traits::AssignableType arg1;
497
584
      typename Arg2Traits::AssignableType arg2;
498
584
      CEL_RETURN_IF_ERROR(
499
584
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
584
      CEL_RETURN_IF_ERROR(
501
584
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
584
      } else {
507
584
        T result =
508
584
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
584
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
584
      }
512
584
    }
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Duration, absl::lts_20260526::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260526::StatusOr<cel::Value>, absl::lts_20260526::Time, absl::lts_20260526::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Time, absl::lts_20260526::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
410
        const Function::InvokeContext& context) const final {
490
410
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
410
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
410
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
410
      typename Arg1Traits::AssignableType arg1;
497
410
      typename Arg2Traits::AssignableType arg2;
498
410
      CEL_RETURN_IF_ERROR(
499
410
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
410
      CEL_RETURN_IF_ERROR(
501
410
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
410
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
410
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
410
    }
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260526::Duration, absl::lts_20260526::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
802
        const Function::InvokeContext& context) const final {
490
802
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
802
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
802
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
802
      typename Arg1Traits::AssignableType arg1;
497
802
      typename Arg2Traits::AssignableType arg2;
498
802
      CEL_RETURN_IF_ERROR(
499
802
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
802
      CEL_RETURN_IF_ERROR(
501
802
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
802
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
802
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
      } else {
507
        T result =
508
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
      }
512
802
    }
513
514
   private:
515
    BinaryFunctionAdapter::FunctionType fn_;
516
  };
517
};
518
519
template <typename T, typename U, typename V, typename W>
520
class TernaryFunctionAdapter
521
    : public RegisterHelper<TernaryFunctionAdapter<T, U, V, W>> {
522
 public:
523
  using FunctionType =
524
      absl::AnyInvocable<T(U, V, W, const Function::InvokeContext&) const>;
525
526
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
527
    return std::make_unique<TernaryFunctionImpl>(std::move(fn));
528
  }
529
530
  template <typename F>
531
  static std::enable_if_t<
532
      std::is_invocable_v<
533
          F, U, V, W, const google::protobuf::DescriptorPool* absl_nonnull,
534
          google::protobuf::MessageFactory* absl_nonnull, google::protobuf::Arena* absl_nonnull>,
535
      std::unique_ptr<cel::Function>>
536
  WrapFunction(F&& function) {
537
    return WrapFunction([function = std::forward<F>(function)](
538
                            U arg1, V arg2, W arg3,
539
                            const Function::InvokeContext& context) -> T {
540
      return function(arg1, arg2, arg3, context.descriptor_pool(),
541
                      context.message_factory(), context.arena());
542
    });
543
  }
544
545
  template <typename F>
546
  static std::enable_if_t<std::is_invocable_v<F, U, V, W>,
547
                          std::unique_ptr<cel::Function>>
548
  WrapFunction(F&& function) {
549
    return WrapFunction([function = std::forward<F>(function)](
550
                            U arg1, V arg2, W arg3,
551
                            const Function::InvokeContext& context) -> T {
552
      return function(arg1, arg2, arg3);
553
    });
554
  }
555
556
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
557
                                             bool receiver_style,
558
                                             bool is_strict) {
559
    return CreateDescriptor(
560
        name, receiver_style,
561
        FunctionDescriptorOptions{is_strict, /*is_contextual=*/false});
562
  }
563
564
  static FunctionDescriptor CreateDescriptor(
565
      absl::string_view name, bool receiver_style,
566
      FunctionDescriptorOptions options = {}) {
567
    return FunctionDescriptor(
568
        name, receiver_style,
569
        {runtime_internal::AdaptedKind<U>(), runtime_internal::AdaptedKind<V>(),
570
         runtime_internal::AdaptedKind<W>()},
571
        options);
572
  }
573
574
 private:
575
  class TernaryFunctionImpl : public Function {
576
   public:
577
    explicit TernaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
578
    absl::StatusOr<Value> Invoke(
579
        absl::Span<const Value> args,
580
        const Function::InvokeContext& context) const final {
581
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
582
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
583
      using Arg3Traits = runtime_internal::AdaptedTypeTraits<W>;
584
      if (args.size() != 3) {
585
        return absl::InvalidArgumentError(
586
            "unexpected number of arguments for ternary function");
587
      }
588
      typename Arg1Traits::AssignableType arg1;
589
      typename Arg2Traits::AssignableType arg2;
590
      typename Arg3Traits::AssignableType arg3;
591
      CEL_RETURN_IF_ERROR(
592
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
593
      CEL_RETURN_IF_ERROR(
594
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
595
      CEL_RETURN_IF_ERROR(
596
          runtime_internal::ValueToAdaptedVisitor{args[2]}(&arg3));
597
598
      if constexpr (std::is_same_v<T, Value> ||
599
                    std::is_same_v<T, absl::StatusOr<Value>>) {
600
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2),
601
                   Arg3Traits::ToArg(arg3), context);
602
      } else {
603
        T result = fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2),
604
                       Arg3Traits::ToArg(arg3), context);
605
606
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
607
      }
608
    }
609
610
   private:
611
    TernaryFunctionAdapter::FunctionType fn_;
612
  };
613
};
614
615
template <typename T, typename U, typename V, typename W, typename X>
616
class QuaternaryFunctionAdapter
617
    : public RegisterHelper<QuaternaryFunctionAdapter<T, U, V, W, X>> {
618
 public:
619
  using FunctionType =
620
      absl::AnyInvocable<T(U, V, W, X, const Function::InvokeContext&) const>;
621
622
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
623
    return std::make_unique<QuaternaryFunctionImpl>(std::move(fn));
624
  }
625
626
  template <typename F>
627
  static std::enable_if_t<
628
      std::is_invocable_v<
629
          F, U, V, W, X, const google::protobuf::DescriptorPool* absl_nonnull,
630
          google::protobuf::MessageFactory* absl_nonnull, google::protobuf::Arena* absl_nonnull>,
631
      std::unique_ptr<cel::Function>>
632
  WrapFunction(F&& function) {
633
    return WrapFunction([function = std::forward<F>(function)](
634
                            U arg1, V arg2, W arg3, X arg4,
635
                            const Function::InvokeContext& context) -> T {
636
      return function(arg1, arg2, arg3, arg4, context.descriptor_pool(),
637
                      context.message_factory(), context.arena());
638
    });
639
  }
640
641
  template <typename F>
642
  static std::enable_if_t<std::is_invocable_v<F, U, V, W, X>,
643
                          std::unique_ptr<cel::Function>>
644
  WrapFunction(F&& function) {
645
    return WrapFunction([function = std::forward<F>(function)](
646
                            U arg1, V arg2, W arg3, X arg4,
647
                            const Function::InvokeContext& context) -> T {
648
      return function(arg1, arg2, arg3, arg4);
649
    });
650
  }
651
652
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
653
                                             bool receiver_style,
654
                                             bool is_strict) {
655
    return CreateDescriptor(name, receiver_style,
656
                            {is_strict, /*is_contextual=*/false});
657
  }
658
659
  static FunctionDescriptor CreateDescriptor(
660
      absl::string_view name, bool receiver_style,
661
      FunctionDescriptorOptions options = {}) {
662
    return FunctionDescriptor(
663
        name, receiver_style,
664
        {runtime_internal::AdaptedKind<U>(), runtime_internal::AdaptedKind<V>(),
665
         runtime_internal::AdaptedKind<W>(),
666
         runtime_internal::AdaptedKind<X>()},
667
        options);
668
  }
669
670
 private:
671
  class QuaternaryFunctionImpl : public Function {
672
   public:
673
    explicit QuaternaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
674
    absl::StatusOr<Value> Invoke(
675
        absl::Span<const Value> args,
676
        const Function::InvokeContext& context) const final {
677
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
678
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
679
      using Arg3Traits = runtime_internal::AdaptedTypeTraits<W>;
680
      using Arg4Traits = runtime_internal::AdaptedTypeTraits<X>;
681
      if (args.size() != 4) {
682
        return absl::InvalidArgumentError(
683
            "unexpected number of arguments for quaternary function");
684
      }
685
      typename Arg1Traits::AssignableType arg1;
686
      typename Arg2Traits::AssignableType arg2;
687
      typename Arg3Traits::AssignableType arg3;
688
      typename Arg4Traits::AssignableType arg4;
689
      CEL_RETURN_IF_ERROR(
690
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
691
      CEL_RETURN_IF_ERROR(
692
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
693
      CEL_RETURN_IF_ERROR(
694
          runtime_internal::ValueToAdaptedVisitor{args[2]}(&arg3));
695
      CEL_RETURN_IF_ERROR(
696
          runtime_internal::ValueToAdaptedVisitor{args[3]}(&arg4));
697
698
      if constexpr (std::is_same_v<T, Value> ||
699
                    std::is_same_v<T, absl::StatusOr<Value>>) {
700
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2),
701
                   Arg3Traits::ToArg(arg3), Arg4Traits::ToArg(arg4), context);
702
      } else {
703
        T result =
704
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2),
705
                Arg3Traits::ToArg(arg3), Arg4Traits::ToArg(arg4), context);
706
707
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
708
      }
709
    }
710
711
   private:
712
    QuaternaryFunctionAdapter::FunctionType fn_;
713
  };
714
};
715
716
// Primary template for n-ary adapter.
717
template <typename T, typename... Args>
718
class NaryFunctionAdapter;
719
720
template <typename T>
721
class NaryFunctionAdapter<T> : public NullaryFunctionAdapter<T> {};
722
723
template <typename T, typename U>
724
class NaryFunctionAdapter<T, U> : public UnaryFunctionAdapter<T, U> {};
725
726
template <typename T, typename U, typename V>
727
class NaryFunctionAdapter<T, U, V> : public BinaryFunctionAdapter<T, U, V> {};
728
729
template <typename T, typename U, typename V, typename W>
730
class NaryFunctionAdapter<T, U, V, W>
731
    : public TernaryFunctionAdapter<T, U, V, W> {};
732
733
template <typename T, typename U, typename V, typename W, typename X>
734
class NaryFunctionAdapter<T, U, V, W, X>
735
    : public QuaternaryFunctionAdapter<T, U, V, W, X> {};
736
737
// N-ary function adapter.
738
//
739
// Prefer using one of the specific count adapters above for readability and
740
// better error messages.
741
template <typename T, typename... Args>
742
class NaryFunctionAdapter
743
    : public RegisterHelper<NaryFunctionAdapter<T, Args...>> {
744
 public:
745
  using FunctionType =
746
      absl::AnyInvocable<T(Args..., const Function::InvokeContext&) const>;
747
748
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
749
                                             bool receiver_style,
750
                                             bool is_strict) {
751
    return CreateDescriptor(name, receiver_style,
752
                            {is_strict, /*is_contextual=*/false});
753
  }
754
755
  static FunctionDescriptor CreateDescriptor(
756
      absl::string_view name, bool receiver_style,
757
      FunctionDescriptorOptions options = {}) {
758
    return FunctionDescriptor(name, receiver_style,
759
                              {runtime_internal::AdaptedKind<Args>()...},
760
                              options);
761
  }
762
763
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
764
    return std::make_unique<NaryFunctionImpl>(std::move(fn));
765
  }
766
767
  template <typename F>
768
  static std::enable_if_t<
769
      std::is_invocable_v<
770
          F, Args..., const google::protobuf::DescriptorPool* absl_nonnull,
771
          google::protobuf::MessageFactory* absl_nonnull, google::protobuf::Arena* absl_nonnull>,
772
      std::unique_ptr<cel::Function>>
773
  WrapFunction(F&& function) {
774
    return WrapFunction(
775
        [function = std::forward<F>(function)](
776
            Args... args, const Function::InvokeContext& context) -> T {
777
          return function(args..., context.descriptor_pool(),
778
                          context.message_factory(), context.arena());
779
        });
780
  }
781
782
  template <typename F>
783
  static std::enable_if_t<std::is_invocable_v<F, Args...>,
784
                          std::unique_ptr<cel::Function>>
785
  WrapFunction(F&& function) {
786
    return WrapFunction(
787
        [function = std::forward<F>(function)](
788
            Args... args, const Function::InvokeContext& context) -> T {
789
          return function(args...);
790
        });
791
  }
792
793
 private:
794
  class NaryFunctionImpl : public Function {
795
   private:
796
    using ArgBuffer = std::tuple<
797
        typename runtime_internal::AdaptedTypeTraits<Args>::AssignableType...>;
798
799
   public:
800
    explicit NaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
801
    absl::StatusOr<Value> Invoke(
802
        absl::Span<const Value> args,
803
        const Function::InvokeContext& context) const final {
804
      if (args.size() != sizeof...(Args)) {
805
        return absl::InvalidArgumentError(
806
            absl::StrCat("unexpected number of arguments for ", sizeof...(Args),
807
                         "-ary function"));
808
      }
809
      ArgBuffer arg_buffer;
810
      CEL_RETURN_IF_ERROR(
811
          runtime_internal::AdaptHelper<Args...>::Apply(args, arg_buffer));
812
      if constexpr (std::is_same_v<T, Value> ||
813
                    std::is_same_v<T, absl::StatusOr<Value>>) {
814
        return runtime_internal::ToArgsHelper<Args...>::template Apply<T>(
815
            fn_, arg_buffer, context);
816
      } else {
817
        T result = runtime_internal::ToArgsHelper<Args...>::template Apply<T>(
818
            fn_, arg_buffer, context);
819
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
820
      }
821
    }
822
823
   private:
824
    FunctionType fn_;
825
  };
826
};
827
828
}  // namespace cel
829
830
#endif  // THIRD_PARTY_CEL_CPP_RUNTIME_FUNCTION_ADAPTER_H_