/system/libufdt/utils/src/ |
D | dt_table.c | 26 const uint32_t header_size = sizeof(struct dt_table_header); in dt_table_header_init() local 29 dto_memset(header, 0, header_size); in dt_table_header_init() 35 header->total_size = cpu_to_fdt32(header_size); in dt_table_header_init() 36 header->header_size = cpu_to_fdt32(header_size); in dt_table_header_init() 38 header->dt_entries_offset = cpu_to_fdt32(header_size); in dt_table_header_init()
|
D | dt_table.h | 34 uint32_t header_size; /* sizeof(dt_table_header) */ member
|
D | mkdtboimg.py | 218 self.total_size, self.header_size, 248 metadata_offset = self.header_size 264 (self.magic, self.total_size, self.header_size, 273 if self.header_size != self._DT_TABLE_HEADER_SIZE: 275 (self.header_size)) 318 self.__metadata_size = (self.header_size + 374 self.header_size = self._DT_TABLE_HEADER_SIZE 465 dt_offset = (self.header_size +
|
D | mkdtimg_dump.c | 111 output_prop_int(out_fp, "header_size", header->header_size); in output_table_header()
|
/system/tools/mkbootimg/include/bootimg/ |
D | bootimg.h | 151 uint32_t header_size; member 267 uint32_t header_size; member 296 uint32_t header_size; member
|
/system/extras/simpleperf/ |
D | record.cpp | 211 p += header_size(); in MmapRecord() 239 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 263 p += header_size(); in Mmap2Record() 290 SetSize(header_size() + sizeof(data) + Align(filename.size() + 1, 8) + in SetDataAndFilename() 318 p += header_size(); in CommRecord() 335 SetSize(header_size() + sizeof(data) + Align(comm.size() + 1, 8) + in CommRecord() 380 p += header_size(); in ExitOrForkRecord() 402 SetSize(header_size() + sizeof(data) + sample_id_size); in ForkRecord() 414 p += header_size(); in LostRecord() 427 p += header_size(); in SampleRecord() [all …]
|
D | record_file_writer.cpp | 144 char header_buf[Record::header_size()]; in WriteRecord() 147 uint32_t bytes_to_write = std::min(RECORD_SIZE_LIMIT - Record::header_size(), left_bytes); in WriteRecord() 148 header.size = bytes_to_write + Record::header_size(); in WriteRecord() 151 if (!WriteData(header_buf, Record::header_size())) { in WriteRecord() 161 header.size = Record::header_size(); in WriteRecord() 164 return WriteData(header_buf, Record::header_size()); in WriteRecord() 199 if (!Read(record_buf.data(), Record::header_size())) { in ReadDataSection() 206 if (!Read(record_buf.data() + Record::header_size(), header.size - Record::header_size())) { in ReadDataSection() 463 header.header_size = sizeof(header); in WriteFileHeader()
|
D | record_file_reader.cpp | 256 char header_buf[Record::header_size()]; in ReadRecord() 257 if (!Read(header_buf, Record::header_size())) { in ReadRecord() 266 char header_buf[Record::header_size()]; in ReadRecord() 268 size_t bytes_to_read = header.size - Record::header_size(); in ReadRecord() 275 if (!Read(header_buf, Record::header_size())) { in ReadRecord() 290 memcpy(p.get(), header_buf, Record::header_size()); in ReadRecord() 291 if (header.size > Record::header_size()) { in ReadRecord() 292 if (!Read(p.get() + Record::header_size(), header.size - Record::header_size())) { in ReadRecord()
|
D | record_file_format.h | 113 uint64_t header_size; member
|
D | cmd_dumprecord.cpp | 227 printf("header_size: %" PRId64 "\n", header.header_size); in DumpFileHeader() 228 if (header.header_size != sizeof(header)) { in DumpFileHeader() 229 PLOG(WARNING) << "record file header size " << header.header_size in DumpFileHeader()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 67 hdr->header_size = sizeof(boot_img_hdr_v3); in mkbootimg_v3() 112 hdr->header_size = sizeof(boot_img_hdr_v1); in mkbootimg() 114 hdr->header_size = sizeof(boot_img_hdr_v2); in mkbootimg()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 199 uint32_t header_size; member 387 uint32_t header_size; member
|
/system/core/fs_mgr/libvbmeta/ |
D | super_vbmeta_format_c.h | 95 uint32_t header_size; member
|
D | builder_test.cpp | 51 EXPECT_EQ(table->header.header_size, SUPER_VBMETA_HEADER_SIZE); in TEST()
|
D | reader.cpp | 71 const uint64_t descriptors_offset = offset + table->header.header_size; in ReadVBMetaTable()
|
D | builder.cpp | 146 table_.header.header_size = SUPER_VBMETA_HEADER_SIZE; in ExportVBMetaTable()
|
/system/update_engine/payload_generator/ |
D | boot_img_filesystem.cc | 67 size_t header_size = in CreateFromFile() local 70 if (!utils::ReadFileChunk(filename, 0, header_size, &header_blob)) { in CreateFromFile()
|
/system/vold/ |
D | Checkpoint.cpp | 417 uint16_t header_size; member 557 uint32_t index = le - ((log_entry*)&ls_buffer[ls.header_size]); in restoreSector() 663 reinterpret_cast<log_entry*>(&ls_buffer[ls.header_size]) + ls.count - 1; in cp_restoreCheckpoint() 664 le >= reinterpret_cast<log_entry*>(&ls_buffer[ls.header_size]); --le) { in cp_restoreCheckpoint()
|
/system/core/fs_mgr/liblp/ |
D | reader.cpp | 193 if (header.header_size != expected_struct_size) { in ReadMetadataHeader() 199 if (size_t remaining_bytes = header.header_size - sizeof(LpMetadataHeaderV1_0)) { in ReadMetadataHeader() 212 SHA256(&temp, temp.header_size, temp.header_checksum); in ReadMetadataHeader()
|
D | io_test.cpp | 186 EXPECT_EQ(exported->header.header_size, imported->header.header_size); in TEST_F() 766 EXPECT_EQ(imported->header.header_size, sizeof(LpMetadataHeaderV1_2)); in TEST_F() 767 EXPECT_EQ(imported->header.header_size, exported->header.header_size); in TEST_F()
|
D | writer.cpp | 77 SHA256(&header, header.header_size, header.header_checksum); in SerializeMetadata() 80 std::string(reinterpret_cast<const char*>(&header), header.header_size); in SerializeMetadata()
|
D | utility.cpp | 302 metadata->header.header_size = sizeof(LpMetadataHeaderV1_0); in SetMetadataHeaderV0()
|
D | builder_test.cpp | 356 EXPECT_EQ(header.header_size, sizeof(LpMetadataHeaderV1_0)); in TEST_F() 931 EXPECT_EQ(exported->header.header_size, sizeof(LpMetadataHeaderV1_2)); in TEST_F() 938 EXPECT_EQ(exported->header.header_size, sizeof(LpMetadataHeaderV1_2)); in TEST_F()
|
/system/libufdt/utils/ |
D | README.md | 19 | dt_table_header | ^ | v dt_entries_offset | header_size 193 header_size = 32
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 582 size_t header_size = 2; in TEST() local 584 …View view_subset(std::make_shared<const vector<uint8_t>>(count_all), header_size, count_all.size()… in TEST() 585 View view_subset2(view_all, header_size, count_all.size() - tail_size); in TEST() 588 ASSERT_EQ(view_subset[i], count_all[header_size + i]); in TEST()
|