Searched refs:dev_null (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/tools/telemetry/telemetry/util/
H A Dfind_dependencies_unittest.py41 with open(os.devnull, 'w') as dev_null:
42 subprocess.call(['unzip', zip_path], cwd=temp_dir, stdout=dev_null)
51 with open(os.devnull, 'w') as dev_null:
54 self.assertEqual(subprocess.call(gsutil_command, stdout=dev_null), 0)
59 #gsutil_process = subprocess.Popen(gsutil_command, stdout=dev_null)
/external/libunwind/tests/
H A DGtest-dyn1.c162 dev_null (const char *format UNUSED, ...) function
219 (*funcp) (10, funcp, dev_null, "iteration %c%s\n", strarr);
/external/chromium_org/tools/gn/
H A Dfunction_exec_script.cc177 int dev_null = open("/dev/null", O_WRONLY); local
178 if (dev_null < 0)
184 base::InjectionArc(dev_null, STDERR_FILENO, true));
186 base::InjectionArc(dev_null, STDIN_FILENO, true));
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfilesystem_test.cc306 ScopedNode dev_null; local
310 ASSERT_EQ(0, fs.Open(Path("/null"), O_RDWR, &dev_null));
311 ASSERT_NE(NULL_NODE, dev_null.get());
312 ASSERT_EQ(0, dev_null->GetStat(&buf));
318 EXPECT_EQ(0, dev_null->Write(attrs, &msg[0], strlen(msg), &result_bytes));
324 EXPECT_EQ(0, dev_null->Read(attrs, &buffer[0], kBufferLength, &result_bytes));
/external/chromium_org/base/process/
H A Dlaunch_posix.cc558 int dev_null = open("/dev/null", O_WRONLY); local
559 if (dev_null < 0)
568 fd_shuffle1.push_back(InjectionArc(dev_null, STDERR_FILENO, true));
569 fd_shuffle1.push_back(InjectionArc(dev_null, STDIN_FILENO, true));
H A Dprocess_util_unittest.cc614 int dev_null = open("/dev/null", O_RDONLY); local
627 ret = IGNORE_EINTR(close(dev_null));
/external/chromium_org/tools/profile_chrome/
H A Dperf_controller.py178 with open(os.devnull, 'w') as dev_null, \
182 if subprocess.call(cmd, stdout=json_file, stderr=dev_null):
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dandroid_profiling_helper.py107 with open(os.devnull, 'w') as dev_null:
110 stdout=dev_null, stderr=subprocess.PIPE)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dexecutive.py128 dev_null = open(os.devnull, "w") # FIXME: Does this need an encoding?
129 tee_stdout = dev_null
133 dev_null.close()
/external/chromium_org/tools/valgrind/asan/third_party/
H A Dasan_symbolize.py173 dev_null = os.open('/dev/null', 0)
174 os.dup2(dev_null, 2)
/external/compiler-rt/lib/asan/scripts/
H A Dasan_symbolize.py161 dev_null = os.open('/dev/null', 0)
162 os.dup2(dev_null, 2)
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpprof129 my $dev_null = "/dev/null";
130 if (! -e $dev_null && $^O =~ /MSWin/) { # $^O is the OS perl was built for
131 $dev_null = "nul";
720 if (!system(ShellEscape(@GV, "--version") . " >$dev_null 2>&1")) {
4638 if (system(ShellEscape($addr2line, "--help") . " >$dev_null 2>&1") != 0) {
4655 if (system("$cmd -i --help >$dev_null 2>&1") == 0) {
4845 $file_type = `/usr/bin/file -L $escaped_prog_file 2>$dev_null ||
5092 my $to_devnull = ">$dev_null 2>&1";
5110 $image) . " 2>$dev_null $cppfilt_flag",
5112 $image) . " 2>$dev_null
[all...]
/external/jemalloc/bin/
H A Dpprof129 my $dev_null = "/dev/null";
130 if (! -e $dev_null && $^O =~ /MSWin/) { # $^O is the OS perl was built for
131 $dev_null = "nul";
720 if (!system(ShellEscape(@GV, "--version") . " >$dev_null 2>&1")) {
4671 if (system(ShellEscape($addr2line, "--help") . " >$dev_null 2>&1") != 0) {
4688 if (system("$cmd -i --help >$dev_null 2>&1") == 0) {
4878 $file_type = `/usr/bin/file -L $escaped_prog_file 2>$dev_null ||
5125 my $to_devnull = ">$dev_null 2>&1";
5143 $image) . " 2>$dev_null $cppfilt_flag",
5145 $image) . " 2>$dev_null
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpprof129 my $dev_null = "/dev/null";
130 if (! -e $dev_null && $^O =~ /MSWin/) { # $^O is the OS perl was built for
131 $dev_null = "nul";
720 if (!system(ShellEscape(@GV, "--version") . " >$dev_null 2>&1")) {
4638 if (system(ShellEscape($addr2line, "--help") . " >$dev_null 2>&1") != 0) {
4655 if (system("$cmd -i --help >$dev_null 2>&1") == 0) {
4845 $file_type = `/usr/bin/file -L $escaped_prog_file 2>$dev_null ||
5092 my $to_devnull = ">$dev_null 2>&1";
5110 $image) . " 2>$dev_null $cppfilt_flag",
5112 $image) . " 2>$dev_null
[all...]

Completed in 466 milliseconds