Home
last modified time | relevance | path

Searched refs:ReturnT (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h120 template <typename ReturnT, typename ElementwiseT = ReturnT>
156 std::function<ReturnT(ReturnT)> ConvertUnaryFunction(
158 return [&unary_op](ReturnT arg) {
159 return static_cast<ReturnT>(unary_op(static_cast<ElementwiseT>(arg)));
162 std::function<ReturnT(ReturnT, ReturnT)> ConvertBinaryFunction(
165 return [&binary_op](ReturnT arg1, ReturnT arg2) {
166 return static_cast<ReturnT>(binary_op(static_cast<ElementwiseT>(arg1),
170 std::function<ReturnT(ReturnT, ReturnT, ReturnT)> ConvertTernaryFunction(
173 return [&ternary_op](ReturnT arg1, ReturnT arg2, ReturnT arg3) {
174 return static_cast<ReturnT>(ternary_op(static_cast<ElementwiseT>(arg1),
[all …]
Dhlo_evaluator.h185 template <typename ReturnT, typename ElementwiseT>
331 template <typename ReturnT, typename NativeT>
334 const std::function<ReturnT(NativeT)>& unary_op, in ElementWiseUnaryOpImpl()
342 result.Populate<ReturnT>([&](absl::Span<const int64> multi_index) { in ElementWiseUnaryOpImpl()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dmock_helpers.h62 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
64 static absl::optional<ReturnT> InvokeMockImpl(char, URBG*, Args&&...) {
69 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
71 static absl::optional<ReturnT> InvokeMockImpl(int, URBG* urbg,
74 ReturnT result;
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dmock_helpers.h62 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
64 static absl::optional<ReturnT> InvokeMockImpl(char, URBG*, Args&&...) {
69 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
71 static absl::optional<ReturnT> InvokeMockImpl(int, URBG* urbg,
74 ReturnT result;
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dmock_helpers.h62 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
64 static absl::optional<ReturnT> InvokeMockImpl(char, URBG*, Args&&...) {
69 template <typename KeyT, typename ReturnT, typename ArgTupleT, typename URBG,
71 static absl::optional<ReturnT> InvokeMockImpl(int, URBG* urbg,
74 ReturnT result;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DFunctionExtras.h44 template <typename ReturnT, typename... ParamTs>
45 class unique_function<ReturnT(ParamTs...)> {
74 using CallPtrT = ReturnT (*)(void *CallableAddr,
156 static ReturnT CallImpl(void *CallableAddr, AdjustedParamT<ParamTs>... Params) { in CallImpl()
276 ReturnT operator()(ParamTs... Params) { in operator()
/external/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h162 template <typename ReturnT>
165 DoNothingAndReturn(ReturnT Val) : Val(Val) {} in DoNothingAndReturn()
168 ReturnT operator()(Args...) const { return Val; } in operator()
170 ReturnT Val;
/external/webrtc/rtc_base/
Dthread.h326 class ReturnT,
327 typename = typename std::enable_if<!std::is_void<ReturnT>::value>::type>
328 ReturnT Invoke(const Location& posted_from, FunctionView<ReturnT()> functor) { in Invoke()
329 ReturnT result; in Invoke()
335 class ReturnT,
336 typename = typename std::enable_if<std::is_void<ReturnT>::value>::type>
Dasync_invoker.h97 template <class ReturnT, class FunctorT>
110 template <class ReturnT, class FunctorT>
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dhidl_return_util.h49 typename SupplicantStatusT, typename ReturnT, typename... Args>
52 const std::function<void(const SupplicantStatusT&, ReturnT)>& hidl_cb, in validateAndCall()
64 typename std::remove_reference<ReturnT>::type()); in validateAndCall()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h143 template <typename ReturnT, typename... ParamTs>
144 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
145 : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
/external/llvm-project/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h146 template <typename ReturnT, typename... ParamTs>
147 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
148 : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h269 template <typename ReturnT>
272 DoNothingAndReturn(ReturnT Ret) : Ret(std::move(Ret)) {} in DoNothingAndReturn()
277 ReturnT Ret;
/external/llvm-project/llvm/include/llvm/ADT/
DFunctionExtras.h63 template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
93 using CallPtrT = ReturnT (*)(void *CallableAddr,
192 static ReturnT CallImpl(void *CallableAddr,
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.cc71 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
76 CompleteCallT complete_call, const ReturnT *result, in ScopedTracer()
109 const ReturnT *result_;
113 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
115 ScopedTracer<BeginCallT, CompleteCallT, ReturnT, BeginArgsT...>
117 CompleteCallT complete_call, ReturnT *result, in MakeScopedTracer()
119 return ScopedTracer<BeginCallT, CompleteCallT, ReturnT, BeginArgsT...>( in MakeScopedTracer()
Dstream_executor_pimpl.h57 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
532 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryParameterizedTest.java207 interface ParameterizedFactory<ReturnT, DepT, AssistedDepT> {
209 ReturnT create( in create()
/external/catch2/include/external/
Dclara.hpp393 template<typename ClassT, typename ReturnT, typename... Args>
394 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
398 template<typename ClassT, typename ReturnT, typename ArgT>
399 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
402 using ReturnType = ReturnT;
/external/catch2/third_party/
Dclara.hpp393 template<typename ClassT, typename ReturnT, typename... Args>
394 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
398 template<typename ClassT, typename ReturnT, typename ArgT>
399 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
402 using ReturnType = ReturnT;
/external/catch2/single_include/catch2/
Dcatch.hpp8768 template<typename ClassT, typename ReturnT, typename... Args>
8769 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
8773 template<typename ClassT, typename ReturnT, typename ArgT>
8774 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
8777 using ReturnType = ReturnT;
/external/libabigail/tests/lib/
Dcatch.hpp8823 template<typename ClassT, typename ReturnT, typename... Args>
8824 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
8828 template<typename ClassT, typename ReturnT, typename ArgT>
8829 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
8832 using ReturnType = ReturnT;
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp6569 QualType ReturnT = Methods[b]->getReturnType(); in SelectBestMethod() local
6570 if (ReturnT->isObjCIdType()) in SelectBestMethod()