/external/valgrind/main/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);
|
badpoll.stderr.exp | 1 Syscall param poll(ufds.fd) points to uninitialised byte(s) 8 Syscall param poll(ufds.reventss) points to unaddressable byte(s)
|
/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...] |
/external/bluetooth/glib/glib/ |
gpoll.h | 62 typedef gint (*GPollFunc) (GPollFD *ufds,
|
/system/core/toolbox/ |
getevent.c | 16 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 = calloc(1, sizeof(ufds[0])) [all...] |
/prebuilts/gcc/linux-x86/host/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);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
mainloop.h | 123 typedef int (*pa_poll_func)(struct pollfd *ufds, unsigned long nfds, int timeout, void*userdata);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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 | 854 struct pollfd ufds[4]; local 958 ufds[fd_count].fd = get_property_set_fd(); 959 ufds[fd_count].events = POLLIN; 960 ufds[fd_count].revents = 0; 965 ufds[fd_count].fd = get_signal_fd(); 966 ufds[fd_count].events = POLLIN; 967 ufds[fd_count].revents = 0; 972 ufds[fd_count].fd = get_keychord_fd(); 973 ufds[fd_count].events = POLLIN; 974 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,
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-aix5.c | 562 struct pollfd* ufds = (struct pollfd *)ARG1; local 566 struct pollfd *, ufds, unsigned int, nfds, long, timeout); 569 PRE_MEM_READ( "poll(ufds.fd)", 570 (Addr)(&ufds[i].fd), sizeof(ufds[i].fd) ); 571 PRE_MEM_READ( "poll(ufds.events)", 572 (Addr)(&ufds[i].events), sizeof(ufds[i].events) ); 573 PRE_MEM_WRITE( "poll(ufds.reventss)", 574 (Addr)(&ufds[i].revents), sizeof(ufds[i].revents) ) 581 struct pollfd* ufds = (struct pollfd *)ARG1; local [all...] |
syswrap-generic.c | 3740 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local 3760 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local [all...] |
syswrap-linux.c | 1101 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local 1128 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local [all...] |
/external/valgrind/main/memcheck/tests/x86-linux/ |
scalar.stderr.exp | [all...] |