Home
last modified time | relevance | path

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

1234

/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/selinux/libsepol/fuzz/
Dbinpolicy-fuzzer.c23 FILE *devnull = NULL; in LLVMFuzzerTestOneInput() local
44 devnull = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
45 if (!devnull) in LLVMFuzzerTestOneInput()
48 (void) write_binary_policy(&policydb, devnull); in LLVMFuzzerTestOneInput()
50 (void) sepol_kernel_policydb_to_conf(devnull, &policydb); in LLVMFuzzerTestOneInput()
52 (void) sepol_kernel_policydb_to_cil(devnull, &policydb); in LLVMFuzzerTestOneInput()
55 if (devnull != NULL) in LLVMFuzzerTestOneInput()
56 fclose(devnull); in LLVMFuzzerTestOneInput()
/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/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/vk-gl-cts/external/amber/src/tools/
Dgit-sync-deps65 with open(os.devnull, 'w') as devnull:
68 subprocess.call([git, '--version'], stdout=devnull)
164 with open(os.devnull, 'w') as devnull:
168 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/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/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/ninja/misc/
Dmeasure.py26 devnull = open('/dev/null', 'w') variable
35 subprocess.call(cmd, 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/mbedtls/tests/scripts/
Dpsa_collect_statuses.py96 with open(os.devnull, 'w') as devnull:
98 stdout=devnull, 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/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/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/node/deps/v8/tools/
Drun-clang-tidy.py103 with open(os.devnull, 'w') as DEVNULL:
143 with open(os.devnull, 'w') as DEVNULL:
182 with open(os.devnull, 'w') as DEVNULL:
236 with open(os.devnull, 'w') as DEVNULL:
263 with open(os.devnull, 'w') as DEVNULL:
/third_party/mesa3d/.gitlab-ci/container/
Dbuild-skqp_git-sync-deps.patch18 with open(os.devnull, 'w') as devnull:
77 with open(os.devnull, 'w') as devnull:
82 cwd=directory, 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/openssl/test/recipes/
D01-test_symbol_presence.t50 open STDERR, ">", devnull();
51 open STDOUT, ">", devnull();
/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/node/deps/openssl/openssl/ssl/statem/
Dstatem_dtls.c645 unsigned char devnull[256]; in dtls1_reassemble_fragment() local
649 devnull, in dtls1_reassemble_fragment()
651 sizeof(devnull) ? sizeof(devnull) : in dtls1_reassemble_fragment()
742 unsigned char devnull[256]; in dtls1_process_out_of_seq_message() local
746 devnull, in dtls1_process_out_of_seq_message()
748 sizeof(devnull) ? sizeof(devnull) : in dtls1_process_out_of_seq_message()
/third_party/openssl/ssl/statem/
Dstatem_dtls.c645 unsigned char devnull[256]; in dtls1_reassemble_fragment() local
649 devnull, in dtls1_reassemble_fragment()
651 sizeof(devnull) ? sizeof(devnull) : in dtls1_reassemble_fragment()
742 unsigned char devnull[256]; in dtls1_process_out_of_seq_message() local
746 devnull, in dtls1_process_out_of_seq_message()
748 sizeof(devnull) ? sizeof(devnull) : in dtls1_process_out_of_seq_message()

1234