Searched refs:tbuf (Results 1 - 2 of 2) sorted by relevance
/bionic/libc/dns/ |
H A D | gethnamaddr.c | 193 char tbuf[MAXDNAME]; local 282 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 283 if ((n < 0) || !(*name_ok)(tbuf)) { 301 n = strlen(tbuf) + 1; /* for the \0 */ 306 strlcpy(bp, tbuf, (size_t)(ep - bp)); 312 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 313 if (n < 0 || !res_dnok(tbuf)) { 323 n = strlen(tbuf) [all...] |
/bionic/libc/dns/net/ |
H A D | getaddrinfo.c | 1317 char tbuf[MAXDNAME]; local 1395 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 1396 if ((n < 0) || !(*name_ok)(tbuf)) { 1402 n = strlen(tbuf) + 1; /* for the \0 */ 1407 strlcpy(bp, tbuf, (size_t)(ep - bp));
|
Completed in 108 milliseconds