Searched refs:hostToDevice16 (Results 1 – 4 of 4) sorted by relevance
47 mHeader->type = util::hostToDevice16(type); in startChunk()48 mHeader->headerSize = util::hostToDevice16(sizeof(T)); in startChunk()80 mHeader->type = util::hostToDevice16(type); in startChunk()81 mHeader->headerSize = util::hostToDevice16(sizeof(android::ResChunk_header)); in startChunk()
122 flatElem->attributeStart = util::hostToDevice16(sizeof(*flatElem)); in visit()123 flatElem->attributeSize = util::hostToDevice16(sizeof(ResXMLTree_attribute)); in visit()188 flatElem->attributeCount = util::hostToDevice16(mFilteredAttrs.size()); in writeAttributes()197 flatElem->idIndex = util::hostToDevice16(attributeIndex); in writeAttributes()200 flatElem->classIndex = util::hostToDevice16(attributeIndex); in writeAttributes()202 flatElem->styleIndex = util::hostToDevice16(attributeIndex); in writeAttributes()248 flatAttr->typedValue.size = util::hostToDevice16(sizeof(flatAttr->typedValue)); in writeAttributes()
50 dst[i] = util::hostToDevice16((uint16_t) srcData[i]); in strcpy16_htod()135 outEntry->value.size = util::hostToDevice16(sizeof(outEntry->value)); in visit()206 outEntry->value.size = util::hostToDevice16(sizeof(outEntry->value)); in flattenEntry()280 outEntry->flags = util::hostToDevice16(outEntry->flags); in writeEntry()282 outEntry->size = util::hostToDevice16(sizeof(T)); in writeEntry()292 outValue->size = util::hostToDevice16(sizeof(*outValue)); in flattenValue()
326 inline uint16_t hostToDevice16(uint16_t value) { in hostToDevice16() function