Lines Matching refs:dtohl
82 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType()
90 const size_t entries_offset = dtohl(header->entriesStart); in VerifyResTableType()
100 if (entries_offset > dtohl(header->header.size)) { in VerifyResTableType()
121 if (UNLIKELY(entry_offset > std::numeric_limits<uint32_t>::max() - dtohl(type->entriesStart))) { in VerifyResTableEntry()
127 const size_t chunk_size = dtohl(type->header.size); in VerifyResTableEntry()
129 entry_offset += dtohl(type->entriesStart); in VerifyResTableEntry()
189 const size_t map_entry_count = dtohl(map->count); in VerifyResTableEntry()
251 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset()
306 result = dtohl(entry_offset_ptr.value()); in GetEntryOffset()
395 const size_t entry_count = dtohl(type->entryCount); in FindEntryByName()
420 offset = dtohl(entry.value()); in FindEntryByName()
425 auto entry = type.offset(dtohl(type->entriesStart) + offset).convert<ResTable_entry>(); in FindEntryByName()
479 loaded_package->package_id_ = dtohl(header->id); in Load()
486 uint32_t type_id_offset = dtohl(header->typeIdOffset); in Load()
513 if (pool_address == header.offset(dtohl(header->typeStrings)).convert<ResChunk_header>()) { in Load()
521 } else if (pool_address == header.offset(dtohl(header->keyStrings)) in Load()
556 const size_t entry_count = dtohl(type_spec->entryCount); in Load()
610 if (child_chunk.data_size() / sizeof(ResTable_lib_entry) < dtohl(lib->count)) { in Load()
615 loaded_package->dynamic_package_map_.reserve(dtohl(lib->count)); in Load()
618 const auto entry_end = entry_begin + dtohl(lib->count); in Load()
628 if (dtohl(entry_iter->packageId) >= std::numeric_limits<uint8_t>::max()) { in Load()
631 dtohl(entry_iter->packageId), package_name.c_str()); in Load()
636 dtohl(entry_iter->packageId)); in Load()
673 < dtohl(policy_header->entry_count)) { in Load()
680 const auto ids_end = ids_begin + dtohl(policy_header->entry_count); in Load()
688 ids.insert(dtohl(id_iter->ident)); in Load()
730 < dtohl(lib_alias->count)) { in Load()
735 const auto entry_end = entry_begin + dtohl(lib_alias->count); in Load()
744 auto finalized_id = dtohl(entry_iter->finalizedResId); in Load()
751 auto staged_id = dtohl(entry_iter->stagedResId); in Load()
803 const size_t package_count = dtohl(header->packageCount); in LoadTable()