| /third_party/cef/include/ |
| D | cef_life_span_handler.h | 107 // Called when a browser has recieved a request to close. This may result 110 // attempts to close that window (by clicking the 'X', for example). The 114 // An application should handle top-level owner window close notifications by 116 // CefBrowserHost::CloseBrowser(false) instead of allowing the window to close 118 // process the 'onbeforeunload' event and optionally cancel the close before 123 // send the standard close notification to the browser's top-level owner 128 // since is no longer possible to cancel the close. 133 // If the browser's top-level owner window requires a non-standard close 141 // The below examples describe what should happen during window close when the 145 // clients using standard close handling and windows created on the browser [all …]
|
| /third_party/musl/libc-test/src/functionalext/trace/ |
| D | trace_marker.c | 90 close(out_fd); in dump_trace() 120 close(trace_fd); in trace_marker_0010() 126 close(trace_fd); in trace_marker_0010() 132 close(trace_fd); in trace_marker_0010() 141 close(trace_fd); in trace_marker_0010() 171 close(trace_fd); in trace_marker_0020() 177 close(trace_fd); in trace_marker_0020() 183 close(trace_fd); in trace_marker_0020() 192 close(trace_fd); in trace_marker_0020() 222 close(trace_fd); in trace_marker_0030() [all …]
|
| /third_party/cef/include/capi/ |
| D | cef_life_span_handler_capi.h | 113 // Called when a browser has recieved a request to close. This may result 116 // user attempts to close that window (by clicking the 'X', for example). The 120 // An application should handle top-level owner window close notifications by 123 // to close immediately (see the examples below). This gives CEF an 125 // close before do_close() is called. 129 // will send the standard close notification to the browser's top-level owner 134 // since is no longer possible to cancel the close. 139 // If the browser's top-level owner window requires a non-standard close 148 // The below examples describe what should happen during window close when the 152 // recommended for clients using standard close handling and windows created [all …]
|
| /third_party/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 …]
|
| /third_party/ltp/testcases/kernel/pty/ |
| D | ptem01.c | 114 if (close(slavefd) != 0) { in test1() 115 tst_brkm(TBROK, NULL, "close slave"); in test1() 118 if (close(masterfd) != 0) { in test1() 119 tst_brkm(TBROK, NULL, "close master"); in test1() 195 if (close(slavefd) != 0) { in test2() 196 tst_brkm(TBROK, NULL, "close"); in test2() 199 if (close(masterfd) != 0) { in test2() 200 tst_brkm(TBROK, NULL, "close"); in test2() 243 if (close(slavefd) != 0) { in test3() 244 tst_brkm(TBROK, NULL, "close slave"); in test3() [all …]
|
| D | pty01.c | 173 * close pty fds in test1() 175 if (close(slavefd) != 0) { in test1() 176 tst_brkm(TBROK | TERRNO, NULL, "close of slave"); in test1() 178 if (close(masterfd) != 0) { in test1() 179 tst_brkm(TBROK | TERRNO, NULL, "close of master"); in test1() 215 * close pty fds. See what happens when we close the master in test2() 218 if (close(masterfd) != 0) { in test2() 219 tst_brkm(TBROK | TERRNO, NULL, "close()"); in test2() 240 if (close(slavefd) != 0) { in test2() 241 tst_brkm(TBROK, NULL, "close"); in test2() [all …]
|
| /third_party/skia/third_party/externals/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 …]
|
| /third_party/node/test/parallel/ |
| D | test-http2-client-destroy.js | 23 server.close(); 43 client.on('close', common.mustCall(() => { 59 socket.on('close', common.mustCall(() => { 86 client.close(); // Should be a non-op at this point 97 client.close(); // Should be a non-op at this point 102 req.on('close', common.mustCall(() => server.close())); 116 client.on('close', () => { 117 server.close(); 135 server.close(); 136 client.close(); [all …]
|
| D | test-wrap-js-stream-destroy.js | 11 // "close" events, and vice versa. 17 socket.on('close', common.mustCall()); 33 socket.on('close', common.mustCall()); 42 streamWrap.on('close', common.mustCall(() => { 43 server.close(); 56 socket.on('close', common.mustCall(() => { 57 server.close(); 74 socket.on('close', common.mustCall()); 80 streamWrap.on('close', common.mustCall()); 93 socket.on('close', common.mustCall(() => { [all …]
|
| D | test-dgram-membership.js | 13 socket.close(common.mustCall(() => { 27 socket.close(common.mustCall(() => { 48 socket.close(); 61 socket.close(); 69 socket.close(); 77 socket.close(); 90 socket.close(); 103 socket.close(); 115 socket.close(); 128 socket.close(); [all …]
|
| /third_party/python/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 …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | controlFlowForCatchAndFinally.types | 2 type Page = {close(): Promise<void>; content(): Promise<string>}; 4 >close : () => Promise<void> 7 type Browser = {close(): Promise<void>}; 9 >close : () => Promise<void> 56 await page.close(); // ok 57 >await page.close() : void 58 >page.close() : Promise<void> 59 >page.close : () => Promise<void> 61 >close : () => Promise<void> 67 await browser.close(); // ok [all …]
|
| /third_party/python/Lib/test/ |
| D | test_fileio.py | 29 self.f.close() 37 self.f.close() 80 self.f.close() 90 self.f.close() 106 self.f.close() 129 self.f.close() 137 self.f.close() 149 self.f.close() 167 self.f.close() 179 os.close(fd) [all …]
|
| D | test_winconsoleio.py | 44 f.close() # multiple close should not crash 45 f.close() 56 f.close() 57 f.close() 68 f.close() 69 f.close() 78 f.close() # multiple close should not crash 79 f.close() 85 f.close() 86 f.close() [all …]
|
| D | test_selectors.py | 38 a.close() 40 c.close() 56 self.addCleanup(rd.close) 57 self.addCleanup(wr.close) 62 self.addCleanup(s.close) 88 self.addCleanup(s.close) 103 self.addCleanup(s.close) 108 rd.close() 109 wr.close() 116 self.addCleanup(s.close) [all …]
|
| D | test_file.py | 24 self.f.close() 32 self.f.close() 47 self.f.close() 56 self.f.close() 65 self.f.close() 95 f.close() 115 # __exit__ should close the file 149 self.open(TESTFN, 'wb').close() 156 f.close() 188 f.close() [all …]
|
| /third_party/flutter/flutter/packages/flutter/test/gestures/ |
| D | arena_test.dart | 72 tester.arena.close(primaryKey); 82 tester.arena.close(primaryKey); 92 tester.arena.close(primaryKey); 106 tester.arena.close(primaryKey); 120 tester.arena.close(primaryKey); 131 tester.arena.close(primaryKey); 138 test('Win before close is delayed to close', () { 145 tester.arena.close(primaryKey); 149 test('Win before close is delayed to close, and only first winner should win', () { 157 tester.arena.close(primaryKey); [all …]
|
| /third_party/ltp/testcases/kernel/security/tomoyo/ |
| D | tomoyo_new_file_test.c | 53 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 …]
|
| /third_party/libwebsockets/include/libwebsockets/ |
| D | lws-ws-close.h | 25 /*! \defgroup wsclose Websocket Close 27 * ##Websocket close frame control 29 * When we close a ws connection, we can send a reason code and a short 30 * UTF-8 description back with the close packet. 38 /** enum lws_close_status - RFC6455 close status codes */ 59 Close control frame by an endpoint. It is designated for use in 64 Close control frame by an endpoint. It is designated for use in 67 receiving a Close control frame. */ 88 are needed SHOULD appear in the /reason/ part of the Close frame. 97 Close control frame by an endpoint. It is designated for use in [all …]
|
| /third_party/gn/src/base/posix/ |
| D | file_descriptor_shuffle.cc | 54 j->close = false; in PerformInjectiveMultimapDestructive() 57 if (i->close && i->source == j->dest) in PerformInjectiveMultimapDestructive() 58 i->close = false; in PerformInjectiveMultimapDestructive() 60 if (i->close && i->source == j->source) { in PerformInjectiveMultimapDestructive() 61 i->close = false; in PerformInjectiveMultimapDestructive() 62 j->close = true; in PerformInjectiveMultimapDestructive() 71 if (!is_identity && i->close) in PerformInjectiveMultimapDestructive() 72 delegate->Close(i->source); in PerformInjectiveMultimapDestructive() 76 delegate->Close(extra_fds[i]); in PerformInjectiveMultimapDestructive() 96 void FileDescriptorTableInjection::Close(int fd) { in Close() function in base::FileDescriptorTableInjection [all …]
|
| /third_party/rust/crates/io-lifetimes/src/ |
| D | types.rs | 16 #[cfg(all(windows, feature = "close"))] 30 #[cfg(all(windows, not(feature = "close")))] 32 #[cfg(all(windows, not(feature = "close")))] 34 #[cfg(all(windows, not(feature = "close")))] 135 #[cfg(feature = "close")] in try_clone_to_owned() 166 // If the `close` feature is disabled, we expect users to avoid cloning in try_clone_to_owned() 168 #[cfg(not(feature = "close"))] in try_clone_to_owned() 170 unreachable!("try_clone called without the \"close\" feature in io-lifetimes"); in try_clone_to_owned() 187 /// `OwnedHandle` uses [`CloseHandle`] to close its handle on drop. As such, 216 #[cfg(feature = "close")] in try_clone_to_owned() [all …]
|
| /third_party/rust/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 29 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html 30 /// [Linux]: https://man7.org/linux/man-pages/man2/close.2.html 31 …ive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/close.2.html#//apple_ref/doc/man/2/close 39 pub unsafe fn close(raw_fd: RawFd) { in close() function 40 backend::io::syscalls::close(raw_fd) in close()
|
| /third_party/ltp/utils/sctp/func_tests/ |
| D | test_1_to_1_accept_close.c | 5 * This file has test cases to test the accept () and close () call for 18 * close () Tests: 151 close(fd); in main() 193 close(acpt_sk); in main() 205 close(acpt_sk); in main() 219 /*close() TEST8: Bad socket descriptor, EBADF Expected error*/ in main() 220 error = close(-1); in main() 222 tst_brkm(TBROK, tst_exit, "close with a bad socket descriptor " in main() 225 tst_resm(TPASS, "close() with a bad socket descriptor - EBADF"); in main() 227 /*close() TEST9: valid socket descriptor should succeed*/ in main() [all …]
|
| /third_party/flutter/skia/tests/ |
| D | PathOpsSimplifyTest.cpp | 16 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 …]
|
| /third_party/skia/tests/ |
| D | PathOpsSimplifyTest.cpp | 16 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 …]
|