/third_party/eudev/src/shared/ |
D | terminal-util.c | 77 safe_close(fd); in open_terminal() 82 safe_close(fd); in open_terminal()
|
D | log.c | 65 safe_close(console_fd); in log_close_console() 87 kmsg_fd = safe_close(kmsg_fd); in log_close_kmsg() 103 syslog_fd = safe_close(syslog_fd); in log_close_syslog() 147 safe_close(syslog_fd); in log_open_syslog()
|
D | util.h | 89 int safe_close(int fd); 290 safe_close(*fd); in closep()
|
D | util.c | 210 int safe_close(int fd) { in safe_close() function 240 safe_close(fds[i]); in close_many()
|
/third_party/glib/glib/tests/ |
D | spawn-singlethread.c | 174 safe_close (int fd) in safe_close() function 260 safe_close (test_pipe[0][0]); in test_spawn_async_with_fds() 261 safe_close (test_pipe[1][1]); in test_spawn_async_with_fds() 263 safe_close (test_pipe[2][1]); in test_spawn_async_with_fds() 305 safe_close (test_pipe[0][1]); in test_spawn_async_with_fds() 306 safe_close (test_pipe[1][0]); in test_spawn_async_with_fds() 308 safe_close (test_pipe[2][0]); in test_spawn_async_with_fds()
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 162 safe_close(filename, lineno, NULL, fd); in check_mfd_fail_new() 289 safe_close(filename, lineno, NULL, fd); in check_mfd_fail_open() 415 safe_close(filename, lineno, NULL, fd2); in check_mfd_shrinkable()
|
/third_party/ltp/lib/ |
D | tst_netdevice.c | 59 safe_close(file, lineno, NULL, sock); in tst_netdev_index_by_name() 85 safe_close(file, lineno, NULL, sock); in tst_netdev_set_state() 95 safe_close(file, lineno, NULL, sock); in tst_netdev_set_state()
|
D | tst_safe_io_uring.c | 81 ret = safe_close(file, lineno, NULL, uring->fd); in safe_io_uring_close()
|
D | tst_rtnetlink.c | 58 safe_close(file, lineno, NULL, ctx->socket); in tst_rtnl_destroy_context()
|
D | safe_net.c | 522 ret = safe_close(file, lineno, cleanup_fn, sock); in tst_get_unused_port()
|
D | safe_macros.c | 62 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() function
|
/third_party/eudev/src/libudev/ |
D | libudev-queue.c | 113 safe_close(udev_queue->fd); in udev_queue_unref()
|
/third_party/glib/glib/ |
D | gspawn.c | 159 static gint safe_close (gint fd); 276 safe_close (*fd); in close_and_invalidate() 1300 safe_close (gint fd) in safe_close() function 1317 (void) safe_close (fd); in close_func() 1412 safe_close (dir_fd); in safe_fdwalk()
|
/third_party/ltp/include/ |
D | safe_macros_fn.h | 33 int safe_close(const char *file, const int lineno,
|
D | tst_safe_macros.h | 34 safe_close(__FILE__, __LINE__, NULL, (fd)); \
|
/third_party/eudev/src/udev/ |
D | udevd.c | 329 fd_lock = safe_close(fd_lock); in worker_spawn() 353 safe_close(fd_lock); in worker_spawn() 412 safe_close(fd_signal); in worker_spawn() 413 safe_close(fd_ep); in worker_spawn()
|
D | udev-event.c | 428 safe_close(fd_stdout); in spawn_exec() 432 safe_close(fd_stderr); in spawn_exec()
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 30 int ret = safe_close(__FILE__, __LINE__, (cleanup_fn), (fd)); \
|