Home
last modified time | relevance | path

Searched refs:output_ (Results 1 – 5 of 5) sorted by relevance

/system/testing/gtest_extras/
DTest.h53 void AppendOutput(std::string& output) { output_ += output; } in AppendOutput()
54 void AppendOutput(const char* output) { output_ += output; } in AppendOutput()
81 const std::string& output() const { return output_; } in output()
96 std::string output_; variable
DTest.cpp62 printf("%s", output_.c_str()); in Print()
100 output_ += buffer; in Read()
129 if (std::regex_search(output_, skipped_regex_)) { in SetResultFromOutput()
/system/core/adb/
Dbugreport_test.cpp71 : type_(type), output_(output) { in OnStandardStreamsCallbackAction()
75 ::std::tr1::get<0>(args)->OnStdout(output_.c_str(), output_.size()); in Perform()
78 ::std::tr1::get<0>(args)->OnStderr(output_.c_str(), output_.size()); in Perform()
84 std::string output_; member in OnStandardStreamsCallbackAction
/system/core/adb/daemon/
Dshell_service.cpp210 std::unique_ptr<ShellProtocol> input_, output_; member in __anon9d4e575d0111::Subprocess
478 output_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
479 if (!input_ || !output_) { in ConnectProtocolEndpoints()
740 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()
750 if (bytes > 0 && !output_->Write(id, bytes)) { in PassOutput()
785 output_->data()[0] = exit_code; in WaitForExit()
786 if (output_->Write(ShellProtocol::kIdExit, 1)) { in WaitForExit()
/system/libziparchive/
Dzip_archive_test.cc911 output_.insert(output_.end(), buf, buf + size); in Append()
915 std::vector<uint8_t>& GetOutput() { return output_; } in GetOutput()
918 std::vector<uint8_t> output_; member in VectorWriter