Home
last modified time | relevance | path

Searched refs:channel_handle (Results 1 – 15 of 15) 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_nacl.cc130 ChannelNacl::ChannelNacl(const IPC::ChannelHandle& channel_handle, in ChannelNacl() argument
138 if (!CreatePipe(channel_handle)) { in ChannelNacl()
250 const IPC::ChannelHandle& channel_handle) { in CreatePipe() argument
260 if (channel_handle.socket.fd == -1) { in CreatePipe()
264 pipe_ = channel_handle.socket.fd; in CreatePipe()
390 const IPC::ChannelHandle& channel_handle, in Create() argument
393 return std::make_unique<ChannelNacl>(channel_handle, mode, listener); in Create()
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_channel_nacl.h40 ChannelNacl(const IPC::ChannelHandle& channel_handle,
57 bool CreatePipe(const IPC::ChannelHandle& channel_handle);
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.cc1048 PlatformHandle channel_handle) { in OnIntroduce() argument
1051 if (!channel_handle.is_valid()) { in OnIntroduce()
1062 ConnectionParams(PlatformChannelEndpoint(std::move(channel_handle))), in OnIntroduce()
Dnode_controller.h213 PlatformHandle channel_handle) override;
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md1628 <b> `Recv(shape, channel_handle)` </b>
1633 | `channel_handle` | `ChannelHandle` | unique identifier for each send/recv pair |
2352 <b> `Send(operand, channel_handle)` </b>
2357 `channel_handle` | `ChannelHandle` | unique identifier for each send/recv pair