/bionic/libc/bionic/ |
libc_init_common.cpp | 122 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); local 123 if (dev_null == -1) { 125 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); 127 if (dev_null == -1) { 135 if (i == dev_null) { 151 status = TEMP_FAILURE_RETRY(dup2(dev_null, i)); 161 if (dev_null > 2) { 162 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)
|
/device/google/cuttlefish_common/host/libs/vm_manager/ |
crosvm_manager.cpp | 125 auto dev_null = cvd::SharedFD::Open("/dev/null", O_RDONLY); local 126 if (dev_null->IsOpen()) { 127 command.RedirectStdIO(cvd::Subprocess::StdIOChannel::kStdIn, 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);
|
/device/google/cuttlefish_common/host/commands/launch/ |
main.cc | 263 auto dev_null = cvd::SharedFD::Open("/dev/null", O_RDONLY); local 264 if (!dev_null->IsOpen()) { 265 LOG(ERROR) << "Failed to open /dev/null: " << dev_null->StrError(); 268 if (dev_null->UNMANAGED_Dup2(0) < 0) { 269 LOG(ERROR) << "Failed dup2 stdin: " << dev_null->StrError();
|
/external/libchrome/base/process/ |
launch_posix.cc | 596 int dev_null = open("/dev/null", O_WRONLY); local 597 if (dev_null < 0) 601 fd_shuffle1.push_back(InjectionArc(include_stderr ? pipe_fd[1] : dev_null, 603 fd_shuffle1.push_back(InjectionArc(dev_null, STDIN_FILENO, true));
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
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/minijail/ |
libminijail_unittest.cc | 374 int dev_null = open("/dev/null", O_RDONLY); local 375 ASSERT_NE(dev_null, -1); 379 dev_null); 416 close(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/jemalloc_new/bin/ |
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")) { [all...] |
/external/python/cpython3/Lib/test/ |
test_subprocess.py | [all...] |
/external/syzkaller/sys/akaros/gen/ |
amd64.go | [all...] |