Searched defs:nfds (Results 1 - 4 of 4) sorted by relevance

/system/core/debuggerd/
H A Dgetevent.cpp33 static int nfds; variable
69 new_ufds = reinterpret_cast<pollfd*>(realloc(ufds, sizeof(ufds[0]) * (nfds + 1)));
76 device_names, sizeof(device_names[0]) * (nfds + 1)));
82 ufds[nfds].fd = fd;
83 ufds[nfds].events = POLLIN;
84 device_names[nfds] = strdup(device);
85 nfds++;
92 for (i = 1; i < nfds; i++) {
94 int count = nfds - i - 1;
98 nfds
[all...]
/system/connectivity/shill/net/
H A Dsockets.cc131 int Sockets::Select(int nfds, argument
136 return HANDLE_EINTR(select(nfds, readfds, writefds, exceptfds, timeout));
/system/core/toolbox/
H A Dgetevent.c37 static int nfds; variable
363 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
369 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1));
377 printf("add device %d: %s\n", nfds, device);
404 ufds[nfds].fd = fd;
405 ufds[nfds].events = POLLIN;
406 device_names[nfds] = strdup(device);
407 nfds++;
415 for(i = 1; i < nfds; i++) {
417 int count = nfds
[all...]
/system/core/adb/
H A Dsysdeps_win32.cpp664 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { argument
669 for (size_t i = 0; i < nfds; ++i) {
704 for (size_t i = 0; i < nfds; ++i) {

Completed in 229 milliseconds