Home
last modified time | relevance | path

Searched refs:old_fd (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/dup3/
Ddup3_02.c46 static int old_fd; variable
55 {&old_fd, &old_fd, O_CLOEXEC, EINVAL},
56 {&old_fd, &old_fd, 0, EINVAL},
57 {&old_fd, &new_fd, INVALID_FLAG, EINVAL}
108 old_fd = SAFE_CREAT(cleanup, "testeinval.file", 0644); in setup()
114 if (old_fd > 0) in cleanup()
115 SAFE_CLOSE(NULL, old_fd); in cleanup()
/external/libchrome/base/memory/
Dshared_memory_handle_posix.cc47 int old_fd = file_descriptor_.fd; in Release() local
49 return old_fd; in Release()
Dshared_memory_handle_android.cc64 int old_fd = file_descriptor_.fd; in Release() local
66 return old_fd; in Release()
/external/drm_hwcomposer/
Dautofd.h45 int old_fd = fd_; in Release() local
47 return old_fd; in Release()
/external/python/cpython3/Modules/
Dsignalmodule.c558 int fd, old_fd; in signal_set_wakeup_fd() local
637 old_fd = wakeup.fd; in signal_set_wakeup_fd()
641 return PyLong_FromLong(old_fd); in signal_set_wakeup_fd()
658 int old_fd; in PySignal_SetWakeupFd() local
663 old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); in PySignal_SetWakeupFd()
665 old_fd = wakeup.fd; in PySignal_SetWakeupFd()
669 return old_fd; in PySignal_SetWakeupFd()
/external/python/cpython2/Modules/
Dsignalmodule.c408 int fd, old_fd; in signal_set_wakeup_fd() local
422 old_fd = wakeup_fd; in signal_set_wakeup_fd()
424 return PyLong_FromLong(old_fd); in signal_set_wakeup_fd()
440 int old_fd = wakeup_fd; in PySignal_SetWakeupFd() local
444 return old_fd; in PySignal_SetWakeupFd()
/external/autotest/client/common_lib/
Dlogging_manager.py658 old_fd = my_context['old_fd']
659 os.dup2(old_fd, self._fd)
660 os.close(old_fd)
/external/pdfium/third_party/libtiff/
Dtif_open.c528 int old_fd = tif->tif_fd; local
530 return old_fd;