/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);
|
badpoll.stderr.exp | 1 Syscall param poll(ufds.fd) points to uninitialised byte(s) 8 Syscall param poll(ufds.revents) points to unaddressable byte(s)
|
filter_stderr | 31 perl -p -e "s/Syscall param ppoll\(ufds/Syscall param poll\(ufds/" |
|
/external/curl/lib/ |
select.c | 391 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms) 408 if(ufds) { 410 if(ufds[i].fd != CURL_SOCKET_BAD) { 438 r = poll(ufds, nfds, pending_ms); 459 if(ufds[i].fd == CURL_SOCKET_BAD) 461 if(ufds[i].revents & POLLHUP) 462 ufds[i].revents |= POLLIN; 463 if(ufds[i].revents & POLLERR) 464 ufds[i].revents |= (POLLIN|POLLOUT); 475 ufds[i].revents = 0 [all...] |
select.h | 83 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
|
multi.c | 985 struct pollfd *ufds = NULL; local 1027 ufds = malloc(nfds * sizeof(struct pollfd)); 1028 if(!ufds) 1046 ufds[nfds].fd = sockbunch[i]; 1047 ufds[nfds].events = POLLIN; 1052 ufds[nfds].fd = sockbunch[i]; 1053 ufds[nfds].events = POLLOUT; 1068 ufds[nfds].fd = extra_fds[i].fd; 1069 ufds[nfds].events = 0; 1071 ufds[nfds].events |= POLLIN [all...] |
/external/selinux/mcstrans/src/ |
mcstransd.c | 266 add_pollfd(struct pollfd **ufds, int *nfds, int connfd) 272 if ((*ufds)[ii].fd == -1) 277 struct pollfd *tmp = (struct pollfd *)realloc(*ufds, 284 *ufds = tmp; 288 (*ufds)[ii].fd = connfd; 289 (*ufds)[ii].events = POLLIN|POLLPRI; 290 (*ufds)[ii].revents = 0; 296 adj_pollfds(struct pollfd **ufds, int *nfds) 302 if ((*ufds)[ii].fd != -1) { 304 (*ufds)[jj] = (*ufds)[ii] 391 struct pollfd *ufds = (struct pollfd *)malloc(sizeof(struct pollfd)); local [all...] |
/libcore/ojluni/src/main/native/ |
LinuxWatchService.c | 136 struct pollfd ufds[2]; local 139 ufds[0].fd = fd1; 140 ufds[0].events = POLLIN; 141 ufds[1].fd = fd2; 142 ufds[1].events = POLLIN; 144 n = poll(&ufds[0], 2, -1);
|
linux_close.cpp | 165 int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout) { 166 BLOCKING_IO_RETURN_INT( ufds[0].fd, poll(ufds, nfds, timeout) );
|
net_util_md.h | 59 extern int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout);
|
/system/core/toolbox/ |
getevent.c | 36 static struct pollfd *ufds; variable in typeref:struct:pollfd 362 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); 367 ufds = new_ufds; 403 ufds[nfds].fd = fd; 404 ufds[nfds].events = POLLIN; 421 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count); 611 ufds = calloc(1, sizeof(ufds[0])) [all...] |
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/doc/spec/ |
r14169.htm | 106 >(struct pollfd *ufds, unsigned int nfds, int timeout);</CODE 294 >ufds</CODE 317 >ufds</CODE
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
selectmodule.c | 330 struct pollfd *ufds;
member in struct:__anon5306 344 struct pollfd *old_ufds = self->ufds;
347 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len);
348 if (self->ufds == NULL) {
349 self->ufds = old_ufds;
356 self->ufds[i].fd = PyInt_AsLong(key);
357 self->ufds[i].events = (short)PyInt_AsLong(value);
529 poll_result = poll(self->ufds, self->ufd_len, timeout);
545 while (!self->ufds[i].revents) {
554 num = PyInt_FromLong(self->ufds[i].fd); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
selectmodule.c | 330 struct pollfd *ufds;
member in struct:__anon5607 345 struct pollfd *old_ufds = self->ufds;
348 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len);
349 if (self->ufds == NULL) {
350 self->ufds = old_ufds;
359 self->ufds[i].fd = (int)PyInt_AsLong(key);
360 self->ufds[i].events = (short)(unsigned short)PyInt_AsLong(value);
560 poll_result = poll(self->ufds, self->ufd_len, timeout);
578 while (!self->ufds[i].revents) {
587 num = PyInt_FromLong(self->ufds[i].fd); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
selectmodule.c | 330 struct pollfd *ufds;
member in struct:__anon5877 344 struct pollfd *old_ufds = self->ufds;
347 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len);
348 if (self->ufds == NULL) {
349 self->ufds = old_ufds;
356 self->ufds[i].fd = PyInt_AsLong(key);
357 self->ufds[i].events = (short)PyInt_AsLong(value);
529 poll_result = poll(self->ufds, self->ufd_len, timeout);
545 while (!self->ufds[i].revents) {
554 num = PyInt_FromLong(self->ufds[i].fd); [all...] |
/external/python/cpython2/Modules/ |
selectmodule.c | 319 struct pollfd *ufds; member in struct:__anon30382 334 struct pollfd *old_ufds = self->ufds; 337 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); 338 if (self->ufds == NULL) { 339 self->ufds = old_ufds; 348 self->ufds[i].fd = (int)PyInt_AsLong(key); 349 self->ufds[i].events = (short)(unsigned short)PyInt_AsLong(value); 549 poll_result = poll(self->ufds, self->ufd_len, timeout); 567 while (!self->ufds[i].revents) { 576 num = PyInt_FromLong(self->ufds[i].fd) [all...] |
/external/strace/tests/ |
ppoll.c | 45 sys_ppoll(const kernel_ulong_t ufds, 51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize);
|
/external/strace/tests-m32/ |
ppoll.c | 45 sys_ppoll(const kernel_ulong_t ufds, 51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize);
|
/external/strace/tests-mx32/ |
ppoll.c | 45 sys_ppoll(const kernel_ulong_t ufds, 51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize);
|
/system/core/init/ |
property_service.cpp | 349 struct pollfd ufds[1]; local 350 ufds[0].fd = socket_; 351 ufds[0].events = POLLIN; 352 ufds[0].revents = 0; 355 int nr = poll(ufds, 1, *timeout_ms);
|
/external/python/cpython2/Lib/test/ |
test_poll.py | 198 # trigger ufds array reallocation
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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.15-4.8/sysroot/usr/include/pulse/ |
mainloop.h | 126 typedef int (*pa_poll_func)(struct pollfd *ufds, unsigned long nfds, int timeout, void*userdata);
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-generic.c | 4097 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local 4117 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_syscalls.inc | [all...] |