HomeSort by relevance Sort by last modified time
    Searched full:ufds (Results 1 - 25 of 35) sorted by null

1 2

  /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 30 perl -p -e "s/Syscall param ppoll\(ufds/Syscall param poll\(ufds/" |
  /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/curl/lib/
select.c 386 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
403 if(ufds) {
405 if(ufds[i].fd != CURL_SOCKET_BAD) {
433 r = poll(ufds, nfds, pending_ms);
454 if(ufds[i].fd == CURL_SOCKET_BAD)
456 if(ufds[i].revents & POLLHUP)
457 ufds[i].revents |= POLLIN;
458 if(ufds[i].revents & POLLERR)
459 ufds[i].revents |= (POLLIN|POLLOUT);
470 ufds[i].revents = 0
    [all...]
select.h 82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
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/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/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/avahi/avahi-common/
thread-watch.c 48 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) {
56 r = poll(ufds, nfds, timeout);
simple-watch.h 63 typedef int (*AvahiPollFunc)(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata);
simple-watch.c 626 static int system_poll(struct pollfd *ufds, unsigned int nfds, int timeout, AVAHI_GCC_UNUSED void *userdata) {
627 return poll(ufds, nfds, timeout);
  /external/avahi/avahi-sharp/
Client.cs 45 internal delegate int PollCallback (IntPtr ufds, uint nfds, int timeout);
185 private static extern int poll(IntPtr ufds, uint nfds, int timeout);
365 private int OnPollCallback (IntPtr ufds, uint nfds, int timeout) {
367 int result = poll (ufds, nfds, timeout);
  /libcore/ojluni/src/main/native/
linux_close.cpp 163 int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout) {
164 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/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));
  /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 4095 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
4115 struct vki_pollfd* ufds = (struct vki_pollfd *)ARG1; local
    [all...]
  /external/avahi/avahi-compat-howl/
compat.c 155 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) {
162 ret = poll(ufds, nfds, timeout);
  /external/avahi/avahi-compat-libdns_sd/
compat.c 288 static int poll_func(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata) {
297 ret = poll(ufds, nfds, timeout);
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_common_syscalls.inc     [all...]
  /external/compiler-rt/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-2629532/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h     [all...]
  /prebuilts/clang/host/darwin-x86/clang-2658975/lib64/clang/3.8/include/sanitizer/
linux_syscall_hooks.h     [all...]

Completed in 864 milliseconds

1 2