/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | poll_windows.h | 88 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
|
H A D | wince_usb.c | 812 struct pollfd *fds, POLL_NFDS_TYPE nfds, int num_ready) 823 usbi_dbg("checking fd %d with revents = %04x", fds[i].fd, fds[i].revents); 825 if (!fds[i].revents) { 836 if (transfer_priv->pollable_fd.fd == fds[i].fd) { 852 usbi_err(ctx, "matching transfer for fd %x has not completed", fds[i]); 855 usbi_err(ctx, "could not find a matching transfer for fd %x", fds[i]); 810 wince_handle_events( struct libusb_context *ctx, struct pollfd *fds, POLL_NFDS_TYPE nfds, int num_ready) argument
|
/external/libusb/libusb/os/ |
H A D | darwin_usb.h | 130 int fds[2]; member in struct:darwin_device_handle_priv
|
/external/qemu/util/ |
H A D | osdep.c | 406 FILE *fds = fopen("/proc/sys/crypto/fips_enabled", "r"); local 407 if (fds != NULL) { 408 fips_enabled = (fgetc(fds) == '1'); 409 fclose(fds);
|
/external/chromium_org/base/process/ |
H A D | process_util_unittest.cc | 96 // libraries closing the fds, child deadlocking). This is a simple 568 int fds[2]; local 569 if (pipe(fds) < 0) 573 fd_mapping_vec.push_back(std::pair<int, int>(fds[1], kChildPipe)); 579 int ret = IGNORE_EINTR(close(fds[1])); 585 HANDLE_EINTR(read(fds[0], &num_open_files, sizeof(num_open_files))); 595 ret = IGNORE_EINTR(close(fds[0])); 612 // open some dummy fds to make sure they don't propagate over to the 639 int fds[2]; local 640 PCHECK(pipe(fds) [all...] |
/external/libnl/lib/ |
H A D | cache_mngr.c | 318 struct pollfd fds = { local 323 NL_DBG(3, "Cache manager %p, poll() fd %d\n", mngr, fds.fd); 324 ret = poll(&fds, 1, timeout);
|
/external/chromium_org/components/crash/browser/ |
H A D | crash_handler_host_linux.cc | 91 int fds[2]; local 98 CHECK_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 102 CHECK_EQ(0, setsockopt(fds[1], SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))); 104 process_socket_ = fds[0]; 105 browser_socket_ = fds[1];
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_linux.cc | 370 // This is required to properly "close" the fds, because we do not see internal 372 int ExtractResolvFDs(void *state, int *fds, int nfd) { argument 378 fds[cnt++] = statp->_u._ext.nssocks[i]; 387 // This is requried to properly handle "open" of these fds. 389 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { argument 396 int n = (cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(fds[0]); 398 fds[res++] = ((int*)CMSG_DATA(cmsg))[i];
|
/external/ltrace/testsuite/ltrace.minor/ |
H A D | wchar.exp | 36 int fds[2]; 37 pipe (fds); 38 rd_stream = fdopen (fds[0], "r"); 39 wr_stream = fdopen (fds[1], "w"); 40 wr_stream_2 = fdopen (fds[1], "w");
|
/external/chromium_org/ui/events/ozone/evdev/ |
H A D | touch_event_converter_evdev_unittest.cc | 90 int fds[2]; local 92 if (pipe(fds)) 95 DCHECK(SetNonBlocking(fds[0]) == 0) 97 DCHECK(SetNonBlocking(fds[1]) == 0) 99 read_pipe_ = fds[0]; 100 write_pipe_ = fds[1];
|
/external/chromium_org/components/nacl/loader/ |
H A D | nacl_helper_linux.cc | 170 LOG(ERROR) << "nacl_helper: unexpected number of fds, got " 192 // looking for the child's pid in /proc. Also close other fds. 275 ScopedVector<base::ScopedFD> fds; local 278 &buf, sizeof(buf), &fds); 304 fds.Pass(),
|
/external/chromium_org/content/common/gpu/media/ |
H A D | v4l2_image_processor.h | 70 std::vector<int> fds; member in struct:content::V4L2ImageProcessor::OutputRecord
|
/external/iputils/ |
H A D | tracepath.c | 69 fd_set fds; local 71 FD_ZERO(&fds); 72 FD_SET(fd, &fds); 75 select(fd+1, &fds, NULL, NULL, &tv);
|
H A D | tracepath6.c | 82 fd_set fds; local 84 FD_ZERO(&fds); 85 FD_SET(fd, &fds); 88 select(fd+1, &fds, NULL, NULL, &tv);
|
/external/qemu/ |
H A D | qemu-timer.c | 308 int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout) argument 312 return ppoll((struct pollfd *)fds, nfds, NULL, NULL); 317 return ppoll((struct pollfd *)fds, nfds, &ts, NULL); 320 return g_poll(fds, nfds, qemu_timeout_ns_to_ms(timeout));
|
/external/valgrind/main/include/ |
H A D | pub_tool_libcfile.h | 92 extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | userial_linux.c | 615 struct pollfd fds[2]; local 628 fds[0].fd = fd; 629 fds[0].events = POLLIN | POLLERR | POLLRDNORM; 630 fds[0].revents = 0; 632 create_signal_fds(&fds[1]); 633 fds[1].events = POLLIN | POLLERR | POLLRDNORM; 634 fds[1].revents = 0; 636 n = poll(fds, 2, _timeout); 652 if (is_signaled(&fds[1]))
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_channel_utils_posix.cc | 174 const int* fds = reinterpret_cast<int*>(CMSG_DATA(cmsg)); local 176 platform_handles->push_back(PlatformHandle(fds[i]));
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
H A D | _freebsd.h | 258 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
|
H A D | _netbsd.h | 295 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
|
H A D | _sunos4.h | 231 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | port.h | 403 inline int poll(struct pollfd* fds, int nfds, int timeout) { argument 404 assert(fds == NULL);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | port.h | 400 inline int poll(struct pollfd* fds, int nfds, int timeout) { argument 401 assert(fds == NULL);
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | ClassDef.java | 334 final FieldDescriptor [] fds = new FieldDescriptor [fields.size ()]; 337 for (int f = 0, fLimit = fds.length; f < fLimit; ++ f) 344 fds [fcount ++] = new FieldDescriptor (field.getName (this), modifiers, field.getDescriptor (this)); 349 Arrays.sort (fds, 0, fcount); 352 final FieldDescriptor fd = fds [i];
|
/external/compiler-rt/test/dfsan/ |
H A D | custom.c | 584 fd_set fds; local 586 FD_SET(0, &fds); 587 dfsan_set_label(i_label, &fds, sizeof(fds)); 589 int ret = select(1, &fds, NULL, NULL, &t); 592 ASSERT_READ_ZERO_LABEL(&fds, sizeof(fds));
|