/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_pixelformat.c | 147 pfi->pfd.nSize = sizeof pfi->pfd; in stw_pixelformat_add() 148 pfi->pfd.nVersion = 1; in stw_pixelformat_add() 150 pfi->pfd.dwFlags = PFD_SUPPORT_OPENGL; in stw_pixelformat_add() 154 pfi->pfd.dwFlags |= PFD_DRAW_TO_WINDOW; in stw_pixelformat_add() 158 pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; in stw_pixelformat_add() 161 pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_COPY; in stw_pixelformat_add() 163 pfi->pfd.iPixelType = PFD_TYPE_RGBA; in stw_pixelformat_add() 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; in stw_pixelformat_add() 166 pfi->pfd.cRedBits = color->bits.red; in stw_pixelformat_add() 167 pfi->pfd.cRedShift = color->shift.red; in stw_pixelformat_add() [all …]
|
D | stw_ext_pixelformat.c | 75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE; in stw_query_attrib() 79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE; in stw_query_attrib() 83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE; in stw_query_attrib() 87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE; in stw_query_attrib() 91 *pvalue = pfi->pfd.dwFlags & PFD_SWAP_COPY ? WGL_SWAP_COPY_ARB : WGL_SWAP_UNDEFINED_ARB; in stw_query_attrib() 133 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_GDI ? TRUE : FALSE; in stw_query_attrib() 137 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_OPENGL ? TRUE : FALSE; in stw_query_attrib() 141 *pvalue = pfi->pfd.dwFlags & PFD_DOUBLEBUFFER ? TRUE : FALSE; in stw_query_attrib() 145 *pvalue = pfi->pfd.dwFlags & PFD_STEREO ? TRUE : FALSE; in stw_query_attrib() 149 switch (pfi->pfd.iPixelType) { in stw_query_attrib() [all …]
|
D | stw_pixelformat.h | 43 PIXELFORMATDESCRIPTOR pfd; member
|
/external/libevent/ |
D | poll.c | 110 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() local 111 EVUTIL_ASSERT(pop->idxplus1_by_fd[pfd->fd] == i+1); in poll_check_ok() 214 struct pollfd *pfd = NULL; in poll_add() local 248 pfd = &pop->event_set[i]; in poll_add() 251 pfd = &pop->event_set[i]; in poll_add() 252 pfd->events = 0; in poll_add() 253 pfd->fd = fd; in poll_add() 257 pfd->revents = 0; in poll_add() 259 pfd->events |= POLLOUT; in poll_add() 261 pfd->events |= POLLIN; in poll_add() [all …]
|
D | devpoll.c | 98 struct pollfd *pfd; in devpoll_queue() local 109 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue() 110 pfd->fd = fd; in devpoll_queue() 111 pfd->events = events; in devpoll_queue() 112 pfd->revents = 0; in devpoll_queue()
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wgl.c | 46 PIXELFORMATDESCRIPTOR pfd; member 53 struct __pixelformat__ pfd[] = variable 135 int npfd = sizeof(pfd) / sizeof(pfd[0]); 169 (GLboolean) (pfd[curPFD-1].doubleBuffered ? in wglCreateContext() 171 (GLboolean)(pfd[curPFD-1].pfd.cAlphaBits ? in wglCreateContext() 252 !(pfd[i].pfd.dwFlags & PFD_DRAW_TO_WINDOW)) in wglChoosePixelFormat() 256 !(pfd[i].pfd.dwFlags & PFD_DRAW_TO_BITMAP)) in wglChoosePixelFormat() 260 !(pfd[i].pfd.dwFlags & PFD_SUPPORT_GDI)) in wglChoosePixelFormat() 264 !(pfd[i].pfd.dwFlags & PFD_SUPPORT_OPENGL)) in wglChoosePixelFormat() 269 (pfd[i].pfd.dwFlags & PFD_DOUBLEBUFFER))) in wglChoosePixelFormat() [all …]
|
/external/curl/lib/ |
D | select.c | 152 struct pollfd pfd[3]; in Curl_socket_check() local 189 pfd[num].fd = readfd0; in Curl_socket_check() 190 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check() 191 pfd[num].revents = 0; in Curl_socket_check() 195 pfd[num].fd = readfd1; in Curl_socket_check() 196 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check() 197 pfd[num].revents = 0; in Curl_socket_check() 201 pfd[num].fd = writefd; in Curl_socket_check() 202 pfd[num].events = POLLWRNORM|POLLOUT; in Curl_socket_check() 203 pfd[num].revents = 0; in Curl_socket_check() [all …]
|
D | asyn-ares.c | 256 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; in waitperform() local 264 pfd[i].events = 0; in waitperform() 265 pfd[i].revents = 0; in waitperform() 267 pfd[i].fd = socks[i]; in waitperform() 268 pfd[i].events |= POLLRDNORM|POLLIN; in waitperform() 271 pfd[i].fd = socks[i]; in waitperform() 272 pfd[i].events |= POLLWRNORM|POLLOUT; in waitperform() 274 if(pfd[i].events != 0) in waitperform() 281 nfds = Curl_poll(pfd, num, timeout_ms); in waitperform() 294 pfd[i].revents & (POLLRDNORM|POLLIN)? in waitperform() [all …]
|
D | telnet.c | 1241 struct pollfd pfd[1]; in send_telnet_data() local 1242 pfd[0].fd = conn->sock[FIRSTSOCKET]; in send_telnet_data() 1243 pfd[0].events = POLLOUT; in send_telnet_data() 1244 switch (Curl_poll(pfd, 1, -1)) { in send_telnet_data() 1303 struct pollfd pfd[2]; in telnet_do() local 1563 pfd[0].fd = sockfd; in telnet_do() 1564 pfd[0].events = POLLIN; in telnet_do() 1572 pfd[1].fd = fileno((FILE *)data->set.in); in telnet_do() 1573 pfd[1].events = POLLIN; in telnet_do() 1579 switch (Curl_poll(pfd, poll_cnt, interval_ms)) { in telnet_do() [all …]
|
/external/valgrind/memcheck/tests/linux/ |
D | syscalls-2007.c | 41 struct pollfd pfd[2]; in main() local 50 pfd[0].fd = fd; in main() 51 pfd[0].events = POLLIN|POLLOUT; in main() 52 pfd[1].fd = fd2; in main() 53 pfd[1].events = POLLIN|POLLOUT; in main() 54 ppoll (pfd, 2, &ts, &mask); in main()
|
D | timerfd-syscall.c | 149 struct pollfd pfd; in waittmr() local 151 pfd.fd = tfd; in waittmr() 152 pfd.events = POLLIN; in waittmr() 153 pfd.revents = 0; in waittmr() 154 if (poll(&pfd, 1, timeo) < 0) in waittmr() 159 if ((pfd.revents & POLLIN) == 0) in waittmr()
|
/external/netcat/ |
D | atomicio.c | 46 struct pollfd pfd; in atomicio() local 48 pfd.fd = fd; in atomicio() 49 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio() 57 (void)poll(&pfd, 1, -1); in atomicio()
|
D | netcat.c | 654 struct pollfd pfd; in timeout_connect() local 666 pfd.fd = s; in timeout_connect() 667 pfd.events = POLLOUT; in timeout_connect() 668 if ((ret = poll(&pfd, 1, timeout)) == 1) { in timeout_connect() 762 struct pollfd pfd[2]; in readwrite() local 771 pfd[0].fd = nfd; in readwrite() 772 pfd[0].events = POLLIN; in readwrite() 775 pfd[1].fd = wfd; in readwrite() 776 pfd[1].events = POLLIN; in readwrite() 778 while (pfd[0].fd != -1) { in readwrite() [all …]
|
/external/toybox/toys/other/ |
D | mkpasswd.c | 27 long pfd; in GLOBALS() 55 if (TT.pfd) { 56 if (dup2(TT.pfd, 0) == -1) perror_exit("fd"); 57 close(TT.pfd);
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 445 struct pollfd *pfd; in eloop_sock_table_set_fds() local 470 pfd = pollfds_map[fd]; in eloop_sock_table_set_fds() 471 if (!pfd) { in eloop_sock_table_set_fds() 472 pfd = &(pollfds[nxt]); in eloop_sock_table_set_fds() 473 pfd->events = 0; in eloop_sock_table_set_fds() 474 pfd->fd = fd; in eloop_sock_table_set_fds() 476 pollfds_map[fd] = pfd; in eloop_sock_table_set_fds() 479 pfd->events |= POLLOUT; in eloop_sock_table_set_fds() 496 pfd = pollfds_map[fd]; in eloop_sock_table_set_fds() 497 if (!pfd) { in eloop_sock_table_set_fds() [all …]
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest.cc | 374 struct pollfd pfd; in TEST() local 375 memset(&pfd, 0, sizeof(pfd)); in TEST() 376 pfd.fd = fds[0]; in TEST() 377 pfd.events = POLLIN | POLLERR; in TEST() 379 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000)); in TEST() 381 ASSERT_TRUE(pfd.revents & POLLIN); in TEST() 618 struct pollfd pfd; in TEST() local 619 memset(&pfd, 0, sizeof(pfd)); in TEST() 620 pfd.fd = fds[0]; in TEST() 621 pfd.events = POLLIN | POLLERR; in TEST() [all …]
|
D | linux_ptrace_dumper_unittest.cc | 404 struct pollfd pfd; 405 memset(&pfd, 0, sizeof(pfd)); 406 pfd.fd = fds[0]; 407 pfd.events = POLLIN | POLLERR; 409 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000)); 411 ASSERT_TRUE(pfd.revents & POLLIN);
|
/external/toybox/lib/ |
D | interestingtimes.c | 151 struct pollfd pfd; in scan_key() local 156 pfd.fd = 0; in scan_key() 157 pfd.events = POLLIN; in scan_key() 158 pfd.revents = 0; in scan_key() 198 if (!xpoll(&pfd, 1, maybe ? 30 : miliwait)) break; in scan_key()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | ResourceBasedPeriodFormatterDataServiceTest.java | 34 PeriodFormatterData pfd = service.get(locale); in testAvailable() local 35 assertFalse(locale + ": " + pfd.pluralization(), -1 == pfd.pluralization()); in testAvailable()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | ResourceBasedPeriodFormatterDataServiceTest.java | 38 PeriodFormatterData pfd = service.get(locale); in testAvailable() local 39 assertFalse(locale + ": " + pfd.pluralization(), -1 == pfd.pluralization()); in testAvailable()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | prefetch-01.ll | 30 ; CHECK: pfd 1, 0(%r2) 39 ; CHECK: pfd 2, 0(%r2) 48 ; CHECK: pfd 2, -524288({{%r2,%r3|%r3,%r2}}) 59 ; CHECK: pfd 2, 524287({{%r2,%r3|%r3,%r2}}) 71 ; CHECK: pfd 2,
|
/external/blktrace/ |
D | blktrace.c | 458 static void clear_events(struct pollfd *pfd) in clear_events() argument 460 pfd->events = 0; in clear_events() 461 pfd->revents = 0; in clear_events() 1598 struct pollfd *pfd; in open_ios() local 1610 pfd = tp->pfds; in open_ios() 1628 pfd->fd = iop->ifd; in open_ios() 1629 pfd->events = POLLIN; in open_ios() 1649 pfd++; in open_ios() 1666 struct pollfd *pfd = tp->pfds; in handle_pfds_file() local 1669 for (i = 0; nevs > 0 && i < ndevs; i++, pfd++, iop++) { in handle_pfds_file() [all …]
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 410 PIXELFORMATDESCRIPTOR pfd; in SkCreateWGLContext() local 411 DescribePixelFormat(dc, pixelFormatsToTry[f], sizeof(pfd), &pfd); in SkCreateWGLContext() 412 set = SetPixelFormat(dc, pixelFormatsToTry[f], &pfd); in SkCreateWGLContext()
|
/external/libselinux/src/ |
D | avc_internal.c | 102 struct pollfd pfd = { fd, POLLIN | POLLPRI, 0 }; in avc_netlink_receive() local 108 rc = poll(&pfd, 1, (blocking ? -1 : 0)); in avc_netlink_receive()
|
/external/selinux/libselinux/src/ |
D | avc_internal.c | 102 struct pollfd pfd = { fd, POLLIN | POLLPRI, 0 }; in avc_netlink_receive() local 108 rc = poll(&pfd, 1, (blocking ? -1 : 0)); in avc_netlink_receive()
|