Home
last modified time | relevance | path

Searched refs:close (Results 976 - 1000 of 4531) sorted by relevance

1...<<31323334353637383940>>...182

/third_party/cups-filters/cupsfilters/
H A Dipp.c85 close(fd2); in resolve_uri()
111 close(fd1); in resolve_uri()
575 close(post_proc_pipe[0]); in ippfind_based_uri_converter()
576 close(post_proc_pipe[1]); in ippfind_based_uri_converter()
592 close(post_proc_pipe[1]); in ippfind_based_uri_converter()
/third_party/libuv/test/
H A Dtest-poll.c26 # define close _close macro
136 r = close(sock); in close_socket()
138 /* On FreeBSD close() can fail with ECONNRESET if the socket was shutdown by in close_socket()
598 * also sends a normal close sequence to the partner program.
648 ASSERT_OK(close(fd));
670 ASSERT_OK(close(fd));
692 ASSERT_OK(close(fd));
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-spawn.c133 close(lsp->pipe_fds[n][!!(n == 0)]); in lws_spawn_piped_destroy()
201 * closed. For that reason, each stdwsi close must call lws_spawn_reap in lws_spawn_reap()
473 * We are the parent process. We can close our copy of the in lws_spawn_piped()
479 close(lsp->pipe_fds[n][n != 0]); in lws_spawn_piped()
537 * Now it has done the dup, the child should close its original in lws_spawn_piped()
541 close(lsp->pipe_fds[m][m != 0]); in lws_spawn_piped()
580 close(lsp->pipe_fds[n][0]); in lws_spawn_piped()
582 close(lsp->pipe_fds[n][1]); in lws_spawn_piped()
/third_party/ltp/testcases/kernel/fs/inode/
H A Dinode02.c323 close(list_id); in tree()
351 "Failed to close list_stream: ret=%d errno=%d (%s)\n", in tree()
478 close(file_id); in generate()
639 close(file_id); in check()
798 close(list_id); in term()
799 close(file_id); in term()
/third_party/node/lib/internal/worker/
H A Dio.js249 super('close');
265 MessagePort.prototype.close = function(cb) {
267 this.once('close', cb);
268 FunctionPrototypeCall(MessagePortPrototype.close, this);
470 close() {
479 this[kHandle].close();
532 close: kEnumerableProperty,
/third_party/nghttp2/
H A Dgit-clang-format248 diff_process.stdout.close()
265 p.stdin.close()
346 p.stdin.close()
372 clang_format.stdin.close()
376 clang_format.stdout.close()
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dgraceful-fs.js48 // Patch fs.close/closeSync to shared queue version, because we need
49 // to retry() whenever a close happens *anywhere* in the program.
52 fs.close = (function (fs$close) {
53 function close (fd, cb) {
54 return fs$close.call(fs, fd, function (err) {
65 Object.defineProperty(close, previousSymbol, {
66 value: fs$close
68 return close
69 })(fs.close)
[all...]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl16.c469 close(fd); in run_test()
483 close(fd); in run_test()
554 close(fd); in run_test()
568 close(fd); in run_test()
640 close(fd); in run_test()
H A Dfcntl21.c136 close(parent_pipe[1]); in do_child()
137 close(child_pipe[0]); in do_child()
323 (void)close(parent_pipe[0]); in main()
324 (void)close(child_pipe[1]); in main()
859 close(fd); in main()
H A Dfcntl19.c132 close(parent_pipe[1]); in do_child()
133 close(child_pipe[0]); in do_child()
317 (void)close(parent_pipe[0]); in main()
318 (void)close(child_pipe[1]); in main()
634 close(fd); in main()
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtest64.c795 * struct stat *, int, struct FTW *), int depth, int flags) shall close
810 perror("close"); in test20A()
815 if (close(fd) == -1) { in test20A()
816 perror("close"); in test20A()
835 "nftw64 did not close all file descriptors used in traversal\n", in test20A()
841 if (close(nfd) == -1) { in test20A()
842 perror("close"); in test20A()
880 if (close(next_fd[0]) == -1) { in test21A()
881 perror("close next_fd[0]"); in test21A()
886 if (close(next_f in test21A()
[all...]
H A Dtest.c780 * struct stat *, int, struct FTW *), int depth, int flags) shall close
794 perror("close"); in test20A()
799 if (close(fd) == -1) { in test20A()
800 perror("close"); in test20A()
819 "nftw did not close all file descriptors used in traversal\n", in test20A()
825 if (close(nfd) == -1) { in test20A()
826 perror("close"); in test20A()
863 if (close(next_fd[0]) == -1) { in test21A()
864 perror("close next_fd[0]"); in test21A()
869 if (close(next_f in test21A()
[all...]
/third_party/mindspore/test/utils/
H A Dcommon.cpp192 file.close(); in allclose()
284 file.close(); in allclose_int8()
393 ifs.close(); in ReadFile()
402 ifs.close(); in ReadFile()
408 ifs.close(); in ReadFile()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_runners.py117 coro.close() # Suppress ResourceWarning
314 runner.close()
327 runner.close()
331 runner.close()
471 runner.close()
/third_party/python/Lib/test/
H A Dtest_imp.py111 file.close()
225 self.addCleanup(x[0].close)
239 self.addCleanup(file_.close)
248 fileobj.close()
278 found[0].close()
H A Dtest_mailbox.py65 self._box.close()
125 self._box.close()
186 self._box.close()
239 self._box.close()
299 f.close()
300 f.close()
523 self._test_flush_or_close(self._box.close, False)
533 self._box.close()
539 oldbox.close()
591 self.assertRaises(NotImplementedError, lambda: box.close())
1347 def close(self): global() member in FakeFileLikeObject
[all...]
H A Dtest_yield_from.py228 Test delegating 'close'
250 g.close()
262 Test handling exception while delegating 'close'
286 g.close()
462 Test delegation of close() to non-generator
475 gi.close()
569 gi.close()
944 # Check with close
950 def close(self_): member in TestPEP380Operation.test_delegating_generators_claim_to_be_running.MyIt
957 g1.close()
[all...]
H A Dtest_lzma.py676 f.close()
677 # LZMAFile.close() should not close the underlying file object.
680 f.close()
687 f.close()
688 # Here, LZMAFile.close() *should* close the underlying file object.
691 f.close()
700 f.close()
707 f.close()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DdumpICUrules.bat322 close(C_INDEX);
323 close(JAVA_INDEX);
356 # Open file, write UTF8 marker, close it, and reopen in text mode
360 close(OUT);
454 close(IN);
457 close(OUT);
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_run.py105 def close(self): member in MockShell
210 f.close()
213 self.assertRaises(TypeError, f.close, 1)
319 f.close()
323 f.close()
324 self.assertRaises(TypeError, f.close, 1)
/third_party/openssl/test/
H A Ddrbgtest.c350 close(fd[0]); in test_drbg_reseed_in_child()
351 close(fd[1]); in test_drbg_reseed_in_child()
355 /* I'm the parent; close the write end */ in test_drbg_reseed_in_child()
356 close(fd[1]); in test_drbg_reseed_in_child()
377 /* close the read end */ in test_drbg_reseed_in_child()
378 close(fd[0]); in test_drbg_reseed_in_child()
384 /* I'm the child; close the read end */ in test_drbg_reseed_in_child()
385 close(fd[0]); in test_drbg_reseed_in_child()
397 /* close the write end */ in test_drbg_reseed_in_child()
398 close(f in test_drbg_reseed_in_child()
[all...]
/third_party/python/Lib/concurrent/futures/
H A Dprocess.py71 def close(self): member in _ThreadWakeup
74 self._writer.close()
75 self._reader.close()
546 self.call_queue.close()
549 self.thread_wakeup.close()
836 self._result_queue.close()
/third_party/node/lib/
H A Dnet.js348 self._handle.close(() => {
349 debug('emit close');
350 self.emit('close', isException);
416 // For backwards compat do not emit close on destroy.
813 debug('close');
816 debug('close handle');
825 debug('emit close');
826 this.emit('close', isException);
939 this.off('close', onClose);
945 this.once('close', onClos
[all...]
/third_party/python/Lib/
H A Dmailbox.py193 def close(self): member in Mailbox
194 """Flush and close the mailbox."""
298 tmp_file.close()
432 def close(self): member in Maildir
433 """Flush and close the mailbox."""
457 os.close(os.open(maildirfolder_path, os.O_CREAT | os.O_WRONLY,
695 new_file.close()
700 self._file.close()
728 def close(self): member in _singlefileMailbox
729 """Flush and close th
1111 def close(self): global() member in MH
1976 def close(self): global() member in _ProxyFile
2056 def close(self): global() member in _PartialFile
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c166 close (fd); in dwfl_build_id_find_elf()
186 close (fd); in dwfl_build_id_find_elf()

Completed in 22 milliseconds

1...<<31323334353637383940>>...182