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