Home
last modified time | relevance | path

Searched refs:read_handles (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/platform/impl/
Dsocket_handle_waiter_posix.cc31 fd_set read_handles; in AwaitSocketsReadable() local
34 FD_ZERO(&read_handles); in AwaitSocketsReadable()
37 FD_SET(handle.fd, &read_handles); in AwaitSocketsReadable()
52 select(max_fd_to_watch, &read_handles, &write_handles, nullptr, &tv); in AwaitSocketsReadable()
65 if (FD_ISSET(handle.get().fd, &read_handles)) { in AwaitSocketsReadable()
/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc259 std::vector<ScopedHandle> read_handles; in TEST() local
260 EXPECT_EQ(MOJO_RESULT_OK, ReadMessageRaw(h0.get(), &bytes, &read_handles, in TEST()
263 EXPECT_EQ(1u, read_handles.size()); in TEST()
264 EXPECT_NE(kInvalidHandleValue, read_handles[0]->value()); in TEST()
267 mp.handle1.reset(MessagePipeHandle(read_handles[0]->value())); in TEST()
269 hv0 = read_handles[0].release().value(); in TEST()
276 read_handles.clear(); in TEST()
278 ReadMessageRaw(mp.handle1.get(), &bytes, &read_handles, in TEST()
281 EXPECT_TRUE(read_handles.empty()); in TEST()