Home
last modified time | relevance | path

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

/external/libchrome/ipc/
Dipc_channel_common.cc32 const IPC::ChannelHandle& channel_handle, in CreateClient() argument
36 return Channel::Create(channel_handle, Channel::MODE_CLIENT, listener); in CreateClient()
38 DCHECK(channel_handle.is_mojo_channel_handle()); in CreateClient()
40 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateClient()
48 const IPC::ChannelHandle& channel_handle, in CreateServer() argument
52 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener); in CreateServer()
54 DCHECK(channel_handle.is_mojo_channel_handle()); in CreateServer()
56 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateServer()
Dipc_sync_channel_unittest.cc47 mojo::ScopedMessagePipeHandle channel_handle) in Worker() argument
54 channel_handle_(std::move(channel_handle)), in Worker()
64 Worker(mojo::ScopedMessagePipeHandle channel_handle, Channel::Mode mode) in Worker() argument
71 channel_handle_(std::move(channel_handle)), in Worker()
301 mojo::ScopedMessagePipeHandle channel_handle) in SimpleServer() argument
304 std::move(channel_handle)), in SimpleServer()
316 explicit SimpleClient(mojo::ScopedMessagePipeHandle channel_handle) in SimpleClient() argument
319 std::move(channel_handle)) {} in SimpleClient()
355 mojo::ScopedMessagePipeHandle channel_handle) in TwoStepServer() argument
358 std::move(channel_handle)), in TwoStepServer()
[all …]
Dipc_channel.h175 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
180 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
185 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
Dipc_message_utils_unittest.cc102 IPC::ChannelHandle channel_handle(message_pipe.handle0.release()); in TEST() local
105 IPC::WriteParam(&message, channel_handle); in TEST()
110 EXPECT_EQ(channel_handle.mojo_handle, result_handle.mojo_handle); in TEST()
Dipc_channel_proxy.cc395 const IPC::ChannelHandle& channel_handle, in Create() argument
402 channel->Init(channel_handle, mode, true); in Create()
442 void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle, in Init() argument
455 ChannelFactory::Create(channel_handle, mode, context_->ipc_task_runner()), in Init()
Dipc_channel_proxy.h96 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
120 void Init(const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
Dipc_sync_channel.h83 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
Dipc_sync_channel.cc535 const IPC::ChannelHandle& channel_handle, in Create() argument
544 channel->Init(channel_handle, mode, create_pipe_now); in Create()
/external/libchrome/mojo/core/
Dnode_channel.cc349 PlatformHandle channel_handle) { in Introduce() argument
352 if (channel_handle.is_valid()) in Introduce()
353 handles.emplace_back(std::move(channel_handle)); in Introduce()
593 PlatformHandle channel_handle; in OnChannelMessage() local
595 channel_handle = std::move(handles[0]); in OnChannelMessage()
598 std::move(channel_handle)); in OnChannelMessage()
Dnode_channel.h59 PlatformHandle channel_handle) = 0;
129 void Introduce(const ports::NodeName& name, PlatformHandle channel_handle);
Dnode_controller.h213 PlatformHandle channel_handle) override;
Dnode_controller.cc1045 PlatformHandle channel_handle) { in OnIntroduce() argument
1048 if (!channel_handle.is_valid()) { in OnIntroduce()
1059 ConnectionParams(PlatformChannelEndpoint(std::move(channel_handle))), in OnIntroduce()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc258 auto channel_handle = ChannelHandle::get( in CreateSendOp() local
262 loc, token.getType(), operand, token, channel_handle, in CreateSendOp()
279 auto channel_handle = ChannelHandle::get( in CreateRecvOp() local
286 builder.create<RecvOp>(loc, recv_result_type, token, channel_handle, in CreateRecvOp()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc976 xla::ChannelHandle channel_handle; in ConvertChannelHandle() local
977 if (channel_id) channel_handle.set_handle(*channel_id); in ConvertChannelHandle()
978 return ConvertChannelHandle(channel_handle); in ConvertChannelHandle()
Dmlir_hlo_to_hlo.cc277 xla::ChannelHandle channel_handle; in Convert_channel_handle() local
278 channel_handle.set_handle(ConvertAPInt(attr.handle().getValue())); in Convert_channel_handle()
279 channel_handle.set_type(static_cast<xla::ChannelHandle::ChannelType>( in Convert_channel_handle()
281 return channel_handle; in Convert_channel_handle()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md1854 <b> `Recv(shape, channel_handle)` </b>
1859 | `channel_handle` | `ChannelHandle` | unique identifier for each send/recv pair |
2638 <b> `Send(operand, channel_handle)` </b>
2643 `channel_handle` | `ChannelHandle` | unique identifier for each send/recv pair
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dimport.hlotxt51 // CHECK-SAME: channel_handle = {handle = 1 : i64, type = 0 : i64}