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

  /external/valgrind/memcheck/tests/
badpoll.c 12 struct pollfd* ufds = malloc(2 * sizeof(struct pollfd) - 1); local
13 assert(ufds);
15 ufds[0].fd = 0;
16 ufds[0].events = 0;
17 //ufds[1].fd = 0; // leave undefined so we get another error.
18 ufds[1].events = 0;
21 // but not the undefined value error due to ufds[1].fd not being defined.
22 poll(ufds, 2, 200);
  /system/core/debuggerd/
getevent.cpp 31 static struct pollfd* ufds; variable in typeref:struct:pollfd
69 new_ufds = reinterpret_cast<pollfd*>(realloc(ufds, sizeof(ufds[0]) * (nfds + 1)));
74 ufds = new_ufds;
82 ufds[nfds].fd = fd;
83 ufds[nfds].events = POLLIN;
97 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
170 ufds = reinterpret_cast<pollfd*>(calloc(1, sizeof(ufds[0])))
    [all...]
  /external/selinux/policycoreutils/mcstrans/src/
mcstransd.c 267 add_pollfd(struct pollfd **ufds, int *nfds, int connfd)
273 if ((*ufds)[ii].fd == -1)
278 struct pollfd *tmp = (struct pollfd *)realloc(*ufds,
285 *ufds = tmp;
289 (*ufds)[ii].fd = connfd;
290 (*ufds)[ii].events = POLLIN|POLLPRI;
291 (*ufds)[ii].revents = 0;
297 adj_pollfds(struct pollfd **ufds, int *nfds)
303 if ((*ufds)[ii].fd != -1) {
305 (*ufds)[jj] = (*ufds)[ii]
392 struct pollfd *ufds = (struct pollfd *)malloc(sizeof(struct pollfd)); local
    [all...]
  /system/core/init/
property_service.cpp 242 struct pollfd ufds[1]; local
257 ufds[0].fd = s;
258 ufds[0].events = POLLIN;
259 ufds[0].revents = 0;
260 nr = TEMP_FAILURE_RETRY(poll(ufds, 1, timeout_ms));
  /system/core/toolbox/
getevent.c 35 static struct pollfd *ufds; variable in typeref:struct:pollfd
363 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
368 ufds = new_ufds;
404 ufds[nfds].fd = fd;
405 ufds[nfds].events = POLLIN;
422 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
612 ufds = calloc(1, sizeof(ufds[0]))
    [all...]
  /external/curl/lib/
multi.c 805 struct pollfd *ufds = NULL; local
846 ufds = malloc(nfds * sizeof(struct pollfd));
847 if(!ufds)
865 ufds[nfds].fd = sockbunch[i];
866 ufds[nfds].events = POLLIN;
871 ufds[nfds].fd = sockbunch[i];
872 ufds[nfds].events = POLLOUT;
887 ufds[nfds].fd = extra_fds[i].fd;
888 ufds[nfds].events = 0;
890 ufds[nfds].events |= POLLIN
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-linux.c 1299 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
1326 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
    [all...]
syswrap-generic.c 4095 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
4115 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
    [all...]
syswrap-solaris.c 7301 struct vki_pollfd *ufds = (struct vki_pollfd *)ARG1; local
7327 vki_pollfd_t *ufds = (vki_pollfd_t*)ARG1; local
    [all...]

Completed in 296 milliseconds