/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 120 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 …]
|
D | hlo_evaluator.h | 185 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/ |
D | mock_helpers.h | 62 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/ |
D | mock_helpers.h | 62 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/ |
D | mock_helpers.h | 62 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/ |
D | FunctionExtras.h | 44 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/ |
D | OrcTestCommon.h | 162 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/ |
D | thread.h | 326 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>
|
D | async_invoker.h | 97 template <class ReturnT, class FunctorT> 110 template <class ReturnT, class FunctorT>
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/ |
D | hidl_return_util.h | 49 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/ |
D | PointerLikeTypeTraits.h | 143 template <typename ReturnT, typename... ParamTs> 144 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)> 145 : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | PointerLikeTypeTraits.h | 146 template <typename ReturnT, typename... ParamTs> 147 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)> 148 : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
|
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | OrcTestCommon.h | 269 template <typename ReturnT> 272 DoNothingAndReturn(ReturnT Ret) : Ret(std::move(Ret)) {} in DoNothingAndReturn() 277 ReturnT Ret;
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | FunctionExtras.h | 63 template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase { 93 using CallPtrT = ReturnT (*)(void *CallableAddr, 192 static ReturnT CallImpl(void *CallableAddr,
|
/external/tensorflow/tensorflow/stream_executor/ |
D | stream_executor_pimpl.cc | 71 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()
|
D | stream_executor_pimpl.h | 57 template <typename BeginCallT, typename CompleteCallT, typename ReturnT, 532 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
|
/external/dagger2/javatests/dagger/functional/assisted/ |
D | AssistedFactoryParameterizedTest.java | 207 interface ParameterizedFactory<ReturnT, DepT, AssistedDepT> { 209 ReturnT create( in create()
|
/external/catch2/include/external/ |
D | clara.hpp | 393 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/ |
D | clara.hpp | 393 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/ |
D | catch.hpp | 8768 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/ |
D | catch.hpp | 8823 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/ |
D | SemaOverload.cpp | 6569 QualType ReturnT = Methods[b]->getReturnType(); in SelectBestMethod() local 6570 if (ReturnT->isObjCIdType()) in SelectBestMethod()
|