/system/extras/fatblock/ |
fdpool.h | 26 void fdpool_init(struct pooled_fd *pfd); 27 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags); 28 void fdpool_close(struct pooled_fd *pfd);
|
fdpool.c | 75 static void fdpool_clear(struct pooled_fd *pfd) 77 assert(pfd); 79 pfd->fd = INVALID_FD; 80 pfd->prev = pfd->next = NULL; 83 static void fdpool_unpool(struct pooled_fd *pfd) 85 close(pfd->fd); 86 fdpool_clear(pfd); 97 static void fdpool_pool(struct pooled_fd *pfd, int fd) 102 fdpool_insert_head(pfd); [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/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);
|
/external/openssh/ |
atomicio.c | 57 struct pollfd pfd; local 59 pfd.fd = fd; 60 pfd.events = f == read ? POLLIN : POLLOUT; 68 (void)poll(&pfd, 1, -1); 103 struct pollfd pfd; local 113 pfd.fd = fd; 114 pfd.events = f == readv ? POLLIN : POLLOUT; 124 (void)poll(&pfd, 1, -1);
|
monitor_fdpass.c | 61 struct pollfd pfd; local 82 pfd.fd = sock; 83 pfd.events = POLLOUT; 87 (void)poll(&pfd, 1, -1); 123 struct pollfd pfd; local 138 pfd.fd = sock; 139 pfd.events = POLLIN; 143 (void)poll(&pfd, 1, -1);
|
/frameworks/base/core/java/android/hardware/ |
SerialPort.java | 59 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { 60 native_open(pfd.getFileDescriptor(), speed); 61 mFileDescriptor = pfd; 127 private native void native_open(FileDescriptor pfd, int speed) throws IOException;
|
SerialManager.java | 75 ParcelFileDescriptor pfd = mService.openSerialPort(name); local 76 if (pfd != null) { 78 port.open(pfd, speed);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 147 ParcelFileDescriptor pfd = mResolver.openFileDescriptor(fileUri, "r"); local 148 pfd.close(); 172 ParcelFileDescriptor pfd = null; local 174 pfd = mResolver.openFileDescriptor(uri, "r"); 175 pfd.close(); 186 pfd = mResolver.openFileDescriptor(uri, "w"); 187 pfd.close(); 194 pfd = mResolver.openFileDescriptor(uri, "r"); 195 pfd.close(); 206 pfd = mResolver.openFileDescriptor(uri, "r") [all...] |
TelephonyProviderTest.java | 60 ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(uri2, "rw"); local 61 pfd.getFileDescriptor(); 62 FileDescriptor fd = pfd.getFileDescriptor();
|
/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();
|
/external/chromium/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...] |
/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/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...] |