Lines Matching refs:tbuf
141 char hostname[MAXHOSTNAMELEN], *stdp, tbuf[2048], fmt_cpy[1024], in vsyslog1() local
166 tbuf_cookie.base = tbuf; in vsyslog1()
167 tbuf_cookie.left = sizeof(tbuf); in vsyslog1()
200 stdp = tbuf + (sizeof(tbuf) - tbuf_cookie.left); in vsyslog1()
257 cnt = sizeof(tbuf) - tbuf_cookie.left; in vsyslog1()
260 if (tbuf[cnt - 1] == '\n') in vsyslog1()
269 v->iov_len = cnt - (stdp - tbuf); in vsyslog1()
298 if (send(LogFile, tbuf, cnt, 0) < 0) { in vsyslog1()
306 if (send(LogFile, tbuf, cnt, 0) >= 0) in vsyslog1()
322 if (send(LogFile, tbuf, cnt, 0) >= 0) in vsyslog1()
339 p = strchr(tbuf, '>') + 3; in vsyslog1()
341 v->iov_len = cnt - (p - tbuf); in vsyslog1()