Searched refs:ufds (Results 1 - 6 of 6) sorted by relevance

/system/core/debuggerd/
H A Dgetevent.c15 static struct pollfd *ufds; variable in typeref:struct:pollfd
57 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
62 ufds = new_ufds;
69 ufds[nfds].fd = fd;
70 ufds[nfds].events = POLLIN;
85 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
165 ufds
[all...]
/system/core/toolbox/
H A Dgetevent.c16 static struct pollfd *ufds; variable in typeref:struct:pollfd
338 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
343 ufds = new_ufds;
379 ufds[nfds].fd = fd;
380 ufds[nfds].events = POLLIN;
397 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
589 ufds
[all...]
/system/core/init/
H A Dinit.c839 struct pollfd ufds[4]; local
968 ufds[fd_count].fd = get_property_set_fd();
969 ufds[fd_count].events = POLLIN;
970 ufds[fd_count].revents = 0;
975 ufds[fd_count].fd = get_signal_fd();
976 ufds[fd_count].events = POLLIN;
977 ufds[fd_count].revents = 0;
982 ufds[fd_count].fd = get_keychord_fd();
983 ufds[fd_count].events = POLLIN;
984 ufds[fd_coun
[all...]
/system/bluetooth/tools/
H A Dpipetest.c55 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
59 ret = poll(ufds, nfds, timeout);
64 if (ufds[i].revents) {
65 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);
H A Dasocket_test.c79 static void print_fds(struct pollfd *ufds, nfds_t nfds) { argument
82 printf("%d ", ufds[i].fd);
297 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
302 print_fds(ufds, nfds);
304 ret = poll(ufds, nfds, timeout);
309 if (ufds[i].revents) {
310 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);
H A Dsocktest.c78 static void print_fds(struct pollfd *ufds, nfds_t nfds) { argument
81 printf("%d ", ufds[i].fd);
311 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
316 print_fds(ufds, nfds);
318 ret = poll(ufds, nfds, timeout);
323 if (ufds[i].revents) {
324 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);

Completed in 621 milliseconds