Home
last modified time | relevance | path

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

/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/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/libdrm/freedreno/
Dfreedreno_device.c111 int close_fd = dev->closefd ? dev->fd : -1; in fd_device_del_impl() local
116 if (close_fd >= 0) in fd_device_del_impl()
117 close(close_fd); in fd_device_del_impl()
/external/python/cpython3/Lib/test/
Daudiotests.py17 close_fd = False variable in AudioTests
108 self.assertEqual(testfile.closed, self.close_fd)
116 if not self.close_fd:
118 self.assertEqual(testfile.closed, self.close_fd)
134 if not self.close_fd:
278 self.assertEqual(testfile.closed, self.close_fd)
284 self.assertEqual(testfile.closed, self.close_fd)
Dtest_aifc.py16 close_fd = True variable in AifcTest
/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/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri3.c237 goto close_fd; in dri3_alloc_back_buffer()
309 close_fd: in dri3_alloc_back_buffer()
483 goto close_fd; in dri3_get_front_buffer()
535 close_fd: in dri3_get_front_buffer()
811 goto close_fd; in vl_dri3_screen_create()
815 goto close_fd; in vl_dri3_screen_create()
849 close_fd: in vl_dri3_screen_create()
Dvl_winsys_dri.c398 goto close_fd; in vl_dri2_screen_create()
438 close_fd: in vl_dri2_screen_create()
/external/swiftshader/third_party/llvm-7.0/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/libaom/libaom/third_party/googletest/src/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/mesa3d/src/gtest/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/google-breakpad/src/testing/gtest/src/
Dgtest-death-test.cc925 int close_fd; // File descriptor to close; the read end of a pipe member
948 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1006 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1007 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1031 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1032 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/googletest/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()
1295 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1296 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1319 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1320 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/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-death-test.cc880 int close_fd; // File descriptor to close; the read end of a pipe member
902 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
953 static pid_t ExecDeathTestFork(char* const* argv, int close_fd) { in ExecDeathTestFork() argument
954 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestFork()
/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.c437 int close_fd) in exchild() argument
551 if (close_fd >= 0 && (((flags & XPCLOSE) && cldpid) || in exchild()
553 close(close_fd); in exchild()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc7773 int close_fd; // File descriptor to close; the read end of a pipe member
7796 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
7854 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
7855 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
7878 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
7879 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/external/elfutils/libdwfl/
DChangeLog30 * open.c (what_kind): Rename close_fd to may_close_fd.