Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dgethnamaddr.cpp139 char tbuf[MAXDNAME]; in getanswer() local
219 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer()
220 if ((n < 0) || !name_ok(tbuf)) { in getanswer()
235 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer()
240 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
246 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer()
247 if (n < 0 || !res_dnok(tbuf)) { in getanswer()
254 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer()
259 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
Dgetaddrinfo.cpp854 char tbuf[MAXDNAME]; in getanswer() local
933 n = dn_expand(answer.data(), eom, cp, tbuf, sizeof tbuf); in getanswer()
934 if ((n < 0) || !(*name_ok)(tbuf)) { in getanswer()
940 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer()
945 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()