Searched refs:nybble_from_hex (Results 1 – 1 of 1) sorted by relevance
72 constexpr uint8_t nybble_from_hex(char c) { in nybble_from_hex() function82 return nybble_from_hex(c1) << 4 | nybble_from_hex(c2); in byte_from_hex()86 return nybble_from_hex(str[0]) << 4 | nybble_from_hex(str[1]); in byte_from_hexstr()91 return ((unsigned short)(nybble_from_hex(str[0]) << 4 | in short_from_hexstr()92 nybble_from_hex(str[1]))) in short_from_hexstr()98 return ((unsigned long)(nybble_from_hex(str[0]) << 4 | in word_from_hexstr()99 nybble_from_hex(str[1]))) in word_from_hexstr()