Home
last modified time | relevance | path

Searched refs:devnull (Results 1 – 25 of 3202) sorted by relevance

12345678910>>...129

/dports/www/py-httpie/httpie-2.6.0/tests/
H A Dtest_downloads.py135 with open(os.devnull, 'w') as devnull:
136 downloader = Downloader(output_file=devnull, progress_file=devnull)
153 with open(os.devnull, 'w') as devnull:
154 downloader = Downloader(output_file=devnull, progress_file=devnull)
166 with tempfile.TemporaryDirectory() as tmp_dirname, open(os.devnull, 'w') as devnull:
171 downloader = Downloader(progress_file=devnull)
195 with open(os.devnull, 'w') as devnull:
196 downloader = Downloader(output_file=devnull, progress_file=devnull)
215 with open(os.devnull, 'w') as devnull, open(file, 'a+b') as output_file:
217 downloader = Downloader(output_file=output_file, progress_file=devnull)
[all …]
/dports/devel/py-asynctest/asynctest-0.13.0/test/
H A Dtest_selector.py84 with open(os.devnull, 'r') as devnull:
87 devnull, devnull.fileno(), selectors.EVENT_READ, "data"
92 self.assertEqual(key, selector.get_map()[devnull])
114 with open(os.devnull, 'r') as devnull:
116 key = selectors.SelectorKey(devnull, devnull.fileno(),
123 selector.unregister(devnull)
125 self.assertNotIn(devnull, selector.get_map())
145 with open(os.devnull, 'r') as devnull:
148 devnull, devnull.fileno(), selectors.EVENT_READ, "data2"
191 with open(os.devnull, 'r') as devnull:
[all …]
/dports/net/rtpproxy/rtpproxy-2.1.1/misc/
H A Dincludepolice.py96 devnull = file('ipol/' + fname + '.iout', 'a') variable
104 devnull.flush()
105 rval = call(cargs, stdout = devnull, stderr = devnull)
109 devnull.flush()
124 stderr = devnull)
125 devnull.flush()
134 devnull.flush()
136 rval = call(cargs, stdout = devnull, \
137 stderr = devnull)
139 devnull.write('\n\n***** status %d *****\n\n' % (rval,))
[all …]
/dports/databases/pymongo/pymongo-3.12.0/pymongo/
H A Ddaemon.py84 with open(os.devnull, 'r+b') as devnull:
88 stdin=devnull, stderr=devnull, stdout=devnull)
109 with open(os.devnull, 'r+b') as devnull:
113 stdin=devnull, stderr=devnull, stdout=devnull)
/dports/security/krb5-appl/krb5-appl-1.0.3/libmissing/
H A Ddaemon.c84 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); in daemon() local
86 if (devnull != -1) { in daemon()
87 (void) dup2(devnull, 0); in daemon()
88 (void) dup2(devnull, 1); in daemon()
89 (void) dup2(devnull, 2); in daemon()
90 if (devnull > 2) in daemon()
91 (void) close(devnull); in daemon()
/dports/devel/cvs-devel/cvs-1.12.13/lib/
H A Dsunos57-select.c50 static struct stat devnull; variable
67 devnull_set = stat ("/dev/null", &devnull); in rpl_select()
94 && sb.st_dev == devnull.st_dev in rpl_select()
95 && sb.st_ino == devnull.st_ino in rpl_select()
96 && sb.st_mode == devnull.st_mode in rpl_select()
97 && sb.st_uid == devnull.st_uid in rpl_select()
98 && sb.st_gid == devnull.st_gid in rpl_select()
99 && sb.st_size == devnull.st_size in rpl_select()
100 && sb.st_blocks == devnull.st_blocks in rpl_select()
101 && sb.st_blksize == devnull.st_blksize) in rpl_select()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/apputils/
H A Ddaemon.c85 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); local
87 if (devnull != -1) {
88 (void) dup2(devnull, 0);
89 (void) dup2(devnull, 1);
90 (void) dup2(devnull, 2);
91 if (devnull > 2)
92 (void) close(devnull);
/dports/security/krb5/krb5-1.19.2/src/lib/apputils/
H A Ddaemon.c85 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); local
87 if (devnull != -1) {
88 (void) dup2(devnull, 0);
89 (void) dup2(devnull, 1);
90 (void) dup2(devnull, 2);
91 if (devnull > 2)
92 (void) close(devnull);
/dports/security/krb5-appl/krb5-appl-1.0.3/bsd/
H A Ddaemon.c85 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); local
87 if (devnull != -1) {
88 (void) dup2(devnull, 0);
89 (void) dup2(devnull, 1);
90 (void) dup2(devnull, 2);
91 if (devnull > 2)
92 (void) close(devnull);
/dports/irc/atheme-services/atheme-7.2.9/
H A D.mailmap2 Alex Lambert <alambert@quickfire.org> alambert <devnull@localhost>
8 Craig Edwards <craigedwards@brainbox.cc> brain <devnull@localhost>
11 Diane Bruce <db@db.net> db <devnull@localhost>
13 Elfyn McBratney <elfyn.mcbratney@gmail.com> beu <devnull@localhost>
17 Greg Feigenson <kog@epiphanic.org> kog <devnull@localhost>
20 Jeff Katz <jeff@katzonline.net> kuja <devnull@localhost>
21 Jilles Tjoelker <jilles@stack.nl> jilles <devnull@localhost>
23 Luca Barbato <lu_zero@gentoo.org> lu_zero <devnull@localhost>
28 Patrick Fish <pofish@gmail.com> pfish <devnull@localhost>
33 Robin Burchell <w00t@inspircd.org> w00t <devnull@localhost>
[all …]
/dports/chinese/fcitx/fcitx-4.2.9.7/
H A D.mailmap1 yuking.net@gmail.com <yuking.net@gmail.com> yuking.net <devnull@localhost>
2 Weng Xuetian <wengxt@gmail.com> wengxt <devnull@localhost>
5 Aron Xu <happyaron.xu@gmail.com> happyaron.xu <devnull@localhost>
6 dgod <devnull@localhost> dgod.osa <devnull@localhost>
7 zhoushuqun <devnull@localhost> sutra <devnull@localhost>
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/
H A Dvcs.py26 with open(os.devnull, "w") as devnull:
28 ["hg", "root"], cwd=repo_root, stdout=devnull, stderr=devnull
55 with open(os.devnull, "w") as devnull:
59 stdout=devnull,
60 stderr=devnull,
/dports/www/firefox/firefox-99.0/testing/web-platform/
H A Dvcs.py26 with open(os.devnull, "w") as devnull:
28 ["hg", "root"], cwd=repo_root, stdout=devnull, stderr=devnull
55 with open(os.devnull, "w") as devnull:
59 stdout=devnull,
60 stderr=devnull,
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/
H A Dvcs.py26 with open(os.devnull, "w") as devnull:
28 ["hg", "root"], cwd=repo_root, stdout=devnull, stderr=devnull
55 with open(os.devnull, "w") as devnull:
59 stdout=devnull,
60 stderr=devnull,
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/
H A Dvcs.py20 with open(os.devnull, 'w') as devnull:
21 subprocess.check_call(["hg", "root"], cwd=repo_root, stdout=devnull,
22 stderr=devnull)
47 with open(os.devnull, 'w') as devnull:
49 stdout=devnull, stderr=devnull)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/telemetry/util/
H A Dcmd_util.py25 with open(os.devnull, 'w') as devnull:
28 stdout=devnull,
29 stderr=devnull,
30 stdin=devnull,
50 with open(os.devnull, 'w') as devnull:
55 stdin=devnull)
/dports/sysutils/py-diffoscope/diffoscope-204/tests/comparators/
H A Dtest_device.py34 def devnull(): function
39 def differences(devnull, text_ascii1): argument
40 return devnull.compare_bytes(text_ascii1)
44 def differences_reverse(text_ascii1, devnull): argument
45 return text_ascii1.compare_bytes(devnull)
48 def test_identification(devnull): argument
49 assert isinstance(devnull, Device)
/dports/devel/p5-B-C/B-C-1.57/t/
H A De_perlcc.t60 my $devnull = $^O eq 'MSWin32' ? '' : '2>/dev/null';
85 is(`$perlcc -r -e $e $devnull`, "ok", "-r -e"); #7
95 system(qq($perlcc -o pcc -e $e $devnull));
145 is(`$perlcc -o pcc -r $f $devnull`, "ok", "-r -o file");
151 is(`$perlcc -o pcc $f $devnull`, "", "-o file");
157 is(`$perlcc -S -o pcc $f $devnull`, "", "-S -o file");
162 is(`$perlcc -Sc -o pcc $f $devnull`, "", "-Sc -o file");
167 is(`$perlcc -c -o pcc $f $devnull`, "", "-c -o file");
233 is(`$perlcc -r -e$e $devnull`, "ok", "-e$e");
235 like(`$perlcc -v1 -r -e$e $devnull`, '/ok$/m', "-v1");
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/test/API/python_api/interpreter/
H A DTestRunCommandInterpreterAPI.py29 self.devnull = open(os.devnull, 'w')
30 self.dbg.SetOutputFileHandle(self.devnull, False)
31 self.dbg.SetErrorFileHandle (self.devnull, False)
63 devnull = open(os.devnull, 'w')
64 self.dbg.SetOutputFile(devnull)
65 self.dbg.SetErrorFile(devnull)
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/test/API/python_api/interpreter/
H A DTestRunCommandInterpreterAPI.py29 self.devnull = open(os.devnull, 'w')
30 self.dbg.SetOutputFileHandle(self.devnull, False)
31 self.dbg.SetErrorFileHandle (self.devnull, False)
63 devnull = open(os.devnull, 'w')
64 self.dbg.SetOutputFile(devnull)
65 self.dbg.SetErrorFile(devnull)
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/test/API/python_api/interpreter/
H A DTestRunCommandInterpreterAPI.py29 self.devnull = open(os.devnull, 'w')
30 self.dbg.SetOutputFileHandle(self.devnull, False)
31 self.dbg.SetErrorFileHandle (self.devnull, False)
63 devnull = open(os.devnull, 'w')
64 self.dbg.SetOutputFile(devnull)
65 self.dbg.SetErrorFile(devnull)
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/test/API/python_api/interpreter/
H A DTestRunCommandInterpreterAPI.py29 self.devnull = open(os.devnull, 'w')
30 self.dbg.SetOutputFileHandle(self.devnull, False)
31 self.dbg.SetErrorFileHandle (self.devnull, False)
63 devnull = open(os.devnull, 'w')
64 self.dbg.SetOutputFile(devnull)
65 self.dbg.SetErrorFile(devnull)
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/packages/Python/lldbsuite/test/python_api/interpreter/
H A DTestRunCommandInterpreterAPI.py28 self.devnull = open(os.devnull, 'w')
29 self.dbg.SetOutputFileHandle(self.devnull, False)
30 self.dbg.SetErrorFileHandle (self.devnull, False)
61 devnull = open(os.devnull, 'w')
62 self.dbg.SetOutputFile(devnull)
63 self.dbg.SetErrorFile(devnull)
/dports/audio/py-eyed3/eyeD3-0.9.6/tests/
H A Dtest_main.py8 with open("/dev/null", "w") as devnull:
9 with RedirectStdStreams(stderr=devnull):
30 with open("/dev/null", "w") as devnull:
31 with RedirectStdStreams(stderr=devnull):
55 with open("/dev/null", "w") as devnull:
56 with RedirectStdStreams(stderr=devnull):
72 with open("/dev/null", "w") as devnull:
73 with RedirectStdStreams(stderr=devnull):
/dports/net/corosync2/corosync-2.4.5/qdevices/
H A Dutils.c159 int devnull; in utils_tty_detach() local
178 devnull = open("/dev/null", O_RDWR); in utils_tty_detach()
179 if (devnull == -1) { in utils_tty_detach()
183 if (dup2(devnull, 0) < 0 || dup2(devnull, 1) < 0 in utils_tty_detach()
184 || dup2(devnull, 2) < 0) { in utils_tty_detach()
185 close(devnull); in utils_tty_detach()
188 close(devnull); in utils_tty_detach()

12345678910>>...129