Home
last modified time | relevance | path

Searched refs:poll_fd (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/libusb/src/libusb/os/
Dpoll_windows.c71 struct winfd poll_fd[MAX_FDS]; variable
109 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
110 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { in cancel_io()
113 if (poll_fd[_index].itransfer && poll_fd[_index].cancel_fn) { in cancel_io()
115 (*poll_fd[_index].cancel_fn)(poll_fd[_index].itransfer); in cancel_io()
119 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped); in cancel_io()
122 return CancelIo(poll_fd[_index].handle); in cancel_io()
140 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
141 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { in cancel_io()
144 if (poll_fd[_index].itransfer && poll_fd[_index].cancel_fn) { in cancel_io()
[all …]
/external/chromium_org/ui/events/platform/x11/
Dx11_event_source_glib.cc18 GPollFD* poll_fd; member
76 glib_x_source->poll_fd = x_poll_.get(); in InitXSource()
/external/chromium_org/net/socket/
Dunix_domain_listen_socket_posix_unittest.cc329 struct pollfd poll_fd; in TEST_F() local
330 poll_fd.fd = sock; in TEST_F()
331 poll_fd.events = POLLIN; in TEST_F()
332 poll(&poll_fd, 1, -1 /* rely on GTest for timeout handling */); in TEST_F()
/external/chromium_org/sandbox/linux/tests/
Dunit_tests.cc191 struct pollfd poll_fd = {fds[0], POLLIN | POLLRDHUP, 0}; in RunTestInProcess() local
197 while ((poll_ret = poll(&poll_fd, 1, poll_timeout) > 0)) { in RunTestInProcess()
/external/chromium_org/components/crash/app/
Dbreakpad_linux.cc1039 struct kernel_pollfd poll_fd; in WaitForCrashReportUploadProcess() local
1040 poll_fd.fd = fd; in WaitForCrashReportUploadProcess()
1041 poll_fd.events = POLLIN | POLLPRI | POLLERR; in WaitForCrashReportUploadProcess()
1042 int ret = sys_poll(&poll_fd, 1, 500); in WaitForCrashReportUploadProcess()