/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/ |
H A D | transcoder_unit_test.cpp | 85 close(dstFd);
in HWTEST_F() 86 close(srcFd);
in HWTEST_F() 119 close(dstFd);
in HWTEST_F() 120 close(srcFd);
in HWTEST_F() 154 close(dstFd);
in HWTEST_F() 155 close(srcFd);
in HWTEST_F() 191 close(dstFd);
in HWTEST_F() 192 close(srcFd);
in HWTEST_F() 222 close(dstFd);
in HWTEST_F() 223 close(srcF in HWTEST_F() [all...] |
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | qos_interface.cpp | 89 close(fd); in FFRTEnableRtg() 115 close(fd); in FFRTAuthEnable() 140 close(fd); in FFRTAuthSwitch() 162 close(fd); in FFRTAuthDelete() 187 close(fd); in FFRTAuthPause() 209 close(fd); in FFRTAuthGet() 246 close(fd); in FFRTQosApplyForOther() 269 close(fd); in FFRTQosLeave() 291 close(fd); in FFRTQosLeaveForOther() 310 close(f in QosPolicy() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_assign.c | 94 close(fd); in start_server() 116 close(fd); in connect_to_server() 208 close(client); in run_test() 210 close(srv_client); in run_test() 315 goto close; in test_sk_assign() 320 goto close; in test_sk_assign() 327 goto close; in test_sk_assign() 329 close(server); in test_sk_assign() 333 close: in test_sk_assign() 334 close(serve in test_sk_assign() [all...] |
/kernel/linux/linux-6.6/io_uring/ |
H A D | openclose.c | 197 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close_fixed() local 199 return __io_close_fixed(req->ctx, issue_flags, close->file_slot - 1); in io_close_fixed() 204 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close_prep() local 211 close->fd = READ_ONCE(sqe->fd); in io_close_prep() 212 close->file_slot = READ_ONCE(sqe->file_index); in io_close_prep() 213 if (close->file_slot && close->fd) in io_close_prep() 222 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close() local 227 if (close->file_slot) { in io_close() 234 if (close in io_close() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 52 close(fd); in query_prog_cnt() 183 close(fd); in test_lsm_cgroup_functional() 197 close(fd); in test_lsm_cgroup_functional() 216 close(fd); in test_lsm_cgroup_functional() 269 close(listen_fd); in test_lsm_cgroup_functional() 270 close(client_fd); in test_lsm_cgroup_functional() 271 close(accepted_fd); in test_lsm_cgroup_functional() 288 close(fd); in test_lsm_cgroup_functional() 293 close(bind_link_fd); in test_lsm_cgroup_functional() 294 /* Don't close bind_link_fd in test_lsm_cgroup_functional() [all...] |
H A D | sk_assign.c | 94 close(fd); in start_server() 116 close(fd); in connect_to_server() 208 close(client); in run_test() 210 close(srv_client); in run_test() 315 goto close; in test_sk_assign() 320 goto close; in test_sk_assign() 327 goto close; in test_sk_assign() 329 close(server); in test_sk_assign() 333 close: in test_sk_assign() 334 close(serve in test_sk_assign() [all...] |
H A D | bpf_obj_pinning.c | 107 ASSERT_OK(close(map_fd), "close_map_fd"); in bpf_obj_pinning_detached() 109 ASSERT_OK(close(map_fd2), "close_map_fd2"); in bpf_obj_pinning_detached() 111 ASSERT_OK(close(fs_fd), "close_fs_fd"); in bpf_obj_pinning_detached() 113 ASSERT_OK(close(mnt_fd), "close_mnt_fd"); in bpf_obj_pinning_detached() 160 close(pin_opts.path_fd); in validate_pin() 179 ASSERT_OK(close(map_fd2), "close_map_fd2"); in validate_pin() 225 close(get_opts.path_fd); in validate_get() 240 ASSERT_OK(close(map_fd2), "close_map_fd2"); in validate_get() 256 ASSERT_OK(close(map_fd), "close_map_fd"); in bpf_obj_pinning_mounted()
|
H A D | vrf_socket_lookup.c | 80 close(fd); in make_socket() 101 close(fd); in make_server() 192 goto close; in setup() 195 close: in setup() 227 goto close; in test_lookup() 231 close: in test_lookup() 232 close(fd); in test_lookup() 276 close(non_vrf_server); in _test_vrf_socket_lookup() 278 close(in_vrf_server); in _test_vrf_socket_lookup()
|
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbStoreTransInsertJsunit.test.js | 76 resultSet.close(); 104 resultSet.close(); 132 resultSet.close(); 160 resultSet.close(); 188 resultSet.close(); 216 resultSet.close(); 245 resultSet.close(); 274 resultSet.close(); 303 resultSet.close(); 332 resultSet.close(); [all...] |
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_test.c | 60 close(fd); in test_stream_connection_reset() 102 close(fd); in test_stream_bind_only_client() 132 close(fd); in test_stream_bind_only_server() 146 close(fd); in test_stream_client_close_client() 159 /* Wait for the remote to close the connection, before check in test_stream_client_close_server() 167 close(fd); in test_stream_client_close_server() 180 /* Wait for the remote to close the connection, before check in test_stream_server_close_client() 188 close(fd); in test_stream_server_close_client() 202 close(fd); in test_stream_server_close_server() 231 close(fd in test_stream_multiconn_client() [all...] |
/third_party/python/Lib/test/ |
H A D | test_smtplib.py | 61 conn.close() 63 serv.close() 86 client.close() 94 client.close() 100 client.close() 107 client.close() 119 client.close() 130 client.close() 141 client.close() 149 client.close() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 79 close(fd); in seed_rng() 117 close(fd); in enable_logging() 123 close(fd); in enable_logging() 129 close(fd); in enable_logging() 205 close(fd); in launch_tests() 232 close(fd); in ensure_console() 248 close(fd); in clear_leaks() 261 close(fd); in check_leaks() 268 close(fd); in check_leaks()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | reuseport_dualstack.c | 99 close(fd); in send_from_v4() 117 close(fd); in receive_once() 156 close(epfd); in test() 168 close(rcv_fds[i]); in main() 175 close(rcv_fds[i]); in main() 185 close(rcv_fds[i]); in main() 192 close(rcv_fds[i]); in main() 199 close(rcv_fds[i]); in main() 206 close(rcv_fds[i]); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | reuseport_dualstack.c | 99 close(fd); in send_from_v4() 117 close(fd); in receive_once() 156 close(epfd); in test() 168 close(rcv_fds[i]); in main() 175 close(rcv_fds[i]); in main() 185 close(rcv_fds[i]); in main() 192 close(rcv_fds[i]); in main() 199 close(rcv_fds[i]); in main() 206 close(rcv_fds[i]); in main()
|
H A D | psock_fanout.c | 102 if (close(fd)) { in sock_fanout_open() 103 perror("close packet"); in sock_fanout_open() 184 if (close(pfd)) { in sock_fanout_set_ebpf() 185 perror("close ebpf"); in sock_fanout_set_ebpf() 297 if (close(fds[1]) || close(fds[0])) { in test_control_group() 347 if (close(fds[2]) || close(fds[1]) || close(fds[0])) { in test_control_group_max_num_members() 402 if (close(fd in test_unique_fanout_group_ids() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 52 close(fd); in start_server() 76 close(fd); in connect_to_server() 116 close(prog_fd); in get_map_fd_by_prog_id() 199 close(client); in run_test() 200 close(srv_client); in run_test() 294 close(server); in main() 295 close(server_v6); in main() 296 close(server_dual); in main() 297 close(results); in main()
|
H A D | test_bpftool_synctypes.py | 126 def close(self): member in FileExtractor 130 self.reader.close() 514 map_info.close() 519 man_map_info.close() 535 prog_info.close() 540 man_prog_info.close() 545 bashcomp_info.close() 558 bpf_info.close() 563 cgroup_info.close() 568 man_cgroup_info.close() [all...] |
/third_party/node/lib/internal/cluster/ |
H A D | child.js | 144 // Monkey-patch the close() method so we can keep track of when it's 146 const close = handle.close; 148 handle.close = function() { 149 send({ act: 'close', key }); 152 return ReflectApply(close, handle, arguments); 188 function close() { 189 // lib/net.js treats server._handle.close() as effectively synchronous. 190 // That means there is a time window between the call to close() and 199 // So it is ok if the close messag [all...] |
/third_party/node/lib/internal/webstreams/ |
H A D | transfer.js | 127 case 'close': 129 port.close(); 133 port.close(); 146 port.close(); 169 this[kState].port.close(); 213 port.close(); 240 this[kState].port.close(); 245 close() { 246 this[kState].port.postMessage({ type: 'close' }); 247 this[kState].port.close(); [all...] |
/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
H A D | bad-underlying-sources.any.js | 179 c.close(); 204 c.close(); 205 assert_throws_js(TypeError, () => c.close(), 'second call to close should throw a TypeError'); 209 }, 'Underlying source: calling close twice on an empty stream should throw the second time'); 218 c.close(); 219 assert_throws_js(TypeError, () => c.close(), 'second call to close should throw a TypeError'); 235 }, 'Underlying source: calling close twice on a non-empty stream should throw the second time'); 249 assert_throws_js(TypeError, () => controller.close(), 'Callin [all...] |
/third_party/ltp/testcases/kernel/pty/ |
H A 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(slavef in test2() [all...] |
/third_party/ltp/utils/sctp/func_tests/ |
H A 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() TEST in main() [all...] |
H A D | test_1_to_1_send.c | 135 close(fd); in main() 165 close(sk1); in main() 177 close(acpt1_sk); in main() 178 close(sk); in main() 179 close(lstn_sk); in main() 180 close(acpt_sk); in main() 240 close(sk1); in main() 241 close(lstn_sk); in main() 242 close(acpt_sk); in main()
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 21 use nix::unistd::{close, read}; 56 close(fd).unwrap(); in test_openat() 57 close(dirfd).unwrap(); in test_openat() 76 close(old_dirfd).unwrap(); in test_renameat() 77 close(new_dirfd).unwrap(); in test_renameat() 120 close(old_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 121 close(new_dirfd).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 169 close(old_dirfd).unwrap(); in test_renameat2_exchange() 170 close(new_dirfd).unwrap(); in test_renameat2_exchange() 206 close(old_dirf in test_renameat2_noreplace() [all...] |
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_audio_recorder_fast_start_pause.h | 73 ASSERT_EQ(0, close(fd)); in FIXTURE() 93 ASSERT_EQ(0, close(fd)); in FIXTURE() 114 ASSERT_EQ(0, close(fd)); in FIXTURE() 134 ASSERT_EQ(0, close(fd)); in FIXTURE() 154 ASSERT_EQ(0, close(fd)); in FIXTURE() 174 ASSERT_EQ(0, close(fd)); in FIXTURE() 184 ASSERT_EQ(0, close(fd)); in FIXTURE() 193 ASSERT_EQ(0, close(fd)); in FIXTURE() 213 ASSERT_EQ(0, close(fd)); in FIXTURE() 240 ASSERT_EQ(0, close(f in FIXTURE() [all...] |