Home
last modified time | relevance | path

Searched refs:DeviceToHost16 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DResChunkPullParser.cpp35 util::DeviceToHost16(header->type), util::DeviceToHost16(header->headerSize), in ChunkHeaderDump()
64 if (util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next()
69 util::DeviceToHost16(current_chunk_->headerSize)) { in Next()
DResChunkPullParser.h72 if (util::DeviceToHost16(chunk->headerSize) < MinSize) { in ConvertTo()
79 return reinterpret_cast<const uint8_t*>(chunk) + util::DeviceToHost16(chunk->headerSize); in GetChunkData()
83 return util::DeviceToHost32(chunk->size) - util::DeviceToHost16(chunk->headerSize); in GetChunkDataLen()
DBinaryResourceParser.cpp53 dst[i] = util::DeviceToHost16(src[i]); in strcpy16_dtoh()
137 switch (util::DeviceToHost16(parser.chunk()->type)) { in ParseTable()
164 << static_cast<int>(util::DeviceToHost16(parser.chunk()->type))); in ParseTable()
211 switch (util::DeviceToHost16(parser.chunk()->type)) { in ParsePackage()
261 << static_cast<int>(util::DeviceToHost16(parser.chunk()->type))); in ParsePackage()
309 util::DeviceToHost16(type_spec->header.headerSize); in ParseTypeSpec()
318 reinterpret_cast<uintptr_t>(type_spec) + util::DeviceToHost16(type_spec->header.headerSize)); in ParseTypeSpec()
454 if (util::DeviceToHost16(parser.chunk()->type) == android::RES_TABLE_OVERLAYABLE_POLICY_TYPE) { in ParseOverlayable()
590 attr->SetWeak((util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0); in ParseAttr()
DTableFlattener_test.cpp259 ASSERT_EQ(util::DeviceToHost16(parser.chunk()->type), RES_TABLE_TYPE); in TEST_F()
265 if (util::DeviceToHost16(table_parser.chunk()->type) == RES_TABLE_PACKAGE_TYPE) { in TEST_F()
277 if (util::DeviceToHost16(package_parser.chunk()->type) == RES_TABLE_TYPE_TYPE) { in TEST_F()
287 ASSERT_EQ(util::DeviceToHost16(entry->count), 2u); in TEST_F()
/frameworks/base/tools/aapt2/util/
DUtil.h279 inline uint16_t DeviceToHost16(uint16_t value) { in DeviceToHost16() function