Searched defs:ascii (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/inet/
H A Dnsap_addr.c58 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { argument
62 _DIAGASSERT(ascii != NULL);
65 if (ascii[0] != '0' || (ascii[1] != 'x' && ascii[1] != 'X'))
67 ascii += 2;
69 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
78 c = *ascii++;
97 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { argument
105 if (ascii)
[all...]
/bionic/libc/dns/resolv/
H A Dres_debug.c776 /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */
816 /* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */
914 loc_aton(const char *ascii, u_char *binary) argument
927 cp = ascii;
928 maxcp = cp + strlen(ascii);
1023 loc_ntoa(const u_char *binary, char *ascii, size_t bufsiz) argument
1046 if (ascii == NULL)
1047 ascii = tmpbuf;
1050 (void) snprintf(ascii, bufsiz, "; error: unknown LOC RR version");
1051 return (ascii);
[all...]

Completed in 1062 milliseconds