Home
last modified time | relevance | path

Searched refs:DeviceToHost32 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp141 value_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParseTable()
185 uint32_t package_id = util::DeviceToHost32(package_header->id); in ParsePackage()
215 type_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParsePackage()
223 key_pool_.setTo(parser.chunk(), util::DeviceToHost32(parser.chunk()->size)); in ParsePackage()
308 const size_t data_size = util::DeviceToHost32(type_spec->header.size) - in ParseTypeSpec()
321 entry_type_spec_flags_[id] = util::DeviceToHost32(type_spec_flags[i]); in ParseTypeSpec()
374 util::GetString(key_pool_, util::DeviceToHost32(entry->key.index))); in ParseType()
386 (const Res_value*)((const uint8_t*)entry + util::DeviceToHost32(entry->size)); in ParseType()
488 ((uint8_t *)policy_header) + util::DeviceToHost32(policy_header->header.headerSize)); in ParseOverlayable()
490 + util::DeviceToHost32(policy_header->entry_count); in ParseOverlayable()
[all …]
DResChunkPullParser.cpp36 util::DeviceToHost32(header->size)); in ChunkHeaderDump()
48 util::DeviceToHost32(current_chunk_->size)); in Next()
68 } else if (util::DeviceToHost32(current_chunk_->size) < in Next()
73 } else if (offset + util::DeviceToHost32(current_chunk_->size) > len_) { in Next()
DBinaryResourceParser.h128 return (const ResTable_map*)((const uint8_t*)map + ::aapt::util::DeviceToHost32(map->size)); in begin()
132 return begin(map) + aapt::util::DeviceToHost32(map->count); in end()
DResChunkPullParser.h83 return util::DeviceToHost32(chunk->size) - util::DeviceToHost16(chunk->headerSize); in GetChunkDataLen()
DXmlFlattener.cpp172 dest->index = util::DeviceToHost32(-1); in AddString()
/frameworks/base/tools/aapt2/util/
DUtil.h283 inline uint32_t DeviceToHost32(uint32_t value) { in DeviceToHost32() function
/frameworks/base/tools/aapt2/
DResourceUtils.cpp744 const uint32_t data = util::DeviceToHost32(res_value.data); in ParseBinaryResValue()
DResourceValues.cpp772 const uint32_t flattened_data = util::DeviceToHost32(val.data); in Matches()