Searched refs:anHexaStr (Results 1 – 1 of 1) sorted by relevance
92 ascii2hex(char *anHexaStr, int *aResLen) in ascii2hex() argument95 char *theRes = malloc(strlen(anHexaStr) /2 + 1); in ascii2hex()99 while (isxdigit(*anHexaStr)) { in ascii2hex()100 theRes[theLen] = unhex(*anHexaStr) << 4; in ascii2hex()101 if (++anHexaStr != '\0') { in ascii2hex()102 theRes[theLen] += unhex(*anHexaStr); in ascii2hex()103 anHexaStr++; in ascii2hex()