Searched refs:p_ascii (Results 1 – 3 of 3) sorted by relevance
183 int ascii_2_hex (char *p_ascii, int len, UINT8 *p_hex) in ascii_2_hex() argument188 for (x = 0; (x < len) && (*p_ascii); x++) in ascii_2_hex()190 if (ISDIGIT (*p_ascii)) in ascii_2_hex()191 c = (*p_ascii - '0') << 4; in ascii_2_hex()193 c = (toupper(*p_ascii) - 'A' + 10) << 4; in ascii_2_hex()195 p_ascii++; in ascii_2_hex()196 if (*p_ascii) in ascii_2_hex()198 if (ISDIGIT (*p_ascii)) in ascii_2_hex()199 c |= (*p_ascii - '0'); in ascii_2_hex()201 c |= (toupper(*p_ascii) - 'A' + 10); in ascii_2_hex()[all …]
157 extern int scru_ascii_2_hex(char *p_ascii, int len, UINT8 *p_hex);
71 int ascii_2_hex (char *p_ascii, int len, UINT8 *p_hex);