Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dasyncinvoker.h76 template <class ReturnT, class FunctorT>
85 template <class ReturnT, class FunctorT>
96 template <class ReturnT, class FunctorT, class HostT>
99 void (HostT::*callback)(ReturnT),
103 new RefCountedObject<NotifyingAsyncClosure<ReturnT, FunctorT, HostT> >(
110 template <class ReturnT, class FunctorT, class HostT>
165 template <class ReturnT, class FunctorT>
170 invoker_.AsyncInvoke<ReturnT, FunctorT>(thread_, functor, id);
176 template <class ReturnT, class FunctorT>
183 invoker_.AsyncInvokeDelayed<ReturnT, FunctorT>(thread_, functor, delay_ms,
[all …]
Dmessagehandler.h38 template <class ReturnT, class FunctorT>
46 const ReturnT& result() const { return result_; } in result()
50 ReturnT result_;
54 template <class ReturnT, class FunctorT>
55 class FunctorMessageHandler<class rtc::scoped_ptr<ReturnT>, FunctorT>
60 rtc::scoped_ptr<ReturnT> result() { return std::move(result_); } in result()
64 rtc::scoped_ptr<ReturnT> result_;
Dasyncinvoker-inl.h79 template <class ReturnT, class FunctorT, class HostT>
85 void (HostT::*callback)(ReturnT), in NotifyingAsyncClosure() argument
92 ReturnT result = functor_(); in Execute()
101 void (HostT::*callback_)(ReturnT);
Dthread.h158 template <class ReturnT, class FunctorT>
159 ReturnT Invoke(const FunctorT& functor) { in Invoke()
161 FunctorMessageHandler<ReturnT, FunctorT> handler(functor); in Invoke()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h87 template <typename ReturnT, typename ElementwiseT = ReturnT>
123 std::function<ReturnT(ReturnT)> ConvertUnaryFunction( in ConvertUnaryFunction()
125 return [&unary_op](ReturnT arg) { in ConvertUnaryFunction()
126 return static_cast<ReturnT>(unary_op(static_cast<ElementwiseT>(arg))); in ConvertUnaryFunction()
129 std::function<ReturnT(ReturnT, ReturnT)> ConvertBinaryFunction( in ConvertBinaryFunction()
132 return [&binary_op](ReturnT arg1, ReturnT arg2) { in ConvertBinaryFunction()
133 return static_cast<ReturnT>(binary_op(static_cast<ElementwiseT>(arg1), in ConvertBinaryFunction()
137 std::function<ReturnT(ReturnT, ReturnT, ReturnT)> ConvertTernaryFunction( in ConvertTernaryFunction()
140 return [&ternary_op](ReturnT arg1, ReturnT arg2, ReturnT arg3) { in ConvertTernaryFunction()
141 return static_cast<ReturnT>(ternary_op(static_cast<ElementwiseT>(arg1), in ConvertTernaryFunction()
[all …]
Dhlo_evaluator.h171 template <typename ReturnT, typename ElementwiseT>
307 template <typename ReturnT, typename NativeT>
310 const std::function<ReturnT(NativeT)>& unary_op, in ElementWiseUnaryOpImpl()
318 result.Populate<ReturnT>([&](absl::Span<const int64> multi_index) { in ElementWiseUnaryOpImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DFunctionExtras.h45 template <typename ReturnT, typename... ParamTs>
46 class unique_function<ReturnT(ParamTs...)> {
75 using CallPtrT = ReturnT (*)(void *CallableAddr,
157 static ReturnT CallImpl(void *CallableAddr, AdjustedParamT<ParamTs>... Params) { in CallImpl()
277 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/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_return_util.h47 template <typename ObjT, typename WorkFuncT, typename ReturnT, typename... Args>
50 const std::function<void(const SupplicantStatus&, ReturnT)>& hidl_cb, in validateAndCall()
62 typename std::remove_reference<ReturnT>::type()); in validateAndCall()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h144 template <typename ReturnT, typename... ParamTs>
145 struct PointerLikeTypeTraits<ReturnT (*)(ParamTs...)>
146 : FunctionPointerLikeTypeTraits<4, ReturnT (*)(ParamTs...)> {};
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h226 template <typename ReturnT>
229 DoNothingAndReturn(ReturnT Ret) : Ret(std::move(Ret)) {} in DoNothingAndReturn()
234 ReturnT Ret;
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.cc99 typename ReturnT, typename... BeginArgsT>
103 CompleteCallT complete_call, const ReturnT *result, in ScopedTracer()
136 const ReturnT* result_;
140 template <typename BeginCallT, typename CompleteCallT, typename ReturnT,
142 ScopedTracer<BeginCallT, CompleteCallT, ReturnT, BeginArgsT...>
144 CompleteCallT complete_call, ReturnT *result, in MakeScopedTracer()
146 return ScopedTracer<BeginCallT, CompleteCallT, ReturnT, BeginArgsT...>( in MakeScopedTracer()
Dstream_executor_pimpl.h56 typename ReturnT, typename... BeginArgsT>
494 typename ReturnT, typename... BeginArgsT>
/external/catch2/include/external/
Dclara.hpp390 template<typename ClassT, typename ReturnT, typename... Args>
391 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
395 template<typename ClassT, typename ReturnT, typename ArgT>
396 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
399 using ReturnType = ReturnT;
/external/catch2/third_party/
Dclara.hpp390 template<typename ClassT, typename ReturnT, typename... Args>
391 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
395 template<typename ClassT, typename ReturnT, typename ArgT>
396 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
399 using ReturnType = ReturnT;
/external/catch2/single_include/catch2/
Dcatch.hpp6895 template<typename ClassT, typename ReturnT, typename... Args>
6896 struct UnaryLambdaTraits<ReturnT( ClassT::* )( Args... ) const> {
6900 template<typename ClassT, typename ReturnT, typename ArgT>
6901 struct UnaryLambdaTraits<ReturnT( ClassT::* )( ArgT ) const> {
6904 using ReturnType = ReturnT;
/external/clang/lib/Sema/
DSemaOverload.cpp5937 QualType ReturnT = Methods[b]->getReturnType(); in SelectBestMethod() local
5938 if (ReturnT->isObjCIdType()) in SelectBestMethod()