Home
last modified time | relevance | path

Searched refs:server_handle (Results 1 – 6 of 6) sorted by relevance

/external/libmojo/mojo/edk/embedder/
Dplatform_channel_pair_posix_unittest.cc68 ScopedPlatformHandle server_handle = channel_pair.PassServerHandle(); in TEST_F() local
82 read(server_handle.get().handle, buffer, sizeof(buffer))); in TEST_F()
86 ssize_t result = read(server_handle.get().handle, buffer, sizeof(buffer)); in TEST_F()
93 result = PlatformChannelWrite(server_handle.get(), kHello, sizeof(kHello)); in TEST_F()
101 result = PlatformChannelWritev(server_handle.get(), iov, 2); in TEST_F()
109 ScopedPlatformHandle server_handle = channel_pair.PassServerHandle(); in TEST_F() local
116 PlatformChannelWrite(server_handle.get(), send_string.data(), in TEST_F()
138 ScopedPlatformHandle server_handle = channel_pair.PassServerHandle(); in TEST_F() local
168 PlatformChannelSendmsgWithHandles(server_handle.get(), &iov, 1, in TEST_F()
204 ScopedPlatformHandle server_handle = channel_pair.PassServerHandle(); in TEST_F() local
[all …]
Dplatform_channel_utils_posix.cc249 bool ServerAcceptConnection(PlatformHandle server_handle, in ServerAcceptConnection() argument
252 DCHECK(server_handle.is_valid()); in ServerAcceptConnection()
259 PlatformHandle(HANDLE_EINTR(accept(server_handle.handle, NULL, 0)))); in ServerAcceptConnection()
Dplatform_channel_utils_posix.h80 PlatformHandle server_handle,
/external/libmojo/mojo/edk/test/
Dmultiprocess_test_helper.cc142 ScopedPlatformHandle server_handle; in StartChildWithExtraSwitch() local
144 server_handle = channel.PassServerHandle(); in StartChildWithExtraSwitch()
147 server_handle = CreateServerHandle(named_pipe); in StartChildWithExtraSwitch()
160 pipe = ConnectToPeerProcess(std::move(server_handle), peer_token_); in StartChildWithExtraSwitch()
170 DCHECK(server_handle.is_valid()); in StartChildWithExtraSwitch()
172 ConnectionParams(std::move(server_handle)), in StartChildWithExtraSwitch()
/external/libmojo/mojo/edk/system/
Dmessage_pipe_perftest.cc139 MojoHandle server_handle, client_handle; in TEST_F() local
140 CreateMessagePipe(&server_handle, &client_handle); in TEST_F()
148 RunPingPongServer(server_handle); in TEST_F()
Dnode_controller.cc402 ScopedPlatformHandle server_handle = node_channel.PassServerHandle(); in ConnectToChildOnIOThread() local
413 server_handle = named_channel.PassServerHandle(); in ConnectToChildOnIOThread()
421 NodeChannel::Create(this, ConnectionParams(std::move(server_handle)), in ConnectToChildOnIOThread()