Home
last modified time | relevance | path

Searched refs:close (Results 401 - 425 of 6381) sorted by relevance

1...<<11121314151617181920>>...256

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dftwndk.cpp38 close(fileDescribe); in Ftw()
48 close(fileDescribe); in Ftw64()
59 close(fp); in Nftw()
71 close(fp); in Nftw64()
H A Dmntentndk1.cpp52 close(fileDescribe); in GetMnTent()
76 close(fileDescribe); in GetMnTent()
103 close(fileDescribe); in GetMnTentR()
129 close(fileDescribe); in GetMnTentR()
H A Dsendfilendk.cpp49 close(fromfd); in Sendfile()
50 close(tofd); in Sendfile()
79 close(fromfd); in Sendfile64()
80 close(tofd); in Sendfile64()
/test/xts/acts/kernel_lite/utils/
H A Dmt_utils.cpp99 close(g_pipeFd[0]); in UnBlockPipe()
100 close(g_pipeFd[1]); in UnBlockPipe()
104 close(g_pipeFd[1]); in BlockOnPipe()
107 read(g_pipeFd[0], buffer, 1); // will block until close(fd[1]) in another port in BlockOnPipe()
109 close(g_pipeFd[0]); in BlockOnPipe()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dmt_utils.cpp102 close(g_pipeFd[0]); in UnBlockPipe()
103 close(g_pipeFd[1]); in UnBlockPipe()
107 close(g_pipeFd[1]); in BlockOnPipe()
110 read(g_pipeFd[0], buffer, 1); // will block until close(fd[1]) in another port in BlockOnPipe()
112 close(g_pipeFd[0]); in BlockOnPipe()
/test/xts/hats/kernel/syscalls/fileio/readv/
H A DReadvApiTest.cpp50 close(fd); in SetUp()
91 close(fd); in HWTEST_F()
146 close(fd); in HWTEST_F()
156 close(fd); in HWTEST_F()
/third_party/alsa-utils/alsamixer/
H A Ddevice_name.c64 form_widget.close(); in on_key_enter()
102 form_widget.close(); in on_handle_key()
120 form_widget.close(); in create()
166 .close = on_close,
/third_party/curl/docs/examples/
H A Dexternalsocket.c35 #define close closesocket macro
63 printf("libcurl wants to close %d now\n", (int)item); in closecb()
127 close(sockfd); in main()
133 close(sockfd); in main()
148 /* call this function to close sockets */ in main()
161 close(sockfd); in main()
/third_party/mesa3d/.gitlab-ci/bare-metal/
H A Dcros_servo_run.py43 def close(self): member in CrosServoRun
44 self.ec_ser.close()
45 self.cpu_ser.close()
177 servo.close()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-file.c58 close(fd); in lws_plat_write_file()
76 close(fd); in lws_plat_read_file()
109 close(ret); in _lws_plat_file_open()
121 return close(fd); in _lws_plat_file_close()
/third_party/node/test/parallel/
H A Dtest-dgram-socket-buffer-size.js105 socket.close();
121 socket.close();
144 socket.close();
167 socket.close();
H A Dtest-inspector-open.js5 // Test inspector open()/close()/url() API. It uses ephemeral ports so can be
49 child.send({ cmd: 'close' });
59 child.send({ cmd: 'close' });
81 .on('connect', function() { close(this); })
82 .on('error', function(err) { close(this, err); });
84 function close(self, err) {
86 self.on('close', () => callback(err));
109 if (msg.cmd === 'close') {
110 inspector.close();
H A Dtest-net-server-listen-handle.js18 this.close();
23 // so server.close() doesn't actually unlink this existing pipe.
24 // It needs to be unlinked separately via handle.close()
27 this.close();
28 handle.close();
154 this.close();
/third_party/node/deps/v8/tools/
H A Dandroid-run.py62 os.close(fd_out)
63 os.close(fd_err)
83 os.close(fd)
86 tmp_file.close()
/third_party/node/tools/
H A Dpseudo-tty.py68 os.close(parent_fd)
74 os.close(fd)
81 os.close(child_fd)
86 os.close(child_fd)
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dcolors.js70 // they don't have properties like open or close.
74 return styleMap.open + str + styleMap.close;
101 new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');
136 str = code.open + str.replace(code.closeRe, code.open) + code.close;
139 return code.close + match + code.open;
/third_party/ltp/testcases/kernel/syscalls/renameat2/
H A Drenameat202.c105 if (olddirfd > 0 && close(olddirfd) < 0) in cleanup()
106 tst_resm(TWARN | TERRNO, "close olddirfd failed"); in cleanup()
108 if (newdirfd > 0 && close(newdirfd) < 0) in cleanup()
109 tst_resm(TWARN | TERRNO, "close newdirfd failed"); in cleanup()
111 if (fd > 0 && close(fd) < 0) in cleanup()
112 tst_resm(TWARN | TERRNO, "close fd failed"); in cleanup()
151 if (close(fd) < 0) in renameat2_verify()
152 tst_brkm(TERRNO | TFAIL, cleanup, "close fd failed"); in renameat2_verify()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl07.c38 * 1. test close-on-exec with a regular file
39 * 2. test close-on-exec with a pipe
40 * 3. test close-on-exec with a fifo
178 if (file_fd > 0 && close(file_fd)) in cleanup()
179 tst_resm(TWARN | TERRNO, "close(file_fd) failed"); in cleanup()
181 if (pipe_fds[0] > 0 && close(pipe_fds[0])) in cleanup()
182 tst_resm(TWARN | TERRNO, "close(pipe_fds[0]) failed"); in cleanup()
184 if (pipe_fds[1] > 0 && close(pipe_fds[1])) in cleanup()
185 tst_resm(TWARN | TERRNO, "close(pipe_fds[1]) failed"); in cleanup()
187 if (fifo_fd > 0 && close(fifo_f in cleanup()
[all...]
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap001.c124 close(fd); in main()
130 close(fd); in main()
138 close(fd); in main()
177 close(fd); in main()
/third_party/ltp/testcases/kernel/syscalls/setfsuid/
H A Dsetfsuid04.c94 close(TEST_RETURN); in do_master_child()
120 close(TEST_RETURN); in do_master_child()
159 close(TEST_RETURN); in do_master_child()
187 close(fd); in cleanup()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
H A D2-1.c84 close(fd); in main()
102 close(fd); in main()
108 close(fd); in main()
140 close(fd); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
H A D1-1.c84 close(fd); in main()
125 close(fd); in main()
135 close(fd); in main()
156 close(fd); in main()
H A D2-1.c82 close(fd); in main()
119 close(fd); in main()
129 close(fd); in main()
152 close(fd); in main()
H A D13-1.c71 close(fd); in main()
101 close(fd); in main()
112 close(fd); in main()
135 close(fd); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D16-1.c68 close(fd); in main()
75 close(fd); in main()
127 close(fd); in main()
137 close(fd); in main()

Completed in 8 milliseconds

1...<<11121314151617181920>>...256