Lines Matching defs:hex
14 /* Return the hex nibble value of a char */
15 static int8_t hex_val(char hex)
19 if ((hex >= '0') && (hex <= '9')) {
20 val = (int8_t)(hex - '0');
21 } else if ((hex >= 'a') && (hex <= 'f')) {
22 val = (int8_t)(hex - 'a' + 0xa);
23 } else if ((hex >= 'A') && (hex <= 'F')) {
24 val = (int8_t)(hex - 'A' + 0xa);
33 * Read hex_src_len hex characters from hex_src, convert to bytes and