/third_party/elfutils/tests/ |
H A D | test-elf_cntl_gelf_getshdr.c | 46 bool close_fd = false; in main() local 50 close_fd = false; in main() 55 close_fd = false; in main() 60 close_fd = true; in main() 86 if (! do_mmap && close_fd) in main()
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_device.c | 112 int close_fd = dev->closefd ? dev->fd : -1; in fd_device_del_impl() local 117 if (close_fd >= 0) in fd_device_del_impl() 118 close(close_fd); in fd_device_del_impl()
|
/third_party/node/deps/uv/src/unix/ |
H A D | process.c | 261 int close_fd; in uv__process_child_init() local 312 close_fd = -1; in uv__process_child_init() 323 close_fd = use_fd; in uv__process_child_init() 331 if (close_fd == -1) { in uv__process_child_init() 344 if (fd <= 2 && close_fd == -1) in uv__process_child_init() 347 if (close_fd >= stdio_count) in uv__process_child_init() 348 uv__close(close_fd); in uv__process_child_init()
|
/third_party/python/Lib/test/ |
H A D | audiotests.py | 17 close_fd = False variable in AudioTests 97 self.assertEqual(testfile.closed, self.close_fd) 105 if not self.close_fd: 107 self.assertEqual(testfile.closed, self.close_fd) 123 if not self.close_fd: 267 self.assertEqual(testfile.closed, self.close_fd) 273 self.assertEqual(testfile.closed, self.close_fd)
|
H A D | test_aifc.py | 19 close_fd = True variable in AifcTest
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_winsys_dri3.c | 240 goto close_fd; in dri3_alloc_back_buffer() 310 close_fd: in dri3_alloc_back_buffer() 485 goto close_fd; in dri3_get_front_buffer() 538 close_fd: in dri3_get_front_buffer() 819 goto close_fd; in vl_dri3_screen_create() 824 goto close_fd; in vl_dri3_screen_create() 830 goto close_fd; in vl_dri3_screen_create() 867 close_fd: in vl_dri3_screen_create()
|
H A D | vl_winsys_dri.c | 452 goto close_fd; in vl_dri2_screen_create() 491 close_fd: in vl_dri2_screen_create()
|
/third_party/libuv/src/unix/ |
H A D | process.c | 282 int close_fd; in uv__process_child_init() local 333 close_fd = -1; in uv__process_child_init() 344 close_fd = use_fd; in uv__process_child_init() 352 if (close_fd == -1) { in uv__process_child_init() 365 if (fd <= 2 && close_fd == -1) in uv__process_child_init() 368 if (close_fd >= stdio_count) in uv__process_child_init() 369 uv__close(close_fd); in uv__process_child_init()
|
/third_party/libuv/test/ |
H A D | test-close-fd.c | 51 TEST_IMPL(close_fd) { in TEST_IMPL()
|
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 1208 int close_fd; // File descriptor to close; the read end of a pipe member 1219 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain() 1288 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument 1289 ExecDeathTestArgs args = {argv, close_fd}; in ExecDeathTestSpawnChild() 1311 // Set close_fd to be closed after spawn. in ExecDeathTestSpawnChild() 1312 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1314 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 1174 int close_fd; // File descriptor to close; the read end of a pipe member 1185 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain() 1254 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument 1255 ExecDeathTestArgs args = {argv, close_fd}; in ExecDeathTestSpawnChild() 1277 // Set close_fd to be closed after spawn. in ExecDeathTestSpawnChild() 1278 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1280 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 1225 int close_fd; // File descriptor to close; the read end of a pipe member 1248 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain() 1313 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument 1314 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild() 1336 // Set close_fd to be closed after spawn. in ExecDeathTestSpawnChild() 1337 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild() 1338 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
|
/third_party/libbpf/src/ |
H A D | skel_internal.h | 84 return close_fd(fd); in close()
|
/third_party/mksh/ |
H A D | jobs.c | 442 int close_fd) 556 if (close_fd >= 0 && (((flags & XPCLOSE) && cldpid) || 558 close(close_fd); 439 exchild(struct op *t, int flags, volatile int *xerrok, int close_fd) global() argument
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | dynlink.c | 1385 goto close_fd; in get_transparent_hugepages_supported() 1391 close_fd: in get_transparent_hugepages_supported()
|
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 1420 goto close_fd; in get_transparent_hugepages_supported() 1426 close_fd: in get_transparent_hugepages_supported()
|