Home
last modified time | relevance | path

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

/system/core/logwrapper/
Dlogwrap.c63 size_t used_len; member
76 ssize_t used_len; member
108 if ((line_len + b_buf->used_len) > b_buf->buf_size) { in add_line_to_linear_buf()
112 memcpy(b_buf->buf + b_buf->used_len, line, line_len); in add_line_to_linear_buf()
113 b_buf->used_len += line_len; in add_line_to_linear_buf()
134 free_len = e_buf->buf_size - e_buf->used_len; in add_line_to_circular_buf()
141 e_buf->used_len -= needed_space; in add_line_to_circular_buf()
152 e_buf->used_len += line_len; in add_line_to_circular_buf()
253 print_buf_lines(log_info, a_buf->b_buf.buf, a_buf->b_buf.used_len); in print_abbr_buf()
259 if (a_buf->e_buf.used_len == a_buf->e_buf.buf_size) { in print_abbr_buf()
[all …]