/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | message_handler.h | 25 class MessageHandler { 27 MessageHandler() = default; 28 virtual ~MessageHandler() = default;
|
D | communicator_base.h | 66 using MessageCallback = std::function<void(std::shared_ptr<MessageHandler>)>; 83 …bool SendResponse(const void *rsp_data, size_t rsp_len, const std::shared_ptr<MessageHandler> &msg…
|
D | communicator_base.cc | 29 const std::shared_ptr<MessageHandler> &msg_handler) { in SendResponse()
|
D | http_msg_handler.h | 28 class HttpMsgHandler : public MessageHandler {
|
D | tcp_msg_handler.h | 29 class TcpMsgHandler : public MessageHandler {
|
/third_party/flutter/flutter/packages/flutter/lib/src/services/ |
D | binary_messenger.dart | 12 typedef MessageHandler = Future<ByteData> Function(ByteData message); 69 static final Map<String, MessageHandler> _handlers = 70 <String, MessageHandler>{}; 74 static final Map<String, MessageHandler> _mockHandlers = 75 <String, MessageHandler>{}; 108 final MessageHandler handler = _handlers[channel]; 126 final MessageHandler handler = _mockHandlers[channel]; 133 void setMessageHandler(String channel, MessageHandler handler) { 141 void setMockMessageHandler(String channel, MessageHandler handler) {
|
/third_party/mindspore/mindspore/ccsrc/fl/server/ |
D | iteration.h | 158 void HandleSyncIterationRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 166 …void HandleNotifyLeaderMoveToNextIterRequest(const std::shared_ptr<ps::core::MessageHandler> &mess… 170 void HandlePrepareForNextIterRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 176 void HandleMoveToNextIterRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 182 void HandleEndLastIterRequest(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | server.h | 142 void HandleEnableServerRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 143 void HandleDisableServerRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 146 void HandleNewInstanceRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 149 void HandleQueryInstanceRequest(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | round.h | 54 void LaunchRoundKernel(const std::shared_ptr<ps::core::MessageHandler> &message); 66 void OnFirstCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message); 67 void OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | distributed_count_service.h | 94 void HandleCountRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 98 void HandleCountReachThresholdRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 102 void HandleCounterEvent(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | round.cc | 43 communicator_->RegisterMsgCallBack(name_, [&](std::shared_ptr<ps::core::MessageHandler> message) { in Initialize() 128 void Round::LaunchRoundKernel(const std::shared_ptr<ps::core::MessageHandler> &message) { in LaunchRoundKernel() 187 void Round::OnFirstCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message) { in OnFirstCountEvent() 201 void Round::OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message) { in OnLastCountEvent()
|
D | distributed_metadata_store.h | 83 void HandleUpdateMetadataRequest(const std::shared_ptr<ps::core::MessageHandler> &message); 86 void HandleGetMetadataRequest(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | distributed_count_service.cc | 191 void DistributedCountService::HandleCountRequest(const std::shared_ptr<ps::core::MessageHandler> &m… in HandleCountRequest() 249 const std::shared_ptr<ps::core::MessageHandler> &message) { in HandleCountReachThresholdRequest() 271 void DistributedCountService::HandleCounterEvent(const std::shared_ptr<ps::core::MessageHandler> &m… in HandleCounterEvent()
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/ |
D | BasicMessageChannel.java | 100 public void setMessageHandler(@Nullable final MessageHandler<T> handler) { in setMessageHandler() 108 public interface MessageHandler<T> { interface in BasicMessageChannel 162 private final MessageHandler<T> handler; 164 private IncomingMessageHandler(@NonNull MessageHandler<T> handler) { in IncomingMessageHandler()
|
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/ |
D | round_kernel.h | 71 virtual void OnFirstCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message); 72 virtual void OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message);
|
D | reconstruct_secrets_kernel.cc | 31 auto last_cnt_handler = [&](std::shared_ptr<ps::core::MessageHandler>) { in InitKernel() argument 39 auto first_cnt_handler = [&](std::shared_ptr<ps::core::MessageHandler>) { return; }; in InitKernel() argument 118 void ReconstructSecretsKernel::OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &) { in OnLastCountEvent() argument
|
D | round_kernel.cc | 64 void RoundKernel::OnFirstCountEvent(const std::shared_ptr<ps::core::MessageHandler> &) { return; } in OnFirstCountEvent() argument 66 void RoundKernel::OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &) { return; } in OnLastCountEvent() argument
|
D | reconstruct_secrets_kernel.h | 42 void OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message) override;
|
D | push_metrics_kernel.h | 42 void OnLastCountEvent(const std::shared_ptr<ps::core::MessageHandler> &message) override;
|
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/ |
D | basic_message_channel.h | 27 using MessageHandler = variable 64 void SetMessageHandler(MessageHandler<T> handler) const { in SetMessageHandler()
|
/third_party/flutter/flutter/examples/flutter_view/android/app/src/main/java/com/example/view/ |
D | MainActivity.java | 11 import io.flutter.plugin.common.BasicMessageChannel.MessageHandler; 71 setMessageHandler(new MessageHandler<String>() { in onCreate()
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/ |
D | AccessibilityChannel.java | 31 …private final BasicMessageChannel.MessageHandler<Object> parsingMessageHandler = new BasicMessageC…
|
/third_party/mindspore/mindspore/core/mindrt/include/async/ |
D | async.h | 32 using MessageHandler = std::function<void(ActorBase *)>; variable 36 explicit MessageAsync(MessageHandler &&h) : MessageBase("Async", Type::KASYNC), handler(h) {} in MessageAsync() 41 MessageHandler handler; 69 MessageHandler handler = [=](ActorBase *) { promise->Associate(f()); };
|
/third_party/flutter/engine/flutter/shell/platform/windows/ |
D | win32_window.cc | 99 return that->MessageHandler(window, message, wparam, lparam); in WndProc() 106 Win32Window::MessageHandler(HWND hwnd, in MessageHandler() function in flutter::Win32Window
|
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/ |
D | fed_avg_kernel.h | 78 first_cnt_handler_ = [&](std::shared_ptr<ps::core::MessageHandler>) { in InitKernel() 84 last_cnt_handler_ = [&](std::shared_ptr<ps::core::MessageHandler>) { in InitKernel()
|