/external/libevent/ |
D | epolltable-internal.h | 97 common than "close and reopen", so we'll usually wind up doing 1 102 epfd, then close it, then re-create it with the same fd (via dup2 or an 113 Bit 0: close change is add 114 Bit 1: close change is del 140 /* old= 0, write: 0, read: 0, close: 0 */ 142 /* old= 0, write: 0, read: 0, close:add */ 144 /* old= 0, write: 0, read: 0, close:del */ 146 /* old= 0, write: 0, read: 0, close:xxx */ 148 /* old= 0, write: 0, read:add, close: 0 */ 150 /* old= 0, write: 0, read:add, close:add */ [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | RealWebSocketTest.java | 70 @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() 192 assertFalse(server.readMessage()); // This will trigger a close response. in close() 199 client.close(1000, "Hello!"); in clientCloseThenMethodsThrow() 208 client.close(1000, "Hello!"); in clientCloseThenMethodsThrow() 222 client2Server.close(); in socketClosedDuringPingKillsWebSocket() [all …]
|
/external/one-true-awk/testdir/ |
D | T.close | 1 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/cronet/stable/base/mac/ |
D | close_nocancel.cc | 8 // When the default version of close used on Mac OS X fails with EINTR, the 11 // from the error. If the close is retried after the FD has been closed, the 12 // subsequent close can report EBADF, or worse, it can close an unrelated FD 13 // opened by another thread. If the close is not retried after the FD has been 16 // Mac OS X provides an alternate version of close, close$NOCANCEL. This 18 // this version, it is thus safe to call close without checking for EINTR (as 20 // this verison of close with HANDLE_EINTR is hazardous. 25 // file implements an alternative: to use the $NOCANCEL variant of close (thus 29 // This file operates by providing a close function with the non-$NOCANCEL 32 // label on the declaration of the close function, so the definition of that [all …]
|
/external/cronet/tot/base/mac/ |
D | close_nocancel.cc | 8 // When the default version of close used on Mac OS X fails with EINTR, the 11 // from the error. If the close is retried after the FD has been closed, the 12 // subsequent close can report EBADF, or worse, it can close an unrelated FD 13 // opened by another thread. If the close is not retried after the FD has been 16 // Mac OS X provides an alternate version of close, close$NOCANCEL. This 18 // this version, it is thus safe to call close without checking for EINTR (as 20 // this verison of close with HANDLE_EINTR is hazardous. 25 // file implements an alternative: to use the $NOCANCEL variant of close (thus 29 // This file operates by providing a close function with the non-$NOCANCEL 32 // label on the declaration of the close function, so the definition of that [all …]
|
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 182 close(efd); in TEST() 183 close(sfd[0]); in TEST() 184 close(sfd[1]); in TEST() 213 close(efd); in TEST() 214 close(sfd[0]); in TEST() 215 close(sfd[1]); in TEST() 249 close(efd); in TEST() 250 close(sfd[0]); in TEST() 251 close(sfd[1]); in TEST() 252 close(sfd[2]); in TEST() [all …]
|
/external/rust/android-crates-io/crates/rustix/src/io/ |
D | close.rs | 1 //! The unsafe `close` for raw file descriptors. 11 /// `close(raw_fd)`—Closes a `RawFd` directly. 17 /// filesystem designers to not return errors from `close`. Users who chose to 36 …amming]: https://beej.us/guide/bgnet/html/split/system-calls-or-bust.html#close-and-shutdownget-ou… 37 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html 38 /// [Linux]: https://man7.org/linux/man-pages/man2/close.2.html 39 …ive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/close.2.html#//apple_ref/doc/man/2/close 41 /// [FreeBSD]: https://man.freebsd.org/cgi/man.cgi?query=close&sektion=2 42 /// [NetBSD]: https://man.netbsd.org/close.2 43 /// [OpenBSD]: https://man.openbsd.org/close.2 [all …]
|
/external/igt-gpu-tools/tests/ |
D | sw_sync.c | 56 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 …]
|
D | prime_self_import.c | 101 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/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 27 close(pipe_c2p[0]); in test_send_signal_common() 28 close(pipe_c2p[1]); in test_send_signal_common() 34 close(pipe_c2p[0]); in test_send_signal_common() 35 close(pipe_c2p[1]); in test_send_signal_common() 36 close(pipe_p2c[0]); in test_send_signal_common() 37 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() 80 close(pipe_c2p[1]); in test_send_signal_common() 81 close(pipe_p2c[0]); in test_send_signal_common() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | CpioTestCase.java | 58 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 …]
|
D | TarTestCase.java | 57 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 …]
|
D | ArTestCase.java | 58 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 …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/ |
D | ChangeSetTestCase.java | 100 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/cronet/tot/third_party/llvm-libc/src/test/src/unistd/ |
D | CMakeLists.txt | 16 libc.src.unistd.close 31 libc.src.unistd.close 46 libc.src.unistd.close 64 libc.src.unistd.close 82 libc.src.unistd.close 101 libc.src.unistd.close 115 libc.src.unistd.close 133 libc.src.unistd.close 152 libc.src.unistd.close 170 libc.src.unistd.close [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/test/src/unistd/ |
D | CMakeLists.txt | 16 libc.src.unistd.close 31 libc.src.unistd.close 46 libc.src.unistd.close 64 libc.src.unistd.close 82 libc.src.unistd.close 101 libc.src.unistd.close 115 libc.src.unistd.close 133 libc.src.unistd.close 152 libc.src.unistd.close 170 libc.src.unistd.close [all …]
|
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/data/ |
D | CandleEntry.java | 21 /** close value */ 34 * @param close The close value 36 public CandleEntry(float x, float shadowH, float shadowL, float open, float close) { in CandleEntry() argument 42 this.mClose = close; in CandleEntry() 52 * @param close 55 public CandleEntry(float x, float shadowH, float shadowL, float open, float close, in CandleEntry() argument 62 this.mClose = close; in CandleEntry() 72 * @param close 75 public CandleEntry(float x, float shadowH, float shadowL, float open, float close, in CandleEntry() argument 82 this.mClose = close; in CandleEntry() [all …]
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_s.c | 78 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/swiftshader/ |
D | .dir-locals.el | 20 (composition-close . 0) 21 (module-close . 0) 22 (namespace-close . 0) 23 (extern-lang-close . 0) 53 (brace-list-close . 0) 54 (block-close . 0) 65 (inline-close . 0) 66 (class-close . 0) 69 (defun-close . 0) 76 (arglist-close . c-lineup-arglist) [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | resource_sharer.py | 34 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/jackson-core/src/test/java/com/fasterxml/jackson/core/write/ |
D | GeneratorCloseTest.java | 30 * This unit test checks the default behaviour; with no auto-close, no 50 // regular close won't close it either: in testNoAutoCloseGenerator() 51 jg.close(); in testNoAutoCloseGenerator() 66 // but close() should now close the writer in testCloseGenerator() 67 jg.close(); in testCloseGenerator() 81 jg.close(); in testNoAutoCloseOutputStream() 96 jg.close(); in testAutoCloseArraysAndObjects() 103 jg.close(); in testAutoCloseArraysAndObjects() 116 jg.close(); in testNoAutoCloseArraysAndObjects() 117 // shouldn't close in testNoAutoCloseArraysAndObjects() [all …]
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_server.py | 37 sock.close() 43 writer.close() 88 sock.close() 94 writer.close() 132 wr.close() 136 self.addCleanup(srv.close) 151 srv.close() 160 wr.close() 174 wr.close() 178 self.addCleanup(srv.close) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_fileio.py | 35 self.f.close() 43 self.f.close() 87 self.f.close() 97 self.f.close() 113 self.f.close() 136 self.f.close() 144 self.f.close() 156 self.f.close() 174 self.f.close() 196 os.close(fd) [all …]
|
/external/scapy/test/contrib/ |
D | cansocket_native.uts | 46 sock2.close() 59 sock2.close() 70 sock2.close() 80 sock2.close() 96 sock2.close() 102 sock1.close() 118 sock2.close() 132 sock2.close() 139 sock1.close() 156 sock2.close() [all …]
|
/external/aws-crt-java/src/test/java/software/amazon/awssdk/crt/test/ |
D | ServerListenerTest.java | 49 listener.close(); in testSetupAndTearDown() 51 bootstrap.close(); in testSetupAndTearDown() 52 elGroup.close(); in testSetupAndTearDown() 54 socketOptions.close(); in testSetupAndTearDown() 78 listener.close(); in testSetupWith0PortAndTearDown() 80 bootstrap.close(); in testSetupWith0PortAndTearDown() 81 elGroup.close(); in testSetupWith0PortAndTearDown() 83 socketOptions.close(); in testSetupWith0PortAndTearDown() 121 listener1.close(); in testBindErrorPropagates() 123 bootstrap.close(); in testBindErrorPropagates() [all …]
|