Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_proxies.c106 pid_t devnull; in main() local
110 devnull = open("/dev/null", O_WRONLY); in main()
111 if (-1 == devnull) in main()
113 if (1 != devnull) in main()
115 dup2(devnull, 1); in main()
116 close(devnull); in main()
130 pid_t devnull; in main() local
135 devnull = open("/dev/null", O_WRONLY); in main()
136 if (-1 == devnull) in main()
138 if (1 != devnull) in main()
[all …]
Dtest_session_timeout.c272 pid_t devnull; in childproc() local
287 devnull = open("/dev/null", O_WRONLY); in childproc()
288 if (-1 == devnull) in childproc()
290 if (1 != devnull) in childproc()
292 dup2(devnull, 1); in childproc()
293 close(devnull); in childproc()
295 devnull = open("/dev/null", O_WRONLY); in childproc()
296 if (-1 == devnull) in childproc()
298 if (2 != devnull) in childproc()
300 dup2(devnull, 2); in childproc()
[all …]
Dtest_misc.c78 int devnull; in create_child() local
81 devnull = open("/dev/null", O_WRONLY); in create_child()
82 if (-1 == devnull) in create_child()
84 if (1 != devnull) in create_child()
86 dup2(devnull, 1); in create_child()
87 close(devnull); in create_child()
/third_party/alsa-utils/alsactl/
Dinit_utils_run.c42 int devnull; in run_program0() local
102 devnull = open("/dev/null", O_RDWR); in run_program0()
103 if (devnull > 0) { in run_program0()
104 dup2(devnull, STDIN_FILENO); in run_program0()
106 dup2(devnull, STDOUT_FILENO); in run_program0()
108 dup2(devnull, STDERR_FILENO); in run_program0()
109 close(devnull); in run_program0()
/third_party/flutter/skia/tools/
Dgit-sync-deps49 with open(os.devnull, 'w') as devnull:
52 subprocess.call([git, '--version'], stdout=devnull)
145 with open(os.devnull, 'w') as devnull:
149 cwd=directory, stderr=devnull):
/third_party/spirv-tools/utils/
Dgit-sync-deps73 with open(os.devnull, 'w') as devnull:
76 subprocess.call([git, '--version'], stdout=devnull)
169 with open(os.devnull, 'w') as devnull:
173 cwd=directory, stderr=devnull):
/third_party/skia/third_party/externals/spirv-tools/utils/
Dgit-sync-deps73 with open(os.devnull, 'w') as devnull:
76 subprocess.call([git, '--version'], stdout=devnull)
169 with open(os.devnull, 'w') as devnull:
173 cwd=directory, stderr=devnull):
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dgit-sync-deps73 with open(os.devnull, 'w') as devnull:
76 subprocess.call([git, '--version'], stdout=devnull)
169 with open(os.devnull, 'w') as devnull:
173 cwd=directory, stderr=devnull):
/third_party/ninja/misc/
Dmeasure.py26 devnull = open('/dev/null', 'w') variable
35 subprocess.call(cmd, stdout=devnull, stderr=devnull)
/third_party/skia/tools/
Dgit-sync-deps49 with open(os.devnull, 'w') as devnull:
52 subprocess.call([git, '--version'], stdout=devnull)
153 with open(os.devnull, 'w') as devnull:
157 cwd=directory, stderr=devnull):
/third_party/mbedtls/tests/scripts/
Dpsa_collect_statuses.py96 with open(os.devnull, 'w') as devnull:
98 stdout=devnull, stderr=devnull)
/third_party/python/Lib/
Dwebbrowser.py366 devnull = subprocess.DEVNULL
370 close_fds=True, stdin=devnull,
371 stdout=devnull, stderr=devnull)
382 close_fds=True, stdin=devnull,
383 stdout=devnull, stderr=devnull,
395 close_fds=True, stdin=devnull,
396 stdout=devnull, stderr=devnull,
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/renderers/
Dcommon_exec.py144 with open(os.devnull, "w") as devnull:
148 stdout = devnull,
149 stderr = devnull
/third_party/icu/icu4c/source/python/icutools/databuilder/renderers/
Dcommon_exec.py144 with open(os.devnull, "w") as devnull:
148 stdout = devnull,
149 stderr = devnull
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_unix.c190 int devnull; in os_daemon() local
195 devnull = open("/dev/null", O_RDWR); in os_daemon()
196 if (devnull < 0) in os_daemon()
199 if (dup2(devnull, STDIN_FILENO) < 0) { in os_daemon()
200 close(devnull); in os_daemon()
204 if (dup2(devnull, STDOUT_FILENO) < 0) { in os_daemon()
205 close(devnull); in os_daemon()
209 if (dup2(devnull, STDERR_FILENO) < 0) { in os_daemon()
210 close(devnull); in os_daemon()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_unix.c196 int devnull; in os_daemon() local
201 devnull = open("/dev/null", O_RDWR); in os_daemon()
202 if (devnull < 0) in os_daemon()
205 if (dup2(devnull, STDIN_FILENO) < 0) { in os_daemon()
206 close(devnull); in os_daemon()
210 if (dup2(devnull, STDOUT_FILENO) < 0) { in os_daemon()
211 close(devnull); in os_daemon()
215 if (dup2(devnull, STDERR_FILENO) < 0) { in os_daemon()
216 close(devnull); in os_daemon()
/third_party/openssl/test/recipes/
D01-test_symbol_presence.t38 open STDERR, ">", devnull();
39 open STDOUT, ">", devnull();
/third_party/flutter/skia/tools/skqp/
Dmake_universal_apk.py59 with open(os.devnull, 'w') as devnull:
61 stdout=devnull, stderr=devnull)
/third_party/skia/tools/skqp/
Dcreate_apk.py65 with open(os.devnull, 'w') as devnull:
67 stdout=devnull, stderr=devnull) == 0
/third_party/python/Lib/test/
Dtest_ensurepip.py76 real_devnull = os.devnull
82 patched_os.devnull = real_devnull
198 self.assertEqual(self.os_environ["PIP_CONFIG_FILE"], os.devnull)
292 self.assertEqual(self.os_environ["PIP_CONFIG_FILE"], os.devnull)
/third_party/mesa3d/bin/
Dsymbols-check.py37 stderr=open(os.devnull, 'w')).decode("ascii")
60 stderr=open(os.devnull, 'w')).decode("ascii")
/third_party/openssl/ssl/statem/
Dstatem_dtls.c576 unsigned char devnull[256]; in dtls1_reassemble_fragment() local
580 devnull, in dtls1_reassemble_fragment()
582 sizeof(devnull) ? sizeof(devnull) : in dtls1_reassemble_fragment()
673 unsigned char devnull[256]; in dtls1_process_out_of_seq_message() local
677 devnull, in dtls1_process_out_of_seq_message()
679 sizeof(devnull) ? sizeof(devnull) : in dtls1_process_out_of_seq_message()
/third_party/mesa3d/src/util/format/
Du_format_table.py311 sys.stdout2 = open(os.devnull, "w")
316 sys.stdout = open(os.devnull, "w")
/third_party/flutter/skia/bin/
Dsysopen11 with open(os.devnull, 'w') as o:
/third_party/skia/bin/
Dsysopen11 with open(os.devnull, 'w') as o:

123