Searched defs:Write (Results 1 - 25 of 33) sorted by last modified time

12

/system/tpm/attestation/server/
H A Ddatabase_impl.cc85 return io_->Write(buffer);
114 bool DatabaseImpl::Write(const std::string& data) { function in class:attestation::DatabaseImpl
H A Dpkcs11_key_store.cc130 bool Pkcs11KeyStore::Write(const std::string& username, function in class:attestation::Pkcs11KeyStore
/system/tpm/tpm_manager/server/
H A Dlocal_data_store_impl.cc62 bool LocalDataStoreImpl::Write(const LocalData& data) { function in class:tpm_manager::LocalDataStoreImpl
/system/tpm/trunks/ftdi/
H A Dmpsse.c675 retval = Write(mpsse, data, size);
691 int Write(struct mpsse_context* mpsse, const void* vdata, int size) { function
/system/update_engine/
H A Dfake_file_writer.h28 // calls to Open(), Close(), but not do any work. All calls to Write()
44 virtual ssize_t Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::FakeFileWriter
/system/update_engine/payload_consumer/
H A Dbzip_extent_writer.cc40 bool BzipExtentWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::BzipExtentWriter
67 next_->Write(output_buffer.data(),
H A Dcached_file_descriptor.cc51 ssize_t CachedFileDescriptor::Write(const void* buf, size_t count) { function in class:chromeos_update_engine::CachedFileDescriptor
87 auto bytes_wrote = fd_->Write(cache_.data() + begin, bytes_cached_ - begin);
H A Dcached_file_descriptor_unittest.cc50 void Write(uint8_t* buffer, size_t count) { function in class:chromeos_update_engine::CachedFileDescriptorTest
54 cfd_->Write(buffer + total_bytes_wrote, count - total_bytes_wrote);
88 Write(blob_in.data(), blob_in.size());
100 Write(&blob_in[idx], 1);
121 Write(&blob_in[start], size);
151 Write(blob_in.data(), blob_in.size());
164 Write(&blob_in[seek], kCacheSize);
178 Write(&blob_in[seek], less_than_cache_size);
194 Write(&blob_in[seek], less_than_cache_size);
H A Ddelta_performer.cc468 // DeltaPerformer::Write calls to download the full manifest.
529 bool DeltaPerformer::Write(const void* bytes, size_t count, ErrorCode *error) { function in class:chromeos_update_engine::DeltaPerformer
884 TEST_AND_RETURN_FALSE(writer->Write(buffer_.data(), operation.data_length()));
966 // Write bytes out.
1125 bool Write(const void* buf, size_t count, size_t* bytes_written) override {
1126 TEST_AND_RETURN_FALSE(writer_->Write(buf, count));
1261 bool Write(const void* buffer, size_t count) override {
1263 TEST_AND_RETURN_FALSE(writer_->Write(buffer, count));
H A Ddownload_action_unittest.cc109 virtual bool Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::__anon2731::TestDirectFileWriter
113 return DirectFileWriter::Write(bytes, count);
117 // If positive, fail on the |fail_write_| call to Write.
260 EXPECT_CALL(mock_file_writer, Write(_, _, _))
H A Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::DirectExtentWriter
H A Dfile_descriptor.cc46 ssize_t EintrSafeFileDescriptor::Write(const void* buf, size_t count) { function in class:chromeos_update_engine::EintrSafeFileDescriptor
H A Dfile_writer.cc31 bool DirectFileWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::DirectFileWriter
H A Dfile_writer.h44 virtual bool Write(const void* bytes, size_t count) = 0;
46 // Same as the Write method above but returns a detailed |error| code
50 virtual bool Write(const void* bytes, function in class:chromeos_update_engine::FileWriter
54 return Write(bytes, count);
72 bool Write(const void* bytes, size_t count) override;
H A Dmtd_file_descriptor.cc143 ssize_t MtdFileDescriptor::Write(const void* buf, size_t count) { function in class:chromeos_update_engine::MtdFileDescriptor
222 ssize_t UbiFileDescriptor::Write(const void* buf, size_t count) { function in class:chromeos_update_engine::UbiFileDescriptor
224 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, count);
252 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, to_write);
H A Dxz_extent_writer.cc65 bool XzExtentWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::XzExtentWriter
97 underlying_writer_->Write(output_buffer.data(), request.out_pos));
/system/tools/aidl/
H A Dast_cpp.cpp44 void ClassDecl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::ClassDecl
45 to->Write("class %s ", name_.c_str());
48 to->Write(": public %s ", parent_.c_str());
50 to->Write("{\n");
53 to->Write("public:\n");
56 dec->Write(to);
59 to->Write("private:\n");
62 dec->Write(to);
64 to->Write("}; // class %s\n", name_.c_str());
84 void Enum::Write(CodeWrite function in class:android::aidl::cpp::Enum
119 void ArgList::Write(CodeWriter* to) const { function in class:android::aidl::cpp::ArgList
143 void ConstructorDecl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::ConstructorDecl
164 void MacroDecl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::MacroDecl
188 void MethodDecl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::MethodDecl
229 void StatementBlock::Write(CodeWriter* to) const { function in class:android::aidl::cpp::StatementBlock
244 void ConstructorImpl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::ConstructorImpl
280 void MethodImpl::Write(CodeWriter* to) const { function in class:android::aidl::cpp::MethodImpl
302 void SwitchStatement::Write(CodeWriter* to) const { function in class:android::aidl::cpp::SwitchStatement
326 void Assignment::Write(CodeWriter* to) const { function in class:android::aidl::cpp::Assignment
341 void MethodCall::Write(CodeWriter* to) const { function in class:android::aidl::cpp::MethodCall
350 void IfStatement::Write(CodeWriter* to) const { function in class:android::aidl::cpp::IfStatement
370 void Statement::Write(CodeWriter* to) const { function in class:android::aidl::cpp::Statement
380 void Comparison::Write(CodeWriter* to) const { function in class:android::aidl::cpp::Comparison
391 void LiteralExpression::Write(CodeWriter* to) const { function in class:android::aidl::cpp::LiteralExpression
408 void CppNamespace::Write(CodeWriter* to) const { function in class:android::aidl::cpp::CppNamespace
424 void Document::Write(CodeWriter* to) const { function in class:android::aidl::cpp::Document
439 void CppHeader::Write(CodeWriter* to) const { function in class:android::aidl::cpp::CppHeader
[all...]
H A Dast_java.cpp33 to->Write("@Override ");
37 to->Write("public ");
39 to->Write("private ");
41 to->Write("protected ");
45 to->Write("static ");
49 to->Write("final ");
53 to->Write("abstract ");
60 arguments[i]->Write(to);
62 to->Write(", ");
69 void Field::Write(CodeWrite function in class:android::aidl::java::Field
84 void LiteralExpression::Write(CodeWriter* to) const { function in class:android::aidl::java::LiteralExpression
90 void StringLiteralExpression::Write(CodeWriter* to) const { function in class:android::aidl::java::StringLiteralExpression
109 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } function in class:android::aidl::java::Variable
117 void FieldVariable::Write(CodeWriter* to) const { function in class:android::aidl::java::FieldVariable
126 void StatementBlock::Write(CodeWriter* to) const { function in class:android::aidl::java::StatementBlock
145 void ExpressionStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::ExpressionStatement
156 void Assignment::Write(CodeWriter* to) const { function in class:android::aidl::java::Assignment
201 void MethodCall::Write(CodeWriter* to) const { function in class:android::aidl::java::MethodCall
216 void Comparison::Write(CodeWriter* to) const { function in class:android::aidl::java::Comparison
240 void NewExpression::Write(CodeWriter* to) const { function in class:android::aidl::java::NewExpression
249 void NewArrayExpression::Write(CodeWriter* to) const { function in class:android::aidl::java::NewArrayExpression
258 void Ternary::Write(CodeWriter* to) const { function in class:android::aidl::java::Ternary
270 void Cast::Write(CodeWriter* to) const { function in class:android::aidl::java::Cast
282 void VariableDeclaration::Write(CodeWriter* to) const { function in class:android::aidl::java::VariableDeclaration
294 void IfStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::IfStatement
309 void ReturnStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::ReturnStatement
315 void TryStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::TryStatement
323 void CatchStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::CatchStatement
333 void FinallyStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::FinallyStatement
340 void Case::Write(CodeWriter* to) const { function in class:android::aidl::java::Case
359 void SwitchStatement::Write(CodeWriter* to) const { function in class:android::aidl::java::SwitchStatement
370 void Break::Write(CodeWriter* to) const { to->Write("break;\\n"); } function in class:android::aidl::java::Break
372 void Method::Write(CodeWriter* to) const { function in class:android::aidl::java::Method
420 void IntConstant::Write(CodeWriter* to) const { function in class:android::aidl::java::IntConstant
425 void StringConstant::Write(CodeWriter* to) const { function in class:android::aidl::java::StringConstant
430 void Class::Write(CodeWriter* to) const { function in class:android::aidl::java::Class
504 void Document::Write(CodeWriter* to) const { function in class:android::aidl::java::Document
[all...]
/system/extras/simpleperf/
H A Drecord_file_writer.cpp84 // Write id section.
90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) {
95 // Write attr section.
106 if (!Write(&file_attr, sizeof(file_attr))) {
164 if (!Write(buf, len)) {
171 bool RecordFileWriter::Write(const void* buf, size_t len) { function in class:RecordFileWriter
233 return Write(zero_data.data(), zero_data.size());
241 if (!Write(record.Binary(), record.size())) {
250 if (!Write(&len, sizeof(len))) {
253 if (!Write(
[all...]
/system/extras/perfprofd/
H A Dperfprofd_io.cc48 bool Write(const void * buffer, int size) override {
81 int Write(int flush_flags);
175 int GzipOutputStream::Write(int flush_flags) { function in class:android::perfprofd::__anon1885::GzipOutputStream
200 // Write all pending data.
202 int write_error = Write(Z_NO_FLUSH);
231 int res = Write(Z_FULL_FLUSH);
245 res = Write(Z_FINISH);
/system/connectivity/wifilogd/
H A Dos.cpp108 // buffer-overflow CHECK that exists in Write().
112 std::tuple<size_t, Os::Errno> Os::Write(int fd, const void* buf, function in class:android::wifilogd::Os
119 const ssize_t res = raw_os_->Write(fd, buf, buflen);
H A Draw_os.cpp50 ssize_t RawOs::Write(int fd, const void* buf, size_t buflen) { function in class:android::wifilogd::RawOs
/system/core/adb/
H A Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { function in class:ShellProtocol
H A Dtransport.cpp89 bool FdConnection::Write(apacket* packet) { function in class:FdConnection
354 if (t->Write(p) != 0) {
815 int atransport::Write(apacket* p) { function in class:atransport
816 return this->connection->Write(p) ? 0 : -1;
H A Dtransport_usb.cpp155 bool UsbConnection::Write(apacket* packet) { function in class:UsbConnection

Completed in 242 milliseconds

12