Coverage Report

Created: 2026-11-12 06:42

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
19.3M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<double>::ToArg(double)
Line
Count
Source
54
208k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<long>::ToArg(long)
Line
Count
Source
54
12.3M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<unsigned long>::ToArg(unsigned long)
Line
Count
Source
54
6.68M
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<bool>::ToArg(bool)
Line
Count
Source
54
9.82k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260526::Duration>::ToArg(absl::lts_20260526::Duration)
Line
Count
Source
54
13.4k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260526::Time>::ToArg(absl::lts_20260526::Time)
Line
Count
Source
54
7.99k
  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
19.2k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::BytesValue>::ToArg(cel::BytesValue)
Line
Count
Source
54
296
  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
9.63k
  static std::reference_wrapper<const Value> ToArg(AssignableType v) {
64
9.63k
    return *v;
65
9.63k
  }
66
};
67
68
template <>
69
struct AdaptedTypeTraits<const StringValue&> {
70
  using AssignableType = const StringValue*;
71
72
227k
  static std::reference_wrapper<const StringValue> ToArg(AssignableType v) {
73
227k
    return *v;
74
227k
  }
75
};
76
77
template <>
78
struct AdaptedTypeTraits<const BytesValue&> {
79
  using AssignableType = const BytesValue*;
80
81
7.62k
  static std::reference_wrapper<const BytesValue> ToArg(AssignableType v) {
82
7.62k
    return *v;
83
7.62k
  }
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
948k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::ListValue const&>::ToArg(cel::ListValue)
Line
Count
Source
96
948k
  static T ToArg(AssignableType v) { return v; }
cel::runtime_internal::AdaptedTypeTraits<cel::MapValue const&>::ToArg(cel::MapValue)
Line
Count
Source
96
226
  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.49M
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
1.49M
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
1.49M
  }
cel::UnaryFunctionAdapter<cel::Value, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
74.6k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
74.6k
  }
cel::UnaryFunctionAdapter<double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<double (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
cel::UnaryFunctionAdapter<bool, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::Value, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<long (cel::StringValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::WrapFunction(absl::lts_20260526::AnyInvocable<long (cel::BytesValue const&, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
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
298k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
298k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
298k
  }
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
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
99.4k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
99.4k
  }
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::BytesValue (cel::BytesValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<double, long>::WrapFunction(absl::lts_20260526::AnyInvocable<double (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
124k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
124k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
124k
  }
cel::UnaryFunctionAdapter<double, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<double (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<long, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<long (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::Value, double>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
74.6k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
74.6k
  }
cel::UnaryFunctionAdapter<long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<long (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (cel::StringValue, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::StringValue (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<unsigned long (unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
287
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
24.8k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
24.8k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288
49.7k
    return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289
49.7k
  }
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
746k
  WrapFunction(F&& function) {
310
746k
    return WrapFunction(
311
746k
        [function = std::forward<F>(function)](
312
746k
            U arg1, const Function::InvokeContext& context) -> T {
313
22.6k
          return function(arg1);
314
22.6k
        });
arithmetic_functions.cc:_ZZN3cel20UnaryFunctionAdapterIddE12WrapFunctionIZNS_27RegisterArithmeticFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ENKUldRKNSD_13InvokeContextEE_clEdSM_
Line
Count
Source
312
2.02k
            U arg1, const Function::InvokeContext& context) -> T {
313
2.02k
          return function(arg1);
314
2.02k
        });
_ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrIlEERKNS_9ListValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS7_RKNSG_13InvokeContextEE_clES7_SP_
Line
Count
Source
312
66
            U arg1, const Function::InvokeContext& context) -> T {
313
66
          return function(arg1);
314
66
        });
_ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrIlEERKNS_8MapValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS7_RKNSG_13InvokeContextEE_clES7_SP_
Line
Count
Source
312
226
            U arg1, const Function::InvokeContext& context) -> T {
313
226
          return function(arg1);
314
226
        });
Unexecuted instantiation: logical_functions.cc:_ZZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_24RegisterLogicalFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ENKUlbRKNSD_13InvokeContextEE_clEbSM_
string_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlRKNS_11StringValueEE12WrapFunctionIRZNS_12_GLOBAL__N_121RegisterSizeFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS3_RKNSF_13InvokeContextEE_clES3_SO_
Line
Count
Source
312
617
            U arg1, const Function::InvokeContext& context) -> T {
313
617
          return function(arg1);
314
617
        });
string_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlRKNS_10BytesValueEE12WrapFunctionIRZNS_12_GLOBAL__N_121RegisterSizeFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS3_RKNSF_13InvokeContextEE_clES3_SO_
Line
Count
Source
312
376
            U arg1, const Function::InvokeContext& context) -> T {
313
376
          return function(arg1);
314
376
        });
Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlS3_RKNSE_13InvokeContextEE_clES3_SN_
Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlS3_RKNSE_13InvokeContextEE_clES3_SN_
Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlS3_RKNSE_13InvokeContextEE_clES3_SN_
Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlS3_RKNSE_13InvokeContextEE_clES3_SN_
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterBoolConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlbRKNSE_13InvokeContextEE_clEbSN_
Line
Count
Source
312
6.42k
            U arg1, const Function::InvokeContext& context) -> T {
313
6.42k
          return function(arg1);
314
6.42k
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_10BytesValueES1_E12WrapFunctionIZNS_12_GLOBAL__N_132RegisterBytesConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS1_RKNSF_13InvokeContextEE_clES1_SO_
Line
Count
Source
312
296
            U arg1, const Function::InvokeContext& context) -> T {
313
296
          return function(arg1);
314
296
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_10BytesValueEEERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_132RegisterBytesConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_EENSI_10unique_ptrINS_8FunctionENSI_14default_deleteISM_EEEEE4typeEOSK_ENKUlS8_RKNSM_13InvokeContextEE_clES8_SV_
Line
Count
Source
312
194
            U arg1, const Function::InvokeContext& context) -> T {
313
194
          return function(arg1);
314
194
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIddE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUldRKNSE_13InvokeContextEE_clEdSN_
Line
Count
Source
312
410
            U arg1, const Function::InvokeContext& context) -> T {
313
410
          return function(arg1);
314
410
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIdlE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUllRKNSE_13InvokeContextEE_clElSN_
Line
Count
Source
312
615
            U arg1, const Function::InvokeContext& context) -> T {
313
615
          return function(arg1);
314
615
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIdmE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlmRKNSE_13InvokeContextEE_clEmSN_
Line
Count
Source
312
278
            U arg1, const Function::InvokeContext& context) -> T {
313
278
          return function(arg1);
314
278
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlbE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlbRKNSE_13InvokeContextEE_clEbSN_
Line
Count
Source
312
300
            U arg1, const Function::InvokeContext& context) -> T {
313
300
          return function(arg1);
314
300
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIllE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUllRKNSE_13InvokeContextEE_clElSN_
Line
Count
Source
312
248
            U arg1, const Function::InvokeContext& context) -> T {
313
248
          return function(arg1);
314
248
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605264TimeEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_RKNSH_13InvokeContextEE_clES3_SQ_
Line
Count
Source
312
1
            U arg1, const Function::InvokeContext& context) -> T {
313
1
          return function(arg1);
314
1
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_11StringValueEbE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlbRKNSF_13InvokeContextEE_clEbSO_
Line
Count
Source
312
338
            U arg1, const Function::InvokeContext& context) -> T {
313
338
          return function(arg1);
314
338
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_11StringValueES1_E12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS1_RKNSF_13InvokeContextEE_clES1_SO_
Line
Count
Source
312
416
            U arg1, const Function::InvokeContext& context) -> T {
313
416
          return function(arg1);
314
416
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterImmE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUlmRKNSE_13InvokeContextEE_clEmSN_
Line
Count
Source
312
201
            U arg1, const Function::InvokeContext& context) -> T {
313
201
          return function(arg1);
314
201
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_
Line
Count
Source
312
7
            U arg1, const Function::InvokeContext& context) -> T {
313
7
          return function(arg1);
314
7
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_
Line
Count
Source
312
19
            U arg1, const Function::InvokeContext& context) -> T {
313
19
          return function(arg1);
314
19
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKS1_E12WrapFunctionIZNS_31RegisterTypeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS3_RKNSG_13InvokeContextEE_clES3_SP_
Line
Count
Source
312
254
            U arg1, const Function::InvokeContext& context) -> T {
313
254
          return function(arg1);
314
254
        });
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKS1_E12WrapFunctionIZNS_31RegisterTypeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS3_RKNSG_13InvokeContextEE_clES3_SP_
Line
Count
Source
312
9.37k
            U arg1, const Function::InvokeContext& context) -> T {
313
9.37k
          return function(arg1);
314
9.37k
        });
315
746k
  }
arithmetic_functions.cc:_ZN3cel20UnaryFunctionAdapterIddE12WrapFunctionIZNS_27RegisterArithmeticFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrIlEERKNS_9ListValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
309
49.7k
  WrapFunction(F&& function) {
310
49.7k
    return WrapFunction(
311
49.7k
        [function = std::forward<F>(function)](
312
49.7k
            U arg1, const Function::InvokeContext& context) -> T {
313
49.7k
          return function(arg1);
314
49.7k
        });
315
49.7k
  }
_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrIlEERKNS_8MapValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
309
49.7k
  WrapFunction(F&& function) {
310
49.7k
    return WrapFunction(
311
49.7k
        [function = std::forward<F>(function)](
312
49.7k
            U arg1, const Function::InvokeContext& context) -> T {
313
49.7k
          return function(arg1);
314
49.7k
        });
315
49.7k
  }
logical_functions.cc:_ZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_24RegisterLogicalFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
string_functions.cc:_ZN3cel20UnaryFunctionAdapterIlRKNS_11StringValueEE12WrapFunctionIRZNS_12_GLOBAL__N_121RegisterSizeFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
309
49.7k
  WrapFunction(F&& function) {
310
49.7k
    return WrapFunction(
311
49.7k
        [function = std::forward<F>(function)](
312
49.7k
            U arg1, const Function::InvokeContext& context) -> T {
313
49.7k
          return function(arg1);
314
49.7k
        });
315
49.7k
  }
string_functions.cc:_ZN3cel20UnaryFunctionAdapterIlRKNS_10BytesValueEE12WrapFunctionIRZNS_12_GLOBAL__N_121RegisterSizeFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
309
49.7k
  WrapFunction(F&& function) {
310
49.7k
    return WrapFunction(
311
49.7k
        [function = std::forward<F>(function)](
312
49.7k
            U arg1, const Function::InvokeContext& context) -> T {
313
49.7k
          return function(arg1);
314
49.7k
        });
315
49.7k
  }
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterBoolConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_10BytesValueES1_E12WrapFunctionIZNS_12_GLOBAL__N_132RegisterBytesConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_10BytesValueEEERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_132RegisterBytesConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_EENSI_10unique_ptrINS_8FunctionENSI_14default_deleteISM_EEEEE4typeEOSK_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIddE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIdlE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIdmE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIlbE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIllE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202605264TimeEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_11StringValueEbE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_11StringValueES1_E12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterImmE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKS1_E12WrapFunctionIZNS_31RegisterTypeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKS1_E12WrapFunctionIZNS_31RegisterTypeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
309
24.8k
  WrapFunction(F&& function) {
310
24.8k
    return WrapFunction(
311
24.8k
        [function = std::forward<F>(function)](
312
24.8k
            U arg1, const Function::InvokeContext& context) -> T {
313
24.8k
          return function(arg1);
314
24.8k
        });
315
24.8k
  }
316
317
  static FunctionDescriptor CreateDescriptor(absl::string_view name,
318
                                             bool receiver_style,
319
49.7k
                                             bool is_strict) {
320
49.7k
    return CreateDescriptor(
321
49.7k
        name, receiver_style,
322
49.7k
        FunctionDescriptorOptions{is_strict, /*is_contextual=*/false});
323
49.7k
  }
324
325
  static FunctionDescriptor CreateDescriptor(
326
      absl::string_view name, bool receiver_style,
327
1.49M
      FunctionDescriptorOptions options = {}) {
328
1.49M
    return FunctionDescriptor(name, receiver_style,
329
1.49M
                              {runtime_internal::AdaptedKind<U>()}, options);
330
1.49M
  }
cel::UnaryFunctionAdapter<cel::Value, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
74.6k
      FunctionDescriptorOptions options = {}) {
328
74.6k
    return FunctionDescriptor(name, receiver_style,
329
74.6k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
74.6k
  }
cel::UnaryFunctionAdapter<double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
cel::UnaryFunctionAdapter<bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
298k
      FunctionDescriptorOptions options = {}) {
328
298k
    return FunctionDescriptor(name, receiver_style,
329
298k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
298k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
328
99.4k
    return FunctionDescriptor(name, receiver_style,
329
99.4k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
99.4k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
cel::UnaryFunctionAdapter<double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
124k
      FunctionDescriptorOptions options = {}) {
328
124k
    return FunctionDescriptor(name, receiver_style,
329
124k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
124k
  }
cel::UnaryFunctionAdapter<double, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
cel::UnaryFunctionAdapter<long, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
cel::UnaryFunctionAdapter<cel::Value, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
74.6k
      FunctionDescriptorOptions options = {}) {
328
74.6k
    return FunctionDescriptor(name, receiver_style,
329
74.6k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
74.6k
  }
cel::UnaryFunctionAdapter<long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
cel::UnaryFunctionAdapter<cel::StringValue, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
327
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
328
24.8k
    return FunctionDescriptor(name, receiver_style,
329
24.8k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
24.8k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
328
49.7k
    return FunctionDescriptor(name, receiver_style,
329
49.7k
                              {runtime_internal::AdaptedKind<U>()}, options);
330
49.7k
  }
331
332
 private:
333
  class UnaryFunctionImpl : public Function {
334
   public:
335
1.49M
    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
74.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
49.7k
    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
49.7k
    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
49.7k
    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
49.7k
    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
49.7k
    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
49.7k
    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
49.7k
    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
298k
    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
99.4k
    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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
124k
    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
24.8k
    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
24.8k
    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
74.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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
24.8k
    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
49.7k
    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
24.8k
    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
49.7k
    explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
336
    absl::StatusOr<Value> Invoke(
337
        absl::Span<const Value> args,
338
306k
        const Function::InvokeContext& context) const final {
339
306k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
306k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
306k
      typename ArgTraits::AssignableType arg1;
345
346
306k
      CEL_RETURN_IF_ERROR(
347
306k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
291k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
291k
        return fn_(ArgTraits::ToArg(arg1), context);
351
291k
      } else {
352
14.4k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
14.4k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
14.4k
      }
356
306k
    }
cel::UnaryFunctionAdapter<cel::Value, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
30.9k
        const Function::InvokeContext& context) const final {
339
30.9k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
30.9k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
30.9k
      typename ArgTraits::AssignableType arg1;
345
346
30.9k
      CEL_RETURN_IF_ERROR(
347
30.9k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
30.9k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
30.9k
        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
30.9k
    }
cel::UnaryFunctionAdapter<double, double>::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
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
        return fn_(ArgTraits::ToArg(arg1), context);
351
2.43k
      } else {
352
2.43k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
2.43k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
2.43k
      }
356
2.43k
    }
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
66
        const Function::InvokeContext& context) const final {
339
66
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
66
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
66
      typename ArgTraits::AssignableType arg1;
345
346
66
      CEL_RETURN_IF_ERROR(
347
66
          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
66
      } else {
352
66
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
66
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
66
      }
356
66
    }
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
226
        const Function::InvokeContext& context) const final {
339
226
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
226
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
226
      typename ArgTraits::AssignableType arg1;
345
346
226
      CEL_RETURN_IF_ERROR(
347
226
          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
226
      } else {
352
226
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
226
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
226
      }
356
226
    }
cel::UnaryFunctionAdapter<bool, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
6.42k
        const Function::InvokeContext& context) const final {
339
6.42k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
6.42k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
6.42k
      typename ArgTraits::AssignableType arg1;
345
346
6.42k
      CEL_RETURN_IF_ERROR(
347
6.42k
          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
6.42k
      } else {
352
6.42k
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
6.42k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
6.42k
      }
356
6.42k
    }
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
617
        const Function::InvokeContext& context) const final {
339
617
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
617
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
617
      typename ArgTraits::AssignableType arg1;
345
346
617
      CEL_RETURN_IF_ERROR(
347
617
          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
617
      } else {
352
617
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
617
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
617
      }
356
617
    }
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
376
        const Function::InvokeContext& context) const final {
339
376
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
376
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
376
      typename ArgTraits::AssignableType arg1;
345
346
376
      CEL_RETURN_IF_ERROR(
347
376
          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
376
      } else {
352
376
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
376
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
376
      }
356
376
    }
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
7
        const Function::InvokeContext& context) const final {
339
7
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
7
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
7
      typename ArgTraits::AssignableType arg1;
345
346
7
      CEL_RETURN_IF_ERROR(
347
7
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
7
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
7
        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
7
    }
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
18.8k
        const Function::InvokeContext& context) const final {
339
18.8k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
18.8k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
18.8k
      typename ArgTraits::AssignableType arg1;
345
346
18.8k
      CEL_RETURN_IF_ERROR(
347
18.8k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
18.8k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
18.8k
        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
18.8k
    }
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
296
        const Function::InvokeContext& context) const final {
339
296
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
296
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
296
      typename ArgTraits::AssignableType arg1;
345
346
296
      CEL_RETURN_IF_ERROR(
347
296
          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
296
      } else {
352
296
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
296
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
296
      }
356
296
    }
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
194
        const Function::InvokeContext& context) const final {
339
194
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
194
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
194
      typename ArgTraits::AssignableType arg1;
345
346
194
      CEL_RETURN_IF_ERROR(
347
194
          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
194
      } else {
352
194
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
194
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
194
      }
356
194
    }
cel::UnaryFunctionAdapter<double, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
615
        const Function::InvokeContext& context) const final {
339
615
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
615
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
615
      typename ArgTraits::AssignableType arg1;
345
346
615
      CEL_RETURN_IF_ERROR(
347
615
          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
615
      } else {
352
615
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
615
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
615
      }
356
615
    }
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
176k
        const Function::InvokeContext& context) const final {
339
176k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
176k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
176k
      typename ArgTraits::AssignableType arg1;
345
346
176k
      CEL_RETURN_IF_ERROR(
347
176k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
176k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
176k
        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
176k
    }
cel::UnaryFunctionAdapter<double, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
278
        const Function::InvokeContext& context) const final {
339
278
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
278
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
278
      typename ArgTraits::AssignableType arg1;
345
346
278
      CEL_RETURN_IF_ERROR(
347
278
          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
278
      } else {
352
278
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
278
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
278
      }
356
278
    }
cel::UnaryFunctionAdapter<long, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
300
        const Function::InvokeContext& context) const final {
339
300
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
300
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
300
      typename ArgTraits::AssignableType arg1;
345
346
300
      CEL_RETURN_IF_ERROR(
347
300
          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
300
      } else {
352
300
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
300
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
300
      }
356
300
    }
cel::UnaryFunctionAdapter<cel::Value, double>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
40.7k
        const Function::InvokeContext& context) const final {
339
40.7k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
40.7k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
40.7k
      typename ArgTraits::AssignableType arg1;
345
346
40.7k
      CEL_RETURN_IF_ERROR(
347
40.7k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
40.7k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
40.7k
        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
40.7k
    }
cel::UnaryFunctionAdapter<long, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
248
        const Function::InvokeContext& context) const final {
339
248
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
248
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
248
      typename ArgTraits::AssignableType arg1;
345
346
248
      CEL_RETURN_IF_ERROR(
347
248
          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
248
      } else {
352
248
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
248
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
248
      }
356
248
    }
cel::UnaryFunctionAdapter<long, absl::lts_20260526::Time>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
1
        const Function::InvokeContext& context) const final {
339
1
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
1
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
1
      typename ArgTraits::AssignableType arg1;
345
346
1
      CEL_RETURN_IF_ERROR(
347
1
          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
1
      } else {
352
1
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
1
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
1
      }
356
1
    }
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
12.1k
        const Function::InvokeContext& context) const final {
339
12.1k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
12.1k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
12.1k
      typename ArgTraits::AssignableType arg1;
345
346
12.1k
      CEL_RETURN_IF_ERROR(
347
12.1k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
12.1k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
12.1k
        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
12.1k
    }
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
3.39k
        const Function::InvokeContext& context) const final {
339
3.39k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
3.39k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
3.39k
      typename ArgTraits::AssignableType arg1;
345
346
3.39k
      CEL_RETURN_IF_ERROR(
347
3.39k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
3.39k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
3.39k
        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
3.39k
    }
cel::UnaryFunctionAdapter<cel::StringValue, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
338
        const Function::InvokeContext& context) const final {
339
338
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
338
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
338
      typename ArgTraits::AssignableType arg1;
345
346
338
      CEL_RETURN_IF_ERROR(
347
338
          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
338
      } else {
352
338
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
338
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
338
      }
356
338
    }
cel::UnaryFunctionAdapter<cel::StringValue, long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
492
        const Function::InvokeContext& context) const final {
339
492
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
492
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
492
      typename ArgTraits::AssignableType arg1;
345
346
492
      CEL_RETURN_IF_ERROR(
347
492
          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
492
      } else {
352
492
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
492
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
492
      }
356
492
    }
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
416
        const Function::InvokeContext& context) const final {
339
416
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
416
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
416
      typename ArgTraits::AssignableType arg1;
345
346
416
      CEL_RETURN_IF_ERROR(
347
416
          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
416
      } else {
352
416
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
416
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
416
      }
356
416
    }
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
949
        const Function::InvokeContext& context) const final {
339
949
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
949
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
949
      typename ArgTraits::AssignableType arg1;
345
346
949
      CEL_RETURN_IF_ERROR(
347
949
          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
949
      } else {
352
949
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
949
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
949
      }
356
949
    }
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
19
        const Function::InvokeContext& context) const final {
339
19
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
19
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
19
      typename ArgTraits::AssignableType arg1;
345
346
19
      CEL_RETURN_IF_ERROR(
347
19
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
19
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
19
        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
19
    }
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
338
201
        const Function::InvokeContext& context) const final {
339
201
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
201
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
201
      typename ArgTraits::AssignableType arg1;
345
346
201
      CEL_RETURN_IF_ERROR(
347
201
          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
201
      } else {
352
201
        T result = fn_(ArgTraits::ToArg(arg1), context);
353
354
201
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
355
201
      }
356
201
    }
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
9.63k
        const Function::InvokeContext& context) const final {
339
9.63k
      using ArgTraits = runtime_internal::AdaptedTypeTraits<U>;
340
9.63k
      if (args.size() != 1) {
341
0
        return absl::InvalidArgumentError(
342
0
            "unexpected number of arguments for unary function");
343
0
      }
344
9.63k
      typename ArgTraits::AssignableType arg1;
345
346
9.63k
      CEL_RETURN_IF_ERROR(
347
9.63k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
348
      if constexpr (std::is_same_v<T, Value> ||
349
9.63k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
350
9.63k
        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
9.63k
    }
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.88M
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
2.88M
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
2.88M
  }
cel::BinaryFunctionAdapter<cel::Value, double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<cel::Value, long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<cel::Value (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
124k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
124k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
124k
  }
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
124k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
124k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
124k
  }
cel::BinaryFunctionAdapter<bool, double, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, double, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (unsigned long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, unsigned long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (unsigned long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, long, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, long, unsigned long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, unsigned long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, bool, bool>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (bool, bool, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, long, long>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (long, long, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
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
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
cel::BinaryFunctionAdapter<bool, double, double>::WrapFunction(absl::lts_20260526::AnyInvocable<bool (double, double, cel::Function::InvokeContext const&) const>)
Line
Count
Source
437
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
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
248k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
248k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
248k
  }
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
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
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
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
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
99.4k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
99.4k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
99.4k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
74.6k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
74.6k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
74.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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
49.7k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
49.7k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
49.7k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
49.7k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
248k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
248k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
248k
  }
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
49.7k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
49.7k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
49.7k
  }
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
24.8k
  static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
438
24.8k
    return std::make_unique<BinaryFunctionImpl>(std::move(fn));
439
24.8k
  }
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
522k
  WrapFunction(F&& function) {
448
522k
    return WrapFunction(
449
522k
        [function = std::forward<F>(function)](
450
522k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
479k
          return function(arg1, arg2, context.descriptor_pool(),
452
479k
                          context.message_factory(), context.arena());
453
479k
        });
_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIRFNS3_IS6_EES8_S8_PKN6google8protobuf14DescriptorPoolEPNSD_14MessageFactoryEPNSD_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SG_SI_SK_EENSN_10unique_ptrINS_8FunctionENSN_14default_deleteISR_EEEEE4typeEOSP_ENKUlS8_S8_RKNSR_13InvokeContextEE_clES8_S8_S10_
Line
Count
Source
450
474k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
474k
          return function(arg1, arg2, context.descriptor_pool(),
452
474k
                          context.message_factory(), context.arena());
453
474k
        });
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKS4_RKNS_9ListValueEE12WrapFunctionIPFS5_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_ENKUlS7_SA_RKNSS_13InvokeContextEE_clES7_SA_S11_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEbRKNS_9ListValueEE12WrapFunctionIRFS4_bS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUlbS7_RKNSP_13InvokeContextEE_clEbS7_SY_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEElRKNS_9ListValueEE12WrapFunctionIRFS4_lS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUllS7_RKNSP_13InvokeContextEE_clElS7_SY_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEmRKNS_9ListValueEE12WrapFunctionIRFS4_mS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUlmS7_RKNSP_13InvokeContextEE_clEmS7_SY_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEdRKNS_9ListValueEE12WrapFunctionIRFS4_dS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUldS7_RKNSP_13InvokeContextEE_clEdS7_SY_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEERKNS_11StringValueERKNS_9ListValueEE12WrapFunctionIRFS4_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_ENKUlS7_SA_RKNSS_13InvokeContextEE_clES7_SA_S11_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEERKNS_10BytesValueERKNS_9ListValueEE12WrapFunctionIRFS4_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_ENKUlS7_SA_RKNSS_13InvokeContextEE_clES7_SA_S11_
Unexecuted instantiation: container_membership_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_11StringValueERKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_SB_PKN6google8protobuf14DescriptorPoolEPNSQ_14MessageFactoryEPNSQ_5ArenaEEENSM_10unique_ptrINS_8FunctionENSM_14default_deleteISZ_EEEEE4typeEOSO_ENKUlS8_SB_RKNSZ_13InvokeContextEE_clES8_SB_S18_
Unexecuted instantiation: container_membership_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEbRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_ENKUlbS8_RKNSW_13InvokeContextEE_clEbS8_S15_
Unexecuted instantiation: container_membership_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEElRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_ENKUllS8_RKNSW_13InvokeContextEE_clElS8_S15_
Unexecuted instantiation: container_membership_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEmRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_ENKUlmS8_RKNSW_13InvokeContextEE_clEmS8_S15_
Unexecuted instantiation: container_membership_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEdRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_ENKUldS8_RKNSW_13InvokeContextEE_clEdS8_S15_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUlS7_S7_RKNSP_13InvokeContextEE_clES7_S7_SY_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEbbE12WrapFunctionINSt3__18functionIFS1_bbPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_bbSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_ENKUlbbRKNSK_13InvokeContextEE_clEbbST_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEllE12WrapFunctionINSt3__18functionIFS1_llPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_llSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_ENKUlllRKNSK_13InvokeContextEE_clEllST_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEmmE12WrapFunctionINSt3__18functionIFS1_mmPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_mmSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_ENKUlmmRKNSK_13InvokeContextEE_clEmmST_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEddE12WrapFunctionINSt3__18functionIFS1_ddPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_ddSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_ENKUlddRKNSK_13InvokeContextEE_clEddST_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_11StringValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_10BytesValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_9NullValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_9TypeValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_ENKUlS4_S4_RKNSN_13InvokeContextEE_clES4_S4_SW_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_117ComplexInequalityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_ENKUlS8_S8_RKNS10_13InvokeContextEE_clES8_S8_S19_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_115ComplexEqualityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_ENKUlS8_S8_RKNS10_13InvokeContextEE_clES8_S8_S19_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_8MapValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_117ComplexInequalityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_ENKUlS8_S8_RKNS10_13InvokeContextEE_clES8_S8_S19_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_8MapValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_115ComplexEqualityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_ENKUlS8_S8_RKNS10_13InvokeContextEE_clES8_S8_S19_
_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_11StringValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUlS7_S7_RKNSP_13InvokeContextEE_clES7_S7_SY_
Line
Count
Source
450
5.01k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
5.01k
          return function(arg1, arg2, context.descriptor_pool(),
452
5.01k
                          context.message_factory(), context.arena());
453
5.01k
        });
_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_10BytesValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ENKUlS7_S7_RKNSP_13InvokeContextEE_clES7_S7_SY_
Line
Count
Source
450
718
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
718
          return function(arg1, arg2, context.descriptor_pool(),
452
718
                          context.message_factory(), context.arena());
453
718
        });
454
522k
  }
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIRFNS3_IS6_EES8_S8_PKN6google8protobuf14DescriptorPoolEPNSD_14MessageFactoryEPNSD_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SG_SI_SK_EENSN_10unique_ptrINS_8FunctionENSN_14default_deleteISR_EEEEE4typeEOSP_
Line
Count
Source
447
24.8k
  WrapFunction(F&& function) {
448
24.8k
    return WrapFunction(
449
24.8k
        [function = std::forward<F>(function)](
450
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
24.8k
          return function(arg1, arg2, context.descriptor_pool(),
452
24.8k
                          context.message_factory(), context.arena());
453
24.8k
        });
454
24.8k
  }
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKS4_RKNS_9ListValueEE12WrapFunctionIPFS5_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEbRKNS_9ListValueEE12WrapFunctionIRFS4_bS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEElRKNS_9ListValueEE12WrapFunctionIRFS4_lS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEmRKNS_9ListValueEE12WrapFunctionIRFS4_mS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEEdRKNS_9ListValueEE12WrapFunctionIRFS4_dS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEERKNS_11StringValueERKNS_9ListValueEE12WrapFunctionIRFS4_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrIbEERKNS_10BytesValueERKNS_9ListValueEE12WrapFunctionIRFS4_S7_SA_PKN6google8protobuf14DescriptorPoolEPNSE_14MessageFactoryEPNSE_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_SA_SH_SJ_SL_EENSO_10unique_ptrINS_8FunctionENSO_14default_deleteISS_EEEEE4typeEOSQ_
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_11StringValueERKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S8_SB_PKN6google8protobuf14DescriptorPoolEPNSQ_14MessageFactoryEPNSQ_5ArenaEEENSM_10unique_ptrINS_8FunctionENSM_14default_deleteISZ_EEEEE4typeEOSO_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEbRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEElRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEmRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEEdRKNS_8MapValueEE12WrapFunctionIRZNS_12_GLOBAL__N_130RegisterMapMembershipFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dS8_PKN6google8protobuf14DescriptorPoolEPNSN_14MessageFactoryEPNSN_5ArenaEEENSJ_10unique_ptrINS_8FunctionENSJ_14default_deleteISW_EEEEE4typeEOSL_
Line
Count
Source
447
74.6k
  WrapFunction(F&& function) {
448
74.6k
    return WrapFunction(
449
74.6k
        [function = std::forward<F>(function)](
450
74.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
74.6k
          return function(arg1, arg2, context.descriptor_pool(),
452
74.6k
                          context.message_factory(), context.arena());
453
74.6k
        });
454
74.6k
  }
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEbbE12WrapFunctionINSt3__18functionIFS1_bbPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_bbSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEllE12WrapFunctionINSt3__18functionIFS1_llPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_llSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEmmE12WrapFunctionINSt3__18functionIFS1_mmPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_mmSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEddE12WrapFunctionINSt3__18functionIFS1_ddPKN6google8protobuf14DescriptorPoolEPNS7_14MessageFactoryEPNS7_5ArenaEEEEEENS4_9enable_ifIXsr3stdE14is_invocable_vIT_ddSA_SC_SE_EENS4_10unique_ptrINS_8FunctionENS4_14default_deleteISK_EEEEE4typeEOSI_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_11StringValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_10BytesValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_9NullValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_9TypeValueES4_E12WrapFunctionINSt3__18functionIFS1_S4_S4_PKN6google8protobuf14DescriptorPoolEPNSA_14MessageFactoryEPNSA_5ArenaEEEEEENS7_9enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_SD_SF_SH_EENS7_10unique_ptrINS_8FunctionENS7_14default_deleteISN_EEEEE4typeEOSL_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_117ComplexInequalityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_9ListValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_115ComplexEqualityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_8MapValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_117ComplexInequalityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_5ValueEEERKNS_8MapValueES8_E12WrapFunctionIZNS_12_GLOBAL__N_115ComplexEqualityIS8_RNS2_11FunctionRefIFNS3_INSt3__18optionalIbEEEES8_S8_PKN6google8protobuf14DescriptorPoolEPNSJ_14MessageFactoryEPNSJ_5ArenaEEEEEEDaOT0_EUlS8_S8_SM_SO_SQ_E_EENSE_9enable_ifIXsr3stdE14is_invocable_vIT_S8_S8_SM_SO_SQ_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteIS10_EEEEE4typeEOSY_
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_11StringValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Line
Count
Source
447
24.8k
  WrapFunction(F&& function) {
448
24.8k
    return WrapFunction(
449
24.8k
        [function = std::forward<F>(function)](
450
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
24.8k
          return function(arg1, arg2, context.descriptor_pool(),
452
24.8k
                          context.message_factory(), context.arena());
453
24.8k
        });
454
24.8k
  }
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_10BytesValueEEERKS4_S7_E12WrapFunctionIPFS5_S7_S7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_S7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_
Line
Count
Source
447
24.8k
  WrapFunction(F&& function) {
448
24.8k
    return WrapFunction(
449
24.8k
        [function = std::forward<F>(function)](
450
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
451
24.8k
          return function(arg1, arg2, context.descriptor_pool(),
452
24.8k
                          context.message_factory(), context.arena());
453
24.8k
        });
454
24.8k
  }
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.71M
  WrapFunction(F&& function) {
460
1.71M
    return WrapFunction(
461
1.71M
        [function = std::forward<F>(function)](
462
1.71M
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
259k
          return function(arg1, arg2);
464
259k
        });
_ZZN3cel21BinaryFunctionAdapterIbdlE12WrapFunctionIPFbdlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUldlRKNS9_13InvokeContextEE_clEdlSI_
Line
Count
Source
462
11.7k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
11.7k
          return function(arg1, arg2);
464
11.7k
        });
_ZZN3cel21BinaryFunctionAdapterIbdmE12WrapFunctionIPFbdmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUldmRKNS9_13InvokeContextEE_clEdmSI_
Line
Count
Source
462
5.24k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
5.24k
          return function(arg1, arg2);
464
5.24k
        });
_ZZN3cel21BinaryFunctionAdapterIbmdE12WrapFunctionIPFbmdEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mdEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmdRKNS9_13InvokeContextEE_clEmdSI_
Line
Count
Source
462
18.7k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
18.7k
          return function(arg1, arg2);
464
18.7k
        });
_ZZN3cel21BinaryFunctionAdapterIbmlE12WrapFunctionIPFbmlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmlRKNS9_13InvokeContextEE_clEmlSI_
Line
Count
Source
462
25.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
25.8k
          return function(arg1, arg2);
464
25.8k
        });
_ZZN3cel21BinaryFunctionAdapterIbldE12WrapFunctionIPFbldEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ldEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlldRKNS9_13InvokeContextEE_clEldSI_
Line
Count
Source
462
50.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
50.8k
          return function(arg1, arg2);
464
50.8k
        });
_ZZN3cel21BinaryFunctionAdapterIblmE12WrapFunctionIPFblmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUllmRKNS9_13InvokeContextEE_clElmSI_
Line
Count
Source
462
15.1k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
15.1k
          return function(arg1, arg2);
464
15.1k
        });
_ZZN3cel21BinaryFunctionAdapterIbbbE12WrapFunctionIRFbbbEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bbEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlbbRKNS9_13InvokeContextEE_clEbbSI_
Line
Count
Source
462
1.38k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.38k
          return function(arg1, arg2);
464
1.38k
        });
_ZZN3cel21BinaryFunctionAdapterIbllE12WrapFunctionIRFbllEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlllRKNS9_13InvokeContextEE_clEllSI_
Line
Count
Source
462
94.6k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
94.6k
          return function(arg1, arg2);
464
94.6k
        });
_ZZN3cel21BinaryFunctionAdapterIbmmE12WrapFunctionIRFbmmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmmRKNS9_13InvokeContextEE_clEmmSI_
Line
Count
Source
462
1.63k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.63k
          return function(arg1, arg2);
464
1.63k
        });
_ZZN3cel21BinaryFunctionAdapterIbddE12WrapFunctionIRFbddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlddRKNS9_13InvokeContextEE_clEddSI_
Line
Count
Source
462
2.52k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
2.52k
          return function(arg1, arg2);
464
2.52k
        });
_ZZN3cel21BinaryFunctionAdapterIbRKNS_11StringValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_
Line
Count
Source
462
20.2k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
20.2k
          return function(arg1, arg2);
464
20.2k
        });
_ZZN3cel21BinaryFunctionAdapterIbRKNS_10BytesValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_
Line
Count
Source
462
1.20k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.20k
          return function(arg1, arg2);
464
1.20k
        });
_ZZN3cel21BinaryFunctionAdapterIbN4absl12lts_202605268DurationES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_
Line
Count
Source
462
4.26k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
4.26k
          return function(arg1, arg2);
464
4.26k
        });
_ZZN3cel21BinaryFunctionAdapterIbN4absl12lts_202605264TimeES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_
Line
Count
Source
462
3.47k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
3.47k
          return function(arg1, arg2);
464
3.47k
        });
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_9ListValueEEES4_RKNS_5ValueEE12WrapFunctionIRFS5_S4_S8_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S8_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS4_S8_RKNSH_13InvokeContextEE_clES4_S8_SQ_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIbRKNS_11StructValueERKNS_9NullValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_S6_RKNSH_13InvokeContextEE_clES3_S6_SQ_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIbRKNS_9NullValueERKNS_11StructValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_S6_RKNSH_13InvokeContextEE_clES3_S6_SQ_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIbRKNS_11StructValueERKNS_9NullValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_S6_RKNSH_13InvokeContextEE_clES3_S6_SQ_
Unexecuted instantiation: equality_functions.cc:_ZZN3cel21BinaryFunctionAdapterIbRKNS_9NullValueERKNS_11StructValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_S6_RKNSH_13InvokeContextEE_clES3_S6_SQ_
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS4_S5_RKNSG_13InvokeContextEE_clES4_S5_SP_
Line
Count
Source
462
222
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
222
          return function(arg1, arg2);
464
222
        });
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationENS3_4TimeEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS4_S5_RKNSG_13InvokeContextEE_clES4_S5_SP_
Line
Count
Source
462
104
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
104
          return function(arg1, arg2);
464
104
        });
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS4_S4_RKNSF_13InvokeContextEE_clES4_S4_SO_
Line
Count
Source
462
1.24k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
1.24k
          return function(arg1, arg2);
464
1.24k
        });
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS4_S5_RKNSG_13InvokeContextEE_clES4_S5_SP_
Line
Count
Source
462
297
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
297
          return function(arg1, arg2);
464
297
        });
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS4_S4_RKNSF_13InvokeContextEE_clES4_S4_SO_
Line
Count
Source
462
209
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
209
          return function(arg1, arg2);
464
209
        });
time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlS4_S4_RKNSF_13InvokeContextEE_clES4_S4_SO_
Line
Count
Source
462
916
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
916
          return function(arg1, arg2);
464
916
        });
465
1.71M
  }
_ZN3cel21BinaryFunctionAdapterIbdlE12WrapFunctionIPFbdlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbdmE12WrapFunctionIPFbdmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbmdE12WrapFunctionIPFbmdEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mdEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbmlE12WrapFunctionIPFbmlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbldE12WrapFunctionIPFbldEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ldEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIblmE12WrapFunctionIPFblmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbbbE12WrapFunctionIRFbbbEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bbEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbllE12WrapFunctionIRFbllEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbmmE12WrapFunctionIRFbmmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbddE12WrapFunctionIRFbddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbRKNS_11StringValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_
Line
Count
Source
459
248k
  WrapFunction(F&& function) {
460
248k
    return WrapFunction(
461
248k
        [function = std::forward<F>(function)](
462
248k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
248k
          return function(arg1, arg2);
464
248k
        });
465
248k
  }
_ZN3cel21BinaryFunctionAdapterIbRKNS_10BytesValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbN4absl12lts_202605268DurationES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIbN4absl12lts_202605264TimeES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_
Line
Count
Source
459
99.4k
  WrapFunction(F&& function) {
460
99.4k
    return WrapFunction(
461
99.4k
        [function = std::forward<F>(function)](
462
99.4k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
99.4k
          return function(arg1, arg2);
464
99.4k
        });
465
99.4k
  }
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202605268StatusOrINS_9ListValueEEES4_RKNS_5ValueEE12WrapFunctionIRFS5_S4_S8_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S8_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIbRKNS_11StructValueERKNS_9NullValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIbRKNS_9NullValueERKNS_11StructValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIbRKNS_11StructValueERKNS_9NullValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
Unexecuted instantiation: equality_functions.cc:_ZN3cel21BinaryFunctionAdapterIbRKNS_9NullValueERKNS_11StructValueEE12WrapFunctionIZNS_12_GLOBAL__N_136RegisterNullMessageEqualityFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationENS3_4TimeEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605264TimeES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202605268DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_
Line
Count
Source
459
24.8k
  WrapFunction(F&& function) {
460
24.8k
    return WrapFunction(
461
24.8k
        [function = std::forward<F>(function)](
462
24.8k
            U arg1, V arg2, const Function::InvokeContext& context) -> T {
463
24.8k
          return function(arg1, arg2);
464
24.8k
        });
465
24.8k
  }
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.88M
      FunctionDescriptorOptions options = {}) {
477
2.88M
    return FunctionDescriptor(name, receiver_style,
478
2.88M
                              {runtime_internal::AdaptedKind<U>(),
479
2.88M
                               runtime_internal::AdaptedKind<V>()},
480
2.88M
                              options);
481
2.88M
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
124k
      FunctionDescriptorOptions options = {}) {
477
124k
    return FunctionDescriptor(name, receiver_style,
478
124k
                              {runtime_internal::AdaptedKind<U>(),
479
124k
                               runtime_internal::AdaptedKind<V>()},
480
124k
                              options);
481
124k
  }
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
124k
      FunctionDescriptorOptions options = {}) {
477
124k
    return FunctionDescriptor(name, receiver_style,
478
124k
                              {runtime_internal::AdaptedKind<U>(),
479
124k
                               runtime_internal::AdaptedKind<V>()},
480
124k
                              options);
481
124k
  }
cel::BinaryFunctionAdapter<bool, double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
cel::BinaryFunctionAdapter<bool, long, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
cel::BinaryFunctionAdapter<bool, bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
cel::BinaryFunctionAdapter<bool, long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
cel::BinaryFunctionAdapter<bool, double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions)
Line
Count
Source
476
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
248k
      FunctionDescriptorOptions options = {}) {
477
248k
    return FunctionDescriptor(name, receiver_style,
478
248k
                              {runtime_internal::AdaptedKind<U>(),
479
248k
                               runtime_internal::AdaptedKind<V>()},
480
248k
                              options);
481
248k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
99.4k
      FunctionDescriptorOptions options = {}) {
477
99.4k
    return FunctionDescriptor(name, receiver_style,
478
99.4k
                              {runtime_internal::AdaptedKind<U>(),
479
99.4k
                               runtime_internal::AdaptedKind<V>()},
480
99.4k
                              options);
481
99.4k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
74.6k
      FunctionDescriptorOptions options = {}) {
477
74.6k
    return FunctionDescriptor(name, receiver_style,
478
74.6k
                              {runtime_internal::AdaptedKind<U>(),
479
74.6k
                               runtime_internal::AdaptedKind<V>()},
480
74.6k
                              options);
481
74.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
49.7k
      FunctionDescriptorOptions options = {}) {
477
49.7k
    return FunctionDescriptor(name, receiver_style,
478
49.7k
                              {runtime_internal::AdaptedKind<U>(),
479
49.7k
                               runtime_internal::AdaptedKind<V>()},
480
49.7k
                              options);
481
49.7k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
477
49.7k
    return FunctionDescriptor(name, receiver_style,
478
49.7k
                              {runtime_internal::AdaptedKind<U>(),
479
49.7k
                               runtime_internal::AdaptedKind<V>()},
480
49.7k
                              options);
481
49.7k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
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
248k
      FunctionDescriptorOptions options = {}) {
477
248k
    return FunctionDescriptor(name, receiver_style,
478
248k
                              {runtime_internal::AdaptedKind<U>(),
479
248k
                               runtime_internal::AdaptedKind<V>()},
480
248k
                              options);
481
248k
  }
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
49.7k
      FunctionDescriptorOptions options = {}) {
477
49.7k
    return FunctionDescriptor(name, receiver_style,
478
49.7k
                              {runtime_internal::AdaptedKind<U>(),
479
49.7k
                               runtime_internal::AdaptedKind<V>()},
480
49.7k
                              options);
481
49.7k
  }
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
24.8k
      FunctionDescriptorOptions options = {}) {
477
24.8k
    return FunctionDescriptor(name, receiver_style,
478
24.8k
                              {runtime_internal::AdaptedKind<U>(),
479
24.8k
                               runtime_internal::AdaptedKind<V>()},
480
24.8k
                              options);
481
24.8k
  }
482
483
 private:
484
  class BinaryFunctionImpl : public Function {
485
   public:
486
2.88M
    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
99.4k
    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
124k
    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
124k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
99.4k
    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
248k
    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
99.4k
    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
99.4k
    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
99.4k
    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
24.8k
    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
24.8k
    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
74.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
74.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
74.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
74.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
74.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
74.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
49.7k
    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
49.7k
    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
24.8k
    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
24.8k
    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
24.8k
    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
248k
    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
49.7k
    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
24.8k
    explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}
487
    absl::StatusOr<Value> Invoke(
488
        absl::Span<const Value> args,
489
10.0M
        const Function::InvokeContext& context) const final {
490
10.0M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
10.0M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
10.0M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
10.0M
      typename Arg1Traits::AssignableType arg1;
497
10.0M
      typename Arg2Traits::AssignableType arg2;
498
10.0M
      CEL_RETURN_IF_ERROR(
499
10.0M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
10.0M
      CEL_RETURN_IF_ERROR(
501
10.0M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
9.83M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
9.83M
        return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
506
9.83M
      } else {
507
262k
        T result =
508
262k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
262k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
262k
      }
512
10.0M
    }
cel::BinaryFunctionAdapter<cel::Value, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
37.0k
        const Function::InvokeContext& context) const final {
490
37.0k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
37.0k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
37.0k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
37.0k
      typename Arg1Traits::AssignableType arg1;
497
37.0k
      typename Arg2Traits::AssignableType arg2;
498
37.0k
      CEL_RETURN_IF_ERROR(
499
37.0k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
37.0k
      CEL_RETURN_IF_ERROR(
501
37.0k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
37.0k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
37.0k
        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
37.0k
    }
cel::BinaryFunctionAdapter<cel::Value, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
6.01M
        const Function::InvokeContext& context) const final {
490
6.01M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
6.01M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
6.01M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
6.01M
      typename Arg1Traits::AssignableType arg1;
497
6.01M
      typename Arg2Traits::AssignableType arg2;
498
6.01M
      CEL_RETURN_IF_ERROR(
499
6.01M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
6.01M
      CEL_RETURN_IF_ERROR(
501
6.01M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
6.01M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
6.01M
        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
6.01M
    }
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
3.29M
        const Function::InvokeContext& context) const final {
490
3.29M
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
3.29M
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
3.29M
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
3.29M
      typename Arg1Traits::AssignableType arg1;
497
3.29M
      typename Arg2Traits::AssignableType arg2;
498
3.29M
      CEL_RETURN_IF_ERROR(
499
3.29M
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
3.29M
      CEL_RETURN_IF_ERROR(
501
3.29M
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
3.29M
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
3.29M
        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
3.29M
    }
cel::BinaryFunctionAdapter<bool, double, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
11.7k
        const Function::InvokeContext& context) const final {
490
11.7k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
11.7k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
11.7k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
11.7k
      typename Arg1Traits::AssignableType arg1;
497
11.7k
      typename Arg2Traits::AssignableType arg2;
498
11.7k
      CEL_RETURN_IF_ERROR(
499
11.7k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
11.7k
      CEL_RETURN_IF_ERROR(
501
11.7k
          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.7k
      } else {
507
11.7k
        T result =
508
11.7k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
11.7k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
11.7k
      }
512
11.7k
    }
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.24k
        const Function::InvokeContext& context) const final {
490
5.24k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
5.24k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
5.24k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
5.24k
      typename Arg1Traits::AssignableType arg1;
497
5.24k
      typename Arg2Traits::AssignableType arg2;
498
5.24k
      CEL_RETURN_IF_ERROR(
499
5.24k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
5.24k
      CEL_RETURN_IF_ERROR(
501
5.24k
          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.24k
      } else {
507
5.24k
        T result =
508
5.24k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
5.24k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
5.24k
      }
512
5.24k
    }
cel::BinaryFunctionAdapter<bool, unsigned long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
18.7k
        const Function::InvokeContext& context) const final {
490
18.7k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
18.7k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
18.7k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
18.7k
      typename Arg1Traits::AssignableType arg1;
497
18.7k
      typename Arg2Traits::AssignableType arg2;
498
18.7k
      CEL_RETURN_IF_ERROR(
499
18.7k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
18.7k
      CEL_RETURN_IF_ERROR(
501
18.7k
          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
18.7k
      } else {
507
18.7k
        T result =
508
18.7k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
18.7k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
18.7k
      }
512
18.7k
    }
cel::BinaryFunctionAdapter<bool, unsigned long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
25.8k
        const Function::InvokeContext& context) const final {
490
25.8k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
25.8k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
25.8k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
25.8k
      typename Arg1Traits::AssignableType arg1;
497
25.8k
      typename Arg2Traits::AssignableType arg2;
498
25.8k
      CEL_RETURN_IF_ERROR(
499
25.8k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
25.8k
      CEL_RETURN_IF_ERROR(
501
25.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
25.8k
      } else {
507
25.8k
        T result =
508
25.8k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
25.8k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
25.8k
      }
512
25.8k
    }
cel::BinaryFunctionAdapter<bool, long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
50.8k
        const Function::InvokeContext& context) const final {
490
50.8k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
50.8k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
50.8k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
50.8k
      typename Arg1Traits::AssignableType arg1;
497
50.8k
      typename Arg2Traits::AssignableType arg2;
498
50.8k
      CEL_RETURN_IF_ERROR(
499
50.8k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
50.8k
      CEL_RETURN_IF_ERROR(
501
50.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
50.8k
      } else {
507
50.8k
        T result =
508
50.8k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
50.8k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
50.8k
      }
512
50.8k
    }
cel::BinaryFunctionAdapter<bool, long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
15.1k
        const Function::InvokeContext& context) const final {
490
15.1k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
15.1k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
15.1k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
15.1k
      typename Arg1Traits::AssignableType arg1;
497
15.1k
      typename Arg2Traits::AssignableType arg2;
498
15.1k
      CEL_RETURN_IF_ERROR(
499
15.1k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
15.1k
      CEL_RETURN_IF_ERROR(
501
15.1k
          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
15.1k
      } else {
507
15.1k
        T result =
508
15.1k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
15.1k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
15.1k
      }
512
15.1k
    }
cel::BinaryFunctionAdapter<bool, bool, bool>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
1.38k
        const Function::InvokeContext& context) const final {
490
1.38k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.38k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.38k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.38k
      typename Arg1Traits::AssignableType arg1;
497
1.38k
      typename Arg2Traits::AssignableType arg2;
498
1.38k
      CEL_RETURN_IF_ERROR(
499
1.38k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.38k
      CEL_RETURN_IF_ERROR(
501
1.38k
          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.38k
      } else {
507
1.38k
        T result =
508
1.38k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.38k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.38k
      }
512
1.38k
    }
cel::BinaryFunctionAdapter<bool, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
94.6k
        const Function::InvokeContext& context) const final {
490
94.6k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
94.6k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
94.6k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
94.6k
      typename Arg1Traits::AssignableType arg1;
497
94.6k
      typename Arg2Traits::AssignableType arg2;
498
94.6k
      CEL_RETURN_IF_ERROR(
499
94.6k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
94.6k
      CEL_RETURN_IF_ERROR(
501
94.6k
          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
94.6k
      } else {
507
94.6k
        T result =
508
94.6k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
94.6k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
94.6k
      }
512
94.6k
    }
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.63k
        const Function::InvokeContext& context) const final {
490
1.63k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.63k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.63k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.63k
      typename Arg1Traits::AssignableType arg1;
497
1.63k
      typename Arg2Traits::AssignableType arg2;
498
1.63k
      CEL_RETURN_IF_ERROR(
499
1.63k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.63k
      CEL_RETURN_IF_ERROR(
501
1.63k
          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.63k
      } else {
507
1.63k
        T result =
508
1.63k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.63k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.63k
      }
512
1.63k
    }
cel::BinaryFunctionAdapter<bool, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260526::Span<cel::Value const>, cel::Function::InvokeContext const&) const
Line
Count
Source
489
2.52k
        const Function::InvokeContext& context) const final {
490
2.52k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
2.52k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
2.52k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
2.52k
      typename Arg1Traits::AssignableType arg1;
497
2.52k
      typename Arg2Traits::AssignableType arg2;
498
2.52k
      CEL_RETURN_IF_ERROR(
499
2.52k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
2.52k
      CEL_RETURN_IF_ERROR(
501
2.52k
          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.52k
      } else {
507
2.52k
        T result =
508
2.52k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
2.52k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
2.52k
      }
512
2.52k
    }
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
20.2k
        const Function::InvokeContext& context) const final {
490
20.2k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
20.2k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
20.2k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
20.2k
      typename Arg1Traits::AssignableType arg1;
497
20.2k
      typename Arg2Traits::AssignableType arg2;
498
20.2k
      CEL_RETURN_IF_ERROR(
499
20.2k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
20.2k
      CEL_RETURN_IF_ERROR(
501
20.2k
          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.2k
      } else {
507
20.2k
        T result =
508
20.2k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
20.2k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
20.2k
      }
512
20.2k
    }
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.20k
        const Function::InvokeContext& context) const final {
490
1.20k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
1.20k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
1.20k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
1.20k
      typename Arg1Traits::AssignableType arg1;
497
1.20k
      typename Arg2Traits::AssignableType arg2;
498
1.20k
      CEL_RETURN_IF_ERROR(
499
1.20k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
1.20k
      CEL_RETURN_IF_ERROR(
501
1.20k
          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.20k
      } else {
507
1.20k
        T result =
508
1.20k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
1.20k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
1.20k
      }
512
1.20k
    }
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
4.26k
        const Function::InvokeContext& context) const final {
490
4.26k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
4.26k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
4.26k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
4.26k
      typename Arg1Traits::AssignableType arg1;
497
4.26k
      typename Arg2Traits::AssignableType arg2;
498
4.26k
      CEL_RETURN_IF_ERROR(
499
4.26k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
4.26k
      CEL_RETURN_IF_ERROR(
501
4.26k
          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
4.26k
      } else {
507
4.26k
        T result =
508
4.26k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
4.26k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
4.26k
      }
512
4.26k
    }
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
3.47k
        const Function::InvokeContext& context) const final {
490
3.47k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
3.47k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
3.47k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
3.47k
      typename Arg1Traits::AssignableType arg1;
497
3.47k
      typename Arg2Traits::AssignableType arg2;
498
3.47k
      CEL_RETURN_IF_ERROR(
499
3.47k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
3.47k
      CEL_RETURN_IF_ERROR(
501
3.47k
          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
3.47k
      } else {
507
3.47k
        T result =
508
3.47k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
3.47k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
3.47k
      }
512
3.47k
    }
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
474k
        const Function::InvokeContext& context) const final {
490
474k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
474k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
474k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
474k
      typename Arg1Traits::AssignableType arg1;
497
474k
      typename Arg2Traits::AssignableType arg2;
498
474k
      CEL_RETURN_IF_ERROR(
499
474k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
474k
      CEL_RETURN_IF_ERROR(
501
474k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
474k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
474k
        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
474k
    }
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
2.15k
        const Function::InvokeContext& context) const final {
490
2.15k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
2.15k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
2.15k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
2.15k
      typename Arg1Traits::AssignableType arg1;
497
2.15k
      typename Arg2Traits::AssignableType arg2;
498
2.15k
      CEL_RETURN_IF_ERROR(
499
2.15k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
2.15k
      CEL_RETURN_IF_ERROR(
501
2.15k
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
2.15k
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
2.15k
        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
2.15k
    }
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
209
        const Function::InvokeContext& context) const final {
490
209
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
209
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
209
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
209
      typename Arg1Traits::AssignableType arg1;
497
209
      typename Arg2Traits::AssignableType arg2;
498
209
      CEL_RETURN_IF_ERROR(
499
209
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
209
      CEL_RETURN_IF_ERROR(
501
209
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
209
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
209
        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
209
    }
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
5.01k
        const Function::InvokeContext& context) const final {
490
5.01k
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
5.01k
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
5.01k
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
5.01k
      typename Arg1Traits::AssignableType arg1;
497
5.01k
      typename Arg2Traits::AssignableType arg2;
498
5.01k
      CEL_RETURN_IF_ERROR(
499
5.01k
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
5.01k
      CEL_RETURN_IF_ERROR(
501
5.01k
          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.01k
      } else {
507
5.01k
        T result =
508
5.01k
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
5.01k
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
5.01k
      }
512
5.01k
    }
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
718
        const Function::InvokeContext& context) const final {
490
718
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
718
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
718
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
718
      typename Arg1Traits::AssignableType arg1;
497
718
      typename Arg2Traits::AssignableType arg2;
498
718
      CEL_RETURN_IF_ERROR(
499
718
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
718
      CEL_RETURN_IF_ERROR(
501
718
          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
718
      } else {
507
718
        T result =
508
718
            fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context);
509
510
718
        return runtime_internal::AdaptedToValueVisitor{}(std::move(result));
511
718
      }
512
718
    }
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
519
        const Function::InvokeContext& context) const final {
490
519
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
519
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
519
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
519
      typename Arg1Traits::AssignableType arg1;
497
519
      typename Arg2Traits::AssignableType arg2;
498
519
      CEL_RETURN_IF_ERROR(
499
519
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
519
      CEL_RETURN_IF_ERROR(
501
519
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
519
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
519
        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
519
    }
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
104
        const Function::InvokeContext& context) const final {
490
104
      using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>;
491
104
      using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>;
492
104
      if (args.size() != 2) {
493
0
        return absl::InvalidArgumentError(
494
0
            "unexpected number of arguments for binary function");
495
0
      }
496
104
      typename Arg1Traits::AssignableType arg1;
497
104
      typename Arg2Traits::AssignableType arg2;
498
104
      CEL_RETURN_IF_ERROR(
499
104
          runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1));
500
104
      CEL_RETURN_IF_ERROR(
501
104
          runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2));
502
503
      if constexpr (std::is_same_v<T, Value> ||
504
104
                    std::is_same_v<T, absl::StatusOr<Value>>) {
505
104
        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
104
    }
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_