HomeSort by relevance Sort by last modified time
    Searched defs:fds (Results 251 - 275 of 393) sorted by null

<<111213141516

  /external/curl/lib/
easy.c 558 struct pollfd fds[4]; local
565 /* populate the fds[] array */
566 for(m = ev->list, f = &fds[0]; m; m = m->next) {
579 pollrc = Curl_poll(fds, numfds, (int)ev->ms);
595 if(fds[i].revents) {
597 int act = poll2cselect(fds[i].revents); /* convert */
599 fds[i].fd);
600 mcode = curl_multi_socket_action(multi, fds[i].fd, act,
  /external/emma/core/java12/com/vladium/jcd/cls/
ClassDef.java 334 final FieldDescriptor [] fds = new FieldDescriptor [fields.size ()]; local
337 for (int f = 0, fLimit = fds.length; f < fLimit; ++ f)
344 fds [fcount ++] = new FieldDescriptor (field.getName (this), modifiers, field.getDescriptor (this));
349 Arrays.sort (fds, 0, fcount);
352 final FieldDescriptor fd = fds [i];
  /external/google-breakpad/src/client/linux/handler/
exception_handler_unittest.cc 216 int fds[2] = {0}; local
222 ASSERT_NE(pipe(fds), -1);
233 close(fds[0]); // Close the reading end.
234 void* fd_param = reinterpret_cast<void*>(fds[1]);
244 close(fds[1]); // Close the writting end.
249 ASSERT_NO_FATAL_FAILURE(ReadMinidumpPathFromPipe(fds[0], &minidump_path));
493 int fds[2]; local
494 ASSERT_NE(pipe(fds), -1);
503 close(fds[0]);
505 DoneCallback, reinterpret_cast<void*>(fds[1])
585 int fds[2]; local
673 int fds[2]; local
766 int fds[2]; local
883 int fds[2]; local
931 int fds[2]; local
1159 int fds[2]; local
    [all...]
  /external/iputils/
traceroute6.c 663 fd_set fds; local
668 FD_ZERO(&fds);
669 FD_SET(sock, &fds);
687 if (select(sock+1, &fds, (fd_set *)0, (fd_set *)0, &wait) > 0) {
  /external/libcups/cups/
http-support.c 1722 int fds; \/* Number of ready descriptors *\/ local
    [all...]
  /external/libusb/libusb/
io.c 2077 struct pollfd *fds = NULL; local
    [all...]
  /external/ltp/testcases/kernel/ipc/pipeio/
pipeio.c 393 int fds[2]; local
475 SAFE_PIPE(cleanup, fds);
476 read_fd = fds[0];
477 write_fd = fds[1];
  /external/ltp/testcases/kernel/syscalls/epoll2/examples/
epoll-test.c 824 int fds[2], flags = 1; local
827 if (pipe(fds)) {
834 close(fds[0]), close(fds[1]);
837 close(fds[0]);
838 dup2(fds[1], 1);
839 close(fds[1]);
844 close(fds[1]);
845 if (ioctl(fds[0], FIONBIO, &flags) &&
846 ((flags = fcntl(fds[0], F_GETFL, 0)) < 0 |
857 int fds[2], flags = 1; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_winsys_dri3.c 464 int fence_fd, *fds; local
490 fds = xcb_dri3_buffer_from_pixmap_reply_fds(scrn->conn, bp_reply);
491 if (fds[0] < 0)
496 whandle.handle = (unsigned)fds[0];
511 close(fds[0]);
  /external/mesa3d/src/loader/
loader_dri3_helper.c 1069 int *fds; local
    [all...]
  /external/rmi4utils/rmidevice/
hiddevice.cpp 415 fd_set fds; local
425 FD_ZERO(&fds);
426 FD_SET(m_fd, &fds);
428 rc = select(m_fd + 1, &fds, NULL, NULL, timeout);
436 } else if (rc > 0 && FD_ISSET(m_fd, &fds)) {
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 198 fd_set fds; local
199 FD_ZERO(&fds);
200 FD_SET(camera_handle, &fds);
204 r = select(camera_handle + 1, &fds, NULL, NULL, &tv);
  /external/wayland/src/
connection.c 178 int32_t fds[sizeof(buffer->data) / sizeof(int32_t)], i, count; local
185 wl_buffer_copy(buffer, fds, size);
186 count = size / sizeof fds[0];
190 close(fds[i]);
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
TestDocumentsProvider.java 337 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createReliablePipe(); local
341 final FileOutputStream fos = new FileOutputStream(fds[1].getFileDescriptor());
347 IoUtils.closeQuietly(fds[1]);
351 return new AssetFileDescriptor(fds[0], 0, AssetFileDescriptor.UNKNOWN_LENGTH);
  /hardware/interfaces/audio/core/2.0/vts/functional/
AudioPrimaryHidlHalTest.cpp 464 // File descriptors to our pipe. fds[0] corresponds to the read end and
465 // fds[1] to the write end.
466 int fds[2]; local
467 ASSERT_EQ(0, pipe2(fds, O_NONBLOCK)) << errno;
471 fcntl(fds[0], F_SETPIPE_SZ, 1 << 20);
476 nativeHandle->data[0] = fds[1];
489 if (read(fds[0], &buff, 1) != 1) {
492 EXPECT_EQ(0, close(fds[0])) << errno;
493 EXPECT_EQ(0, close(fds[1])) << errno;
    [all...]
  /hardware/qcom/gps/msm8909/utils/
LocTimer.cpp 130 // This class implements the polling thread that epolls imer / alarm fds.
133 // fds the kernel, while the polling is blocked on epoll_wait() call.
135 // timers; one for all the alarms, we will poll at most on 2 fds. But it
137 // allow dynamically add / remove fds we poll on. The design decision of
452 int fds = epoll_wait(mFd, ev, 2, -1); local
455 bool rerun = (fds > 0) || (errno == EINTR);
457 if (fds > 0) {
459 for (int i = 0; i < fds; i++) {
  /hardware/qcom/gps/msm8909w_3100/utils/
LocTimer.cpp 130 // This class implements the polling thread that epolls imer / alarm fds.
133 // fds the kernel, while the polling is blocked on epoll_wait() call.
135 // timers; one for all the alarms, we will poll at most on 2 fds. But it
137 // allow dynamically add / remove fds we poll on. The design decision of
452 int fds = epoll_wait(mFd, ev, 2, -1); local
455 bool rerun = (fds > 0) || (errno == EINTR);
457 if (fds > 0) {
459 for (int i = 0; i < fds; i++) {
  /hardware/qcom/gps/msm8996/utils/
LocTimer.cpp 131 // This class implements the polling thread that epolls imer / alarm fds.
134 // fds the kernel, while the polling is blocked on epoll_wait() call.
136 // timers; one for all the alarms, we will poll at most on 2 fds. But it
138 // allow dynamically add / remove fds we poll on. The design decision of
451 int fds = epoll_wait(mFd, ev, 2, -1); local
454 bool rerun = (fds > 0) || (errno == EINTR);
456 if (fds > 0) {
458 for (int i = 0; i < fds; i++) {
  /hardware/qcom/gps/msm8998/utils/
LocTimer.cpp 131 // This class implements the polling thread that epolls imer / alarm fds.
134 // fds the kernel, while the polling is blocked on epoll_wait() call.
136 // timers; one for all the alarms, we will poll at most on 2 fds. But it
138 // allow dynamically add / remove fds we poll on. The design decision of
451 int fds = epoll_wait(mFd, ev, 2, -1); local
454 bool rerun = (fds > 0) || (errno == EINTR);
456 if (fds > 0) {
458 for (int i = 0; i < fds; i++) {
  /hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
omx_swvenc_hevc.cpp 101 int fds[2]; local
327 if (pipe(fds)) {
331 if (fds[0] == 0 || fds[1] == 0) {
332 if (pipe(fds)) {
338 m_pipe_in = fds[0];
339 m_pipe_out = fds[1];
    [all...]
omx_swvenc_mpeg4.cpp 119 int fds[2]; local
421 if (pipe(fds))
428 if ((fds[0] == 0) || (fds[1] == 0))
430 if (pipe(fds))
438 m_pipe_in = fds[0];
439 m_pipe_out = fds[1];
    [all...]
omx_video_encoder.cpp 196 int fds[2]; local
566 if (pipe(fds)) {
570 if (fds[0] == 0 || fds[1] == 0) {
571 if (pipe(fds)) {
577 m_pipe_in = fds[0];
578 m_pipe_out = fds[1];
    [all...]
  /hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
omx_video_encoder.cpp 191 int fds[2]; local
584 if (pipe(fds)) {
589 if (fds[0] == 0 || fds[1] == 0) {
590 if (pipe(fds)) {
597 m_pipe_in = fds[0];
598 m_pipe_out = fds[1];
    [all...]
  /libcore/ojluni/src/main/native/
UNIXProcess_md.c 692 int fds[3]; member in struct:_ChildStuff
721 Closing pipe fds here is redundant, since closeDescriptors()
731 if ((moveDescriptor(p->in[0] != -1 ? p->in[0] : p->fds[0],
733 (moveDescriptor(p->out[1]!= -1 ? p->out[1] : p->fds[1],
742 if (moveDescriptor(p->err[1] != -1 ? p->err[1] : p->fds[2],
850 jint *fds = NULL; local
889 fds = (*env)->GetIntArrayElements(env, std_fds, NULL);
890 if (fds == NULL) goto Catch;
892 if ((fds[0] == -1 && pipe(in) < 0) ||
893 (fds[1] == -1 && pipe(out) < 0) |
    [all...]
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapEmailProvider.java 371 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); local
376 func.readDataFromPipe(fds[0], uri, mimeType, opts, args);
378 fds[0].close();
387 return fds[1];

Completed in 1211 milliseconds

<<111213141516