Home
last modified time | relevance | path

Searched refs:deviceToHost16 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/unflatten/
DResChunkPullParser.h81 if (util::deviceToHost16(chunk->headerSize) < sizeof(T)) { in convertTo()
88 return reinterpret_cast<const uint8_t*>(chunk) + util::deviceToHost16(chunk->headerSize); in getChunkData()
92 return util::deviceToHost32(chunk->size) - util::deviceToHost16(chunk->headerSize); in getChunkDataLen()
DResChunkPullParser.cpp52 if (util::deviceToHost16(mCurrentChunk->headerSize) < sizeof(ResChunk_header)) { in next()
57 util::deviceToHost16(mCurrentChunk->headerSize)) { in next()
DBinaryResourceParser.cpp115 switch (util::deviceToHost16(parser.getChunk()->type)) { in parseTable()
145 << (int) util::deviceToHost16(parser.getChunk()->type)); in parseTable()
179 packageName[i] = util::deviceToHost16(packageHeader->name[i]); in parsePackage()
198 switch (util::deviceToHost16(parser.getChunk()->type)) { in parsePackage()
241 << (int) util::deviceToHost16(parser.getChunk()->type)); in parsePackage()
492 const bool isWeak = (util::deviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0; in parseAttr()
/frameworks/base/tools/aapt2/util/
DUtil.h334 inline uint16_t deviceToHost16(uint16_t value) { in deviceToHost16() function