Searched refs:tbuf (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 124 char tbuf[MAXDNAME]; in getanswer() local 201 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer() 202 if ((n < 0) || !name_ok(tbuf)) { in getanswer() 217 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer() 222 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 228 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer() 229 if (n < 0 || !res_dnok(tbuf)) { in getanswer() 236 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer() 241 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
|
D | getaddrinfo.cpp | 830 char tbuf[MAXDNAME]; in getanswer() local 909 n = dn_expand(answer.data(), eom, cp, tbuf, sizeof tbuf); in getanswer() 910 if ((n < 0) || !(*name_ok)(tbuf)) { in getanswer() 916 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer() 921 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
|