/bionic/libc/bionic/ |
libc_init_common.cpp | 148 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); local 149 if (dev_null == -1) { 151 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); 153 if (dev_null == -1) { 161 if (i == dev_null) { 177 status = TEMP_FAILURE_RETRY(dup2(dev_null, i)); 187 if (dev_null > 2) { 188 if (close(dev_null) == -1) {
|
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
clang-fortify-driver.cpp | 48 int dev_null = open("/dev/null", O_RDONLY); local 49 if (dev_null < 0) 52 if (dup2(dev_null, STDIN_FILENO) < 0)
|
/external/libunwind/tests/ |
Gtest-dyn1.c | 162 dev_null (const char *format UNUSED, ...) function 219 (*funcp) (10, funcp, dev_null, "iteration %c%s\n", strarr);
|
/external/libchrome/base/process/ |
launch_posix.cc | 590 int dev_null = open("/dev/null", O_WRONLY); local 591 if (dev_null < 0) 596 include_stderr ? pipe_fd[1] : dev_null, 598 fd_shuffle1.push_back(InjectionArc(dev_null, STDIN_FILENO, true));
|
/external/minijail/ |
libminijail_unittest.cc | 222 int dev_null = open("/dev/null", O_RDONLY); local 223 ASSERT_NE(dev_null, -1); 227 dev_null); 264 close(dev_null);
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
perf_tracing_agent.py | 194 with open(os.devnull, 'w') as dev_null, \ 198 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 188 dev_null = os.open('/dev/null', 0) 189 os.dup2(dev_null, 2)
|
/external/jemalloc/bin/ |
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")) { [all...] |
/external/python/cpython3/Lib/test/ |
test_subprocess.py | [all...] |