Lines Matching refs:hex
17 inline int HexToDec(int hex) {19 if (hex >= '0' && hex <= '9') {20 dec = hex - '0';21 } else if (hex >= 'A' && hex <= 'F') {22 dec = hex - 'A' + 10;23 } else if (hex >= 'a' && hex <= 'f') {24 dec = hex - 'a' + 10;