/third_party/ltp/testcases/lib/ |
H A D | tst_rod.c | 88 if (close(0)) { in main() 89 fprintf(stderr, "%s: Failed to close stdin: %s\n", in main() 102 if (close(1)) { in main() 103 fprintf(stderr, "%s: Failed to close stdout: %s\n", in main()
|
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/ |
H A D | rpc_server.c | 68 close(i); in main() 75 close(i); in main()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap02.c | 115 close(nfildes); in test_hugemmap() 116 close(fildes); in test_hugemmap()
|
/third_party/ltp/testcases/kernel/syscalls/fstatat/ |
H A D | fstatat01.c | 146 close(fds[0]); in cleanup() 148 close(fds[2]); in cleanup()
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
H A D | nfs01_open_files.c | 75 close(filedes[i]); in main() 100 if (close(fd)) in write_something()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork04.c | 81 * close file containing test values. 160 close(fildes); in child_environment() 267 close(fildes); in parent_environment()
|
/third_party/ltp/testcases/kernel/syscalls/mknodat/ |
H A D | mknodat01.c | 150 if (dir_fd > 0 && close(dir_fd)) in cleanup() 151 tst_resm(TWARN | TERRNO, "Failed to close(dir_fd)"); in cleanup() 153 if (fd > 0 && close(fd)) in cleanup() 154 tst_resm(TWARN | TERRNO, "Failed to close(fd)"); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
H A D | tools.c | 112 close(fd); in setup_path() 118 close(fd); in setup_path()
|
H A D | tools64.c | 111 close(fd); in setup_path() 117 close(fd); in setup_path()
|
/third_party/ltp/testcases/kernel/syscalls/renameat2/ |
H A D | renameat201.c | 125 if (olddirfd > 0 && close(olddirfd) < 0) in cleanup() 126 tst_resm(TWARN | TERRNO, "close olddirfd failed"); in cleanup() 128 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup() 129 tst_resm(TWARN | TERRNO, "close newdirfd failed"); in cleanup()
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
H A D | test_acl.py | 80 f.close() 108 f.close()
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_autoclose.c | 149 tst_resm(TINFO, "Waiting for the associations to close automatically " in main() 167 close(sk1); in main() 168 close(sk2); in main()
|
H A D | test_recvmsg.c | 159 close(svr_sk); in main() 160 close(clt_sk); in main()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-file/ |
H A D | minimal-raw-file.c | 52 close(vhd->filefd); in callback_raw_test() 61 close(vhd->filefd); in callback_raw_test()
|
/third_party/libdrm/tests/tegra/ |
H A D | vic-clear.c | 67 close(fd); in main() 170 close(fd); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 11-4.c | 24 * c. Modify a byte in the partial page, then un-map the and close the 118 close(fd); in main() 152 close(fd); in main()
|
H A D | 3-1.c | 128 close(fd); in main() 129 close(fd2); in main()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_dirent.cpp | 102 close(fd); in Bm_function_Fdopendir() 128 close(fd); in Bm_function_Open_Dir()
|
/third_party/python/Tools/scripts/ |
H A D | pickle2db.py | 141 db.close() 142 pfile.close()
|
/third_party/protobuf/examples/ |
H A D | AddPerson.java | 76 try { input.close(); } catch (Throwable ignore) {} in main() 92 output.close(); in main()
|
/third_party/python/Lib/test/ |
H A D | mock_socket.py | 31 def close(self): member in MockFile 107 def close(self): member in MockSocket
|
H A D | sortperf.py | 32 fp.close() 44 fp.close()
|
/third_party/python/Lib/ |
H A D | getpass.py | 57 stack.close() 90 stack.close()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | htest.py | 133 "\n[Ok] to close the dialog.[Apply] to apply the settings and " 152 "Best to close editor first." 291 "Click [Close] or [X] to close the 'Replace Dialog'." 299 "Click [Close] or [X] to close the 'Search Dialog'." 306 "Its only action is to close." 362 "Select text, scroll window, close" 429 def close(_=None): function 439 root.bind('<Key-Escape>', close)
|
H A D | test_pathbrowser.py | 29 cls.pb.close() 56 pb.close()
|