HomeSort by relevance Sort by last modified time
    Searched defs:dup_fd (Results 1 - 8 of 8) sorted by null

  /external/libdrm/etnaviv/
etnaviv_device.c 64 int dup_fd = dup(fd); local
65 struct etna_device *dev = etna_device_new(dup_fd);
70 close(dup_fd);
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl29.c 48 int lc, dup_fd; local
62 dup_fd = TEST_RETURN;
64 TEST(fcntl(dup_fd, F_GETFD));
66 SAFE_CLOSE(cleanup, dup_fd);
79 SAFE_CLOSE(cleanup, dup_fd);
  /external/bcc/src/cc/
file_desc.h 52 int dup_fd = ::dup(fd_); local
53 return FileDesc(dup_fd);
  /external/libdrm/freedreno/
freedreno_device.c 94 int dup_fd = dup(fd); local
95 struct fd_device *dev = fd_device_new(dup_fd);
99 close(dup_fd);
  /device/google/cuttlefish_common/common/libs/utils/
subprocess.cpp 227 auto dup_fd = shared_fd->UNMANAGED_Dup(); local
228 if (dup_fd < 0) {
231 redirects_[channel] = dup_fd;
  /build/make/tools/makeparallel/
makeparallel.cpp 181 static int dup_fd = -1; local
184 dup_fd = dup(fd);
185 if (dup_fd < 0) {
189 // set up a signal handler that closes dup_fd on SIGALRM
193 close(dup_fd);
210 int read_ret = read(dup_fd, &buf, 1);
227 close(dup_fd);
228 dup_fd = -1;
  /external/mesa3d/src/gallium/winsys/virgl/drm/
virgl_drm_winsys.c 880 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); local
882 vws = virgl_drm_winsys_create(dup_fd);
886 util_hash_table_set(fd_tab, intptr_to_pointer(dup_fd), pscreen);
  /external/wayland/src/
connection.c 533 int i, count, fd, dup_fd; local
582 dup_fd = wl_os_dupfd_cloexec(fd, 0);
583 if (dup_fd < 0)
585 closure->args[i].h = dup_fd;

Completed in 463 milliseconds