Searched refs:fds (Results 76 - 100 of 163) sorted by relevance

1234567

/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_windows.h88 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
H A Dwince_usb.c812 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 Ddarwin_usb.h130 int fds[2]; member in struct:darwin_device_handle_priv
/external/qemu/util/
H A Dosdep.c406 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 Dprocess_util_unittest.cc96 // 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 Dcache_mngr.c318 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 Dcrash_handler_host_linux.cc91 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 Dtsan_platform_linux.cc370 // 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 Dwchar.exp36 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 Dtouch_event_converter_evdev_unittest.cc90 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 Dnacl_helper_linux.cc170 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 Dv4l2_image_processor.h70 std::vector<int> fds; member in struct:content::V4L2ImageProcessor::OutputRecord
/external/iputils/
H A Dtracepath.c69 fd_set fds; local
71 FD_ZERO(&fds);
72 FD_SET(fd, &fds);
75 select(fd+1, &fds, NULL, NULL, &tv);
H A Dtracepath6.c82 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 Dqemu-timer.c308 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 Dpub_tool_libcfile.h92 extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c615 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 Dplatform_channel_utils_posix.cc174 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.h258 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
H A D_netbsd.h295 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
H A D_sunos4.h231 #define _MD_POLL(fds,nfds,timeout) syscall(SYS_poll,fds,nfds,timeout)
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dport.h403 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 Dport.h400 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 DClassDef.java334 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 Dcustom.c584 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));

Completed in 503 milliseconds

1234567