Lines Matching defs:hex
98 static int32_t hex2num(char hex) {99 if(hex>='0' && hex <='9') {100 return hex-'0';101 } else if(hex>='a' && hex<='f') {102 return hex-'a'+10;103 } else if(hex>='A' && hex<='F') {104 return hex-'A'+10;119 // Stop when we find something other than a pair of hex digits.