/system/core/debuggerd/ |
getevent.c | 15 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 = calloc(1, sizeof(ufds[0])) [all...] |
/system/core/toolbox/ |
getevent.c | 14 static struct pollfd *ufds; variable in typeref:struct:pollfd 165 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); 170 ufds = new_ufds; 199 ufds[nfds].fd = fd; 200 ufds[nfds].events = POLLIN; 217 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count); 394 ufds = calloc(1, sizeof(ufds[0])) [all...] |
/external/bluetooth/glib/glib/ |
gpoll.h | 62 typedef gint (*GPollFunc) (GPollFD *ufds,
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
mainloop.h | 123 typedef int (*pa_poll_func)(struct pollfd *ufds, unsigned long nfds, int timeout, void*userdata);
|
/system/core/init/ |
init.c | 655 struct pollfd ufds[4]; local 740 ufds[fd_count].fd = get_property_set_fd(); 741 ufds[fd_count].events = POLLIN; 742 ufds[fd_count].revents = 0; 747 ufds[fd_count].fd = get_signal_fd(); 748 ufds[fd_count].events = POLLIN; 749 ufds[fd_count].revents = 0; 754 ufds[fd_count].fd = get_keychord_fd(); 755 ufds[fd_count].events = POLLIN; 756 ufds[fd_count].revents = 0 [all...] |
/system/bluetooth/tools/ |
pipetest.c | 55 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { 59 ret = poll(ufds, nfds, timeout); 64 if (ufds[i].revents) { 65 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);
|
asocket_test.c | 79 static void print_fds(struct pollfd *ufds, nfds_t nfds) { 82 printf("%d ", ufds[i].fd); 297 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { 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);
|
socktest.c | 78 static void print_fds(struct pollfd *ufds, nfds_t nfds) { 81 printf("%d ", ufds[i].fd); 311 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { 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);
|
/external/kernel-headers/original/linux/ |
poll.h | 115 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
|