Home
last modified time | relevance | path

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

/system/core/logwrapper/
Dlogwrap.c85 struct beginning_buf b_buf; member
104 static int add_line_to_linear_buf(struct beginning_buf *b_buf, in add_line_to_linear_buf() argument
109 if ((line_len + b_buf->used_len) > b_buf->buf_size) { in add_line_to_linear_buf()
113 memcpy(b_buf->buf + b_buf->used_len, line, line_len); in add_line_to_linear_buf()
114 b_buf->used_len += line_len; in add_line_to_linear_buf()
222 a_buf->b_buf.buf = new_buf; in init_abbr_buf()
223 a_buf->b_buf.alloc_len = BEGINNING_BUF_SIZE; in init_abbr_buf()
224 a_buf->b_buf.buf_size = BEGINNING_BUF_SIZE - 1; in init_abbr_buf()
235 free(a_buf->b_buf.buf); in free_abbr_buf()
242 add_line_to_linear_buf(&a_buf->b_buf, linebuf, linelen); in add_line_to_abbr_buf()
[all …]