Searched defs:tbuf (Results 1 - 2 of 2) sorted by path

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

Completed in 89 milliseconds