Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/
DRegistry.cpp919 char hx[elems * 2 + 1]; in byteArrayToString() local
922 sprintf(&hx[i * 2], "%02x", ((uint8_t *)bytes)[i]); in byteArrayToString()
924 return string(hx); in byteArrayToString()
932 char hx[sizeof(uint32_t) * 2 + 1]; in uint32ToString() local
936 hx[i] = (value >> (28 - (i * 4))) & 0x0F; in uint32ToString()
937 if (hx[i] > 9) { in uint32ToString()
938 hx[i] = (hx[i] - 9) | 0x40; in uint32ToString()
940 hx[i] |= 0x30; in uint32ToString()
943 hx[i] = '\0'; in uint32ToString()
944 return string(hx); in uint32ToString()