Searched refs:hexin (Results 1 – 1 of 1) sorted by relevance
2482 static int htoi(unsigned char *hexin, unsigned int *res) argument2485 inlen = strlen((char *) hexin);2489 switch (hexin[lup]) {2500 *res = (*res << 4) + (hexin[lup] - '0');2509 *res = (*res << 4) + (hexin[lup] - 'a' + 10);2518 *res = (*res << 4) + (hexin[lup] - 'A' + 10);