Searched refs:htods (Results 1 – 5 of 5) sorted by relevance
58 #define htods(x) (x) macro65 #define htods(x) (android_swap_short(x)) macro
1003 header.header.type = htods(RES_XML_TYPE); in flatten()1004 header.header.headerSize = htods(sizeof(header)); in flatten()1017 idsHeader->type = htods(RES_XML_RESOURCE_MAP_TYPE); in flatten()1018 idsHeader->headerSize = htods(sizeof(*idsHeader)); in flatten()1369 node.header.headerSize = htods(sizeof(node)); in flatten_node()1381 node.header.type = htods(RES_XML_START_ELEMENT_TYPE); in flatten_node()1391 attrExt.attributeStart = htods(sizeof(attrExt)); in flatten_node()1392 attrExt.attributeSize = htods(sizeof(attr)); in flatten_node()1393 attrExt.attributeCount = htods(NA); in flatten_node()1394 attrExt.idIndex = htods(0); in flatten_node()[all …]
27 char16_t s = htods(*src); in strcpy16_htod()527 header->header.type = htods(RES_STRING_POOL_TYPE); in writeStringBlock()528 header->header.headerSize = htods(sizeof(*header)); in writeStringBlock()
2712 header->header.type = htods(RES_TABLE_PACKAGE_TYPE); in flatten()2713 header->header.headerSize = htods(sizeof(*header)); in flatten()2765 tsHeader->header.type = htods(RES_TABLE_TYPE_SPEC_TYPE); in flatten()2766 tsHeader->header.headerSize = htods(sizeof(*tsHeader)); in flatten()2842 tHeader->header.type = htods(RES_TABLE_TYPE_TYPE); in flatten()2843 tHeader->header.headerSize = htods(sizeof(*tHeader)); in flatten()2918 header.header.type = htods(RES_TABLE_TYPE); in flatten()2919 header.header.headerSize = htods(sizeof(header)); in flatten()3289 header.size = htods(sizeof(header)); in flatten()3293 header.flags |= htods(header.FLAG_COMPLEX); in flatten()[all …]
334 const bool notDeviceEndian = htods(0xf0) != 0xf0; in setTo()1419 mcc = htods(mcc); in swapHtoD()1420 mnc = htods(mnc); in swapHtoD()1421 density = htods(density); in swapHtoD()1422 screenWidth = htods(screenWidth); in swapHtoD()1423 screenHeight = htods(screenHeight); in swapHtoD()1424 sdkVersion = htods(sdkVersion); in swapHtoD()1425 minorVersion = htods(minorVersion); in swapHtoD()1426 smallestScreenWidthDp = htods(smallestScreenWidthDp); in swapHtoD()1427 screenWidthDp = htods(screenWidthDp); in swapHtoD()[all …]