Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 7861) sorted by relevance

12345678910>>...315

/external/one-true-awk/testdir/
DT.close1 echo T.close: test close built-in
6 $awk '{ print >>"foo"; close("foo") }' /etc/passwd
7 diff /etc/passwd foo || echo 'BAD: T.close (1)'
11 $awk '{ print >"foo2"; close("foo2") }' foo
12 diff foo1 foo2 || echo 'BAD: T.close (2)'
16 BEGIN { getline <"/etc/passwd"; print close("/etc/passwd"); }
18 diff foo1 foo2 || echo 'BAD: T.close (3)'
22 BEGIN { print close("glotch"); }
24 diff foo1 foo2 || echo 'BAD: T.close (4)'
27 $awk ' # normal close
[all …]
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c165 close(efd); in TEST()
166 close(sfd[0]); in TEST()
167 close(sfd[1]); in TEST()
196 close(efd); in TEST()
197 close(sfd[0]); in TEST()
198 close(sfd[1]); in TEST()
232 close(efd); in TEST()
233 close(sfd[0]); in TEST()
234 close(sfd[1]); in TEST()
235 close(sfd[2]); in TEST()
[all …]
/external/igt-gpu-tools/tests/
Dsw_sync.c56 close(timeline); in test_alloc_timeline()
67 close(in_fence); in test_alloc_fence()
68 close(timeline); in test_alloc_fence()
85 close(timeline); in test_timeline_closed()
101 close(timeline); in test_timeline_closed_signaled()
119 close(in_fence[0]); in test_alloc_merge_fence()
120 close(in_fence[1]); in test_alloc_merge_fence()
121 close(fence_merge); in test_alloc_merge_fence()
122 close(timeline[0]); in test_alloc_merge_fence()
123 close(timeline[1]); in test_alloc_merge_fence()
[all …]
Dprime_self_import.c101 close(dma_buf_fd1); in test_with_fd_dup()
105 close(dma_buf_fd2); in test_with_fd_dup()
108 close(fd1); in test_with_fd_dup()
109 close(fd2); in test_with_fd_dup()
129 close(dma_buf_fd); in test_with_two_bos()
137 close(dma_buf_fd); in test_with_two_bos()
141 close(fd1); in test_with_two_bos()
142 close(fd2); in test_with_two_bos()
166 close(fd1); in test_with_one_bo_two_files()
167 close(fd2); in test_with_one_bo_two_files()
[all …]
/external/skqp/tests/
DPathOpsOpTest.cpp38 path.close(); in cubicOp1d()
42 pathB.close(); in cubicOp1d()
51 path.close(); in cubicOp2d()
55 pathB.close(); in cubicOp2d()
64 path.close(); in cubicOp3d()
68 pathB.close(); in cubicOp3d()
77 path.close(); in cubicOp5d()
81 pathB.close(); in cubicOp5d()
90 path.close(); in cubicOp6d()
94 pathB.close(); in cubicOp6d()
[all …]
DPathOpsSimplifyTest.cpp16 path.close(); in testLine1()
26 path.close(); in testLine1x()
34 path.close(); in addInnerCWTriangle()
41 path.close(); in addInnerCCWTriangle()
48 path.close(); in addOuterCWTriangle()
55 path.close(); in addOuterCCWTriangle()
153 path.close(); in testLine6()
157 path.close(); in testLine6()
167 path.close(); in testLine6x()
171 path.close(); in testLine6x()
[all …]
DPathOpsSkpTest.cpp19 path.close(); in skpcheeseandburger_com225()
78 pathB.close(); in skpcheeseandburger_com225()
99 pathB.close(); in skpcheeseandburger_com225()
154 pathB.close(); in skpcheeseandburger_com225()
260 pathB.close(); in skpcheeseandburger_com225()
287 pathB.close(); in skpcheeseandburger_com225()
388 path.close(); in skpeverytechpro_blogspot_com100()
396 path.close(); in skpeverytechpro_blogspot_com100()
418 path.close(); in skpflite_com41()
425 pathB.close(); in skpflite_com41()
[all …]
/external/skia/tests/
DPathOpsOpTest.cpp38 path.close(); in cubicOp1d()
42 pathB.close(); in cubicOp1d()
51 path.close(); in cubicOp2d()
55 pathB.close(); in cubicOp2d()
64 path.close(); in cubicOp3d()
68 pathB.close(); in cubicOp3d()
77 path.close(); in cubicOp5d()
81 pathB.close(); in cubicOp5d()
90 path.close(); in cubicOp6d()
94 pathB.close(); in cubicOp6d()
[all …]
DPathOpsSimplifyTest.cpp16 path.close(); in testLine1()
26 path.close(); in testLine1x()
34 path.close(); in addInnerCWTriangle()
41 path.close(); in addInnerCCWTriangle()
48 path.close(); in addOuterCWTriangle()
55 path.close(); in addOuterCCWTriangle()
153 path.close(); in testLine6()
157 path.close(); in testLine6()
167 path.close(); in testLine6x()
171 path.close(); in testLine6x()
[all …]
DPathOpsSkpTest.cpp19 path.close(); in skpcheeseandburger_com225()
78 pathB.close(); in skpcheeseandburger_com225()
99 pathB.close(); in skpcheeseandburger_com225()
154 pathB.close(); in skpcheeseandburger_com225()
260 pathB.close(); in skpcheeseandburger_com225()
287 pathB.close(); in skpcheeseandburger_com225()
388 path.close(); in skpeverytechpro_blogspot_com100()
396 path.close(); in skpeverytechpro_blogspot_com100()
418 path.close(); in skpflite_com41()
425 pathB.close(); in skpflite_com41()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c30 close(pipe_c2p[0]); in test_send_signal_common()
31 close(pipe_c2p[1]); in test_send_signal_common()
37 close(pipe_c2p[0]); in test_send_signal_common()
38 close(pipe_c2p[1]); in test_send_signal_common()
39 close(pipe_p2c[0]); in test_send_signal_common()
40 close(pipe_p2c[1]); in test_send_signal_common()
48 close(pipe_c2p[0]); /* close read */ in test_send_signal_common()
49 close(pipe_p2c[1]); /* close write */ in test_send_signal_common()
68 close(pipe_c2p[1]); in test_send_signal_common()
69 close(pipe_p2c[0]); in test_send_signal_common()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DTarTestCase.java57 os.close(); in testTarArchiveCreation()
82 os.close(); in testTarArchiveLongNameCreation()
83 out.close(); in testTarArchiveLongNameCreation()
84 in.close(); in testTarArchiveLongNameCreation()
108 os2.close(); in testTarArchiveLongNameCreation()
121 in.close(); in testTarUnarchive()
122 out.close(); in testTarUnarchive()
135 in.close(); in testCOMPRESS114()
152 tos.close(); in testDirectoryEntryFromFile()
156 tis.close(); in testDirectoryEntryFromFile()
[all …]
DArTestCase.java58 os.close(); in testArArchiveCreation()
77 os.close(); in testArUnarchive()
78 out.close(); in testArUnarchive()
113 os.close(); in testArDelete()
114 out.close(); in testArDelete()
151 ais.close(); in testArDelete()
152 aos.close(); in testArDelete()
153 is.close(); in testArDelete()
154 os.close(); in testArDelete()
180 ais.close(); in testArDelete()
[all …]
DCpioTestCase.java58 os.close(); in testCpioArchiveCreation()
59 out.close(); in testCpioArchiveCreation()
85 os.close(); in testCpioUnarchive()
86 out.close(); in testCpioUnarchive()
101 out.close(); in testCpioUnarchive()
104 in.close(); in testCpioUnarchive()
105 is.close(); in testCpioUnarchive()
130 tos.close(); in testDirectoryEntryFromFile()
134 tis.close(); in testDirectoryEntryFromFile()
145 tis.close(); in testDirectoryEntryFromFile()
[all …]
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_file_test.c53 close(creat(pathname, 0600)); in create2()
164 close(pipe_fd[1]); in stage_file_test()
166 close(pipe_fd[0]); in stage_file_test()
181 close(pipe_fd[1]); in stage_file_test()
183 close(pipe_fd[0]); in stage_file_test()
193 close(fd); in stage_file_test()
198 close(fd); in stage_file_test()
205 close(fd); in stage_file_test()
210 close(fd); in stage_file_test()
217 close(fd); in stage_file_test()
[all …]
Dtomoyo_rewrite_test.c71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); in stage_rewrite_test()
79 close(fd); in stage_rewrite_test()
84 close(fd); in stage_rewrite_test()
90 close(fd); in stage_rewrite_test()
95 close(fd); in stage_rewrite_test()
100 close(fd); in stage_rewrite_test()
111 close(fd); in stage_rewrite_test()
124 close(fd); in stage_rewrite_test()
129 close(fd); in stage_rewrite_test()
134 close(fd); in stage_rewrite_test()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java100 in.close(); in testAddChangeTwice()
103 in2.close(); in testAddChangeTwice()
135 in.close(); in testAddChangeTwiceWithoutReplace()
138 in2.close(); in testAddChangeTwiceWithoutReplace()
173 is.close(); in testDeleteDir()
177 out.close(); in testDeleteDir()
180 ais.close(); in testDeleteDir()
215 is.close(); in testDeleteDir2()
219 out.close(); in testDeleteDir2()
222 ais.close(); in testDeleteDir2()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DRealWebSocketTest.java70 @Override protected void close() throws IOException { in setUp()
83 @Override protected void close() throws IOException { in setUp()
148 sink.close(); in streamingMessage()
166 sink.close(); in streamingMessageCanInterleavePing()
190 @Test public void close() throws IOException { in close() method in RealWebSocketTest
191 client.close(1000, "Hello!"); in close()
199 client.close(1000, "Hello!"); in clientCloseThenMethodsThrow()
208 client.close(1000, "Hello!"); in clientCloseThenMethodsThrow()
222 client2Server.close(); in socketClosedDuringPingKillsWebSocket()
246 client2Server.close(); in socketClosedDuringMessageKillsWebSocket()
[all …]
/external/llvm-project/clang/test/Analysis/
Dunix-api.c13 int close(int fildes);
19 close(fd); in open_1()
27 close(fd); in open_2()
35 close(fd); in openat_2()
42 close(fd); in open_3()
49 close(fd); in openat_3()
57 close(fd); in open_4()
67 close(fd); in open_5()
77 close(fd); in open_6()
84 close(fd); in open_7()
[all …]
/external/python/cpython2/Lib/test/
Dtest_mmap.py34 f.close()
108 f.close()
111 m.close()
115 f.close()
170 f.close()
191 m.close()
192 f.close()
197 f.close()
207 m.close()
208 f.close()
[all …]
/external/adhd/cras/src/tests/
Dutil_unittest.cc47 close(sock[0]); in TEST()
48 close(sock[1]); in TEST()
49 close(fd[1]); in TEST()
50 close(fd2[1]); in TEST()
61 close(fd[0]); in TEST()
62 close(fd2[0]); in TEST()
63 close(new_fds[0]); in TEST()
64 close(new_fds[1]); in TEST()
89 close(sock[0]); in TEST()
90 close(sock[1]); in TEST()
[all …]
/external/grpc-grpc/src/php/tests/unit_tests/
DChannelTest.php29 $this->channel->close();
99 $this->channel->close();
211 $this->channel1->close();
212 $this->channel2->close();
240 $this->channel1->close();
241 $this->channel2->close();
261 $this->channel1->close();
262 $this->channel2->close();
281 $this->channel1->close();
282 $this->channel2->close();
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dresource_sharer.py34 self._id = _resource_sharer.register(send, new_sock.close)
51 def close(): function
52 os.close(new_fd)
53 self._id = _resource_sharer.register(send, close)
72 def register(self, send, close): argument
78 self._cache[self._key] = (send, close)
98 c.close()
103 self._listener.close()
107 for key, (send, close) in self._cache.items():
108 close()
[all …]
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dtestsf_s.c78 close(s); in main()
85 close(s); in main()
99 close(s); in main()
108 close(as); in main()
112 close(as); in main()
118 close(s); /* close service socket */ in main()
123 close(as); in main()
147 close(as); in main()
158 close(as); in main()
159 close(fd); in main()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc60 close(fd); in grpc_is_epollexclusive_available()
80 close(fd); in grpc_is_epollexclusive_available()
81 close(evfd); in grpc_is_epollexclusive_available()
92 close(fd); in grpc_is_epollexclusive_available()
93 close(evfd); in grpc_is_epollexclusive_available()
106 close(fd); in grpc_is_epollexclusive_available()
107 close(evfd); in grpc_is_epollexclusive_available()
110 close(evfd); in grpc_is_epollexclusive_available()
111 close(fd); in grpc_is_epollexclusive_available()

12345678910>>...315