Home
last modified time | relevance | path

Searched refs:htods (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/tools/aapt/
H A DXMLNode.cpp1108 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 …]
H A DStringPool.cpp22 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()
H A DResourceTable.cpp3030 header->header.type = htods(RES_TABLE_PACKAGE_TYPE); in flatten()
3031 header->header.headerSize = htods(sizeof(*header)); in flatten()
3303 header.header.type = htods(RES_TABLE_TYPE); in flatten()
3304 header.header.headerSize = htods(sizeof(header)); in flatten()
3360 libHeader->header.type = htods(RES_TABLE_LIBRARY_TYPE); in flattenLibraryTable()
3755 header.size = htods(sizeof(header)); in flatten()
3758 header.flags |= htods(header.FLAG_COMPLEX); in flatten()
3761 header.flags |= htods(header.FLAG_PUBLIC); in flatten()
3774 par.size = htods(it.parsedValue.size); in flatten()
3802 mapHeader.size = htods(sizeof(mapHeader)); in flatten()
[all …]
/aosp12/system/core/libutils/include/utils/
H A DByteOrder.h42 #define htods(x) (x) macro
/aosp12/frameworks/base/tools/aapt2/util/
H A DUtil.h282 return htods(value); in HostToDevice16()
/aosp12/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp493 const bool notDeviceEndian = htods(0xf0) != 0xf0; in setTo()
2042 mcc = htods(mcc); in swapHtoD()
2043 mnc = htods(mnc); in swapHtoD()
2044 density = htods(density); in swapHtoD()
2045 screenWidth = htods(screenWidth); in swapHtoD()
2046 screenHeight = htods(screenHeight); in swapHtoD()
2047 sdkVersion = htods(sdkVersion); in swapHtoD()
2048 minorVersion = htods(minorVersion); in swapHtoD()
2050 screenWidthDp = htods(screenWidthDp); in swapHtoD()
2051 screenHeightDp = htods(screenHeightDp); in swapHtoD()
[all …]