/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
D | test_proxies.c | 106 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 …]
|
D | test_session_timeout.c | 272 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 …]
|
D | test_misc.c | 78 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/ |
D | binpolicy-fuzzer.c | 23 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/ |
D | init_utils_run.c | 42 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/ |
D | git-sync-deps | 73 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/ |
D | git-sync-deps | 65 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/ |
D | git-sync-deps | 73 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/ |
D | git-sync-deps | 73 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/ |
D | git-sync-deps | 49 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/ |
D | measure.py | 26 devnull = open('/dev/null', 'w') variable 35 subprocess.call(cmd, stdout=devnull, stderr=devnull)
|
/third_party/python/Lib/ |
D | webbrowser.py | 366 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/ |
D | psa_collect_statuses.py | 96 with open(os.devnull, 'w') as devnull: 98 stdout=devnull, stderr=devnull)
|
/third_party/icu/icu4c/source/python/icutools/databuilder/renderers/ |
D | common_exec.py | 144 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/ |
D | common_exec.py | 144 with open(os.devnull, "w") as devnull: 148 stdout = devnull, 149 stderr = devnull
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_unix.c | 190 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/ |
D | os_unix.c | 196 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/ |
D | run-clang-tidy.py | 103 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/ |
D | build-skqp_git-sync-deps.patch | 18 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/ |
D | create_apk.py | 65 with open(os.devnull, 'w') as devnull: 67 stdout=devnull, stderr=devnull) == 0
|
/third_party/openssl/test/recipes/ |
D | 01-test_symbol_presence.t | 50 open STDERR, ">", devnull(); 51 open STDOUT, ">", devnull();
|
/third_party/python/Lib/test/ |
D | test_ensurepip.py | 76 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/ |
D | symbols-check.py | 37 stderr=open(os.devnull, 'w')).decode("ascii") 60 stderr=open(os.devnull, 'w')).decode("ascii")
|
/third_party/node/deps/openssl/openssl/ssl/statem/ |
D | statem_dtls.c | 645 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/ |
D | statem_dtls.c | 645 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()
|