HomeSort by relevance Sort by last modified time
    Searched defs:pfd (Results 76 - 100 of 230) sorted by null

1 2 34 5 6 7 8 910

  /device/asus/fugu/libaudio/
AudioHotplugThread.cpp 353 struct pollfd pfd = {mShutdownEventFD, POLLIN, 0}; local
354 if (poll(&pfd, 1, kOpenTimeoutMs) == -1) {
357 } else if (pfd.revents & POLLIN) {
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
res_send.c 559 struct pollfd pfd; local
698 pfd.fd = s;
699 pfd.events = POLLIN;
706 n = poll(&pfd, 1, msec);
  /external/clang/test/SemaCXX/
addr-of-overloaded-function.cpp 7 int (*pfd)(double) = f; // selects f(double) variable
  /external/curl/lib/
asyn-ares.c 256 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; local
264 pfd[i].events = 0;
265 pfd[i].revents = 0;
267 pfd[i].fd = socks[i];
268 pfd[i].events |= POLLRDNORM|POLLIN;
271 pfd[i].fd = socks[i];
272 pfd[i].events |= POLLWRNORM|POLLOUT;
274 if(pfd[i].events != 0)
281 nfds = Curl_poll(pfd, num, timeout_ms);
294 pfd[i].revents & (POLLRDNORM|POLLIN)
    [all...]
  /external/fio/engines/
rbd.c 370 struct pollfd pfd; local
371 pfd.fd = rbd->fd;
372 pfd.events = POLLIN;
374 ret = poll(&pfd, 1, -1);
378 assert(pfd.revents & POLLIN);
  /external/google-breakpad/src/client/linux/minidump_writer/
minidump_writer_unittest.cc 374 struct pollfd pfd; local
375 memset(&pfd, 0, sizeof(pfd));
376 pfd.fd = fds[0];
377 pfd.events = POLLIN | POLLERR;
379 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000));
381 ASSERT_TRUE(pfd.revents & POLLIN);
618 struct pollfd pfd; local
619 memset(&pfd, 0, sizeof(pfd));
    [all...]
  /external/linux-kselftest/tools/testing/selftests/net/
psock_fanout.c 132 int pfd; local
143 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); local
144 if (pfd < 0) {
150 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &pfd, sizeof(pfd))) {
155 if (close(pfd)) {
  /external/tinyalsa/
mixer.c 611 struct pollfd pfd; local
613 pfd.fd = mixer->fd;
614 pfd.events = POLLIN | POLLOUT | POLLERR | POLLNVAL;
618 err = poll(&pfd, 1, timeout);
623 if (pfd.revents & (POLLERR | POLLNVAL))
625 if (pfd.revents & (POLLIN | POLLOUT))
  /frameworks/base/cmds/wm/src/com/android/commands/wm/
Wm.java 116 ParcelFileDescriptor pfd = ParcelFileDescriptor.dup(FileDescriptor.out); local
117 mWm.enableSurfaceTrace(pfd);
  /frameworks/base/core/java/android/os/
ShellCommand.java 196 ParcelFileDescriptor pfd = getShellCallback().openOutputFile(path, local
198 if (pfd != null) {
199 return pfd;
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java 134 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); local
135 verifyFileContents(pfd, largeFile);
136 verifyFileSize(pfd, largeFile.length());
  /frameworks/base/core/tests/coretests/src/android/print/
BasePrintTest.java 196 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd); local
199 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /frameworks/base/native/android/
sensor.cpp 254 struct pollfd pfd; local
255 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd();
256 pfd.events = POLLIN;
257 pfd.revents = 0;
259 int nfd = poll(&pfd, 1, 0);
264 if (pfd.revents != POLLIN)
  /frameworks/base/tools/incident_report/
main.cpp 328 int pfd[2]; local
329 if (pipe(pfd) != 0) {
340 dup2(pfd[1], STDOUT_FILENO);
341 close(pfd[0]);
342 close(pfd[1]);
362 close(pfd[1]);
366 ssize_t amt = read(pfd[0], buffer + size, maxAllowedSize - size);
400 close(pfd[0]);
493 int pfd[2]; local
494 if (pipe(pfd) != 0)
    [all...]
  /frameworks/native/libs/binder/tests/
binderDriverInterfaceTest.cpp 125 pollfd pfd = pollfd(); local
127 pfd.fd = m_binderFd;
128 pfd.events = POLLIN;
129 ret = poll(&pfd, 1, timeout_ms);
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
read_device_node.c 92 struct pollfd pfd = { local
96 poll(&pfd, 1, -1);
  /hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
QCameraHAL3Base.cpp 63 int pfd[2]; member in namespace:qcamera
156 write(pfd[1], &msg, sizeof(buffer_thread_msg_t));
  /hardware/qcom/wlan/cld80211-lib/
cld80211_lib.c 399 struct pollfd pfd[2]; local
412 memset(&pfd[0], 0, 2*sizeof(struct pollfd));
422 pfd[0].fd = nl_socket_get_fd(ctx->sock);
423 pfd[0].events = POLLIN;
425 pfd[1].fd = ctx->exit_sockets[1];
426 pfd[1].events = POLLIN;
429 pfd[0].revents = 0;
430 pfd[1].revents = 0;
431 int result = poll(pfd, 2, timeout);
434 } else if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR))
    [all...]
  /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
FilesystemUtil.java 56 ParcelFileDescriptor pfd = instr.getUiAutomation().executeShellCommand(command); local
57 pipe(new ParcelFileDescriptor.AutoCloseInputStream(pfd), out);
  /platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
AppLinkTests.java 263 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); local
265 new InputStreamReader(new FileInputStream(pfd.getFileDescriptor())))) {
  /platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
WifiStrengthScannerInstrumentation.java 172 ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); local
175 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /system/bt/udrv/ulinux/
uipc.cc 164 struct pollfd pfd; local
171 pfd.fd = sfd;
172 pfd.events = POLLIN;
175 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0));
181 // BTIF_TRACE_EVENT("poll revents 0x%x", pfd.revents);
363 struct pollfd pfd; local
365 pfd.events = POLLIN;
366 pfd.fd = uipc_main.ch[ch_id].fd;
375 OSI_NO_INTR(ret = poll(&pfd, 1, 1));
388 pfd.fd, pfd.revents, ret)
656 struct pollfd pfd; local
    [all...]
  /system/core/adb/
services.cpp 359 adb_pollfd pfd = {.fd = fd, .events = POLLIN }; local
360 int rc = adb_poll(&pfd, 1, 1000);
364 } else if (rc > 0 && (pfd.revents & POLLHUP) != 0) {
  /toolchain/binutils/binutils-2.25/opcodes/
nds32-dis.c 142 nds32_parse_audio_ext (const field_t *pfd,
150 if (pfd->hw_res == HW_INT || pfd->hw_res == HW_UINT)
152 if (pfd->hw_res == HW_INT)
154 N32_IMMS ((insn >> pfd->bitpos), pfd->bitsize) << pfd->shift;
156 int_value = __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift
239 const field_t *pfd; local
    [all...]
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 232 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local
235 Streams.readFully(new FileInputStream(pfd.getFileDescriptor()));
237 IoUtils.closeQuietly(pfd.getFileDescriptor());
245 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local
248 result = convertStreamToString(new FileInputStream(pfd.getFileDescriptor()));
250 IoUtils.closeQuietly(pfd.getFileDescriptor());

Completed in 5313 milliseconds

1 2 34 5 6 7 8 910