Searched refs:dtohs (Results 1 – 11 of 11) sorted by relevance
28 reinterpret_cast<uintptr_t>(data) + dtohs(data->header.headerSize)); in TypeVariant()48 return dtohs(ResTable_sparseTypeEntry{entry}.idx) < index; in keyCompare()61 reinterpret_cast<uintptr_t>(type) + dtohs(type->header.headerSize)); in operator *()73 || dtohs(ResTable_sparseTypeEntry{*iter}.idx) != mIndex) { in operator *()77 entryOffset = static_cast<uint32_t>(dtohs(ResTable_sparseTypeEntry{*iter}.offset)) * 4u; in operator *()
155 size = dtohs(src.size); in copyFrom_dtoh()313 return dtohs(mData[0]); in targetTypeId()320 return dtohs(mData[1]); in overlayTypeId()1934 if ((((size_t)dtohs(node->attributeSize))*dtohs(node->attributeCount)) in validateNode()1939 ((int)dtohs(node->attributeSize))*dtohs(node->attributeCount), in validateNode()2041 mcc = dtohs(mcc); in copyFromDtoH()2042 mnc = dtohs(mnc); in copyFromDtoH()2043 density = dtohs(density); in copyFromDtoH()3587 res.appendFormat("%dx%d", dtohs(screenWidth), dtohs(screenHeight)); in toString()4343 dtohs(chunk->type), dtohs(chunk->headerSize), dtohl(chunk->size), in addInternal()[all …]
89 const size_t offsets_offset = dtohs(header->header.headerSize); in VerifyResTableType()172 const size_t value_size = dtohs(value->size); in VerifyResTableEntry()252 const auto offsets = type_chunk.offset(dtohs(type_chunk->header.headerSize)); in GetEntryOffset()266 return dtohs(entry->idx) < entry_idx; in GetEntryOffset()275 if (dtohs(entry->idx) != entry_index) { in GetEntryOffset()284 return uint32_t{dtohs(entry->offset)} * 4u; in GetEntryOffset()396 const auto entry_offsets = type.offset(dtohs(type->header.headerSize)); in FindEntryByName()406 offset = dtohs(sparse_entry->offset) * 4u; in FindEntryByName()407 res_idx = dtohs(sparse_entry->idx); in FindEntryByName()
87 const size_t header_size = dtohs(next_chunk_->headerSize); in VerifyNextChunk()
37 char16_t c = static_cast<char16_t>(dtohs(*src)); in ReadUtf16StringFromDevice()
1148 auto map_entry = map.offset(dtohs(map->size)).convert<ResTable_map>(); in GetBag()
42 inline int type() const { return dtohs(device_chunk_->type); } in type()49 inline size_t header_size() const { return dtohs(device_chunk_->headerSize); } in header_size()
1484 return dtohs(off16) == 0xffffu ? ResTable_type::NO_ENTRY : dtohs(off16) * 4u; in offset_from16()1568 uint16_t flags() const { return dtohs(full.flags); }; in flags()1573 return is_compact() ? sizeof(ResTable_entry) : dtohs(this->full.size); in size()1577 return is_compact() ? dtohs(this->compact.key) : dtohl(this->full.key.index); in key()1589 v.dataType = dtohs(compact.flags) >> 8; in value()1591 auto vaddr = reinterpret_cast<const uint8_t*>(this) + dtohs(this->full.size); in value()1593 v.size = dtohs(value->size); in value()
90 return dtohs(value); in DeviceToHost16()
40 #define dtohs(x) (x) macro
51 *out = dtohs(value); in Read16()