HomeSort by relevance Sort by last modified time
    Searched refs:nfds (Results 1 - 25 of 32) sorted by null

1 2

  /external/bluetooth/bluez/common/
ppoll.h 7 static inline int compat_ppoll(struct pollfd *fds, nfds_t nfds,
11 return poll(fds, nfds, -1);
13 return poll(fds, nfds, 500);
15 return poll(fds, nfds, timeout->tv_sec * 1000);
  /external/bluetooth/glib/glib/
gpoll.c 62 /* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
95 * @nfds: the number of file descriptors in @fds
124 guint nfds,
127 return poll ((struct pollfd *)fds, nfds, timeout);
139 guint nfds,
206 for (f = fds; f < &fds[nfds]; ++f)
219 recursed_result = poll_rest (FALSE, handles, nhandles, fds, nfds, 0);
224 for (f = fds; f < &fds[nfds]; ++f)
245 recursed_result = poll_rest (FALSE, handles, nhandles, fds, nfds, 0);
256 guint nfds,
    [all...]
gpoll.h 88 guint nfds,
gmain.c 2383 gint nfds, allocated_nfds; local
    [all...]
  /system/core/debuggerd/
getevent.c 17 static int nfds; variable
57 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
63 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1));
69 ufds[nfds].fd = fd;
70 ufds[nfds].events = POLLIN;
71 device_names[nfds] = strdup(device);
72 nfds++;
80 for(i = 1; i < nfds; i++) {
82 int count = nfds - i - 1;
86 nfds--
    [all...]
  /external/ipsec-tools/src/racoon/
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...]
schedule.c 333 int nfds = 0; local
340 nfds = 1;
350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
  /system/core/toolbox/
getevent.c 16 static int nfds; variable
165 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
171 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1));
179 printf("add device %d: %s\n", nfds, device);
199 ufds[nfds].fd = fd;
200 ufds[nfds].events = POLLIN;
201 device_names[nfds] = strdup(device);
202 nfds++;
210 for(i = 1; i < nfds; i++) {
212 int count = nfds - i - 1
    [all...]
  /external/bluetooth/hcidump/src/
hcidump.c 177 int nfds = 0; local
243 fds[nfds].fd = fd;
244 fds[nfds].events = POLLIN;
245 fds[nfds].revents = 0;
246 nfds++;
249 fds[nfds].fd = sock;
250 fds[nfds].events = POLLIN;
251 fds[nfds].revents = 0;
252 nfds++;
255 int i, n = poll(fds, nfds, -1)
747 int err, opt, datagram, nfds = 0; local
    [all...]
  /hardware/ril/libril/
ril_event.cpp 69 static int nfds = 0; variable
144 if (ev->fd+1 == nfds) {
154 nfds = n + 1;
155 dlog("~~~~ nfds = %d ~~~~", nfds);
277 if (ev->fd >= nfds) nfds = ev->fd+1;
278 dlog("~~~~ nfds = %d ~~~~", nfds);
366 n = select(nfds, &rfds, NULL, NULL, ptv)
    [all...]
  /frameworks/base/core/jni/
com_android_internal_os_ZygoteInit.cpp 274 int nfds = 0; local
290 if (fd >= nfds) {
291 nfds = fd + 1;
297 err = select (nfds, &fdset, NULL, NULL, NULL);
  /external/kernel-headers/original/linux/
poll.h 115 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
  /external/strace/
desc.c 407 int i, j, nfds; local
426 nfds = args[0];
427 tprintf("%d", nfds);
443 for (j = 0, sep = ""; j < nfds; j++) {
477 if ((nfds = tcp->u_rval) == 0) {
511 nfds--;
516 if (nfds == 0)
stream.c 302 unsigned nfds; local
309 nfds = tcp->u_arg[1];
310 size = sizeof(fds) * nfds;
313 if (nfds == 0 || size / sizeof(fds) != nfds || end < start) {
315 tcp->u_arg[0], nfds, tcp->u_arg[2]);
353 tprintf(", %d, ", nfds);
  /external/opencore/oscl/oscl/osclio/src/
oscl_socket_serv_imp_pv.cpp 824 //set Nfds to 1+maxsocket handle.
828 LOGSERV((0, "OsclSocketServI::ProcessSocketRequests NFDS %d", aNfds));
863 int nfds; local
865 ProcessSocketRequests(nhandles, nfds);
1030 int nfds; local
1036 ProcessSocketRequests(nhandles, nfds);
1039 if (nfds > 1)
1057 OsclSocketSelect(nfds, iReadset, iWriteset, iExceptset, timeout, ok, iServError, nhandles);
    [all...]
oscl_socket_imp_serv.cpp 97 int nfds = iSocket + 1; local
100 OsclSocketSelect(nfds, readset, writeset, exceptset, timeout, ok, serverr, nhandles);
  /system/bluetooth/tools/
asocket_test.c 79 static void print_fds(struct pollfd *ufds, nfds_t nfds) {
81 for (i=0; i<nfds; i++)
297 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) {
302 print_fds(ufds, nfds);
304 ret = poll(ufds, nfds, timeout);
308 for (i=0; i<nfds; i++) {
socktest.c 78 static void print_fds(struct pollfd *ufds, nfds_t nfds) {
80 for (i=0; i<nfds; i++)
311 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) {
316 print_fds(ufds, nfds);
318 ret = poll(ufds, nfds, timeout);
322 for (i=0; i<nfds; i++) {
pipetest.c 55 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) {
59 ret = poll(ufds, nfds, timeout);
63 for (i=0; i<nfds; i++) {
  /external/dhcpcd/
client.c 754 int i, r, nfds = 0, msecs = -1; local
764 fds[nfds].fd = state->signal_fd;
765 fds[nfds].events = POLLIN;
766 nfds++;
769 fds[nfds].fd = iface->link_fd;
770 fds[nfds].events = POLLIN;
771 nfds++;
793 fds[nfds].fd = iface->raw_fd;
794 fds[nfds].events = POLLIN;
795 nfds++
    [all...]
  /external/opencore/oscl/oscl/config/android/
osclconfig_io.h 195 #define OsclSocketSelect(nfds,rd,wr,ex,timeout,ok,err,nhandles)\
196 nhandles=select(nfds,&rd,&wr,&ex,&timeout);\
  /external/opencore/oscl/oscl/config/linux/
osclconfig_io.h 181 #define OsclSocketSelect(nfds,rd,wr,ex,timeout,ok,err,nhandles)\
182 nhandles=select(nfds,&rd,&wr,&ex,&timeout);\
  /external/qemu/slirp-android/
slirp.c 266 #define UPD_NFDS(x) if (nfds < (x)) nfds = (x)
298 int nfds; local
306 nfds = *pnfds;
452 proxy_manager_select_fill(&nfds, readfds, writefds, xfds);
454 *pnfds = nfds;
  /external/qemu/slirp/
slirp.c 214 #define UPD_NFDS(x) if (nfds < (x)) nfds = (x)
246 int nfds; local
254 nfds = *pnfds;
388 *pnfds = nfds;
  /external/ppp/pppd/
tty.c 979 int n, nfds; local
1080 nfds = (ofd > pty_master? ofd: pty_master) + 1;
1111 if (select(nfds, &ready, &writey, NULL, top) < 0) {
    [all...]

Completed in 1038 milliseconds

1 2