Searched refs:htods (Results 1 – 6 of 6) sorted by relevance
1108 header.header.type = htods(RES_XML_TYPE); in flatten()1109 header.header.headerSize = htods(sizeof(header)); in flatten()1485 node.header.headerSize = htods(sizeof(node)); in flatten_node()1508 attrExt.attributeSize = htods(sizeof(attr)); in flatten_node()1509 attrExt.attributeCount = htods(NA); in flatten_node()1510 attrExt.idIndex = htods(0); in flatten_node()1511 attrExt.classIndex = htods(0); in flatten_node()1512 attrExt.styleIndex = htods(0); in flatten_node()1518 attrExt.idIndex = htods(i+1); in flatten_node()1520 attrExt.classIndex = htods(i+1); in flatten_node()[all …]
22 char16_t s = htods(*src); in strcpy16_htod()33 uint16_t s = htods(static_cast<uint16_t>(*src)); in strcpy16_htod()554 header->header.type = htods(RES_STRING_POOL_TYPE); in writeStringBlock()555 header->header.headerSize = htods(sizeof(*header)); in writeStringBlock()
3021 header->header.type = htods(RES_TABLE_PACKAGE_TYPE); in flatten()3022 header->header.headerSize = htods(sizeof(*header)); in flatten()3294 header.header.type = htods(RES_TABLE_TYPE); in flatten()3295 header.header.headerSize = htods(sizeof(header)); in flatten()3351 libHeader->header.type = htods(RES_TABLE_LIBRARY_TYPE); in flattenLibraryTable()3746 header.full.size = htods(sizeof(header)); in flatten()3749 header.full.flags |= htods(header.FLAG_COMPLEX); in flatten()3752 header.full.flags |= htods(header.FLAG_PUBLIC); in flatten()3765 par.size = htods(it.parsedValue.size); in flatten()3793 mapHeader.size = htods(sizeof(mapHeader)); in flatten()[all …]
42 #define htods(x) (x) macro
82 return htods(value); in HostToDevice16()
506 const bool notDeviceEndian = htods(0xf0) != 0xf0; in setTo()2055 mcc = htods(mcc); in swapHtoD()2056 mnc = htods(mnc); in swapHtoD()2057 density = htods(density); in swapHtoD()2058 screenWidth = htods(screenWidth); in swapHtoD()2059 screenHeight = htods(screenHeight); in swapHtoD()2060 sdkVersion = htods(sdkVersion); in swapHtoD()2061 minorVersion = htods(minorVersion); in swapHtoD()2063 screenWidthDp = htods(screenWidthDp); in swapHtoD()2064 screenHeightDp = htods(screenHeightDp); in swapHtoD()[all …]