HomeSort by relevance Sort by last modified time
    Searched defs:nfds (Results 1 - 21 of 21) sorted by null

  /external/mdnsresponder/mDNSPosix/
ExampleClientApp.c 51 int nfds = 0; local
68 mDNSPosixGetFDSet(m, &nfds, &readfds, &timeout);
71 verbosedebugf("select(%d, %d.%06d)", nfds, timeout.tv_sec, timeout.tv_usec);
72 result = select(nfds, &readfds, NULL, NULL, &timeout);
Identify.c 187 int nfds = 0; local
202 mDNSPosixGetFDSet(m, &nfds, &readfds, &remain);
203 result = select(nfds, &readfds, NULL, NULL, &remain);
Responder.c 715 int nfds = 0; local
732 mDNSPosixGetFDSet(&mDNSStorage, &nfds, &readfds, &timeout);
735 verbosedebugf("select(%d, %d.%06d)", nfds, timeout.tv_sec, timeout.tv_usec);
736 result = select(nfds, &readfds, NULL, NULL, &timeout);
nss_mdns.c 1003 int nfds = dns_sd_fd + 1; local
1016 select (nfds, &readfds, (fd_set*)NULL, (fd_set*)NULL, &tv);
    [all...]
  /external/chromium_org/content/common/gpu/media/
exynos_v4l2_video_device.cc 50 nfds_t nfds; local
55 nfds = 1;
59 pollfds[nfds].fd = device_fd_;
60 pollfds[nfds].events = POLLIN | POLLOUT | POLLERR | POLLPRI;
61 pollfd = nfds;
62 nfds++;
65 if (HANDLE_EINTR(poll(pollfds, nfds, -1)) == -1) {
  /external/chromium_org/third_party/libevent/
devpoll.c 64 int nfds; member in struct:devpollop
169 devpollop->nfds = nfiles;
190 if (max >= devpollop->nfds) {
192 int nfds; local
194 nfds = devpollop->nfds;
195 while (nfds <= max)
196 nfds <<= 1;
198 fds = realloc(devpollop->fds, nfds * sizeof(struct evdevpoll));
204 memset(fds + devpollop->nfds, 0
    [all...]
epoll.c 66 int nfds; member in struct:epollop
147 epollop->nfds = INITIAL_NFILES;
159 if (max >= epollop->nfds) {
161 int nfds; local
163 nfds = epollop->nfds;
164 while (nfds <= max)
165 nfds <<= 1;
167 fds = realloc(epollop->fds, nfds * sizeof(struct evepoll));
173 memset(fds + epollop->nfds, 0
    [all...]
poll.c 58 int nfds; /* Size of event_* */ member in struct:pollop
126 for (i = 0; i < pop->nfds; ++i) {
138 int res, i, j, msec = -1, nfds; local
146 nfds = pop->nfds;
147 res = poll(pop->event_set, nfds, msec);
163 if (res == 0 || nfds == 0)
166 i = random() % nfds;
167 for (j = 0; j < nfds; j++) {
170 if (++i == nfds)
    [all...]
  /external/dhcpcd/
eloop.c 285 nfds_t nfds, i; local
321 nfds = 0;
323 nfds++;
324 if (msecs == -1 && nfds == 0) {
328 if (nfds > fds_len) {
331 fds_len = nfds + 5;
334 nfds = 0;
336 fds[nfds].fd = e->fd;
337 fds[nfds].events = POLLIN;
338 fds[nfds].revents = 0
    [all...]
  /external/ipsec-tools/src/racoon/
schedule.c 333 int nfds = 0; local
340 nfds = 1;
350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
session.c 112 static int nfds = 0; variable
195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
267 nfds = 0;
284 nfds = (nfds > lcconf->sock_admin ? nfds : lcconf->sock_admin);
293 nfds = (nfds > lcconf->sock_pfkey ? nfds : lcconf->sock_pfkey);
300 nfds = (nfds > lcconf->rtsock ? nfds : lcconf->rtsock)
    [all...]
  /external/lldb/source/Core/
ConnectionFileDescriptor.cpp 675 const int nfds = std::max<int>(data_fd, pipe_fd) + 1; local
677 read_fds.resize((nfds/FD_SETSIZE) + 1);
692 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::select (nfds=%i, fds={%i, %i}, NULL, NULL, timeout=%p)...",
693 this, nfds, data_fd, pipe_fd, tv_ptr);
695 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::select (nfds=%i, fds={%i}, NULL, NULL, timeout=%p)...",
696 this, nfds, data_fd, tv_ptr);
699 const int num_set_fds = ::select (nfds, read_fds.data(), NULL, NULL, tv_ptr);
708 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::select (nfds=%i, fds={%i, %i}, NULL, NULL, timeout=%p) => %d, error = %s",
709 this, nfds, data_fd, pipe_fd, tv_ptr, num_set_fds, error.AsCString());
711 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::select (nfds=%i, fds={%i}, NULL, NULL, timeout=%p) => %d, error = %s"
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
nacl_io_demo.c 325 int nfds = larger_int_of(fd1, fd2); local
326 nfds = larger_int_of(nfds, fd3);
333 int rtn = select(nfds + 1, &readfds, NULL, NULL, NULL);
  /external/chromium_org/third_party/libusb/src/libusb/
io.c 1929 POLL_NFDS_TYPE nfds = 0; local
    [all...]
  /external/chromium_org/tools/android/forwarder/
forwarder.cc 199 int nfds = socket1 > socket2 ? socket1 + 1 : socket2 + 1; local
218 if (HANDLE_EINTR(select(nfds, &read_fds, &write_fds, NULL, NULL)) <= 0) {
  /external/libusb/libusb/
io.c 1780 nfds_t nfds = 0; local
    [all...]
  /external/chromium_org/net/tools/epoll_server/
epoll_server.cc 651 int nfds = epoll_wait_impl(epoll_fd_, local
655 VLOG(3) << "nfds=" << nfds;
658 event_recorder_.RecordEpollWaitEvent(timeout_in_ms, nfds);
669 if (nfds > 0) {
670 for (int i = 0; i < nfds; ++i) {
675 } else if (nfds < 0) {
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
evlist.c 328 int nfds = nr_cpus * nr_threads * evlist->nr_entries; local
329 evlist->pollfd = malloc(sizeof(struct pollfd) * nfds);
  /external/lldb/tools/debugserver/source/MacOSX/
MachProcess.cpp 1298 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1; local
    [all...]
  /external/mdnsresponder/mDNSShared/
dnsextd.c 2844 int staticMaxFD, nfds; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 819 milliseconds