Home
last modified time | relevance | path

Searched refs:entry_size (Results 1 – 14 of 14) sorted by relevance

/system/libufdt/utils/src/
Ddt_table.c27 const uint32_t entry_size = sizeof(struct dt_table_entry); in dt_table_header_init() local
37 header->dt_entry_size = cpu_to_fdt32(entry_size); in dt_table_header_init()
Dmkdtimg_dump.c175 uint32_t entry_size = fdt32_to_cpu(header.dt_entry_size); in dump_image_from_fp() local
204 entry_offset += entry_size; in dump_image_from_fp()
/system/extras/simpleperf/
Dread_apk.h41 size_t entry_size) in EmbeddedElf() argument
45 , entry_size_(entry_size) in EmbeddedElf()
59 uint32_t entry_size() const { return entry_size_; } in entry_size() function
Dread_apk_test.cpp34 ASSERT_EQ(NATIVELIB_SIZE_IN_APK, ee->entry_size()); in TEST()
43 ASSERT_EQ(NATIVELIB_SIZE_IN_APK, ee->entry_size()); in TEST()
Dread_elf.cpp495 *status = OpenObjectFile(elf->filepath(), elf->entry_offset(), elf->entry_size(), &wrapper); in Open()
/system/libufdt/
Dufdt_prop_dict.c71 const size_t entry_size = sizeof(const struct fdt_property *); in _ufdt_prop_dict_construct_int() local
73 (const struct fdt_property **)dto_malloc(size * entry_size); in _ufdt_prop_dict_construct_int()
75 dto_memset(props, 0, size * entry_size); in _ufdt_prop_dict_construct_int()
/system/core/libunwindstack/tests/
DSymbolsTest.cpp180 uint64_t entry_size = sizeof(TypeParam) + 5; in TYPED_TEST_P() local
181 Symbols symbols(0x1000, entry_size * 3, entry_size, 0x2000, 0x500); in TYPED_TEST_P()
188 this->memory_.SetMemoryBlock(offset, entry_size, 0); in TYPED_TEST_P()
192 offset += entry_size; in TYPED_TEST_P()
195 this->memory_.SetMemoryBlock(offset, entry_size, 0); in TYPED_TEST_P()
199 offset += entry_size; in TYPED_TEST_P()
202 this->memory_.SetMemoryBlock(offset, entry_size, 0); in TYPED_TEST_P()
DElfInterfaceTest.cpp110 void InitSectionHeaders(uint64_t entry_size);
836 void ElfInterfaceTest::InitSectionHeaders(uint64_t entry_size) { in InitSectionHeaders() argument
844 ehdr.e_shentsize = entry_size; in InitSectionHeaders()
/system/core/fs_mgr/liblp/
Dreader.cpp160 uint64_t table_size = uint64_t(table.num_entries) * table.entry_size; in ValidateTableBounds()
229 if (header.partitions.entry_size != sizeof(LpMetadataPartition)) { in ReadMetadataHeader()
233 if (header.extents.entry_size != sizeof(LpMetadataExtent)) { in ReadMetadataHeader()
237 if (header.groups.entry_size != sizeof(LpMetadataPartitionGroup)) { in ReadMetadataHeader()
294 cursor += header.partitions.entry_size; in ParseMetadata()
320 cursor += header.extents.entry_size; in ParseMetadata()
335 cursor += header.groups.entry_size; in ParseMetadata()
344 cursor += header.block_devices.entry_size; in ParseMetadata()
Dbuilder.cpp310 header_.partitions.entry_size = sizeof(LpMetadataPartition); in MetadataBuilder()
311 header_.extents.entry_size = sizeof(LpMetadataExtent); in MetadataBuilder()
312 header_.groups.entry_size = sizeof(LpMetadataPartitionGroup); in MetadataBuilder()
313 header_.block_devices.entry_size = sizeof(LpMetadataBlockDevice); in MetadataBuilder()
/system/core/libunwindstack/
DSymbols.cpp31 Symbols::Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset, in Symbols() argument
34 count_(entry_size != 0 ? size / entry_size : 0), in Symbols()
35 entry_size_(entry_size), in Symbols()
DSymbols.h39 Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset,
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h158 uint32_t entry_size; member
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc343 uint8_t entry_size = (uint8_t)(pp - p); in nfa_ee_add_tech_route_to_ecb() local
344 *p_cur_offset += entry_size; in nfa_ee_add_tech_route_to_ecb()
402 uint8_t entry_size = (uint8_t)(pp - p); in nfa_ee_add_proto_route_to_ecb() local
403 *p_cur_offset += entry_size; in nfa_ee_add_proto_route_to_ecb()