Home
last modified time | relevance | path

Searched refs:nfds (Results 1 – 9 of 9) sorted by relevance

/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_event.cpp69 static int nfds = 0; variable
142 if (ev->fd+1 == nfds) { in removeWatch()
152 nfds = n + 1; in removeWatch()
153 dlog("~~~~ nfds = %d ~~~~", nfds); in removeWatch()
276 if (ev->fd >= nfds) nfds = ev->fd+1; in ril_event_add()
277 dlog("~~~~ nfds = %d ~~~~", nfds); in ril_event_add()
366 n = select(nfds, &rfds, NULL, NULL, ptv); in ril_event_loop()
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dwaiter.c42 int nfds; member
64 ps->nfds = 0; in pollset_reset()
70 pfd[ps->nfds].fd = fd; in pollset_add_fd()
71 pfd[ps->nfds].events = POLLERR | POLLIN; in pollset_add_fd()
72 ps->nfds++; in pollset_add_fd()
81 rc = poll(pfd, ps->nfds, ms); in pollset_wait()
86 for (i = 0; i < ps->nfds; ++i) { in pollset_wait()
/device/linaro/dragonboard/shared/utils/tqftpserv/
Dtqftpserv.c493 int nfds; in main() local
513 nfds = fd; in main()
517 nfds = MAX(nfds, client->sock); in main()
522 nfds = MAX(nfds, client->sock); in main()
525 ret = select(nfds + 1, &rfds, NULL, NULL, NULL); in main()
/device/generic/goldfish/camera/
DCachedStreamBuffer.cpp56 const size_t nfds = nh.fds.size(); in importAidlNativeHandleFence() local
60 switch (nfds) { in importAidlNativeHandleFence()
76 "be one", nfds); in importAidlNativeHandleFence()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp394 int nfds = 1; in ResetPollFds() local
398 nfds++; in ResetPollFds()
400 return nfds; in ResetPollFds()
/device/linaro/dragonboard/shared/utils/rmtfs/
Drmtfs.c430 int nfds; in run_rmtfs() local
466 nfds = MAX(rmtfs_fd, rprocfd) + 1; in run_rmtfs()
468 ret = select(nfds, &rfds, NULL, NULL, NULL); in run_rmtfs()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp116 int nfds = stop == nullptr ? 2 : 3; in CopyFrom() local
133 int res = poll(pollfds, nfds, -1 /* indefinitely */); in CopyFrom()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all6106 mpqemu_send_io_error(int cmd, int size, int nfds) "send command %d size %d, %d file descriptors to …
6107 mpqemu_recv_io_error(int cmd, int size, int nfds) "failed to receive %d size %d, %d file descriptor…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all6106 mpqemu_send_io_error(int cmd, int size, int nfds) "send command %d size %d, %d file descriptors to …
6107 mpqemu_recv_io_error(int cmd, int size, int nfds) "failed to receive %d size %d, %d file descriptor…