/third_party/ltp/testcases/kernel/syscalls/dup3/ |
H A 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/pulseaudio/src/pulsecore/ |
H A 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/libbpf/src/ |
H A D | libbpf_internal.h | 613 int old_fd = fd, saved_errno; in ensure_good_fd() local 620 close(old_fd); in ensure_good_fd() 623 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
|
H A D | netlink.c | 286 static int __bpf_set_link_xdp_fd_replace(int ifindex, int fd, int old_fd, in __bpf_set_link_xdp_fd_replace() argument 312 ret = nlattr_add(&req, IFLA_XDP_EXPECTED_FD, &old_fd, in __bpf_set_link_xdp_fd_replace() 313 sizeof(old_fd)); in __bpf_set_link_xdp_fd_replace()
|
H A D | libbpf.h | 1170 int old_fd; member 1173 #define bpf_xdp_set_link_opts__last_field old_fd
|
/third_party/node/deps/uvwasi/src/ |
H A D | uvwasi.c | 1827 uvwasi_fd_t old_fd, in uvwasi_path_link() 1842 UVWASI_DEBUG("uvwasi_path_link(uvwasi=%p, old_fd=%d, old_flags=%d, " in uvwasi_path_link() 1846 old_fd, in uvwasi_path_link() 1859 if (old_fd == new_fd) { in uvwasi_path_link() 1861 old_fd, in uvwasi_path_link() 1869 old_fd, in uvwasi_path_link() 1923 if (old_fd != new_fd) in uvwasi_path_link() 2201 uvwasi_fd_t old_fd, in uvwasi_path_rename() 2215 UVWASI_DEBUG("uvwasi_path_rename(uvwasi=%p, old_fd=%d, old_path='%s', " in uvwasi_path_rename() 2218 old_fd, in uvwasi_path_rename() 1826 uvwasi_path_link(uvwasi_t* uvwasi, uvwasi_fd_t old_fd, uvwasi_lookupflags_t old_flags, const char* old_path, uvwasi_size_t old_path_len, uvwasi_fd_t new_fd, const char* new_path, uvwasi_size_t new_path_len) uvwasi_path_link() argument 2200 uvwasi_path_rename(uvwasi_t* uvwasi, uvwasi_fd_t old_fd, const char* old_path, uvwasi_size_t old_path_len, uvwasi_fd_t new_fd, const char* new_path, uvwasi_size_t new_path_len) uvwasi_path_rename() argument [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A 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/deps/uvwasi/include/ |
H A D | uvwasi.h | 207 uvwasi_fd_t old_fd, 236 uvwasi_fd_t old_fd,
|
/third_party/python/Modules/ |
H A D | signalmodule.c | 856 int old_fd = wakeup.fd; 860 return PyLong_FromLong(old_fd); 882 int old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); local 884 int old_fd = wakeup.fd; local 888 return old_fd;
|
/third_party/node/src/ |
H A D | node_wasi.cc | 1126 uint32_t old_fd; in PathLink() local 1136 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathLink() 1146 old_fd, in PathLink() 1157 old_fd, in PathLink() 1297 uint32_t old_fd; in PathRename() local 1306 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathRename() 1315 old_fd, in PathRename() 1325 old_fd, in PathRename()
|
/third_party/libuv/src/unix/ |
H A D | stream.c | 288 int old_fd; in uv__stream_try_select() local 364 old_fd = *fd; in uv__stream_try_select() 378 *fd = old_fd; in uv__stream_try_select()
|
/third_party/node/deps/uv/src/unix/ |
H A D | stream.c | 278 int old_fd; in uv__stream_try_select() local 354 old_fd = *fd; in uv__stream_try_select() 368 *fd = old_fd; in uv__stream_try_select()
|