Home | History | Annotate | Download | only in logwrapper

Lines Matching refs:line_len

105                                    char *line, ssize_t line_len)
111 if ((line_len + b_buf->used_len) > b_buf->buf_size) {
115 memcpy(b_buf->buf + b_buf->used_len, line, line_len);
116 b_buf->used_len += line_len;
123 char *line, ssize_t line_len)
134 if (line_len > e_buf->buf_size) {
140 if (line_len > free_len) {
143 needed_space = line_len - free_len;
151 cnt = MIN(line_len, e_buf->buf_size - e_buf->write);
153 if (cnt < line_len) {
154 memcpy(e_buf->buf, line + cnt, line_len - cnt);
156 e_buf->used_len += line_len;
157 e_buf->write = (e_buf->write + line_len) % e_buf->buf_size;
195 int line_len;