/third_party/node/test/parallel/ |
H A D | test-fs-opendir.js | 83 dir.close(common.mustSucceed()); 138 await dir.close(); 216 dir.close(); 222 assert.throws(() => dir.close('not function'), invalidCallbackObj); 226 // Check first call to close() - should not report an error. 229 await dir.close(); 230 await assert.rejects(() => dir.close(), dirclosedError); 265 // Check that concurrent read() + close() operations don't do weird things. 269 const promise2 = dir.close(); 280 dir.close(commo [all...] |
H A D | test-http-set-timeout-server.js | 49 server.close(); 64 server.close(); 85 server.close(); 106 server.close(); 137 server.close(); 159 server.close(); 188 server.close();
|
H A D | test-https-set-timeout-server.js | 59 server.close(); 77 server.close(); 101 server.close(); 125 server.close(); 157 server.close(); 180 server.close(); 211 server.close();
|
H A D | test-http-autoselectfamily.js | 68 res.writeHead(200, { Connection: 'close' }); 91 ipv4Server.close(); 92 dnsServer.close(); 104 res.writeHead(200, { Connection: 'close' }); 109 res.writeHead(200, { Connection: 'close' }); 135 ipv4Server.close(); 136 ipv6Server.close(); 137 dnsServer.close();
|
/third_party/python/Lib/test/ |
H A D | test_poll.py | 75 os.close(r2w[rd]) ; os.close( rd ) 85 os.close(FD) 86 os.close(w) 187 self.addCleanup(os.close, r) 188 self.addCleanup(os.close, w) 192 self.addCleanup(os.close, fd) 231 os.close(r) 232 os.close(w)
|
H A D | test_dbm_ndbm.py | 14 self.d.close() 38 self.d.close() 52 self.d.close() 58 self.d.close() 128 dbm.ndbm.open(os_helper.FakePath(self.filename), "c").close() 131 dbm.ndbm.open(os.fsencode(self.filename), "c").close() 134 dbm.ndbm.open(os_helper.FakePath(os.fsencode(self.filename)), "c").close()
|
/third_party/rust/crates/nix/test/ |
H A D | test_pty.rs | 12 use nix::unistd::{close, pause, write}; 15 /// This is the correct way to explicitly close a `PtyMaster` 20 close(m.into_raw_fd()).unwrap(); in test_explicit_close() 23 // This should work. But if there's been a double close, then it will in test_explicit_close() 230 close(pty.master).unwrap(); in test_openpty() 231 close(pty.slave).unwrap(); in test_openpty() 245 close(pty.master).unwrap(); in test_openpty_with_termios() 246 close(pty.slave).unwrap(); in test_openpty_with_termios() 278 close(pty.master).unwrap(); in test_openpty_with_termios() 279 close(pt in test_openpty_with_termios() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_wired_common.c | 49 close(s); in driver_wired_get_ifflags() 52 close(s); in driver_wired_get_ifflags() 75 close(s); in driver_wired_set_ifflags() 78 close(s); in driver_wired_set_ifflags() 132 close(s); in driver_wired_multi() 135 close(s); in driver_wired_multi() 207 close(s); in driver_wired_get_ifstatus() 210 close(s); in driver_wired_get_ifstatus() 321 close(common->pf_sock); in driver_wired_deinit_common()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_wired_common.c | 49 close(s); in driver_wired_get_ifflags() 52 close(s); in driver_wired_get_ifflags() 75 close(s); in driver_wired_set_ifflags() 78 close(s); in driver_wired_set_ifflags() 132 close(s); in driver_wired_multi() 135 close(s); in driver_wired_multi() 207 close(s); in driver_wired_get_ifstatus() 210 close(s); in driver_wired_get_ifstatus() 321 close(common->pf_sock); in driver_wired_deinit_common()
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
H A D | FileUtils.java | 32 private static void close(Closeable closeable) { in close() method in FileUtils 37 closeable.close(); in close() 49 close(closeable); in closeFiles()
|
/third_party/python/Lib/asyncio/ |
H A D | unix_events.py | 67 def close(self): member in _UnixSelectorEventLoop 68 super().close() 219 transp.close() 261 sock.close() 319 sock.close() 328 sock.close() 564 def close(self): member in _UnixReadPipeTransport 571 self._pipe.close() 596 self._pipe.close() 613 self._closing = False # Set when close() o 762 def close(self): global() member in _UnixWritePipeTransport 883 def close(self): global() member in AbstractChildWatcher 935 def close(self): global() member in PidfdChildWatcher 994 def close(self): global() member in BaseChildWatcher 1052 def close(self): global() member in SafeChildWatcher 1131 def close(self): global() member in FastChildWatcher 1246 def close(self): global() member in MultiLoopChildWatcher 1365 def close(self): global() member in ThreadedChildWatcher [all...] |
/foundation/distributeddatamgr/kv_store/databaseutils/test/ |
H A D | acl_test.cpp | 81 close(fd); in PreOperation() 143 // close the read end of the pipeline. in HWTEST_F() 144 close(fd[0]); in HWTEST_F() 149 close(fd[1]); in HWTEST_F() 163 close(file); in HWTEST_F() 166 close(file); in HWTEST_F() 169 // close the write end of the pipeline. in HWTEST_F() 170 close(fd[1]); in HWTEST_F() 179 close(fd[0]); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstoreBackupRestoreWithFAContextJsunit.test.js | 157 resultSet.close() 236 await rdbStore.close(); 237 console.info(`${TAG} close succeeded`); 240 console.error(`${TAG} close failed, code is ${err.code},message is ${err.message}`); 276 await rdbStore.close(); 277 console.info(`${TAG} close succeeded`); 280 console.error(`${TAG} close failed, code is ${err.code},message is ${err.message}`);
|
/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_service_disposal_config.cpp | 72 outFile.close(); in BJsonDisposalConfig() 87 inFile.close(); in AppendIntoDisposalConfigFile() 124 outFile.close(); in AppendIntoDisposalConfigFile() 142 input.close(); in DeleteFromDisposalConfigFile() 178 output.close(); in DeleteFromDisposalConfigFile() 196 inFile.close(); in IfBundleNameInDisposalConfigFile() 240 inFile.close(); in GetBundleNameFromConfigFile()
|
/test/xts/hats/kernel/syscalls/fileio/writev/ |
H A D | WritevApiTest.cpp | 95 close(fd); in HWTEST_F() 104 close(fd); in HWTEST_F() 147 close(pipefd[0]); in HWTEST_F() 148 close(pipefd[1]); in HWTEST_F() 189 close(fd); in HWTEST_F() 258 close(fd); in HWTEST_F() 266 close(fd); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/net/connect/ |
H A D | ConnectApiTest.cpp | 73 close(g_serviceFd); in TearDown() 113 close(socketFd); in HWTEST_F() 148 close(socketFd); in HWTEST_F() 206 close(socketFd); in HWTEST_F() 232 close(socketFd); in HWTEST_F() 266 close(socketFd); in HWTEST_F() 304 close(socketFd); in HWTEST_F()
|
/third_party/alsa-lib/src/ |
H A D | input.c | 39 int (*close)(snd_input_t *input); member 60 int err = input->ops->close(input); in snd_input_close() 122 int close; member 129 if (stdio->close) in snd_input_stdio_close() 161 .close = snd_input_stdio_close, 175 * \param _close Close flag. Set this to 1 if #snd_input_close should close 193 stdio->close = _close; in snd_input_stdio_attach() 287 .close = snd_input_buffer_close,
|
/third_party/skia/tests/ |
H A D | PathOpsBuildUseTest.cpp | 25 path.close(); in build1_1() 39 path.close(); in build1_1() 53 path.close(); in build1_1() 67 path.close(); in build1_1() 82 path.close(); in build1_1() 97 path.close(); in build1_1() 112 path.close(); in build1_1() 127 path.close(); in build1_1() 142 path.close(); in build1_1() 157 path.close(); in build1_1() [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_sslproto.py | 41 self.addCleanup(ssl_proto._app_transport.close) 121 ssl_proto._app_transport.close() 148 transp.close() 157 transp.close() 242 sock.close() 277 new_tr.close() 305 sock.close() 340 tr.close() 377 sock.close() 432 new_tr.close() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_property_trace_test.cpp | 60 outFile.close(); in HWTEST_F() 83 outFile.close(); in HWTEST_F() 106 outFile.close(); in HWTEST_F() 124 outFile.close(); in HWTEST_F() 142 outFile.close(); in HWTEST_F()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | samgr_time_handler.cpp | 87 ::close(timerfd); in OnTime() 96 ::close(fd); in ~SamgrTimeHandler() 99 ::close(epollfd); in ~SamgrTimeHandler() 130 ::close(timerfd); in PostTask() 141 ::close(timerfd); in PostTask()
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/common/ |
H A D | net_policy_file_event_handler.cpp | 102 oldFile.close(); in Write() 103 newFile.close(); in Write() 111 file.close(); in Write() 131 close(fd); in DeleteBak() 134 close(fd); in DeleteBak()
|
/test/xts/hats/kernel/syscalls/fileio/readlinkat/ |
H A D | ReadlinkatApiTest.cpp | 82 close(fd); in HWTEST_F() 88 close(dirFd); in HWTEST_F() 112 close(fd); in HWTEST_F() 113 close(dirFd); in HWTEST_F() 136 close(dirFd); in HWTEST_F()
|
/third_party/alsa-lib/src/timer/ |
H A D | timer_query_hw.c | 38 res = close(handle->poll_fd) < 0 ? -errno : 0; in snd_timer_query_hw_close() 79 .close = snd_timer_query_hw_close, 100 close(fd); in snd_timer_query_hw_open() 104 close(fd); in snd_timer_query_hw_open() 109 close(fd); in snd_timer_query_hw_open()
|
/third_party/node/test/fixtures/wpt/streams/writable-streams/ |
H A D | start.any.js | 47 writer.close(); 52 assert_array_equals(ws.events, [], 'close should not be called until start promise resolves'); 56 }, 'underlying sink\'s close should not be called until start finishes'); 73 close() { 79 assert_false(closeCalled, 'close should not be called'); 80 }, 'underlying sink\'s write or close should not be called if start throws'); 89 // Wait and verify that write or close aren't called. 91 .then(() => assert_array_equals(ws.events, [], 'write and close should not be called')); 92 }, 'underlying sink\'s write or close should not be invoked if the promise returned by start is rejected'); 130 const closePromise = writer.close(); [all...] |