/system/tools/aidl/ |
D | ast_java.cpp | 33 to->Write("@Override "); in WriteModifiers() 37 to->Write("public "); in WriteModifiers() 39 to->Write("private "); in WriteModifiers() 41 to->Write("protected "); in WriteModifiers() 45 to->Write("static "); in WriteModifiers() 49 to->Write("final "); in WriteModifiers() 53 to->Write("abstract "); in WriteModifiers() 60 arguments[i]->Write(to); in WriteArgumentList() 62 to->Write(", "); in WriteArgumentList() 69 void Field::Write(CodeWriter* to) const { in Write() function in android::aidl::java::Field [all …]
|
D | ast_cpp.cpp | 44 void ClassDecl::Write(CodeWriter* to) const { in Write() function in android::aidl::cpp::ClassDecl 45 to->Write("class %s ", name_.c_str()); in Write() 48 to->Write(": public %s ", parent_.c_str()); in Write() 50 to->Write("{\n"); in Write() 53 to->Write("public:\n"); in Write() 56 dec->Write(to); in Write() 59 to->Write("private:\n"); in Write() 62 dec->Write(to); in Write() 64 to->Write("}; // class %s\n", name_.c_str()); in Write() 84 void Enum::Write(CodeWriter* to) const { in Write() function in android::aidl::cpp::Enum [all …]
|
D | ast_java.h | 61 virtual void Write(CodeWriter* to) const = 0; 66 virtual void Write(CodeWriter* to) const = 0; 74 void Write(CodeWriter* to) const override; 83 void Write(CodeWriter* to) const override; 97 void Write(CodeWriter* to) const; 109 void Write(CodeWriter* to) const; 122 void Write(CodeWriter* to) const override; 127 virtual void Write(CodeWriter* to) const = 0; 135 void Write(CodeWriter* to) const override; 146 void Write(CodeWriter* to) const override; [all …]
|
D | ast_cpp.h | 40 virtual void Write(CodeWriter* to) const = 0; 62 void Write(CodeWriter* to) const override; 83 void Write(CodeWriter* to) const override; 110 void Write(CodeWriter* to) const override; 134 void Write(CodeWriter* to) const override; 162 void Write(CodeWriter* to) const override; 186 void Write(CodeWriter* to) const override; 201 void Write(CodeWriter* to) const override; 226 void Write(CodeWriter* to) const override; 249 void Write(CodeWriter* to) const override; [all …]
|
D | code_writer.cpp | 37 bool Write(const char* format, ...) override { in Write() function in android::aidl::__anon8ed7ebe50111::StringCodeWriter 62 bool Write(const char* format, ...) override { in Write() function in android::aidl::__anon8ed7ebe50111::FileCodeWriter
|
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 85 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection() 101 if (!Write(&file_attr, sizeof(file_attr))) { in WriteAttrSection() 121 if (!Write(buf, len)) { in WriteData() 128 bool RecordFileWriter::Write(const void* buf, size_t len) { in Write() function in RecordFileWriter 161 return Write(zero_data.data(), zero_data.size()); in WriteFeatureHeader() 171 if (!Write(data.data(), data.size())) { in WriteBuildIdFeature() 184 if (!Write(&len, sizeof(len))) { in WriteFeatureString() 189 if (!Write(v.data(), v.size())) { in WriteFeatureString() 201 if (!Write(&arg_count, sizeof(arg_count))) { in WriteCmdlineFeature() 206 if (!Write(&len, sizeof(len))) { in WriteCmdlineFeature() [all …]
|
/system/update_engine/payload_consumer/ |
D | file_writer.h | 44 virtual bool Write(const void* bytes, size_t count) = 0; 50 virtual bool Write(const void* bytes, in Write() function 54 return Write(bytes, count); in Write() 72 bool Write(const void* bytes, size_t count) override;
|
D | extent_writer.h | 47 virtual bool Write(const void* bytes, size_t count) = 0; 76 bool Write(const void* bytes, size_t count) override; 108 bool Write(const void* bytes, size_t count) override { in Write() function 109 if (underlying_extent_writer_->Write(bytes, count)) { in Write() 120 TEST_AND_RETURN_FALSE(underlying_extent_writer_->Write(zeros.data(), in EndImpl()
|
D | xz_extent_writer_unittest.cc | 97 EXPECT_TRUE(xz_writer_->Write(compressed.data(), compressed.size())); in WriteAll() 145 EXPECT_FALSE(xz_writer_->Write(sample_data_.data(), sample_data_.size())); in TEST_F() 156 EXPECT_TRUE(xz_writer_->Write(&byte, 1)); in TEST_F()
|
D | extent_writer_unittest.cc | 78 EXPECT_TRUE(direct_writer.Write(bytes.data(), bytes.size())); in TEST_F() 102 EXPECT_TRUE(direct_writer.Write(nullptr, 0)); in TEST_F() 144 EXPECT_TRUE(direct_writer.Write(&data[bytes_written], bytes_to_write)); in WriteAlignedExtents() 195 EXPECT_EQ(3, fd_->Write("xxx", 3)); in TestZeroPad() 196 ASSERT_TRUE(zero_pad_writer.Write(data.data(), bytes_to_write)); in TestZeroPad() 243 EXPECT_TRUE(direct_writer.Write(data.data(), bytes_to_write)); in TEST_F()
|
D | file_writer_unittest.cc | 49 EXPECT_TRUE(file_writer.Write("test", 4)); in TEST() 74 EXPECT_FALSE(file_writer.Write("x", 1)); in TEST()
|
D | mtd_file_descriptor.cc | 143 ssize_t MtdFileDescriptor::Write(const void* buf, size_t count) { in Write() function in chromeos_update_engine::MtdFileDescriptor 222 ssize_t UbiFileDescriptor::Write(const void* buf, size_t count) { in Write() function in chromeos_update_engine::UbiFileDescriptor 224 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, count); in Write() 252 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, to_write); in Close()
|
D | file_descriptor.h | 74 virtual ssize_t Write(const void* buf, size_t count) = 0; 124 ssize_t Write(const void* buf, size_t count) override;
|
D | bzip_extent_writer.cc | 40 bool BzipExtentWriter::Write(const void* bytes, size_t count) { in Write() function in chromeos_update_engine::BzipExtentWriter 67 next_->Write(output_buffer.data(), in Write()
|
D | mtd_file_descriptor.h | 41 ssize_t Write(const void* buf, size_t count) override; 77 ssize_t Write(const void* buf, size_t count) override;
|
D | xz_extent_writer.cc | 65 bool XzExtentWriter::Write(const void* bytes, size_t count) { in Write() function in chromeos_update_engine::XzExtentWriter 97 underlying_writer_->Write(output_buffer.data(), request.out_pos)); in Write()
|
/system/core/adb/ |
D | shell_service_protocol_test.cpp | 105 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data))); in TEST_F() 116 ASSERT_TRUE(write_protocol_->Write(id, 10)); in TEST_F() 131 ASSERT_TRUE(write_protocol_->Write(id, 0)); in TEST_F() 139 ASSERT_TRUE(write_protocol_->Write(ShellProtocol::kIdExit, 1)); in TEST_F() 151 ASSERT_FALSE(write_protocol_->Write(ShellProtocol::kIdStdout, 0)); in TEST_F() 159 ASSERT_FALSE(write_protocol_->Write(ShellProtocol::kIdStdout, 0)); in TEST_F() 186 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data))); in TEST_F()
|
/system/tpm/attestation/server/ |
D | pkcs11_key_store_test.cc | 318 EXPECT_FALSE(key_store.Write(kDefaultUser, "test", blob)); in TEST() 320 EXPECT_FALSE(key_store.Write("", "test", blob)); in TEST() 329 EXPECT_TRUE(key_store.Write(kDefaultUser, "test", "test_data")); in TEST_F() 334 EXPECT_TRUE(key_store.Write(kDefaultUser, "test2", "test_data2")); in TEST_F() 341 EXPECT_TRUE(key_store.Write(kDefaultUser, "test", "test_data3")); in TEST_F() 354 EXPECT_TRUE(key_store.Write("", "test", "test_data")); in TEST_F() 359 EXPECT_TRUE(key_store.Write("", "test2", "test_data2")); in TEST_F() 366 EXPECT_TRUE(key_store.Write("", "test", "test_data3")); in TEST_F() 382 EXPECT_FALSE(key_store.Write(kDefaultUser, "test", blob)); in TEST_F() 384 EXPECT_FALSE(key_store.Write("", "test", blob)); in TEST_F() [all …]
|
D | database_impl.h | 38 virtual bool Write(const std::string& data) = 0; 64 bool Write(const std::string& data) override;
|
/system/core/fastboot/ |
D | tcp_test.cpp | 109 bool Write(const std::string& message) { in Write() function in TcpTest 110 return transport_->Write(message.data(), message.length()) == in Write() 131 EXPECT_TRUE(Write("foo")); in TEST_F() 160 EXPECT_TRUE(Write(data)); in TEST_F() 189 EXPECT_TRUE(Write("getvar:version")); in TEST_F() 192 EXPECT_TRUE(Write("getvar:all")); in TEST_F() 216 EXPECT_EQ(-1, transport_->Write("foo", 3)); in TEST_F() 226 EXPECT_EQ(-1, transport_->Write("foo", 3)); in TEST_F()
|
D | udp_test.cpp | 328 bool Write(const std::string& message) { in Write() function in UdpTest 329 return transport_->Write(message.data(), message.length()) == in Write() 358 EXPECT_TRUE(Write("foo")); in TEST_F() 371 EXPECT_TRUE(Write("foo")); in TEST_F() 379 EXPECT_TRUE(Write("12345 67890")); in TEST_F() 380 EXPECT_TRUE(Write("\x01\x02\x03\x04\x05")); in TEST_F() 398 EXPECT_FALSE(Write("foo")); in TEST_F() 405 EXPECT_FALSE(Write("foo")); in TEST_F() 416 EXPECT_TRUE(Write("foo")); in TEST_F() 444 EXPECT_TRUE(Write(data)); in TEST_F() [all …]
|
/system/core/metricsd/ |
D | persistent_integer.cc | 40 Write(); in Set() 46 Write(); in Get() 60 void PersistentInteger::Write() { in Write() function in chromeos_metrics::PersistentInteger
|
/system/update_engine/payload_generator/ |
D | payload_file.cc | 55 TEST_AND_RETURN_FALSE(writer->Write(&value_be, sizeof(value_be))); in WriteUint64AsBigEndian() 197 TEST_AND_RETURN_FALSE(writer.Write(kDeltaMagic, sizeof(kDeltaMagic))); in WritePayload() 212 TEST_AND_RETURN_FALSE(writer.Write(&metadata_signature_size, in WritePayload() 222 TEST_AND_RETURN_FALSE(writer.Write(serialized_manifest.data(), in WritePayload() 236 TEST_AND_RETURN_FALSE(writer.Write(metadata_signature.data(), in WritePayload() 253 TEST_AND_RETURN_FALSE(writer.Write(buf.data(), rc)); in WritePayload() 267 TEST_AND_RETURN_FALSE(writer.Write(signature_blob.data(), in WritePayload() 304 TEST_AND_RETURN_FALSE(writer.Write(buf.data(), buf.size())); in ReorderDataBlobs()
|
/system/sepolicy/ |
D | recovery_refresh.te | 22 # Write to /system. 25 # Write to files in /data/data or system files on /data
|
D | recovery_persist.te | 24 # Write to /system. 27 # Write to files in /data/data
|