Lines Matching refs:ascii
35 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr() argument
39 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { in inet_nsap_addr()
47 c = *ascii++; in inet_nsap_addr()
66 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { in inet_nsap_ntoa() argument
72 if (ascii) in inet_nsap_ntoa()
73 start = ascii; in inet_nsap_ntoa()
75 ascii = tmpbuf; in inet_nsap_ntoa()
84 *ascii++ = nib + (nib < 10 ? '0' : '7'); in inet_nsap_ntoa()
86 *ascii++ = nib + (nib < 10 ? '0' : '7'); in inet_nsap_ntoa()
88 *ascii++ = '.'; in inet_nsap_ntoa()
90 *ascii = '\0'; in inet_nsap_ntoa()