Home
last modified time | relevance | path

Searched refs:hexchars (Results 1 – 3 of 3) sorted by relevance

/external/ppp/pppd/plugins/
Dwinbind.c173 const char *hexchars = "0123456789ABCDEF"; in strhex_to_str() local
177 if (strncmp(hexchars, "0x", 2) == 0) { in strhex_to_str()
182 if (!(p1 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()
187 if (!(p2 = strchr(hexchars, toupper(strhex[i])))) in strhex_to_str()
191 hinybble = (p1 - hexchars); in strhex_to_str()
192 lonybble = (p2 - hexchars); in strhex_to_str()
/external/ppp/pppd/
Dutils.c171 static char hexchars[] = "0123456789abcdef"; local
338 OUTCHAR(hexchars[c >> 4]);
339 OUTCHAR(hexchars[c & 0xf]);
368 OUTCHAR(hexchars[(c >> 4) & 0xf]);
369 OUTCHAR(hexchars[c & 0xf]);
383 *--str = hexchars[val % base];
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c505 static const char hexchars[16] = "0123456789ABCDEF"; in DisplayResourceRecord() local
537 *p++ = hexchars[t[i] >> 4]; in DisplayResourceRecord()
538 *p++ = hexchars[t[i] & 0xF]; in DisplayResourceRecord()
575 *p++ = hexchars[*s >> 4]; in DisplayResourceRecord()
576 *p++ = hexchars[*s & 0xF]; in DisplayResourceRecord()