Searched refs:HostToDevice16 (Results 1 – 5 of 5) sorted by relevance
39 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()
119 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()
54 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()
388 header->header.type = util::HostToDevice16(android::RES_STRING_POOL_TYPE); in Flatten()389 header->header.headerSize = util::HostToDevice16(sizeof(*header)); in Flatten()
274 inline uint16_t HostToDevice16(uint16_t value) { return htods(value); } in HostToDevice16() function