Searched refs:p_ascii (Results 1 – 3 of 3) sorted by relevance
166 int ascii_2_hex (char *p_ascii, int len, UINT8 *p_hex) in ascii_2_hex() argument171 for (x = 0; (x < len) && (*p_ascii); x++) in ascii_2_hex()173 if (ISDIGIT (*p_ascii)) in ascii_2_hex()174 c = (*p_ascii - '0') << 4; in ascii_2_hex()176 c = (toupper(*p_ascii) - 'A' + 10) << 4; in ascii_2_hex()178 p_ascii++; in ascii_2_hex()179 if (*p_ascii) in ascii_2_hex()181 if (ISDIGIT (*p_ascii)) in ascii_2_hex()182 c |= (*p_ascii - '0'); in ascii_2_hex()184 c |= (toupper(*p_ascii) - 'A' + 10); in ascii_2_hex()[all …]
159 extern int scru_ascii_2_hex(char *p_ascii, int len, UINT8 *p_hex);
73 int ascii_2_hex (char *p_ascii, int len, UINT8 *p_hex);