Home
last modified time | relevance | path

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

/system/tools/aidl/
Dcode_writer.cpp34 explicit StringCodeWriter(std::string* output_buffer) : output_(output_buffer) {} in StringCodeWriter()
40 android::base::StringAppendV(output_, format, ap); in Write()
48 std::string* output_; member in android::aidl::__anon3964cc230111::StringCodeWriter
54 : output_(output_file), in FileCodeWriter()
57 if (close_on_destruction_ && output_ != nullptr) { in ~FileCodeWriter()
58 fclose(output_); in ~FileCodeWriter()
66 success = vfprintf(output_, format, ap) >= 0; in Write()
73 if (output_ != nullptr) { in Close()
74 no_error_ = fclose(output_) == 0 && no_error_; in Close()
75 output_ = nullptr; in Close()
[all …]
/system/core/adb/
Dshell_service.cpp185 std::unique_ptr<ShellProtocol> input_, output_; member in __anon21673cd90111::Subprocess
367 output_.reset(new ShellProtocol(protocol_sfd_)); in ForkAndExec()
368 if (!input_ || !output_) { in ForkAndExec()
622 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()
632 if (bytes > 0 && !output_->Write(id, bytes)) { in PassOutput()
667 output_->data()[0] = exit_code; in WaitForExit()
668 if (output_->Write(ShellProtocol::kIdExit, 1)) { in WaitForExit()
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/tpm/trunks/
Dtpm_generated_test.cc314 : expected_input_(expected_input), output_(output) {} in Encryptor()
317 value->assign(output_); in operator ()()
323 std::string output_; member in trunks::Encryptor