Lines Matching refs:outbuffer_cur
53 vt->outbuffer_cur = 0; in vterm_new_with_allocator()
113 if(len > vt->outbuffer_len - vt->outbuffer_cur) { in vterm_push_output_bytes()
115 len = vt->outbuffer_len - vt->outbuffer_cur; in vterm_push_output_bytes()
118 memcpy(vt->outbuffer + vt->outbuffer_cur, bytes, len); in vterm_push_output_bytes()
119 vt->outbuffer_cur += len; in vterm_push_output_bytes()
124 int written = vsnprintf(vt->outbuffer + vt->outbuffer_cur, in vterm_push_output_vsprintf()
125 vt->outbuffer_len - vt->outbuffer_cur, in vterm_push_output_vsprintf()
127 vt->outbuffer_cur += written; in vterm_push_output_vsprintf()
178 return vt->outbuffer_cur; in vterm_output_get_buffer_current()
183 return vt->outbuffer_len - vt->outbuffer_cur; in vterm_output_get_buffer_remaining()
188 if(len > vt->outbuffer_cur) in vterm_output_bufferread()
189 len = vt->outbuffer_cur; in vterm_output_bufferread()
193 if(len < vt->outbuffer_cur) in vterm_output_bufferread()
194 memmove(vt->outbuffer, vt->outbuffer + len, vt->outbuffer_cur - len); in vterm_output_bufferread()
196 vt->outbuffer_cur -= len; in vterm_output_bufferread()