Searched refs:old_fd (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/dup3/ |
D | dup3_02.c | 46 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/ |
D | shared_memory_handle_posix.cc | 47 int old_fd = file_descriptor_.fd; in Release() local 49 return old_fd; in Release()
|
D | shared_memory_handle_android.cc | 64 int old_fd = file_descriptor_.fd; in Release() local 66 return old_fd; in Release()
|
/external/drm_hwcomposer/ |
D | autofd.h | 45 int old_fd = fd_; in Release() local 47 return old_fd; in Release()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 558 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/ |
D | signalmodule.c | 408 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/ |
D | logging_manager.py | 658 old_fd = my_context['old_fd'] 659 os.dup2(old_fd, self._fd) 660 os.close(old_fd)
|
/external/pdfium/third_party/libtiff/ |
D | tif_open.c | 528 int old_fd = tif->tif_fd; local 530 return old_fd;
|