Searched refs:dtohl (Results 1 – 14 of 14) sorted by relevance
129 return dtohl(e1.overlay_id) < overlay_id; in lookupResourceId()132 if (entry == end_entry || dtohl(entry->overlay_id) != *resId) { in lookupResourceId()137 *resId = (0x00FFFFFFU & dtohl(entry->target_id)) in lookupResourceId()176 return (0x00FFFFFFU & dtohl(e.target_id)) < target_id; in Lookup()180 uint32_t overlay_resource_id = dtohl(entry->overlay_id); in Lookup()193 return (0x00FFFFFFU & dtohl(e.target_id)) < target_id; in Lookup()285 if (dtohl(header->magic) != kIdmapMagic) { in Load()287 dtohl(header->magic), kIdmapMagic); in Load()290 if (dtohl(header->version) != kIdmapCurrentVersion) { in Load()328 dtohl(data_header->target_inline_entry_value_count)); in Load()[all …]
82 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType()100 if (entries_offset > dtohl(header->header.size)) { in VerifyResTableType()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()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()479 loaded_package->package_id_ = dtohl(header->id); in Load()688 ids.insert(dtohl(id_iter->ident)); in Load()[all …]
23 TypeVariant::TypeVariant(const ResTable_type* data) : data(data), mLength(dtohl(data->entryCount)) { in TypeVariant()25 const uint32_t entryCount = dtohl(data->entryCount); in TypeVariant()26 const uintptr_t containerEnd = reinterpret_cast<uintptr_t>(data) + dtohl(data->header.size); in TypeVariant()57 const uint32_t entryCount = dtohl(mTypeVariant->data->entryCount); in operator *()59 + dtohl(type->header.size); in operator *()82 entryOffset = dtohl(entryIndices[mIndex]); in operator *()95 reinterpret_cast<uintptr_t>(type) + dtohl(type->entriesStart) + entryOffset); in operator *()
31 next_chunk_ = this_chunk.offset(dtohl(this_chunk->size)).convert<ResChunk_header>(); in Next()32 len_ -= dtohl(this_chunk->size); in Next()58 const size_t size = dtohl(next_chunk_->size); in VerifyNextChunkNonFatal()88 const size_t size = dtohl(next_chunk_->size); in VerifyNextChunk()
158 data = dtohl(src.data); in copyFrom_dtoh()607 e[i] = dtohl(e[i]); in setTo()662 e[i] = dtohl(e[i]); in setTo()666 s[i] = dtohl(s[i]); in setTo()1964 const size_t size = dtohl(o.size); in copyFromDeviceNoSwap()6743 dtohl(pkg->keyStrings)); in parsePackage()6747 uint32_t id = dtohl(pkg->id); in parsePackage()7050 const uint32_t expectedSize = dtohl(header->header.size) - dtohl(header->header.headerSize); in load()7432 *pVersion = dtohl(map[1]); in getIdmapInfo()7435 *pTargetCrc = dtohl(map[2]); in getIdmapInfo()[all …]
989 const uint32_t parent_resid = dtohl(map->parent.ident); in GetParentThemeResourceId()1149 const auto map_entry_end = map_entry + dtohl(map->count); in GetBag()1155 uint32_t parent_resid = dtohl(map->parent.ident); in GetBag()1170 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag()1226 const size_t max_count = (*parent_bag)->entry_count + dtohl(map->count); in GetBag()1241 uint32_t child_key = dtohl(map_entry->name.ident); in GetBag()1288 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag()
39 #define dtohl(x) (x) macro
46 inline size_t size() const { return dtohl(device_chunk_->size); } in size()
94 return dtohl(value); in DeviceToHost32()
66 if (entry_index >= dtohl(type_spec->entryCount)) { in GetFlagsForEntryIndex()
1577 return is_compact() ? dtohs(this->compact.key) : dtohl(this->full.key.index); in key()1588 v.data = dtohl(this->compact.data); in value()1595 v.data = dtohl(value->data); in value()
60 *out = dtohl(value); in Read32()
44 *out = dtohl(value); in Read32()
314 const size_t entry_count = dtohl(type_spec->entryCount); in ParseTypeSpec()