Home
last modified time | relevance | path

Searched refs:close_fd (Results 1 – 23 of 23) sorted by relevance

/external/elfutils/tests/
Dtest-elf_cntl_gelf_getshdr.c46 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()
/external/linux-kselftest/tools/testing/selftests/vm/
Dcompaction_test.c102 goto close_fd; in check_compaction()
108 goto close_fd; in check_compaction()
117 goto close_fd; in check_compaction()
124 goto close_fd; in check_compaction()
136 goto close_fd; in check_compaction()
147 goto close_fd; in check_compaction()
153 close_fd: in check_compaction()
/external/libdrm/freedreno/
Dfreedreno_device.c112 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()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_device.c112 int close_fd = dev->closefd ? dev->fd : -1; in fd_device_del_impl() local
118 if (close_fd >= 0) in fd_device_del_impl()
119 close(close_fd); in fd_device_del_impl()
/external/vboot_reference/cgpt/
Dcgpt_nor.c169 goto close_fd; in split_gpt()
176 goto close_fd; in split_gpt()
180 close_fd: in split_gpt()
/external/python/cpython3/Lib/test/
Daudiotests.py16 close_fd = False variable in AudioTests
96 self.assertEqual(testfile.closed, self.close_fd)
104 if not self.close_fd:
106 self.assertEqual(testfile.closed, self.close_fd)
122 if not self.close_fd:
266 self.assertEqual(testfile.closed, self.close_fd)
272 self.assertEqual(testfile.closed, self.close_fd)
Dtest_aifc.py14 close_fd = True variable in AifcTest
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri3.c235 goto close_fd; in dri3_alloc_back_buffer()
305 close_fd: in dri3_alloc_back_buffer()
480 goto close_fd; in dri3_get_front_buffer()
532 close_fd: in dri3_get_front_buffer()
810 goto close_fd; in vl_dri3_screen_create()
815 goto close_fd; in vl_dri3_screen_create()
821 goto close_fd; in vl_dri3_screen_create()
855 close_fd: in vl_dri3_screen_create()
Dvl_winsys_dri.c448 goto close_fd; in vl_dri2_screen_create()
487 close_fd: in vl_dri2_screen_create()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc939 int close_fd; // File descriptor to close; the read end of a pipe member
962 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1020 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1021 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1044 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1045 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc1152 int close_fd; // File descriptor to close; the read end of a pipe member
1175 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1236 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1237 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1260 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1261 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/python/cpython2/Lib/test/
Daudiotests.py39 close_fd = False variable in AudioTests
218 self.assertEqual(testfile.closed, self.close_fd)
224 self.assertEqual(testfile.closed, self.close_fd)
Dtest_aifc.py15 close_fd = True variable in AifcTest
/external/googletest/googletest/src/
Dgtest-death-test.cc1224 int close_fd; // File descriptor to close; the read end of a pipe member
1235 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1305 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1306 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1329 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1330 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc1225 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()
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()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc1194 int close_fd; // File descriptor to close; the read end of a pipe member
1217 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1281 static pid_t ExecDeathTestSpawnChild(char *const *argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1282 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1305 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1307 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc1211 int close_fd; // File descriptor to close; the read end of a pipe member
1234 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1299 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1300 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1323 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1324 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc883 int close_fd; // File descriptor to close; the read end of a pipe member
905 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
956 static pid_t ExecDeathTestFork(char* const* argv, int close_fd) { in ExecDeathTestFork() argument
957 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestFork()
/external/selinux/policycoreutils/newrole/
Dnewrole.c734 goto close_fd; in relabel_tty()
744 goto close_fd; in relabel_tty()
755 goto close_fd; in relabel_tty()
762 close_fd: in relabel_tty()
/external/mksh/src/
Djobs.c438 int close_fd) in exchild() argument
552 if (close_fd >= 0 && (((flags & XPCLOSE) && cldpid) || in exchild()
554 close(close_fd); in exchild()
/external/fmtlib/test/
Dgmock-gtest-all.cc7273 int close_fd; // File descriptor to close; the read end of a pipe member
7296 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
7351 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
7352 ExecDeathTestArgs args = {argv, close_fd}; in ExecDeathTestSpawnChild()
7375 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7377 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC)); in ExecDeathTestSpawnChild()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc7769 int close_fd; // File descriptor to close; the read end of a pipe member
7792 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
7850 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
7851 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
7874 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7875 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/elfutils/libdwfl/
DChangeLog305 * open.c (what_kind): Rename close_fd to may_close_fd.