Searched refs:hexChar (Results 1 – 1 of 1) sorted by relevance
142 static int HexCharToNum (char hexChar) in HexCharToNum() argument145 if (hexChar >= '0' && hexChar <= '9') in HexCharToNum()147 return hexChar - '0'; in HexCharToNum()150 else if (hexChar >= 'A' && hexChar <= 'F') in HexCharToNum()152 return hexChar - 'A' + 10; in HexCharToNum()155 else if (hexChar >= 'a' && hexChar <= 'f') in HexCharToNum()157 return hexChar - 'a' + 10; in HexCharToNum()