/system/bt/build/toolchain/clang/ |
H A D | get_clang_suffix.py | 20 stdout=subprocess.PIPE).communicate()[0] variable
|
/system/update_engine/common/ |
H A D | subprocess.h | 55 // code and the stdout output (and stderr if redirected). 69 // know the reader end in the parent. Only stdin, stdout, stderr and the file 88 // Executes a command synchronously. Returns true on success. If |stdout| is 90 // logged. Note that stderr is redirected to stdout. 93 std::string* stdout); 97 std::string* stdout); 121 // These are used to monitor the stdout of the running process, including 126 std::string stdout; member in struct:chromeos_update_engine::Subprocess::SubprocessRecord 130 // stdout pipe.
|
H A D | subprocess.cc | 125 record->stdout.append(buf, bytes_read); 155 if (!record->stdout.empty()) { 156 LOG(INFO) << "Subprocess output:\n" << record->stdout; 159 record->callback.Run(info.si_status, record->stdout); 235 string* stdout) { 242 stdout); 248 string* stdout) { 258 if (stdout) { 259 stdout->clear(); 272 if (stdout) 233 SynchronousExec(const vector<string>& cmd, int* return_code, string* stdout) argument 245 SynchronousExecFlags(const vector<string>& cmd, uint32_t flags, int* return_code, string* stdout) argument [all...] |
H A D | subprocess_unittest.cc | 141 {kBinPath "/sh", "-c", "echo this is stdout; echo this is stderr >&2"}, 142 base::Bind(&ExpectedResults, 0, "this is stdout\nthis is stderr\n"))); 148 {kBinPath "/sh", "-c", "echo on stdout; echo on stderr >&2"}, 151 base::Bind(&ExpectedResults, 0, "on stdout\n"))); 203 "echo -n stdout-here; echo -n stderr-there >&2"}; 205 string stdout; local 206 ASSERT_TRUE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); 208 EXPECT_EQ("stdout-herestderr-there", stdout);
|
H A D | http_fetcher_unittest.cc | 131 brillo::StreamPtr stdout = brillo::FileStream::FromFileDescriptor( local 133 if (!stdout) 140 if (!stdout->ReadBlocking(buf.data(), buf.size(), &read, nullptr)) { 141 ADD_FAILURE() << "error reading http server stdout";
|
/system/core/adb/ |
H A D | shell_service_test.cpp | 112 // |stdout| and |stderr| with their respective data, and returns the exit code 114 int ReadShellProtocol(int fd, std::string* stdout, std::string* stderr) { argument 116 stdout->clear(); 123 stdout->append(protocol->data(), protocol->data_length()); 200 std::string stdout, stderr; local 201 EXPECT_EQ(24, ReadShellProtocol(subprocess_fd_, &stdout, &stderr)); 202 ExpectLinesEqual(stdout, {"foo", "baz"}); 212 // PTY always combines stdout and stderr but the shell protocol should 214 std::string stdout, stderr; local 215 EXPECT_EQ(50, ReadShellProtocol(subprocess_fd_, &stdout, 239 std::string stdout, stderr; local 262 std::string stdout, stderr; local 274 std::string stdout, stderr; local 286 std::string stdout, stderr; local [all...] |
/system/update_engine/payload_generator/ |
H A D | delta_diff_utils.cc | 809 string stdout; local 810 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); 812 LOG(ERROR) << diff_path << " returned " << rc << std::endl << stdout; local
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io. ... |
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io. ... |
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .io.BufferedReader is
java.util.Formatter stdout
String line
ProcessBuilder pb
Process p
java.io. ... |