Home
last modified time | relevance | path

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

/bionic/libc/unistd/
Dsyslog.c114 char *stdp = NULL, tbuf[TBUF_LEN], fmt_cpy[FMT_LEN]; in vsyslog_r() local
144 p = tbuf; in vsyslog_r()
226 cnt = p - tbuf; in vsyslog_r()
233 iov[0].iov_len = cnt - (stdp - tbuf); in vsyslog_r()
252 if ((error = send(data->log_file, tbuf, cnt, 0)) < 0) { in vsyslog_r()
259 if ((error = send(data->log_file, tbuf, cnt, 0)) >= 0) in vsyslog_r()
273 p = strchr(tbuf, '>') + 1; in vsyslog_r()
275 iov[0].iov_len = cnt - (p - tbuf); in vsyslog_r()
/bionic/libc/netbsd/
Dgethnamaddr.c188 char tbuf[MAXDNAME]; in getanswer() local
277 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
278 if ((n < 0) || !(*name_ok)(tbuf)) { in getanswer()
296 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer()
301 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
307 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
308 if (n < 0 || !res_dnok(tbuf)) { in getanswer()
318 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer()
323 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1310 char tbuf[MAXDNAME]; in getanswer() local
1388 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
1389 if ((n < 0) || !(*name_ok)(tbuf)) { in getanswer()
1395 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer()
1400 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()