Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DChunkWriter.h40 header_->type = util::HostToDevice16(type); in StartChunk()
41 header_->headerSize = util::HostToDevice16(sizeof(T)); in StartChunk()
80 header_->type = util::HostToDevice16(type); in StartChunk()
81 header_->headerSize = util::HostToDevice16(sizeof(android::ResChunk_header)); in StartChunk()
DXmlFlattener.cpp129 flat_elem->attributeStart = util::HostToDevice16(sizeof(*flat_elem)); in Visit()
130 flat_elem->attributeSize = util::HostToDevice16(sizeof(ResXMLTree_attribute)); in Visit()
220 flat_elem->attributeCount = util::HostToDevice16(filtered_attrs_.size()); in WriteAttributes()
229 flat_elem->idIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
232 flat_elem->classIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
234 flat_elem->styleIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
301 flat_attr->typedValue.size = util::HostToDevice16(sizeof(flat_attr->typedValue)); in WriteAttributes()
DTableFlattener.cpp57 dst[i] = util::HostToDevice16((uint16_t)src_data[i]); in strcpy16_htod()
212 out_entry->value.size = util::HostToDevice16(sizeof(out_entry->value)); in FlattenEntry()
310 out_entry->flags = util::HostToDevice16(out_entry->flags); in WriteEntry()
312 out_entry->size = util::HostToDevice16(sizeof(T)); in WriteEntry()
321 outValue->size = util::HostToDevice16(sizeof(*outValue)); in FlattenValue()
382 indices->idx = util::HostToDevice16(i); in FlattenConfig()
383 indices->offset = util::HostToDevice16(offsets[i] / 4u); in FlattenConfig()
/frameworks/base/tools/aapt2/
DStringPool.cpp439 header->header.type = util::HostToDevice16(android::RES_STRING_POOL_TYPE); in Flatten()
440 header->header.headerSize = util::HostToDevice16(sizeof(*header)); in Flatten()
/frameworks/base/tools/aapt2/util/
DUtil.h271 inline uint16_t HostToDevice16(uint16_t value) { in HostToDevice16() function