Searched refs:hi_nibble (Results 1 – 5 of 5) sorted by relevance
79 int hi_nibble = xdigit_to_int(p[0]); in DecodeUUIDBytesFromString() local82 uuid_bytes.push_back((hi_nibble << 4) + lo_nibble); in DecodeUUIDBytesFromString()
63 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() local65 if (hi_nibble == -1 || lo_nibble == -1) { in DecodeHexU8()69 return static_cast<uint8_t>((hi_nibble << 4) + lo_nibble); in DecodeHexU8()
56 const int hi_nibble = xdigit_to_sint(m_packet[m_index]); in DecodeHexU8() local58 if (hi_nibble == -1 || lo_nibble == -1) { in DecodeHexU8()62 return (uint8_t)((hi_nibble << 4) + lo_nibble); in DecodeHexU8()
113 const int hi_nibble = xdigit_to_sint(p[0]); in decoded_hex_ascii_char() local114 if (hi_nibble == -1) in decoded_hex_ascii_char()119 return (uint8_t)((hi_nibble << 4) + lo_nibble); in decoded_hex_ascii_char()
1757 my $hi_nibble = hex(shift(@$arrayref));1759 my $byte = ($hi_nibble << 4) | $lo_nibble;