Searched refs:hex (Results 1 – 4 of 4) sorted by relevance
53 static bool HexToBytes(const std::string &hex, std::vector<uint8_t> *bytes) { in HexToBytes() argument54 if (hex.size() % 2 != 0) { in HexToBytes()57 bytes->resize(hex.size() / 2); in HexToBytes()59 uint8_t hi = HexDigitToByte(hex[i * 2]); in HexToBytes()60 uint8_t lo = HexDigitToByte(hex[i * 2 + 1]); in HexToBytes()
242 lock_name = 'KernelApiSysfsTestWakeLock' + uuid.uuid4().hex
135 return [hex(entry.value).rstrip('L')]
315 std::cout << std::hex << std::setw(2) << std::setfill('0') in DumpSector0()