/hardware/ti/omap4-aah/libtiutils/ |
MessageQueue.cpp | 246 struct pollfd pfd; local 248 pfd.fd = this->fd_read; 249 pfd.events = POLLIN; 250 pfd.revents = 0; 260 if( -1 == poll(&pfd,1,0) ) 267 if(pfd.revents & POLLIN) 328 struct pollfd pfd[3]; local 337 pfd[0].fd = queue1->getInFd(); 338 if(!pfd[0].fd) 344 pfd[0].events = POLLIN [all...] |
/hardware/ti/omap4xxx/libtiutils/ |
MessageQueue.cpp | 245 struct pollfd pfd; local 247 pfd.fd = this->fd_read; 248 pfd.events = POLLIN; 249 pfd.revents = 0; 259 if( -1 == poll(&pfd,1,0) ) 266 if(pfd.revents & POLLIN) 325 struct pollfd pfd[3]; local 334 pfd[0].fd = queue1->getInFd(); 335 if(!pfd[0].fd) 341 pfd[0].events = POLLIN [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ContentUriUtils.java | 33 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString); local 34 if (pfd != null) { 35 return pfd.detachFd(); 49 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString); local 50 if (pfd == null) { 67 ParcelFileDescriptor pfd = null; local 69 pfd = resolver.openFileDescriptor(uri, "r"); 73 return pfd;
|
/external/strace/test/ |
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/ |
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.cRedBits = color->bits.red [all...] |
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.iPixelType) [all...] |
stw_pixelformat.h | 43 PIXELFORMATDESCRIPTOR pfd; member in struct:stw_pixelformat_info
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
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.cRedBits = color->bits.red [all...] |
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.iPixelType) [all...] |
stw_pixelformat.h | 43 PIXELFORMATDESCRIPTOR pfd; member in struct:stw_pixelformat_info
|
/external/netcat/ |
atomicio.c | 46 struct pollfd pfd; local 48 pfd.fd = fd; 49 pfd.events = f == read ? POLLIN : POLLOUT; 57 (void)poll(&pfd, 1, -1);
|
/external/valgrind/main/memcheck/tests/linux/ |
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);
|
/frameworks/base/core/java/android/hardware/ |
SerialManager.java | 71 ParcelFileDescriptor pfd = mService.openSerialPort(name); local 72 if (pfd != null) { 74 port.open(pfd, speed);
|
SerialPort.java | 54 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { 55 native_open(pfd.getFileDescriptor(), speed); 56 mFileDescriptor = pfd; 122 private native void native_open(FileDescriptor pfd, int speed) throws IOException;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
wgl.c | 43 /* Extend the PFD to include DB flag */ 46 PIXELFORMATDESCRIPTOR pfd; member in struct:__pixelformat__ 52 /* These are the PFD's supported by this driver. */ 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) [all...] |
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wgl.c | 43 /* Extend the PFD to include DB flag */ 46 PIXELFORMATDESCRIPTOR pfd; member in struct:__pixelformat__ 52 /* These are the PFD's supported by this driver. */ 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) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); local 53 AutoCloseInputStream in = new AutoCloseInputStream(pfd); 104 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket); local 105 AutoCloseInputStream in = new AutoCloseInputStream(pfd); 109 pfd.close(); 125 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(data, null); local 127 assertFileDescriptorContent(new byte[] { 0, 1, 2, 3 }, pfd); 150 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(data, null); local 151 assertNotNull(pfd); 152 FileDescriptor fd = pfd.getFileDescriptor() 170 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local 180 ParcelFileDescriptor pfd = ParcelFileDescriptor.CREATOR.createFromParcel(pl); local 221 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local 229 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local [all...] |
IParcelFileDescriptorPeer.aidl | 32 void set(in ParcelFileDescriptor pfd);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapFactoryTest.java | 37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null); local 38 FileDescriptor fd = pfd.getFileDescriptor();
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 40 public static void closeWithErrorQuietly(ParcelFileDescriptor pfd, String msg) { 41 if (pfd != null) { 43 pfd.closeWithError(msg);
|
/external/chromium_org/third_party/libevent/ |
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->events |= POLLIN 313 struct pollfd *pfd = NULL; local [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_vsync.cpp | 115 struct pollfd pfd[num_displays][num_events]; local 141 pfd[dpy][ev].fd = open(node_path, O_RDONLY); 143 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 156 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); 157 if (pfd[dpy][ev].fd >= 0) 158 pfd[dpy][ev].events = POLLPRI | POLLERR; 164 int err = poll(*pfd, num_displays * num_events, -1); 168 if (pfd[dpy][ev].revents & POLLPRI) { 169 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0); 206 if(pfd[dpy][event].fd >= 0 [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_vsync.cpp | 106 struct pollfd pfd[num_displays][num_events]; local 135 pfd[dpy][ev].fd = open(node_path, O_RDONLY); 137 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { 150 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); 151 if (pfd[dpy][ev].fd >= 0) 152 pfd[dpy][ev].events = POLLPRI | POLLERR; 158 int err = poll(*pfd, num_displays * num_events, -1); 162 if (pfd[dpy][ev].revents & POLLPRI) { 163 err = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0); 213 if(pfd[dpy][event].fd >= 0 [all...] |
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
timm_osal_pipes.c | 69 int pfd[2]; member in struct:TIMM_OSAL_PIPE 108 pHandle->pfd[0] = -1; 109 pHandle->pfd[1] = -1; 110 if (SUCCESS != pipe(pHandle->pfd)) 155 if (SUCCESS != close(pHandle->pfd[0])) 160 if (SUCCESS != close(pHandle->pfd[1])) 195 lSizeWritten = write(pHandle->pfd[1], pMessage, size); 242 lSizeWritten = write(pHandle->pfd[1], pMessage, size); 269 read(pHandle->pfd[0], tempPtr, pHandle->totalBytesInPipe); 273 write(pHandle->pfd[1], tempPtr [all...] |
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
timm_osal_pipes.c | 69 int pfd[2]; member in struct:TIMM_OSAL_PIPE 108 pHandle->pfd[0] = -1; 109 pHandle->pfd[1] = -1; 110 if (SUCCESS != pipe(pHandle->pfd)) 155 if (SUCCESS != close(pHandle->pfd[0])) 160 if (SUCCESS != close(pHandle->pfd[1])) 195 lSizeWritten = write(pHandle->pfd[1], pMessage, size); 242 lSizeWritten = write(pHandle->pfd[1], pMessage, size); 269 read(pHandle->pfd[0], tempPtr, pHandle->totalBytesInPipe); 273 write(pHandle->pfd[1], tempPtr [all...] |