Searched refs:dev_null (Results 1 – 12 of 12) sorted by relevance
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-driver.cpp | 48 int dev_null = open("/dev/null", O_RDONLY); in main() local 49 if (dev_null < 0) in main() 52 if (dup2(dev_null, STDIN_FILENO) < 0) in main()
|
/external/libunwind/tests/ |
D | Gtest-dyn1.c | 162 dev_null (const char *format UNUSED, ...) in dev_null() function 219 (*funcp) (10, funcp, dev_null, "iteration %c%s\n", strarr); in main()
|
/external/libchrome/base/process/ |
D | launch_posix.cc | 596 int dev_null = open("/dev/null", O_WRONLY); in GetAppOutputInternal() local 597 if (dev_null < 0) in GetAppOutputInternal() 601 fd_shuffle1.push_back(InjectionArc(include_stderr ? pipe_fd[1] : dev_null, in GetAppOutputInternal() 603 fd_shuffle1.push_back(InjectionArc(dev_null, STDIN_FILENO, true)); in GetAppOutputInternal()
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | perf_tracing_agent.py | 196 with open(os.devnull, 'w') as dev_null, \ 200 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
|
/external/jemalloc/bin/ |
D | jeprof.in | 130 my $dev_null = "/dev/null"; 131 if (! -e $dev_null && $^O =~ /MSWin/) { # $^O is the OS perl was built for 132 $dev_null = "nul"; 750 if (!system(ShellEscape(@GV, "--version") . " >$dev_null 2>&1")) { 4901 if (system(ShellEscape($addr2line, "--help") . " >$dev_null 2>&1") != 0) { 4918 if (system("$cmd -i --help >$dev_null 2>&1") == 0) { 5108 $file_type = `/usr/bin/file -L $escaped_prog_file 2>$dev_null || 5355 my $to_devnull = ">$dev_null 2>&1"; 5373 $image) . " 2>$dev_null $cppfilt_flag", 5375 $image) . " 2>$dev_null $cppfilt_flag", [all …]
|
/external/jemalloc_new/bin/ |
D | jeprof.in | 131 my $dev_null = "/dev/null"; 132 if (! -e $dev_null && $^O =~ /MSWin/) { # $^O is the OS perl was built for 133 $dev_null = "nul"; 751 if (!system(ShellEscape(@GV, "--version") . " >$dev_null 2>&1")) { 4914 if (system(ShellEscape($addr2line, "--help") . " >$dev_null 2>&1") != 0) { 4931 if (system("$cmd -i --help >$dev_null 2>&1") == 0) { 5121 $file_type = `/usr/bin/file -L $escaped_prog_file 2>$dev_null || 5368 my $to_devnull = ">$dev_null 2>&1"; 5386 $image) . " 2>$dev_null $cppfilt_flag", 5388 $image) . " 2>$dev_null $cppfilt_flag", [all …]
|
/external/minijail/ |
D | libminijail_unittest.cc | 374 int dev_null = open("/dev/null", O_RDONLY); in TEST() local 375 ASSERT_NE(dev_null, -1); in TEST() 379 dev_null); in TEST() 416 close(dev_null); in TEST()
|
/external/autotest/server/ |
D | autoserv.py | 358 dev_null = os.open(os.devnull, os.O_RDONLY) 359 os.dup2(dev_null, sys.stdin.fileno()) 360 os.close(dev_null)
|
D | autoserv | 358 dev_null = os.open(os.devnull, os.O_RDONLY) 359 os.dup2(dev_null, sys.stdin.fileno()) 360 os.close(dev_null)
|
/external/compiler-rt/lib/asan/scripts/ |
D | asan_symbolize.py | 188 dev_null = os.open('/dev/null', 0) 189 os.dup2(dev_null, 2)
|
/external/syzkaller/sys/akaros/ |
D | dev.txt | 19 openat$dev_null(fromfd const[AT_FDCWD], path ptr[in, string["/dev/null"]], path_l len[path], oflag …
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2775 open(os.devnull, 'wb') as dev_null: 2778 mock_proc_stdin.fileno.return_value = dev_null.fileno()
|