/external/chromium_org/base/android/java/src/org/chromium/base/ |
H A D | ContentUriUtils.java | 33 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString); 34 if (pfd != null) { 35 return pfd.detachFd(); 49 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString); 50 if (pfd == null) { 67 ParcelFileDescriptor pfd = null; 69 pfd = resolver.openFileDescriptor(uri, "r"); 73 return pfd;
|
/external/strace/test/ |
H A D | procpollable.c | 13 struct pollfd pfd; local 30 pfd.fd = fileno(pfp); 31 pfd.events = POLLPRI; 33 if (poll(&pfd, 1, 0) < 0) 36 if (!(pfd.revents & POLLPRI))
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
H A D | stw_pixelformat.c | 147 pfi->pfd.nSize = sizeof pfi->pfd; 148 pfi->pfd.nVersion = 1; 150 pfi->pfd.dwFlags = PFD_SUPPORT_OPENGL; 154 pfi->pfd.dwFlags |= PFD_DRAW_TO_WINDOW; 158 pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; 161 pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_COPY; 163 pfi->pfd.iPixelType = PFD_TYPE_RGBA; 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 166 pfi->pfd [all...] |
H A D | stw_ext_pixelformat.c | 75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE; 79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE; 83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE; 87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE; 91 *pvalue = pfi->pfd.dwFlags & PFD_SWAP_COPY ? WGL_SWAP_COPY_ARB : WGL_SWAP_UNDEFINED_ARB; 133 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_GDI ? TRUE : FALSE; 137 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_OPENGL ? TRUE : FALSE; 141 *pvalue = pfi->pfd.dwFlags & PFD_DOUBLEBUFFER ? TRUE : FALSE; 145 *pvalue = pfi->pfd.dwFlags & PFD_STEREO ? TRUE : FALSE; 149 switch (pfi->pfd [all...] |
H A D | stw_pixelformat.h | 43 PIXELFORMATDESCRIPTOR pfd; member in struct:stw_pixelformat_info
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
H A D | stw_pixelformat.c | 147 pfi->pfd.nSize = sizeof pfi->pfd; 148 pfi->pfd.nVersion = 1; 150 pfi->pfd.dwFlags = PFD_SUPPORT_OPENGL; 154 pfi->pfd.dwFlags |= PFD_DRAW_TO_WINDOW; 158 pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; 161 pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_COPY; 163 pfi->pfd.iPixelType = PFD_TYPE_RGBA; 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; 166 pfi->pfd [all...] |
H A D | stw_ext_pixelformat.c | 75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE; 79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE; 83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE; 87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE; 91 *pvalue = pfi->pfd.dwFlags & PFD_SWAP_COPY ? WGL_SWAP_COPY_ARB : WGL_SWAP_UNDEFINED_ARB; 133 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_GDI ? TRUE : FALSE; 137 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_OPENGL ? TRUE : FALSE; 141 *pvalue = pfi->pfd.dwFlags & PFD_DOUBLEBUFFER ? TRUE : FALSE; 145 *pvalue = pfi->pfd.dwFlags & PFD_STEREO ? TRUE : FALSE; 149 switch (pfi->pfd [all...] |
H A D | stw_pixelformat.h | 43 PIXELFORMATDESCRIPTOR pfd; member in struct:stw_pixelformat_info
|
/external/netcat/ |
H A D | atomicio.c | 46 struct pollfd pfd; local 48 pfd.fd = fd; 49 pfd.events = f == read ? POLLIN : POLLOUT; 57 (void)poll(&pfd, 1, -1);
|
H A D | netcat.c | 654 struct pollfd pfd; local 666 pfd.fd = s; 667 pfd.events = POLLOUT; 668 if ((ret = poll(&pfd, 1, timeout)) == 1) { 762 struct pollfd pfd[2]; local 771 pfd[0].fd = nfd; 772 pfd[0].events = POLLIN; 775 pfd[1].fd = wfd; 776 pfd[1].events = POLLIN; 778 while (pfd[ [all...] |
/external/valgrind/main/memcheck/tests/linux/ |
H A D | syscalls-2007.c | 41 struct pollfd pfd[2]; local 50 pfd[0].fd = fd; 51 pfd[0].events = POLLIN|POLLOUT; 52 pfd[1].fd = fd2; 53 pfd[1].events = POLLIN|POLLOUT; 54 ppoll (pfd, 2, &ts, &mask);
|
H A D | timerfd-syscall.c | 149 struct pollfd pfd; local 151 pfd.fd = tfd; 152 pfd.events = POLLIN; 153 pfd.revents = 0; 154 if (poll(&pfd, 1, timeo) < 0) 159 if ((pfd.revents & POLLIN) == 0)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
H A D | wgl.c | 46 PIXELFORMATDESCRIPTOR pfd; member in struct:__pixelformat__ 53 struct __pixelformat__ pfd[] = variable in typeref:struct:__pixelformat__ 135 int npfd = sizeof(pfd) / sizeof(pfd[0]); 169 (GLboolean) (pfd[curPFD-1].doubleBuffered ? 171 (GLboolean)(pfd[curPFD-1].pfd.cAlphaBits ? 252 !(pfd[i].pfd.dwFlags & PFD_DRAW_TO_WINDOW)) 256 !(pfd[ [all...] |
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
H A D | wgl.c | 46 PIXELFORMATDESCRIPTOR pfd; member in struct:__pixelformat__ 53 struct __pixelformat__ pfd[] = variable in typeref:struct:__pixelformat__ 135 int npfd = sizeof(pfd) / sizeof(pfd[0]); 169 (GLboolean) (pfd[curPFD-1].doubleBuffered ? 171 (GLboolean)(pfd[curPFD-1].pfd.cAlphaBits ? 252 !(pfd[i].pfd.dwFlags & PFD_DRAW_TO_WINDOW)) 256 !(pfd[ [all...] |
/external/chromium_org/third_party/libevent/ |
H A D | poll.c | 127 struct pollfd *pfd = &pop->event_set[i]; local 128 assert(pop->idxplus1_by_fd[pfd->fd] == i+1); 208 struct pollfd *pfd = NULL; local 281 pfd = &pop->event_set[i]; 284 pfd = &pop->event_set[i]; 285 pfd->events = 0; 286 pfd->fd = ev->ev_fd; 291 pfd->revents = 0; 293 pfd->events |= POLLOUT; 297 pfd 313 struct pollfd *pfd = NULL; local [all...] |
/external/bluetooth/bluedroid/udrv/ulinux/ |
H A D | uipc.c | 173 struct pollfd pfd; local 180 pfd.fd = sfd; 181 pfd.events = POLLIN; 183 if (poll(&pfd, 1, 0) == 0) 189 //BTIF_TRACE_EVENT("poll revents 0x%x", pfd.revents); 377 struct pollfd pfd; local 380 pfd.events = POLLIN|POLLHUP; 381 pfd.fd = uipc_main.ch[ch_id].fd; 388 ret = poll(&pfd, 1, 1); 389 BTIF_TRACE_EVENT("uipc_flush_ch_locked polling : fd %d, rxev %x, ret %d", pfd 744 struct pollfd pfd; local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | symbolize.cc | 203 struct pollfd pfd = { child_in[1], POLLOUT, 0 }; 204 if (!poll(&pfd, 1, 0) || !(pfd.revents & POLLOUT) || 205 (pfd.revents & (POLLHUP|POLLERR))) {
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | symbolize.cc | 208 struct pollfd pfd = { child_in[1], POLLOUT, 0 }; 209 if (!poll(&pfd, 1, 0) || !(pfd.revents & POLLOUT) || 210 (pfd.revents & (POLLHUP|POLLERR))) {
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | eloop.c | 350 struct pollfd *pfd; local 375 pfd = pollfds_map[fd]; 376 if (!pfd) { 377 pfd = &(pollfds[nxt]); 378 pfd->events = 0; 379 pfd->fd = fd; 381 pollfds_map[fd] = pfd; 384 pfd->events |= POLLOUT; 401 pfd = pollfds_map[fd]; 402 if (!pfd) { 423 struct pollfd *pfd; local 1081 struct pollfd pfd; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | eloop.c | 350 struct pollfd *pfd; local 375 pfd = pollfds_map[fd]; 376 if (!pfd) { 377 pfd = &(pollfds[nxt]); 378 pfd->events = 0; 379 pfd->fd = fd; 381 pollfds_map[fd] = pfd; 384 pfd->events |= POLLOUT; 401 pfd = pollfds_map[fd]; 402 if (!pfd) { 423 struct pollfd *pfd; local 1081 struct pollfd pfd; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | eloop.c | 350 struct pollfd *pfd; local 375 pfd = pollfds_map[fd]; 376 if (!pfd) { 377 pfd = &(pollfds[nxt]); 378 pfd->events = 0; 379 pfd->fd = fd; 381 pollfds_map[fd] = pfd; 384 pfd->events |= POLLOUT; 401 pfd = pollfds_map[fd]; 402 if (!pfd) { 423 struct pollfd *pfd; local 1081 struct pollfd pfd; local [all...] |
/external/chromium_org/third_party/skia/src/utils/win/ |
H A D | SkWGL_win.cpp | 256 PIXELFORMATDESCRIPTOR pfd; local 294 DescribePixelFormat(dc, formatToTry, sizeof(pfd), &pfd); 295 if (SetPixelFormat(dc, formatToTry, &pfd)) { 304 DescribePixelFormat(dc, format, sizeof(pfd), &pfd); 305 SkDEBUGCODE(BOOL set =) SetPixelFormat(dc, format, &pfd);
|
/external/skia/src/utils/win/ |
H A D | SkWGL_win.cpp | 256 PIXELFORMATDESCRIPTOR pfd; local 294 DescribePixelFormat(dc, formatToTry, sizeof(pfd), &pfd); 295 if (SetPixelFormat(dc, formatToTry, &pfd)) { 304 DescribePixelFormat(dc, format, sizeof(pfd), &pfd); 305 SkDEBUGCODE(BOOL set =) SetPixelFormat(dc, format, &pfd);
|
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_sock_thread.c | 88 struct pollfd pfd; member in struct:__anon1097 392 ts[h].ps[i].pfd.fd = -1; 410 ps->pfd.fd = fd; 416 ps->pfd.events = flags2pevents(flags); 417 ps->pfd.revents = 0; 428 if(ps[i].pfd.fd == fd) 435 else if(empty < 0 && ps[i].pfd.fd == -1) 454 ps->pfd.fd = -1; 461 ps->pfd.events = flags2pevents(ps->flags); 503 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd [all...] |
/external/chromium_org/ui/gfx/ |
H A D | platform_font_pango.cc | 212 PangoFontDescription* pfd = pango_font_description_new(); local 213 pango_font_description_set_family(pfd, GetFontName().c_str()); 219 pfd, font_size_pixels_ * PANGO_SCALE); 226 pango_font_description_set_weight(pfd, PANGO_WEIGHT_BOLD); 229 pango_font_description_set_style(pfd, PANGO_STYLE_ITALIC); 237 return pfd;
|