/external/curl/lib/ |
select.c | 151 struct pollfd pfd[3]; local 194 pfd[num].fd = readfd0; 195 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; 196 pfd[num].revents = 0; 200 pfd[num].fd = readfd1; 201 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; 202 pfd[num].revents = 0; 206 pfd[num].fd = writefd; 207 pfd[num].events = POLLWRNORM|POLLOUT; 208 pfd[num].revents = 0 [all...] |
/external/fio/engines/ |
splice.c | 174 struct pollfd pfd = { .fd = sd->pipe[1], .events = POLLOUT, }; local 180 if (poll(&pfd, 1, -1) < 0)
|
/external/libcups/cups/ |
sidechannel.c | 112 struct pollfd pfd; /* Poll structure for poll() */ local 135 pfd.fd = CUPS_SC_FD; 136 pfd.events = POLLIN; 138 while ((nfds = poll(&pfd, 1, 535 struct pollfd pfd; /* Poll structure for poll() */ local 555 pfd.fd = CUPS_SC_FD; 556 pfd.events = POLLOUT; 560 if (poll(&pfd, 1, -1) < 1) 563 else if (poll(&pfd, 1, (int)(timeout * 1000)) < 1)
|
/external/libevent/ |
devpoll.c | 98 struct pollfd *pfd; local 109 pfd = &devpollop->changes[devpollop->nchanges++]; 110 pfd->fd = fd; 111 pfd->events = events; 112 pfd->revents = 0;
|
poll.c | 110 struct pollfd *pfd = &pop->event_set[i]; local 111 EVUTIL_ASSERT(pop->idxplus1_by_fd[pfd->fd] == i+1); 214 struct pollfd *pfd = NULL; local 248 pfd = &pop->event_set[i]; 251 pfd = &pop->event_set[i]; 252 pfd->events = 0; 253 pfd->fd = fd; 257 pfd->revents = 0; 259 pfd->events |= POLLOUT; 261 pfd->events |= POLLIN 275 struct pollfd *pfd = NULL; local [all...] |
/external/libmojo/base/android/java/src/org/chromium/base/ |
ContentUriUtils.java | 70 ParcelFileDescriptor pfd = getParcelFileDescriptor(context, uriString); local 71 if (pfd != null) { 72 return pfd.detachFd(); 115 ParcelFileDescriptor pfd = null; local 117 pfd = resolver.openFileDescriptor(uri, "r"); 127 return pfd;
|
/external/ltp/testcases/kernel/connectors/pec/ |
pec_listener.c | 231 struct pollfd pfd; local 273 pfd.fd = sd; 274 pfd.events = POLLIN; 275 pfd.revents = 0; 278 ret = poll(&pfd, 1, -1);
|
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
epoll_wait01.c | 107 struct pollfd pfd[] = { local 115 nfd = poll(pfd, 1, 1);
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
timerfd01.c | 110 struct pollfd pfd; local 112 pfd.fd = tfd; 113 pfd.events = POLLIN; 114 pfd.revents = 0; 115 if (poll(&pfd, 1, timeo) < 0) { 119 if ((pfd.revents & POLLIN) == 0) {
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
vmsplice01.c | 109 struct pollfd pfd = {.fd = pipes[1], .events = POLLOUT}; local 118 if (poll(&pfd, 1, -1) < 0)
|
/external/ltp/testcases/kernel/syscalls/writev/ |
writev01.c | 58 int *pfd; member in struct:testcase_t 66 .pfd = &valid_fd, 74 .pfd = &invalid_fd, 82 .pfd = &valid_fd, 90 .pfd = &valid_fd, 97 .pfd = &valid_fd, 104 .pfd = &(pipe_fd[1]), 131 TEST(writev(*(tcase->pfd), *(tcase->piovec), tcase->iovcnt));
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_ext_pbuffer.c | 87 PIXELFORMATDESCRIPTOR pfd; local 270 bRet = SetPixelFormat(hDC, iDisplayablePixelFormat, &pfd);
|
/external/skia/tools/viewer/sk_app/win/ |
GLWindowContext_win.cpp | 86 PIXELFORMATDESCRIPTOR pfd; local 87 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); 88 fStencilBits = pfd.cStencilBits;
|
/external/toybox/lib/ |
interestingtimes.c | 150 struct pollfd pfd; local 155 pfd.fd = 0; 156 pfd.events = POLLIN; 157 pfd.revents = 0; 197 if (!xpoll(&pfd, 1, maybe ? 30 : miliwait)) break;
|
/external/valgrind/memcheck/tests/linux/ |
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)
|
/frameworks/base/core/java/android/hardware/ |
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;
|
/libcore/ojluni/src/main/native/ |
linux_close.cpp | 209 struct pollfd pfd; local 216 pfd.fd = s; 217 pfd.events = POLLIN | POLLERR; 223 rv = poll(&pfd, 1, timeout);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
ShellCommandRule.java | 47 ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation().getUiAutomation() local 51 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
|
/system/core/debuggerd/client/ |
debuggerd_client.cpp | 192 struct pollfd pfd = { local 196 rc = poll(&pfd, 1, remaining_ms);
|
/system/core/debuggerd/handler/ |
debuggerd_fallback.cpp | 104 struct pollfd pfd = { local 109 if (poll(&pfd, 1, 1000) != 1) {
|
/frameworks/base/core/java/android/util/ |
MemoryIntArray.java | 81 ParcelFileDescriptor pfd = parcel.readParcelable(null); local 82 if (pfd == null) { 85 mFd = pfd.detachFd(); 178 ParcelFileDescriptor pfd = ParcelFileDescriptor.adoptFd(mFd); local 181 parcel.writeParcelable(pfd, flags & ~Parcelable.PARCELABLE_WRITE_RETURN_VALUE); 183 pfd.detachFd();
|
/cts/tests/backup/src/android/backup/cts/ |
BaseBackupCtsTest.java | 150 final ParcelFileDescriptor pfd = local 152 return new ParcelFileDescriptor.AutoCloseInputStream(pfd);
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTestCase.java | 141 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local 147 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) {
|
/cts/tests/tests/contactsproviderwipe/src/android/provider/cts/contactsproviderwipe/ |
ContactsContract_Wipe.java | 97 static List<String> readAll(ParcelFileDescriptor pfd) { 102 new FileReader(pfd.getFileDescriptor()))) { 111 pfd.close();
|
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/ |
MyCloudProvider.java | 252 final ParcelFileDescriptor pfd = local 254 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH);
|