Lines Matching refs:hex
1015 static int32_t hex2num(char hex) {1016 if(hex>='0' && hex <='9') {1017 return hex-'0';1018 } else if(hex>='a' && hex<='f') {1019 return hex-'a'+10;1020 } else if(hex>='A' && hex<='F') {1021 return hex-'A'+10;