Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgethnamaddr.c213 char tbuf[MAXDNAME]; in getanswer() local
299 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
300 (int)sizeof tbuf); in getanswer()
301 if ((n < 0) || !maybe_ok(res, tbuf, name_ok)) { in getanswer()
317 n = (int)strlen(tbuf) + 1; /* for the \0 */ in getanswer()
322 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
328 n = dn_expand(answer->buf, eom, cp, tbuf, in getanswer()
329 (int)sizeof tbuf); in getanswer()
330 if (n < 0 || !maybe_dnok(res, tbuf)) { in getanswer()
338 n = (int)strlen(tbuf) + 1; /* for the \0 */ in getanswer()
[all …]
Dgetaddrinfo.c1308 char tbuf[MAXDNAME]; in getanswer() local
1386 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
1387 if ((n < 0) || !(*name_ok)(tbuf)) { in getanswer()
1393 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer()
1398 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()