Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/flatten/
DChunkWriter.h39 header_->type = util::HostToDevice16(type); in StartChunk()
40 header_->headerSize = util::HostToDevice16(sizeof(T)); in StartChunk()
73 header_->type = util::HostToDevice16(type); in StartChunk()
74 header_->headerSize = util::HostToDevice16(sizeof(android::ResChunk_header)); in StartChunk()
DXmlFlattener.cpp119 flat_elem->attributeStart = util::HostToDevice16(sizeof(*flat_elem)); in Visit()
120 flat_elem->attributeSize = util::HostToDevice16(sizeof(ResXMLTree_attribute)); in Visit()
204 flat_elem->attributeCount = util::HostToDevice16(filtered_attrs_.size()); in WriteAttributes()
214 flat_elem->idIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
217 flat_elem->classIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
219 flat_elem->styleIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
278 flat_attr->typedValue.size = util::HostToDevice16(sizeof(flat_attr->typedValue)); in WriteAttributes()
DTableFlattener.cpp54 dst[i] = util::HostToDevice16((uint16_t)src_data[i]); in strcpy16_htod()
139 out_entry->value.size = util::HostToDevice16(sizeof(out_entry->value)); in Visit()
209 out_entry->value.size = util::HostToDevice16(sizeof(out_entry->value)); in FlattenEntry()
292 out_entry->flags = util::HostToDevice16(out_entry->flags); in WriteEntry()
294 out_entry->size = util::HostToDevice16(sizeof(T)); in WriteEntry()
303 outValue->size = util::HostToDevice16(sizeof(*outValue)); in FlattenValue()
366 indices->idx = util::HostToDevice16(i); in FlattenConfig()
367 indices->offset = util::HostToDevice16(offsets[i] / 4u); in FlattenConfig()
/frameworks/base/tools/aapt2/
DStringPool.cpp388 header->header.type = util::HostToDevice16(android::RES_STRING_POOL_TYPE); in Flatten()
389 header->header.headerSize = util::HostToDevice16(sizeof(*header)); in Flatten()
/frameworks/base/tools/aapt2/util/
DUtil.h274 inline uint16_t HostToDevice16(uint16_t value) { return htods(value); } in HostToDevice16() function