Searched refs:hi_nibble (Results 1 – 2 of 2) sorted by relevance
111 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() local113 if (hi_nibble == -1 || lo_nibble == -1) in DecodeHexU8()118 return (uint8_t)((hi_nibble << 4) + lo_nibble); in DecodeHexU8()
188 int hi_nibble = xdigit_to_int(p[0]); in DecodeUUIDBytesFromCString() local191 uuid_bytes[uuid_byte_idx] = (hi_nibble << 4) + lo_nibble; in DecodeUUIDBytesFromCString()