/bionic/libc/bionic/ |
libc_init_common.cpp | 127 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); local 128 if (dev_null == -1) { 130 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); 132 if (dev_null == -1) { 140 if (i == dev_null) { 156 status = TEMP_FAILURE_RETRY(dup2(dev_null, i)); 166 if (dev_null > 2) { 167 if (close(dev_null) == -1) {
|
/ndk/tests/ |
adb.py | 24 with open(os.devnull, 'wb') as dev_null: 25 subprocess.check_call(['adb', 'push', src, dst], stdout=dev_null, 26 stderr=dev_null)
|
/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 | 586 int dev_null = open("/dev/null", O_WRONLY); local 587 if (dev_null < 0) 592 include_stderr ? pipe_fd[1] : dev_null, 594 fd_shuffle1.push_back(InjectionArc(dev_null, STDIN_FILENO, true));
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
perf_tracing_agent.py | 193 with open(os.devnull, 'w') as dev_null, \ 197 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_profiling_helper.py | 127 with open(os.devnull, 'w') as dev_null: 131 stdout=dev_null, stderr=subprocess.PIPE)
|
/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...] |