/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 | 47.7k | static T ToArg(AssignableType v) { return v; }cel::runtime_internal::AdaptedTypeTraits<double>::ToArg(double) Line | Count | Source | 54 | 8.80k | static T ToArg(AssignableType v) { return v; } |
cel::runtime_internal::AdaptedTypeTraits<long>::ToArg(long) Line | Count | Source | 54 | 28.1k | static T ToArg(AssignableType v) { return v; } |
cel::runtime_internal::AdaptedTypeTraits<unsigned long>::ToArg(unsigned long) Line | Count | Source | 54 | 9.94k | static T ToArg(AssignableType v) { return v; } |
cel::runtime_internal::AdaptedTypeTraits<bool>::ToArg(bool) Line | Count | Source | 54 | 435 | static T ToArg(AssignableType v) { return v; } |
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260107::Duration>::ToArg(absl::lts_20260107::Duration) Line | Count | Source | 54 | 5 | static T ToArg(AssignableType v) { return v; } |
cel::runtime_internal::AdaptedTypeTraits<absl::lts_20260107::Time>::ToArg(absl::lts_20260107::Time) Line | Count | Source | 54 | 1 | 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 | 324 | static T ToArg(AssignableType v) { return v; } |
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::BytesValue>::ToArg(cel::BytesValue) |
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 | 145 | static std::reference_wrapper<const Value> ToArg(AssignableType v) { |
64 | 145 | return *v; |
65 | 145 | } |
66 | | }; |
67 | | |
68 | | template <> |
69 | | struct AdaptedTypeTraits<const StringValue&> { |
70 | | using AssignableType = const StringValue*; |
71 | | |
72 | 8.92k | static std::reference_wrapper<const StringValue> ToArg(AssignableType v) { |
73 | 8.92k | return *v; |
74 | 8.92k | } |
75 | | }; |
76 | | |
77 | | template <> |
78 | | struct AdaptedTypeTraits<const BytesValue&> { |
79 | | using AssignableType = const BytesValue*; |
80 | | |
81 | 1.92k | static std::reference_wrapper<const BytesValue> ToArg(AssignableType v) { |
82 | 1.92k | return *v; |
83 | 1.92k | } |
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 | 6.97k | static T ToArg(AssignableType v) { return v; }cel::runtime_internal::AdaptedTypeTraits<cel::ListValue const&>::ToArg(cel::ListValue) Line | Count | Source | 96 | 6.97k | static T ToArg(AssignableType v) { return v; } |
Unexecuted instantiation: cel::runtime_internal::AdaptedTypeTraits<cel::MapValue const&>::ToArg(cel::MapValue) 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 | 871k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { |
288 | 871k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); |
289 | 871k | } cel::UnaryFunctionAdapter<cel::Value, long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 43.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 43.5k | } |
cel::UnaryFunctionAdapter<double, double>::WrapFunction(absl::lts_20260107::AnyInvocable<double (double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<long> (cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<long> (cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<bool, bool>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::Value, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<long (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<long (cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 174k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 174k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 174k | } |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<long (absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 58.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 58.0k | } |
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::BytesValue (cel::BytesValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::BytesValue> (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<double, long>::WrapFunction(absl::lts_20260107::AnyInvocable<double (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 72.6k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 72.6k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 72.6k | } |
cel::UnaryFunctionAdapter<double, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<double (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<long, bool>::WrapFunction(absl::lts_20260107::AnyInvocable<long (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, double>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 43.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 43.5k | } |
cel::UnaryFunctionAdapter<long, long>::WrapFunction(absl::lts_20260107::AnyInvocable<long (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<long (absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, bool>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::StringValue (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::StringValue (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::StringValue (cel::StringValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::StringValue (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<unsigned long (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 14.5k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::Value const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 287 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 288 | 29.0k | return std::make_unique<UnaryFunctionImpl>(std::move(fn)); | 289 | 29.0k | } |
|
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 | 856k | WrapFunction(F&& function) { |
310 | 856k | return WrapFunction( |
311 | 856k | [function = std::forward<F>(function)]( |
312 | 856k | U arg1, const Function::InvokeContext& context) -> T { |
313 | 4.91k | return function(arg1); |
314 | 4.91k | }); arithmetic_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_27RegisterArithmeticFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ENKUllRKNSE_13InvokeContextEE_clElSN_ Line | Count | Source | 312 | 232 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 232 | return function(arg1); | 314 | 232 | }); |
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 | 189 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 189 | return function(arg1); | 314 | 189 | }); |
_ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrIlEERKNS_9ListValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS7_RKNSG_13InvokeContextEE_clES7_SP_ Line | Count | Source | 312 | 1 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 1 | return function(arg1); | 314 | 1 | }); |
Unexecuted instantiation: _ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrIlEERKNS_8MapValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS7_RKNSG_13InvokeContextEE_clES7_SP_ Unexecuted instantiation: logical_functions.cc:_ZZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_24RegisterLogicalFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ENKUlbRKNSD_13InvokeContextEE_clEbSM_ Unexecuted instantiation: _ZZN3cel20UnaryFunctionAdapterINS_5ValueES1_E12WrapFunctionIPFS1_RKS1_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS1_RKNSC_13InvokeContextEE_clES1_SL_ 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 | 47 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 47 | return function(arg1); | 314 | 47 | }); |
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 | 2 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 2 | return function(arg1); | 314 | 2 | }); |
Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_7EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_9EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_11EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_13EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_15EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_17EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_19EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601078DurationEE12WrapFunctionIZNS_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_202601078DurationEE12WrapFunctionIZNS_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_202601078DurationEE12WrapFunctionIZNS_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_202601078DurationEE12WrapFunctionIZNS_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 | 5 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 5 | return function(arg1); | 314 | 5 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueENS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterBoolConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S2_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ENKUlS2_RKNSG_13InvokeContextEE_clES2_SP_ Line | Count | Source | 312 | 322 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 322 | return function(arg1); | 314 | 322 | }); |
Unexecuted instantiation: 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_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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_ 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 | 1 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 1 | return function(arg1); | 314 | 1 | }); |
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 | 1 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 1 | return function(arg1); | 314 | 1 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Line | Count | Source | 312 | 895 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 895 | return function(arg1); | 314 | 895 | }); |
Unexecuted instantiation: 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_ 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 | 85 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 85 | return function(arg1); | 314 | 85 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEdE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUldRKNSF_13InvokeContextEE_clEdSO_ Line | Count | Source | 312 | 295 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 295 | return function(arg1); | 314 | 295 | }); |
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 | 288 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 288 | return function(arg1); | 314 | 288 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Line | Count | Source | 312 | 307 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 307 | return function(arg1); | 314 | 307 | }); |
Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS3_RKNSH_13InvokeContextEE_clES3_SQ_ type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEmE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlmRKNSF_13InvokeContextEE_clEmSO_ Line | Count | Source | 312 | 103 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 103 | return function(arg1); | 314 | 103 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_10BytesValueEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__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_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 | 1 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 1 | return function(arg1); | 314 | 1 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_11StringValueElE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUllRKNSF_13InvokeContextEE_clElSO_ Line | Count | Source | 312 | 2 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 2 | return function(arg1); | 314 | 2 | }); |
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 | 2 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 2 | return function(arg1); | 314 | 2 | }); |
Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_11StringValueEmE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUlmRKNSF_13InvokeContextEE_clEmSO_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_6EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEdE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUldRKNSF_13InvokeContextEE_clEdSO_ Line | Count | Source | 312 | 33 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 33 | return function(arg1); | 314 | 33 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUllRKNSF_13InvokeContextEE_clElSO_ Line | Count | Source | 312 | 157 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 157 | return function(arg1); | 314 | 157 | }); |
type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Line | Count | Source | 312 | 310 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 310 | return function(arg1); | 314 | 310 | }); |
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 | 2 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 2 | return function(arg1); | 314 | 2 | }); |
_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIRFS1_S4_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ENKUlS4_RKNSD_13InvokeContextEE_clES4_SM_ Line | Count | Source | 312 | 1.47k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 1.47k | return function(arg1); | 314 | 1.47k | }); |
Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ENKUllRKNSF_13InvokeContextEE_clElSO_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ Unexecuted instantiation: type_conversion_functions.cc:_ZZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_RKNSI_13InvokeContextEE_clES4_SR_ 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 | 103 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 103 | return function(arg1); | 314 | 103 | }); |
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 | 42 | U arg1, const Function::InvokeContext& context) -> T { | 313 | 42 | return function(arg1); | 314 | 42 | }); |
|
315 | 856k | } arithmetic_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_27RegisterArithmeticFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
arithmetic_functions.cc:_ZN3cel20UnaryFunctionAdapterIddE12WrapFunctionIZNS_27RegisterArithmeticFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrIlEERKNS_9ListValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 309 | 29.0k | WrapFunction(F&& function) { | 310 | 29.0k | return WrapFunction( | 311 | 29.0k | [function = std::forward<F>(function)]( | 312 | 29.0k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 29.0k | return function(arg1); | 314 | 29.0k | }); | 315 | 29.0k | } |
_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrIlEERKNS_8MapValueEE12WrapFunctionIRFS4_S7_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S7_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 309 | 29.0k | WrapFunction(F&& function) { | 310 | 29.0k | return WrapFunction( | 311 | 29.0k | [function = std::forward<F>(function)]( | 312 | 29.0k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 29.0k | return function(arg1); | 314 | 29.0k | }); | 315 | 29.0k | } |
logical_functions.cc:_ZN3cel20UnaryFunctionAdapterIbbE12WrapFunctionIZNS_24RegisterLogicalFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bEENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
_ZN3cel20UnaryFunctionAdapterINS_5ValueES1_E12WrapFunctionIPFS1_RKS1_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S1_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ Line | Count | Source | 309 | 29.0k | WrapFunction(F&& function) { | 310 | 29.0k | return WrapFunction( | 311 | 29.0k | [function = std::forward<F>(function)]( | 312 | 29.0k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 29.0k | return function(arg1); | 314 | 29.0k | }); | 315 | 29.0k | } |
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 | 29.0k | WrapFunction(F&& function) { | 310 | 29.0k | return WrapFunction( | 311 | 29.0k | [function = std::forward<F>(function)]( | 312 | 29.0k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 29.0k | return function(arg1); | 314 | 29.0k | }); | 315 | 29.0k | } |
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 | 29.0k | WrapFunction(F&& function) { | 310 | 29.0k | return WrapFunction( | 311 | 29.0k | [function = std::forward<F>(function)]( | 312 | 29.0k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 29.0k | return function(arg1); | 314 | 29.0k | }); | 315 | 29.0k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_7EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_9EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_11EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_13EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_15EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_17EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_19EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
time_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_125RegisterDurationFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSA_10unique_ptrINS_8FunctionENSA_14default_deleteISE_EEEEE4typeEOSC_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueENS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterBoolConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S2_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterDoubleConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEdE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterIlN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEmE12WrapFunctionIZNS_12_GLOBAL__N_130RegisterIntConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_10BytesValueEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_11StringValueElE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_11StringValueEmE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_133RegisterStringConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_6EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEdE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterUintConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIRFS1_S4_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENS9_10unique_ptrINS_8FunctionENS9_14default_deleteISD_EEEEE4typeEOSB_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueElE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lEENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
type_conversion_functions.cc:_ZN3cel20UnaryFunctionAdapterINS_5ValueERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_131RegisterTimeConversionFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 309 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
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 | 14.5k | WrapFunction(F&& function) { | 310 | 14.5k | return WrapFunction( | 311 | 14.5k | [function = std::forward<F>(function)]( | 312 | 14.5k | U arg1, const Function::InvokeContext& context) -> T { | 313 | 14.5k | return function(arg1); | 314 | 14.5k | }); | 315 | 14.5k | } |
|
316 | | |
317 | | static FunctionDescriptor CreateDescriptor(absl::string_view name, |
318 | | bool receiver_style, |
319 | 29.0k | bool is_strict) { |
320 | 29.0k | return CreateDescriptor( |
321 | 29.0k | name, receiver_style, |
322 | 29.0k | FunctionDescriptorOptions{is_strict, /*is_contextual=*/false}); |
323 | 29.0k | } |
324 | | |
325 | | static FunctionDescriptor CreateDescriptor( |
326 | | absl::string_view name, bool receiver_style, |
327 | 871k | FunctionDescriptorOptions options = {}) { |
328 | 871k | return FunctionDescriptor(name, receiver_style, |
329 | 871k | {runtime_internal::AdaptedKind<U>()}, options); |
330 | 871k | } cel::UnaryFunctionAdapter<cel::Value, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 43.5k | FunctionDescriptorOptions options = {}) { | 328 | 43.5k | return FunctionDescriptor(name, receiver_style, | 329 | 43.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 43.5k | } |
cel::UnaryFunctionAdapter<double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::ListValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::MapValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
cel::UnaryFunctionAdapter<bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
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 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
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 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
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 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 174k | FunctionDescriptorOptions options = {}) { | 328 | 174k | return FunctionDescriptor(name, receiver_style, | 329 | 174k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 174k | } |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 58.0k | FunctionDescriptorOptions options = {}) { | 328 | 58.0k | return FunctionDescriptor(name, receiver_style, | 329 | 58.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 58.0k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 72.6k | FunctionDescriptorOptions options = {}) { | 328 | 72.6k | return FunctionDescriptor(name, receiver_style, | 329 | 72.6k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 72.6k | } |
cel::UnaryFunctionAdapter<double, unsigned long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<long, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 43.5k | FunctionDescriptorOptions options = {}) { | 328 | 43.5k | return FunctionDescriptor(name, receiver_style, | 329 | 43.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 43.5k | } |
cel::UnaryFunctionAdapter<long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::StringValue, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 327 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
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 | 14.5k | FunctionDescriptorOptions options = {}) { | 328 | 14.5k | return FunctionDescriptor(name, receiver_style, | 329 | 14.5k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 14.5k | } |
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 | 29.0k | FunctionDescriptorOptions options = {}) { | 328 | 29.0k | return FunctionDescriptor(name, receiver_style, | 329 | 29.0k | {runtime_internal::AdaptedKind<U>()}, options); | 330 | 29.0k | } |
|
331 | | |
332 | | private: |
333 | | class UnaryFunctionImpl : public Function { |
334 | | public: |
335 | 871k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}cel::UnaryFunctionAdapter<cel::Value, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 43.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<double, double>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<double (double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::ListValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<long> (cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::MapValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<long> (cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<bool, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, cel::Value>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::Value, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Time>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 174k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Duration>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 58.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::BytesValue (cel::BytesValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::BytesValue> (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<double, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<double (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, cel::StringValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 72.6k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<double, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<double (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, double>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 43.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<long, absl::lts_20260107::Time>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<long (absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::StringValue, bool>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::StringValue (bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::StringValue, long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::StringValue (long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::StringValue (cel::StringValue, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::StringValue (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<unsigned long, unsigned long>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<unsigned long (unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 14.5k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::UnaryFunctionImpl::UnaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::Value const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 335 | 29.0k | explicit UnaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
|
336 | | absl::StatusOr<Value> Invoke( |
337 | | absl::Span<const Value> args, |
338 | 4.91k | const Function::InvokeContext& context) const final { |
339 | 4.91k | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; |
340 | 4.91k | if (args.size() != 1) { |
341 | 0 | return absl::InvalidArgumentError( |
342 | 0 | "unexpected number of arguments for unary function"); |
343 | 0 | } |
344 | 4.91k | typename ArgTraits::AssignableType arg1; |
345 | | |
346 | 4.91k | CEL_RETURN_IF_ERROR( |
347 | 4.91k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); |
348 | | if constexpr (std::is_same_v<T, Value> || |
349 | 4.28k | std::is_same_v<T, absl::StatusOr<Value>>) { |
350 | 4.28k | return fn_(ArgTraits::ToArg(arg1), context); |
351 | 4.28k | } else { |
352 | 626 | T result = fn_(ArgTraits::ToArg(arg1), context); |
353 | | |
354 | 626 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); |
355 | 626 | } |
356 | 4.91k | } cel::UnaryFunctionAdapter<cel::Value, long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 389 | const Function::InvokeContext& context) const final { | 339 | 389 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 389 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 389 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 389 | CEL_RETURN_IF_ERROR( | 347 | 389 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 389 | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 389 | 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 | 389 | } |
cel::UnaryFunctionAdapter<double, double>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 190 | const Function::InvokeContext& context) const final { | 339 | 190 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 190 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 190 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 190 | CEL_RETURN_IF_ERROR( | 347 | 190 | 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 | 190 | } else { | 352 | 190 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 190 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 190 | } | 356 | 190 | } |
cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::ListValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::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 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<long>, cel::MapValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<bool, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 5 | const Function::InvokeContext& context) const final { | 339 | 5 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 5 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 5 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 5 | CEL_RETURN_IF_ERROR( | 347 | 5 | 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 | 5 | } else { | 352 | 5 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 5 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 5 | } | 356 | 5 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::Value, cel::Value>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<long, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 47 | const Function::InvokeContext& context) const final { | 339 | 47 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 47 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 47 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 47 | CEL_RETURN_IF_ERROR( | 347 | 47 | 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 | 47 | } else { | 352 | 47 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 47 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 47 | } | 356 | 47 | } |
cel::UnaryFunctionAdapter<long, cel::BytesValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 2 | const Function::InvokeContext& context) const final { | 339 | 2 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 2 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 2 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 2 | CEL_RETURN_IF_ERROR( | 347 | 2 | 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 | } else { | 352 | 2 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 2 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 2 | } | 356 | 2 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Time>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::UnaryFunctionAdapter<long, absl::lts_20260107::Duration>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<cel::Value, cel::StringValue>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 322 | const Function::InvokeContext& context) const final { | 339 | 322 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 322 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 322 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 322 | CEL_RETURN_IF_ERROR( | 347 | 322 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 322 | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 322 | 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 | 322 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::BytesValue, cel::BytesValue>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::UnaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<double, long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::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, cel::StringValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 2.99k | const Function::InvokeContext& context) const final { | 339 | 2.99k | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 2.99k | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 2.99k | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 2.99k | CEL_RETURN_IF_ERROR( | 347 | 2.99k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 2.99k | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 2.99k | return fn_(ArgTraits::ToArg(arg1), context); | 351 | | } else { | 352 | | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | | } | 356 | 2.99k | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<double, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<long, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 85 | const Function::InvokeContext& context) const final { | 339 | 85 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 85 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 85 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 85 | CEL_RETURN_IF_ERROR( | 347 | 85 | 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 | 85 | } else { | 352 | 85 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 85 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 85 | } | 356 | 85 | } |
cel::UnaryFunctionAdapter<cel::Value, double>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 329 | const Function::InvokeContext& context) const final { | 339 | 329 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 329 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 329 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 329 | CEL_RETURN_IF_ERROR( | 347 | 329 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 329 | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 329 | 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 | 329 | } |
cel::UnaryFunctionAdapter<long, long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 288 | const Function::InvokeContext& context) const final { | 339 | 288 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 288 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 288 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 288 | CEL_RETURN_IF_ERROR( | 347 | 288 | 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 | 288 | } else { | 352 | 288 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 288 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 288 | } | 356 | 288 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<long, absl::lts_20260107::Time>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<cel::Value, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 103 | const Function::InvokeContext& context) const final { | 339 | 103 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 103 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 103 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 103 | CEL_RETURN_IF_ERROR( | 347 | 103 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 103 | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 103 | 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 | 103 | } |
cel::UnaryFunctionAdapter<cel::Value, cel::BytesValue const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::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 | } |
cel::UnaryFunctionAdapter<cel::StringValue, bool>::UnaryFunctionImpl::Invoke(absl::lts_20260107::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::StringValue, long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 2 | const Function::InvokeContext& context) const final { | 339 | 2 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 2 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 2 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 2 | CEL_RETURN_IF_ERROR( | 347 | 2 | 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 | } else { | 352 | 2 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 2 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 2 | } | 356 | 2 | } |
cel::UnaryFunctionAdapter<cel::StringValue, cel::StringValue>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 2 | const Function::InvokeContext& context) const final { | 339 | 2 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 2 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 2 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 2 | CEL_RETURN_IF_ERROR( | 347 | 2 | 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 | } else { | 352 | 2 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 2 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 2 | } | 356 | 2 | } |
Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::StringValue, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::UnaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::UnaryFunctionAdapter<unsigned long, unsigned long>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 2 | const Function::InvokeContext& context) const final { | 339 | 2 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 2 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 2 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 2 | CEL_RETURN_IF_ERROR( | 347 | 2 | 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 | } else { | 352 | 2 | T result = fn_(ArgTraits::ToArg(arg1), context); | 353 | | | 354 | 2 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 355 | 2 | } | 356 | 2 | } |
cel::UnaryFunctionAdapter<cel::Value, cel::Value const&>::UnaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 338 | 145 | const Function::InvokeContext& context) const final { | 339 | 145 | using ArgTraits = runtime_internal::AdaptedTypeTraits<U>; | 340 | 145 | if (args.size() != 1) { | 341 | 0 | return absl::InvalidArgumentError( | 342 | 0 | "unexpected number of arguments for unary function"); | 343 | 0 | } | 344 | 145 | typename ArgTraits::AssignableType arg1; | 345 | | | 346 | 145 | CEL_RETURN_IF_ERROR( | 347 | 145 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 348 | | if constexpr (std::is_same_v<T, Value> || | 349 | 145 | std::is_same_v<T, absl::StatusOr<Value>>) { | 350 | 145 | 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 | 145 | } |
|
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 | 1.68M | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { |
438 | 1.68M | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); |
439 | 1.68M | } cel::BinaryFunctionAdapter<cel::Value, double, double>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (double, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<cel::Value, long, long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 72.6k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 72.6k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 72.6k | } |
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 72.6k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 72.6k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 72.6k | } |
cel::BinaryFunctionAdapter<bool, double, long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (double, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, double, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (double, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, unsigned long, double>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (unsigned long, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, unsigned long, long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (unsigned long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, long, double>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (long, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, long, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, bool, bool>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (bool, bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, long, long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, double, double>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (double, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 145k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 145k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 145k | } |
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Time, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<bool (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 58.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 58.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 58.0k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::ListValue> (cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, bool, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (bool, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, long, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (long, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, unsigned long, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, double, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (double, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, bool, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (bool, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, long, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (long, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, double, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (double, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 43.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 43.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 43.5k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::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_20260107::AnyInvocable<cel::Value (bool, bool, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 29.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 29.0k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 29.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 29.0k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::WrapFunction(absl::lts_20260107::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_20260107::AnyInvocable<cel::Value (cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::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_20260107::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_20260107::AnyInvocable<bool (cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::StringValue> (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::BytesValue> (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, cel::StringValue const&>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 145k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 145k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 145k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Time, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Duration, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Duration>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 29.0k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 29.0k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 29.0k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Time>::WrapFunction(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 437 | 14.5k | static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) { | 438 | 14.5k | return std::make_unique<BinaryFunctionImpl>(std::move(fn)); | 439 | 14.5k | } |
|
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 | 304k | WrapFunction(F&& function) { |
448 | 304k | return WrapFunction( |
449 | 304k | [function = std::forward<F>(function)]( |
450 | 304k | U arg1, V arg2, const Function::InvokeContext& context) -> T { |
451 | 6.21k | return function(arg1, arg2, context.descriptor_pool(), |
452 | 6.21k | context.message_factory(), context.arena()); |
453 | 6.21k | }); _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 3.48k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 3.48k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 3.48k | context.message_factory(), context.arena()); | 453 | 3.48k | }); |
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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_202601078StatusOrIbEEbRKNS_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_202601078StatusOrIbEElRKNS_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_202601078StatusOrIbEEmRKNS_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_202601078StatusOrIbEEdRKNS_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_202601078StatusOrIbEERKNS_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_202601078StatusOrIbEERKNS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078DurationES4_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_202601074TimeES4_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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 | 2.17k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 2.17k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 2.17k | context.message_factory(), context.arena()); | 453 | 2.17k | }); |
_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 558 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 558 | return function(arg1, arg2, context.descriptor_pool(), | 452 | 558 | context.message_factory(), context.arena()); | 453 | 558 | }); |
|
454 | 304k | } _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 14.5k | WrapFunction(F&& function) { | 448 | 14.5k | return WrapFunction( | 449 | 14.5k | [function = std::forward<F>(function)]( | 450 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 14.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 14.5k | context.message_factory(), context.arena()); | 453 | 14.5k | }); | 454 | 14.5k | } |
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrIbEEbRKNS_9ListValueEE12WrapFunctionIRFS4_bS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrIbEElRKNS_9ListValueEE12WrapFunctionIRFS4_lS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrIbEEmRKNS_9ListValueEE12WrapFunctionIRFS4_mS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrIbEEdRKNS_9ListValueEE12WrapFunctionIRFS4_dS7_PKN6google8protobuf14DescriptorPoolEPNSB_14MessageFactoryEPNSB_5ArenaEEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dS7_SE_SG_SI_EENSL_10unique_ptrINS_8FunctionENSL_14default_deleteISP_EEEEE4typeEOSN_ Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrIbEERKNS_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_202601078StatusOrIbEERKNS_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_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
container_membership_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 43.5k | WrapFunction(F&& function) { | 448 | 43.5k | return WrapFunction( | 449 | 43.5k | [function = std::forward<F>(function)]( | 450 | 43.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 43.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 43.5k | context.message_factory(), context.arena()); | 453 | 43.5k | }); | 454 | 43.5k | } |
Unexecuted instantiation: _ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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_202601078DurationES4_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_202601074TimeES4_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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_202601078StatusOrINS_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 | 14.5k | WrapFunction(F&& function) { | 448 | 14.5k | return WrapFunction( | 449 | 14.5k | [function = std::forward<F>(function)]( | 450 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 14.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 14.5k | context.message_factory(), context.arena()); | 453 | 14.5k | }); | 454 | 14.5k | } |
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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 | 14.5k | WrapFunction(F&& function) { | 448 | 14.5k | return WrapFunction( | 449 | 14.5k | [function = std::forward<F>(function)]( | 450 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 451 | 14.5k | return function(arg1, arg2, context.descriptor_pool(), | 452 | 14.5k | context.message_factory(), context.arena()); | 453 | 14.5k | }); | 454 | 14.5k | } |
|
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.37M | WrapFunction(F&& function) { |
460 | 1.37M | return WrapFunction( |
461 | 1.37M | [function = std::forward<F>(function)]( |
462 | 1.37M | U arg1, V arg2, const Function::InvokeContext& context) -> T { |
463 | 24.1k | return function(arg1, arg2); |
464 | 24.1k | }); _ZZN3cel21BinaryFunctionAdapterINS_5ValueEddE12WrapFunctionIPFS1_ddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ENKUlddRKNSA_13InvokeContextEE_clEddSJ_ Line | Count | Source | 462 | 1.94k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1.94k | return function(arg1, arg2); | 464 | 1.94k | }); |
_ZZN3cel21BinaryFunctionAdapterINS_5ValueEllE12WrapFunctionIPFS1_llEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ENKUlllRKNSA_13InvokeContextEE_clEllSJ_ Line | Count | Source | 462 | 8.40k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 8.40k | return function(arg1, arg2); | 464 | 8.40k | }); |
_ZZN3cel21BinaryFunctionAdapterINS_5ValueEmmE12WrapFunctionIPFS1_mmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ENKUlmmRKNSA_13InvokeContextEE_clEmmSJ_ Line | Count | Source | 462 | 1.62k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1.62k | return function(arg1, arg2); | 464 | 1.62k | }); |
_ZZN3cel21BinaryFunctionAdapterIbdlE12WrapFunctionIPFbdlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUldlRKNS9_13InvokeContextEE_clEdlSI_ Line | Count | Source | 462 | 1.21k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1.21k | return function(arg1, arg2); | 464 | 1.21k | }); |
_ZZN3cel21BinaryFunctionAdapterIbdmE12WrapFunctionIPFbdmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUldmRKNS9_13InvokeContextEE_clEdmSI_ Line | Count | Source | 462 | 775 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 775 | return function(arg1, arg2); | 464 | 775 | }); |
_ZZN3cel21BinaryFunctionAdapterIbmdE12WrapFunctionIPFbmdEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mdEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmdRKNS9_13InvokeContextEE_clEmdSI_ Line | Count | Source | 462 | 800 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 800 | return function(arg1, arg2); | 464 | 800 | }); |
_ZZN3cel21BinaryFunctionAdapterIbmlE12WrapFunctionIPFbmlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmlRKNS9_13InvokeContextEE_clEmlSI_ Line | Count | Source | 462 | 2.20k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 2.20k | return function(arg1, arg2); | 464 | 2.20k | }); |
_ZZN3cel21BinaryFunctionAdapterIbldE12WrapFunctionIPFbldEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ldEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlldRKNS9_13InvokeContextEE_clEldSI_ Line | Count | Source | 462 | 1.01k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1.01k | return function(arg1, arg2); | 464 | 1.01k | }); |
_ZZN3cel21BinaryFunctionAdapterIblmE12WrapFunctionIPFblmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUllmRKNS9_13InvokeContextEE_clElmSI_ Line | Count | Source | 462 | 1.79k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1.79k | return function(arg1, arg2); | 464 | 1.79k | }); |
_ZZN3cel21BinaryFunctionAdapterIbbbE12WrapFunctionIRFbbbEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bbEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlbbRKNS9_13InvokeContextEE_clEbbSI_ Line | Count | Source | 462 | 172 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 172 | return function(arg1, arg2); | 464 | 172 | }); |
_ZZN3cel21BinaryFunctionAdapterIbllE12WrapFunctionIRFbllEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlllRKNS9_13InvokeContextEE_clEllSI_ Line | Count | Source | 462 | 2.23k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 2.23k | return function(arg1, arg2); | 464 | 2.23k | }); |
_ZZN3cel21BinaryFunctionAdapterIbmmE12WrapFunctionIRFbmmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlmmRKNS9_13InvokeContextEE_clEmmSI_ Line | Count | Source | 462 | 505 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 505 | return function(arg1, arg2); | 464 | 505 | }); |
_ZZN3cel21BinaryFunctionAdapterIbddE12WrapFunctionIRFbddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ENKUlddRKNS9_13InvokeContextEE_clEddSI_ Line | Count | Source | 462 | 291 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 291 | return function(arg1, arg2); | 464 | 291 | }); |
_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 | 775 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 775 | return function(arg1, arg2); | 464 | 775 | }); |
_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 | 400 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 400 | return function(arg1, arg2); | 464 | 400 | }); |
Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIbN4absl12lts_202601078DurationES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_ Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIbN4absl12lts_202601074TimeES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ENKUlS3_S3_RKNSC_13InvokeContextEE_clES3_S3_SL_ Unexecuted instantiation: _ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_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_ Unexecuted instantiation: regex_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_11StringValueES4_E12WrapFunctionIRZNS_22RegisterRegexFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS4_S4_RKNSI_13InvokeContextEE_clES4_S4_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_6EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_8EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_10EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_12EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_14EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_16EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_18EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ENKUlS4_S7_RKNSL_13InvokeContextEE_clES4_S7_SU_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeENS2_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS6_S7_RKNSI_13InvokeContextEE_clES6_S7_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationENS2_4TimeEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS6_S7_RKNSI_13InvokeContextEE_clES6_S7_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS6_S6_RKNSH_13InvokeContextEE_clES6_S6_SQ_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeENS2_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ENKUlS6_S7_RKNSI_13InvokeContextEE_clES6_S7_SR_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS6_S6_RKNSH_13InvokeContextEE_clES6_S6_SQ_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ENKUlS6_S6_RKNSH_13InvokeContextEE_clES6_S6_SQ_ time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeENS3_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 | 1 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1 | return function(arg1, arg2); | 464 | 1 | }); |
Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationENS3_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_ time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationES4_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 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1 | return function(arg1, arg2); | 464 | 1 | }); |
Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeENS3_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_ Unexecuted instantiation: time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeES4_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_ time_functions.cc:_ZZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationES4_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 | 1 | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 1 | return function(arg1, arg2); | 464 | 1 | }); |
|
465 | 1.37M | } _ZN3cel21BinaryFunctionAdapterINS_5ValueEddE12WrapFunctionIPFS1_ddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterINS_5ValueEllE12WrapFunctionIPFS1_llEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ Line | Count | Source | 459 | 72.6k | WrapFunction(F&& function) { | 460 | 72.6k | return WrapFunction( | 461 | 72.6k | [function = std::forward<F>(function)]( | 462 | 72.6k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 72.6k | return function(arg1, arg2); | 464 | 72.6k | }); | 465 | 72.6k | } |
_ZN3cel21BinaryFunctionAdapterINS_5ValueEmmE12WrapFunctionIPFS1_mmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS6_10unique_ptrINS_8FunctionENS6_14default_deleteISA_EEEEE4typeEOS8_ Line | Count | Source | 459 | 72.6k | WrapFunction(F&& function) { | 460 | 72.6k | return WrapFunction( | 461 | 72.6k | [function = std::forward<F>(function)]( | 462 | 72.6k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 72.6k | return function(arg1, arg2); | 464 | 72.6k | }); | 465 | 72.6k | } |
_ZN3cel21BinaryFunctionAdapterIbdlE12WrapFunctionIPFbdlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbdmE12WrapFunctionIPFbdmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_dmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbmdE12WrapFunctionIPFbmdEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mdEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbmlE12WrapFunctionIPFbmlEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mlEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbldE12WrapFunctionIPFbldEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ldEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIblmE12WrapFunctionIPFblmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_lmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbbbE12WrapFunctionIRFbbbEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_bbEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbllE12WrapFunctionIRFbllEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_llEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbmmE12WrapFunctionIRFbmmEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_mmEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbddE12WrapFunctionIRFbddEEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_ddEENS5_10unique_ptrINS_8FunctionENS5_14default_deleteIS9_EEEEE4typeEOS7_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbRKNS_11StringValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ Line | Count | Source | 459 | 145k | WrapFunction(F&& function) { | 460 | 145k | return WrapFunction( | 461 | 145k | [function = std::forward<F>(function)]( | 462 | 145k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 145k | return function(arg1, arg2); | 464 | 145k | }); | 465 | 145k | } |
_ZN3cel21BinaryFunctionAdapterIbRKNS_10BytesValueES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbN4absl12lts_202601078DurationES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIbN4absl12lts_202601074TimeES3_E12WrapFunctionIRFbS3_S3_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S3_S3_EENS8_10unique_ptrINS_8FunctionENS8_14default_deleteISC_EEEEE4typeEOSA_ Line | Count | Source | 459 | 58.0k | WrapFunction(F&& function) { | 460 | 58.0k | return WrapFunction( | 461 | 58.0k | [function = std::forward<F>(function)]( | 462 | 58.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 58.0k | return function(arg1, arg2); | 464 | 58.0k | }); | 465 | 58.0k | } |
_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_9ListValueEEES4_RKNS_5ValueEE12WrapFunctionIRFS5_S4_S8_EEENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S8_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
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_ regex_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueERKNS_11StringValueES4_E12WrapFunctionIRZNS_22RegisterRegexFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Line | Count | Source | 459 | 29.0k | WrapFunction(F&& function) { | 460 | 29.0k | return WrapFunction( | 461 | 29.0k | [function = std::forward<F>(function)]( | 462 | 29.0k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 29.0k | return function(arg1, arg2); | 464 | 29.0k | }); | 465 | 29.0k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_6EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE3$_8EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_10EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_12EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_14EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_16EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeERKNS_11StringValueEE12WrapFunctionIZNS_12_GLOBAL__N_126RegisterTimestampFunctionsERNS_16FunctionRegistryERKNS_14RuntimeOptionsEE4$_18EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S7_EENSH_10unique_ptrINS_8FunctionENSH_14default_deleteISL_EEEEE4typeEOSJ_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeENS2_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationENS2_4TimeEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeENS2_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S7_EENSE_10unique_ptrINS_8FunctionENSE_14default_deleteISI_EEEEE4typeEOSG_ Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_4TimeES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ Unexecuted instantiation: time_functions.cc:_ZN3cel21BinaryFunctionAdapterIN4absl12lts_202601078StatusOrINS_5ValueEEENS2_8DurationES6_E12WrapFunctionIZNS_12_GLOBAL__N_138RegisterCheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S6_S6_EENSD_10unique_ptrINS_8FunctionENSD_14default_deleteISH_EEEEE4typeEOSF_ time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_0EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationENS3_4TimeEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_1EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_2EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeENS3_8DurationEE12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_3EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S5_EENSC_10unique_ptrINS_8FunctionENSC_14default_deleteISG_EEEEE4typeEOSE_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601074TimeES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_4EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
time_functions.cc:_ZN3cel21BinaryFunctionAdapterINS_5ValueEN4absl12lts_202601078DurationES4_E12WrapFunctionIZNS_12_GLOBAL__N_140RegisterUncheckedTimeArithmeticFunctionsERNS_16FunctionRegistryEE3$_5EENSt3__19enable_ifIXsr3stdE14is_invocable_vIT_S4_S4_EENSB_10unique_ptrINS_8FunctionENSB_14default_deleteISF_EEEEE4typeEOSD_ Line | Count | Source | 459 | 14.5k | WrapFunction(F&& function) { | 460 | 14.5k | return WrapFunction( | 461 | 14.5k | [function = std::forward<F>(function)]( | 462 | 14.5k | U arg1, V arg2, const Function::InvokeContext& context) -> T { | 463 | 14.5k | return function(arg1, arg2); | 464 | 14.5k | }); | 465 | 14.5k | } |
|
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 | 1.68M | FunctionDescriptorOptions options = {}) { |
477 | 1.68M | return FunctionDescriptor(name, receiver_style, |
478 | 1.68M | {runtime_internal::AdaptedKind<U>(), |
479 | 1.68M | runtime_internal::AdaptedKind<V>()}, |
480 | 1.68M | options); |
481 | 1.68M | } 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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 72.6k | FunctionDescriptorOptions options = {}) { | 477 | 72.6k | return FunctionDescriptor(name, receiver_style, | 478 | 72.6k | {runtime_internal::AdaptedKind<U>(), | 479 | 72.6k | runtime_internal::AdaptedKind<V>()}, | 480 | 72.6k | options); | 481 | 72.6k | } |
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 | 72.6k | FunctionDescriptorOptions options = {}) { | 477 | 72.6k | return FunctionDescriptor(name, receiver_style, | 478 | 72.6k | {runtime_internal::AdaptedKind<U>(), | 479 | 72.6k | runtime_internal::AdaptedKind<V>()}, | 480 | 72.6k | options); | 481 | 72.6k | } |
cel::BinaryFunctionAdapter<bool, double, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, long, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, bool, bool>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, long, long>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, double, double>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
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 | 145k | FunctionDescriptorOptions options = {}) { | 477 | 145k | return FunctionDescriptor(name, receiver_style, | 478 | 145k | {runtime_internal::AdaptedKind<U>(), | 479 | 145k | runtime_internal::AdaptedKind<V>()}, | 480 | 145k | options); | 481 | 145k | } |
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 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Time, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 58.0k | FunctionDescriptorOptions options = {}) { | 477 | 58.0k | return FunctionDescriptor(name, receiver_style, | 478 | 58.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 58.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 58.0k | options); | 481 | 58.0k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::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_20260107::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_20260107::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_20260107::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_20260107::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_20260107::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_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 43.5k | FunctionDescriptorOptions options = {}) { | 477 | 43.5k | return FunctionDescriptor(name, receiver_style, | 478 | 43.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 43.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 43.5k | options); | 481 | 43.5k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 29.0k | FunctionDescriptorOptions options = {}) { | 477 | 29.0k | return FunctionDescriptor(name, receiver_style, | 478 | 29.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 29.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 29.0k | options); | 481 | 29.0k | } |
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_20260107::Duration, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 29.0k | FunctionDescriptorOptions options = {}) { | 477 | 29.0k | return FunctionDescriptor(name, receiver_style, | 478 | 29.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 29.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 29.0k | options); | 481 | 29.0k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
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_20260107::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_20260107::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 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::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 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, cel::StringValue const&>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 145k | FunctionDescriptorOptions options = {}) { | 477 | 145k | return FunctionDescriptor(name, receiver_style, | 478 | 145k | {runtime_internal::AdaptedKind<U>(), | 479 | 145k | runtime_internal::AdaptedKind<V>()}, | 480 | 145k | options); | 481 | 145k | } |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 29.0k | FunctionDescriptorOptions options = {}) { | 477 | 29.0k | return FunctionDescriptor(name, receiver_style, | 478 | 29.0k | {runtime_internal::AdaptedKind<U>(), | 479 | 29.0k | runtime_internal::AdaptedKind<V>()}, | 480 | 29.0k | options); | 481 | 29.0k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Duration>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Time>::CreateDescriptor(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, cel::FunctionDescriptorOptions) Line | Count | Source | 476 | 14.5k | FunctionDescriptorOptions options = {}) { | 477 | 14.5k | return FunctionDescriptor(name, receiver_style, | 478 | 14.5k | {runtime_internal::AdaptedKind<U>(), | 479 | 14.5k | runtime_internal::AdaptedKind<V>()}, | 480 | 14.5k | options); | 481 | 14.5k | } |
|
482 | | |
483 | | private: |
484 | | class BinaryFunctionImpl : public Function { |
485 | | public: |
486 | 1.68M | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {}cel::BinaryFunctionAdapter<cel::Value, double, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (double, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<cel::Value, long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 72.6k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 72.6k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, double, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (double, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, double, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (double, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, unsigned long, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (unsigned long, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, unsigned long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (unsigned long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, long, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (long, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, bool, bool>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (bool, bool, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, long, long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (long, long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (unsigned long, unsigned long, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, double, double>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (double, double, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 145k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<bool (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 58.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::ListValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::ListValue> (cel::ListValue, cel::Value const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::Value const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, bool, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (bool, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, long, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (long, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, unsigned long, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (unsigned long, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, double, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (double, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (cel::StringValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<bool> (cel::BytesValue const&, cel::ListValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (cel::StringValue const&, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, bool, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (bool, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, long, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (long, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (unsigned long, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, double, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (double, cel::MapValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 43.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::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_20260107::AnyInvocable<cel::Value (bool, bool, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 29.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 29.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::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_20260107::AnyInvocable<cel::Value (cel::TypeValue const&, cel::TypeValue const&, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::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_20260107::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_20260107::AnyInvocable<bool (cel::NullValue const&, cel::StructValue const&, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::StringValue> (cel::StringValue const&, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::BytesValue> (cel::BytesValue const&, cel::BytesValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, cel::StringValue const&>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, cel::StringValue const&, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 145k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Time, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Duration, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Duration, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<absl::lts_20260107::StatusOr<cel::Value> (absl::lts_20260107::Time, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Duration>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Time, absl::lts_20260107::Duration, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 29.0k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Time>::BinaryFunctionImpl::BinaryFunctionImpl(absl::lts_20260107::AnyInvocable<cel::Value (absl::lts_20260107::Duration, absl::lts_20260107::Time, cel::Function::InvokeContext const&) const>) Line | Count | Source | 486 | 14.5k | explicit BinaryFunctionImpl(FunctionType fn) : fn_(std::move(fn)) {} |
|
487 | | absl::StatusOr<Value> Invoke( |
488 | | absl::Span<const Value> args, |
489 | 30.3k | const Function::InvokeContext& context) const final { |
490 | 30.3k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; |
491 | 30.3k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; |
492 | 30.3k | if (args.size() != 2) { |
493 | 0 | return absl::InvalidArgumentError( |
494 | 0 | "unexpected number of arguments for binary function"); |
495 | 0 | } |
496 | 30.3k | typename Arg1Traits::AssignableType arg1; |
497 | 30.3k | typename Arg2Traits::AssignableType arg2; |
498 | 30.3k | CEL_RETURN_IF_ERROR( |
499 | 30.3k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); |
500 | 30.3k | CEL_RETURN_IF_ERROR( |
501 | 30.3k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); |
502 | | |
503 | | if constexpr (std::is_same_v<T, Value> || |
504 | 15.4k | std::is_same_v<T, absl::StatusOr<Value>>) { |
505 | 15.4k | return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); |
506 | 15.4k | } else { |
507 | 14.9k | T result = |
508 | 14.9k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); |
509 | | |
510 | 14.9k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); |
511 | 14.9k | } |
512 | 30.3k | } cel::BinaryFunctionAdapter<cel::Value, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1.94k | const Function::InvokeContext& context) const final { | 490 | 1.94k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1.94k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1.94k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1.94k | typename Arg1Traits::AssignableType arg1; | 497 | 1.94k | typename Arg2Traits::AssignableType arg2; | 498 | 1.94k | CEL_RETURN_IF_ERROR( | 499 | 1.94k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1.94k | CEL_RETURN_IF_ERROR( | 501 | 1.94k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 1.94k | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 1.94k | 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 | 1.94k | } |
cel::BinaryFunctionAdapter<cel::Value, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 8.40k | const Function::InvokeContext& context) const final { | 490 | 8.40k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 8.40k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 8.40k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 8.40k | typename Arg1Traits::AssignableType arg1; | 497 | 8.40k | typename Arg2Traits::AssignableType arg2; | 498 | 8.40k | CEL_RETURN_IF_ERROR( | 499 | 8.40k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 8.40k | CEL_RETURN_IF_ERROR( | 501 | 8.40k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 8.40k | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 8.40k | return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 506 | | } else { | 507 | | T result = | 508 | | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | | } | 512 | 8.40k | } |
cel::BinaryFunctionAdapter<cel::Value, unsigned long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1.62k | const Function::InvokeContext& context) const final { | 490 | 1.62k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1.62k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1.62k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1.62k | typename Arg1Traits::AssignableType arg1; | 497 | 1.62k | typename Arg2Traits::AssignableType arg2; | 498 | 1.62k | CEL_RETURN_IF_ERROR( | 499 | 1.62k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1.62k | CEL_RETURN_IF_ERROR( | 501 | 1.62k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 1.62k | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 1.62k | 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 | 1.62k | } |
cel::BinaryFunctionAdapter<bool, double, long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1.21k | const Function::InvokeContext& context) const final { | 490 | 1.21k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1.21k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1.21k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1.21k | typename Arg1Traits::AssignableType arg1; | 497 | 1.21k | typename Arg2Traits::AssignableType arg2; | 498 | 1.21k | CEL_RETURN_IF_ERROR( | 499 | 1.21k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1.21k | CEL_RETURN_IF_ERROR( | 501 | 1.21k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | | return fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 506 | 1.21k | } else { | 507 | 1.21k | T result = | 508 | 1.21k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 1.21k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 1.21k | } | 512 | 1.21k | } |
cel::BinaryFunctionAdapter<bool, double, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 775 | const Function::InvokeContext& context) const final { | 490 | 775 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 775 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 775 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 775 | typename Arg1Traits::AssignableType arg1; | 497 | 775 | typename Arg2Traits::AssignableType arg2; | 498 | 775 | CEL_RETURN_IF_ERROR( | 499 | 775 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 775 | CEL_RETURN_IF_ERROR( | 501 | 775 | 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 | 775 | } else { | 507 | 775 | T result = | 508 | 775 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 775 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 775 | } | 512 | 775 | } |
cel::BinaryFunctionAdapter<bool, unsigned long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 800 | const Function::InvokeContext& context) const final { | 490 | 800 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 800 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 800 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 800 | typename Arg1Traits::AssignableType arg1; | 497 | 800 | typename Arg2Traits::AssignableType arg2; | 498 | 800 | CEL_RETURN_IF_ERROR( | 499 | 800 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 800 | CEL_RETURN_IF_ERROR( | 501 | 800 | 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 | 800 | } else { | 507 | 800 | T result = | 508 | 800 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 800 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 800 | } | 512 | 800 | } |
cel::BinaryFunctionAdapter<bool, unsigned long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 2.20k | const Function::InvokeContext& context) const final { | 490 | 2.20k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 2.20k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 2.20k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 2.20k | typename Arg1Traits::AssignableType arg1; | 497 | 2.20k | typename Arg2Traits::AssignableType arg2; | 498 | 2.20k | CEL_RETURN_IF_ERROR( | 499 | 2.20k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 2.20k | CEL_RETURN_IF_ERROR( | 501 | 2.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 | 2.20k | } else { | 507 | 2.20k | T result = | 508 | 2.20k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 2.20k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 2.20k | } | 512 | 2.20k | } |
cel::BinaryFunctionAdapter<bool, long, double>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1.01k | const Function::InvokeContext& context) const final { | 490 | 1.01k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1.01k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1.01k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1.01k | typename Arg1Traits::AssignableType arg1; | 497 | 1.01k | typename Arg2Traits::AssignableType arg2; | 498 | 1.01k | CEL_RETURN_IF_ERROR( | 499 | 1.01k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1.01k | CEL_RETURN_IF_ERROR( | 501 | 1.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 | 1.01k | } else { | 507 | 1.01k | T result = | 508 | 1.01k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 1.01k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 1.01k | } | 512 | 1.01k | } |
cel::BinaryFunctionAdapter<bool, long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1.79k | const Function::InvokeContext& context) const final { | 490 | 1.79k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1.79k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1.79k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1.79k | typename Arg1Traits::AssignableType arg1; | 497 | 1.79k | typename Arg2Traits::AssignableType arg2; | 498 | 1.79k | CEL_RETURN_IF_ERROR( | 499 | 1.79k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1.79k | CEL_RETURN_IF_ERROR( | 501 | 1.79k | 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.79k | } else { | 507 | 1.79k | T result = | 508 | 1.79k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 1.79k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 1.79k | } | 512 | 1.79k | } |
cel::BinaryFunctionAdapter<bool, bool, bool>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 172 | const Function::InvokeContext& context) const final { | 490 | 172 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 172 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 172 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 172 | typename Arg1Traits::AssignableType arg1; | 497 | 172 | typename Arg2Traits::AssignableType arg2; | 498 | 172 | CEL_RETURN_IF_ERROR( | 499 | 172 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 172 | CEL_RETURN_IF_ERROR( | 501 | 172 | 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 | 172 | } else { | 507 | 172 | T result = | 508 | 172 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 172 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 172 | } | 512 | 172 | } |
cel::BinaryFunctionAdapter<bool, long, long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 2.23k | const Function::InvokeContext& context) const final { | 490 | 2.23k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 2.23k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 2.23k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 2.23k | typename Arg1Traits::AssignableType arg1; | 497 | 2.23k | typename Arg2Traits::AssignableType arg2; | 498 | 2.23k | CEL_RETURN_IF_ERROR( | 499 | 2.23k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 2.23k | CEL_RETURN_IF_ERROR( | 501 | 2.23k | 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.23k | } else { | 507 | 2.23k | T result = | 508 | 2.23k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 2.23k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 2.23k | } | 512 | 2.23k | } |
cel::BinaryFunctionAdapter<bool, unsigned long, unsigned long>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 505 | const Function::InvokeContext& context) const final { | 490 | 505 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 505 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 505 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 505 | typename Arg1Traits::AssignableType arg1; | 497 | 505 | typename Arg2Traits::AssignableType arg2; | 498 | 505 | CEL_RETURN_IF_ERROR( | 499 | 505 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 505 | CEL_RETURN_IF_ERROR( | 501 | 505 | 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 | 505 | } else { | 507 | 505 | T result = | 508 | 505 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 505 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 505 | } | 512 | 505 | } |
cel::BinaryFunctionAdapter<bool, double, double>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 291 | const Function::InvokeContext& context) const final { | 490 | 291 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 291 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 291 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 291 | typename Arg1Traits::AssignableType arg1; | 497 | 291 | typename Arg2Traits::AssignableType arg2; | 498 | 291 | CEL_RETURN_IF_ERROR( | 499 | 291 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 291 | CEL_RETURN_IF_ERROR( | 501 | 291 | 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 | 291 | } else { | 507 | 291 | T result = | 508 | 291 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 291 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 291 | } | 512 | 291 | } |
cel::BinaryFunctionAdapter<bool, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 775 | const Function::InvokeContext& context) const final { | 490 | 775 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 775 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 775 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 775 | typename Arg1Traits::AssignableType arg1; | 497 | 775 | typename Arg2Traits::AssignableType arg2; | 498 | 775 | CEL_RETURN_IF_ERROR( | 499 | 775 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 775 | CEL_RETURN_IF_ERROR( | 501 | 775 | 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 | 775 | } else { | 507 | 775 | T result = | 508 | 775 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 775 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 775 | } | 512 | 775 | } |
cel::BinaryFunctionAdapter<bool, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 400 | const Function::InvokeContext& context) const final { | 490 | 400 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 400 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 400 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 400 | typename Arg1Traits::AssignableType arg1; | 497 | 400 | typename Arg2Traits::AssignableType arg2; | 498 | 400 | CEL_RETURN_IF_ERROR( | 499 | 400 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 400 | CEL_RETURN_IF_ERROR( | 501 | 400 | 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 | 400 | } else { | 507 | 400 | T result = | 508 | 400 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 400 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 400 | } | 512 | 400 | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::ListValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 3.48k | const Function::InvokeContext& context) const final { | 490 | 3.48k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 3.48k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 3.48k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 3.48k | typename Arg1Traits::AssignableType arg1; | 497 | 3.48k | typename Arg2Traits::AssignableType arg2; | 498 | 3.48k | CEL_RETURN_IF_ERROR( | 499 | 3.48k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 3.48k | CEL_RETURN_IF_ERROR( | 501 | 3.48k | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 3.48k | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 3.48k | 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.48k | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::ListValue>, cel::ListValue, cel::Value const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, bool, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, long, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, unsigned long, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, double, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::StringValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<bool>, cel::BytesValue const&, cel::ListValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::StringValue const&, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, bool, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, long, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, unsigned long, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, double, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::Value const&, cel::Value const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, bool, bool>::BinaryFunctionImpl::Invoke(absl::lts_20260107::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_20260107::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_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 2 | const Function::InvokeContext& context) const final { | 490 | 2 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 2 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 2 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 2 | typename Arg1Traits::AssignableType arg1; | 497 | 2 | typename Arg2Traits::AssignableType arg2; | 498 | 2 | CEL_RETURN_IF_ERROR( | 499 | 2 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 2 | CEL_RETURN_IF_ERROR( | 501 | 2 | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 2 | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 2 | 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 | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, cel::NullValue const&, cel::NullValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::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_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, cel::MapValue const&, cel::MapValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::StructValue const&, cel::NullValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<bool, cel::NullValue const&, cel::StructValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::StringValue>, cel::StringValue const&, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 2.17k | const Function::InvokeContext& context) const final { | 490 | 2.17k | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 2.17k | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 2.17k | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 2.17k | typename Arg1Traits::AssignableType arg1; | 497 | 2.17k | typename Arg2Traits::AssignableType arg2; | 498 | 2.17k | CEL_RETURN_IF_ERROR( | 499 | 2.17k | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 2.17k | CEL_RETURN_IF_ERROR( | 501 | 2.17k | 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.17k | } else { | 507 | 2.17k | T result = | 508 | 2.17k | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 2.17k | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 2.17k | } | 512 | 2.17k | } |
cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::BytesValue>, cel::BytesValue const&, cel::BytesValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 558 | const Function::InvokeContext& context) const final { | 490 | 558 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 558 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 558 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 558 | typename Arg1Traits::AssignableType arg1; | 497 | 558 | typename Arg2Traits::AssignableType arg2; | 498 | 558 | CEL_RETURN_IF_ERROR( | 499 | 558 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 558 | CEL_RETURN_IF_ERROR( | 501 | 558 | 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 | 558 | } else { | 507 | 558 | T result = | 508 | 558 | fn_(Arg1Traits::ToArg(arg1), Arg2Traits::ToArg(arg2), context); | 509 | | | 510 | 558 | return runtime_internal::AdaptedToValueVisitor{}(std::move(result)); | 511 | 558 | } | 512 | 558 | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, cel::StringValue const&>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Duration, absl::lts_20260107::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Unexecuted instantiation: cel::BinaryFunctionAdapter<absl::lts_20260107::StatusOr<cel::Value>, absl::lts_20260107::Time, absl::lts_20260107::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Time, absl::lts_20260107::Duration>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const Line | Count | Source | 489 | 1 | const Function::InvokeContext& context) const final { | 490 | 1 | using Arg1Traits = runtime_internal::AdaptedTypeTraits<U>; | 491 | 1 | using Arg2Traits = runtime_internal::AdaptedTypeTraits<V>; | 492 | 1 | if (args.size() != 2) { | 493 | 0 | return absl::InvalidArgumentError( | 494 | 0 | "unexpected number of arguments for binary function"); | 495 | 0 | } | 496 | 1 | typename Arg1Traits::AssignableType arg1; | 497 | 1 | typename Arg2Traits::AssignableType arg2; | 498 | 1 | CEL_RETURN_IF_ERROR( | 499 | 1 | runtime_internal::ValueToAdaptedVisitor{args[0]}(&arg1)); | 500 | 1 | CEL_RETURN_IF_ERROR( | 501 | 1 | runtime_internal::ValueToAdaptedVisitor{args[1]}(&arg2)); | 502 | | | 503 | | if constexpr (std::is_same_v<T, Value> || | 504 | 1 | std::is_same_v<T, absl::StatusOr<Value>>) { | 505 | 1 | 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 | 1 | } |
Unexecuted instantiation: cel::BinaryFunctionAdapter<cel::Value, absl::lts_20260107::Duration, absl::lts_20260107::Time>::BinaryFunctionImpl::Invoke(absl::lts_20260107::Span<cel::Value const>, cel::Function::InvokeContext const&) const |
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_ |