Searched refs:old_fd (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/dup3/ |
D | dup3_02.c | 24 static int old_fd = 3; variable 32 {&old_fd, &old_fd, O_CLOEXEC}, 33 {&old_fd, &old_fd, 0}, 34 {&old_fd, &new_fd, INVALID_FLAG}
|
/third_party/glib/glib/ |
D | gwin32.c | 901 int old_fd; in g_console_win32_init() local 927 old_fd = fileno (streams[i].stream); in g_console_win32_init() 934 if (old_fd < 0) in g_console_win32_init() 946 old_fd = fileno (streams[i].stream); in g_console_win32_init() 948 if (old_fd < 0) in g_console_win32_init() 965 backup_fd = dup (old_fd); in g_console_win32_init() 969 old_fd, streams[i].stream_name); in g_console_win32_init() 983 if (_dup2 (new_fd, old_fd) < 0) in g_console_win32_init() 987 old_fd, streams[i].stream_name, errsv, strerror (errsv)); in g_console_win32_init() 999 if (_dup2 (backup_fd, old_fd) < 0) in g_console_win32_init() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | log.c | 151 int old_fd; in pa_log_set_target() local 204 old_fd = log_fd; in pa_log_set_target() 207 if (old_fd >= 0) in pa_log_set_target() 208 pa_close(old_fd); in pa_log_set_target()
|
/third_party/node/deps/uvwasi/src/ |
D | uvwasi.c | 1751 uvwasi_fd_t old_fd, in uvwasi_path_link() argument 1770 old_fd, in uvwasi_path_link() 1783 if (old_fd == new_fd) { in uvwasi_path_link() 1785 old_fd, in uvwasi_path_link() 1793 old_fd, in uvwasi_path_link() 1847 if (old_fd != new_fd) in uvwasi_path_link() 2124 uvwasi_fd_t old_fd, in uvwasi_path_rename() argument 2141 old_fd, in uvwasi_path_rename() 2153 if (old_fd == new_fd) { in uvwasi_path_rename() 2155 old_fd, in uvwasi_path_rename() [all …]
|
/third_party/python/Modules/ |
D | signalmodule.c | 829 int old_fd = wakeup.fd; local 833 return PyLong_FromLong(old_fd); 855 int old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); local 857 int old_fd = wakeup.fd; local 861 return old_fd;
|
/third_party/node/deps/uvwasi/include/ |
D | uvwasi.h | 198 uvwasi_fd_t old_fd, 227 uvwasi_fd_t old_fd,
|
/third_party/mesa3d/src/intel/tools/ |
D | intel_sanitize_gpu.c | 119 dup_drm_fd(int old_fd, int new_fd) in dup_drm_fd() argument 122 (void*)(uintptr_t)old_fd); in dup_drm_fd()
|
/third_party/node/src/ |
D | node_wasi.cc | 1131 uint32_t old_fd; in PathLink() local 1141 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathLink() 1151 old_fd, in PathLink() 1162 old_fd, in PathLink() 1302 uint32_t old_fd; in PathRename() local 1311 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathRename() 1320 old_fd, in PathRename() 1330 old_fd, in PathRename()
|
/third_party/libuv/src/unix/ |
D | stream.c | 277 int old_fd; in uv__stream_try_select() local 353 old_fd = *fd; in uv__stream_try_select() 367 *fd = old_fd; in uv__stream_try_select()
|