Searched refs:p_ascii (Results 1 – 3 of 3) sorted by relevance
172 int ascii_2_hex (const char *p_ascii, int len, UINT8 *p_hex) in ascii_2_hex() argument177 for (x = 0; (x < len) && (*p_ascii); x++) in ascii_2_hex()179 if (ISDIGIT (*p_ascii)) in ascii_2_hex()180 c = (*p_ascii - '0') << 4; in ascii_2_hex()182 c = (toupper(*p_ascii) - 'A' + 10) << 4; in ascii_2_hex()184 p_ascii++; in ascii_2_hex()185 if (*p_ascii) in ascii_2_hex()187 if (ISDIGIT (*p_ascii)) in ascii_2_hex()188 c |= (*p_ascii - '0'); in ascii_2_hex()190 c |= (toupper(*p_ascii) - 'A' + 10); in ascii_2_hex()[all …]
152 extern int scru_ascii_2_hex(char *p_ascii, int len, UINT8 *p_hex);
76 int ascii_2_hex (const char *p_ascii, int len, UINT8 *p_hex);