Searched defs:Write (Results 1 - 25 of 33) sorted by relevance

12

/system/core/fastboot/
H A Dtcp_test.cpp109 bool Write(const std::string& message) { function in class:TcpTest
110 return transport_->Write(message.data(), message.length()) ==
131 EXPECT_TRUE(Write("foo"));
160 EXPECT_TRUE(Write(data));
189 EXPECT_TRUE(Write("getvar:version"));
192 EXPECT_TRUE(Write("getvar:all"));
216 EXPECT_EQ(-1, transport_->Write("foo", 3));
222 // After closing, Transport Read()/Write() should return -1 without actually attempting any
226 EXPECT_EQ(-1, transport_->Write("foo", 3));
H A Dtcp.cpp65 ssize_t Write(const void* data, size_t length) override;
155 ssize_t TcpTransport::Write(const void* data, size_t length) { function in class:tcp::TcpTransport
H A Dudp_test.cpp328 bool Write(const std::string& message) { function in class:UdpTest
329 return transport_->Write(message.data(), message.length()) ==
358 EXPECT_TRUE(Write("foo"));
371 EXPECT_TRUE(Write("foo"));
379 EXPECT_TRUE(Write("12345 67890"));
380 EXPECT_TRUE(Write("\x01\x02\x03\x04\x05"));
398 EXPECT_FALSE(Write("foo"));
405 EXPECT_FALSE(Write("foo"));
416 EXPECT_TRUE(Write("foo"));
421 // at the socket layer, a single call to Transport::Read() and Transport::Write() i
[all...]
H A Dudp.cpp110 ssize_t Write(const void* data, size_t length) override;
346 ssize_t UdpTransport::Write(const void* data, size_t length) { function in class:udp::UdpTransport
H A Dusb_osx.cpp74 ssize_t Write(const void* data, size_t len) override;
508 ssize_t OsxUsbTransport::Write(const void* data, size_t len) { function in class:OsxUsbTransport
H A Dusb_windows.cpp75 ssize_t Write(const void* data, size_t len) override;
154 ssize_t WindowsUsbTransport::Write(const void* data, size_t len) { function in class:WindowsUsbTransport
/system/update_engine/payload_consumer/
H A Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::DirectExtentWriter
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 Dfile_writer.cc31 bool DirectFileWriter::Write(const void* bytes, size_t count) { function in class:chromeos_update_engine::DirectFileWriter
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 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 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));
H A Dfile_descriptor.cc46 ssize_t EintrSafeFileDescriptor::Write(const void* buf, size_t count) { function in class:chromeos_update_engine::EintrSafeFileDescriptor
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);
/system/core/adb/
H A Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { function in class:ShellProtocol
H A Dtransport_usb.cpp155 bool UsbConnection::Write(apacket* packet) { function in class:UsbConnection
/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/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/connectivity/wifilogd/
H A Draw_os.cpp50 ssize_t RawOs::Write(int fd, const void* buf, size_t buflen) { function in class:android::wifilogd::RawOs
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);
/system/core/libappfuse/
H A DFuseBuffer.cc89 if (!CheckHeaderLength<T>(self, "Write", max_size)) {
174 bool FuseMessage<T>::Write(int fd) const { function in class:android::fuse::FuseMessage
/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
/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/tools/aidl/
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...]

Completed in 463 milliseconds

12