Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DResChunkPullParser.cpp36 android::util::DeviceToHost16(header->type), in ChunkHeaderDump()
37 android::util::DeviceToHost16(header->headerSize), in ChunkHeaderDump()
66 if (android::util::DeviceToHost16(current_chunk_->headerSize) < sizeof(ResChunk_header)) { in Next()
71 android::util::DeviceToHost16(current_chunk_->headerSize)) { in Next()
H A DResChunkPullParser.h72 if (android::util::DeviceToHost16(chunk->headerSize) < MinSize) { in ConvertTo()
79 return reinterpret_cast<const uint8_t*>(chunk) + android::util::DeviceToHost16(chunk->headerSize); in GetChunkData()
84 android::util::DeviceToHost16(chunk->headerSize); in GetChunkDataLen()
H A DBinaryResourceParser.cpp53 dst[i] = android::util::DeviceToHost16(src[i]); in strcpy16_dtoh()
144 switch (android::util::DeviceToHost16(parser.chunk()->type)) { in ParseTable()
171 << static_cast<int>(android::util::DeviceToHost16(parser.chunk()->type))); in ParseTable()
218 switch (android::util::DeviceToHost16(parser.chunk()->type)) { in ParsePackage()
276 << static_cast<int>(android::util::DeviceToHost16(parser.chunk()->type))); in ParsePackage()
325 android::util::DeviceToHost16(type_spec->header.headerSize); in ParseTypeSpec()
335 android::util::DeviceToHost16(type_spec->header.headerSize)); in ParseTypeSpec()
477 if (android::util::DeviceToHost16(parser.chunk()->type) == in ParseOverlayable()
639 attr->SetWeak((android::util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0); in ParseAttr()
H A DTableFlattener_test.cpp257 ASSERT_EQ(android::util::DeviceToHost16(parser.chunk()->type), RES_TABLE_TYPE); in TEST_F()
263 if (android::util::DeviceToHost16(table_parser.chunk()->type) == RES_TABLE_PACKAGE_TYPE) { in TEST_F()
275 if (android::util::DeviceToHost16(package_parser.chunk()->type) == RES_TABLE_TYPE_TYPE) { in TEST_F()
285 ASSERT_EQ(android::util::DeviceToHost16(entry->count), 2u); in TEST_F()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DUtil.h89 inline uint16_t DeviceToHost16(uint16_t value) { in DeviceToHost16() function
/aosp14/frameworks/base/tools/aapt2/
H A DDebug.cpp603 switch (android::util::DeviceToHost16(chunk->type)) { in PrintChunkHeader()
770 package_name[i] = android::util::DeviceToHost16(chunk->name[i]); in PrintPackage()
798 switch (android::util::DeviceToHost16(chunk->type)) { in PrintChunk()