Searched refs:tbuf (Results 1 - 2 of 2) sorted by relevance
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 229 char tbuf[MAXDNAME]; local 315 n = dn_expand(answer->buf, eom, cp, tbuf, 316 (int)sizeof tbuf); 317 if ((n < 0) || !maybe_ok(res, tbuf, name_ok)) { 333 n = (int)strlen(tbuf) + 1; /* for the \0 */ 338 strlcpy(bp, tbuf, (size_t)(ep - bp)); 344 n = dn_expand(answer->buf, eom, cp, tbuf, 345 (int)sizeof tbuf); 346 if (n < 0 || !maybe_dnok(res, tbuf)) { 354 n = (int)strlen(tbuf) [all...] |
H A D | getaddrinfo.c | 1325 char tbuf[MAXDNAME]; local 1406 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 1407 if ((n < 0) || !(*name_ok)(tbuf)) { 1413 n = strlen(tbuf) + 1; /* for the \0 */ 1418 strlcpy(bp, tbuf, (size_t)(ep - bp));
|
Completed in 497 milliseconds