Home
last modified time | relevance | path

Searched refs:tbuf (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/dns/net/
Dgethnamaddr.c228 char tbuf[MAXDNAME]; in getanswer() local
314 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
315 (int)sizeof tbuf); in getanswer()
316 if ((n < 0) || !maybe_ok(res, tbuf, name_ok)) { in getanswer()
332 n = (int)strlen(tbuf) + 1; /* for the \0 */ in getanswer()
337 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
343 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
344 (int)sizeof tbuf); in getanswer()
345 if (n < 0 || !maybe_dnok(res, tbuf)) { in getanswer()
353 n = (int)strlen(tbuf) + 1; /* for the \0 */ in getanswer()
[all …]
Dgetaddrinfo.c1324 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()