• Home
  • Raw
  • Download

Lines Matching refs:outbuffer_cur

56   vt->outbuffer_cur = 0;  in vterm_new_with_allocator()
115 if(len > vt->outbuffer_len - vt->outbuffer_cur) { in vterm_push_output_bytes()
117 len = vt->outbuffer_len - vt->outbuffer_cur; in vterm_push_output_bytes()
120 memcpy(vt->outbuffer + vt->outbuffer_cur, bytes, len); in vterm_push_output_bytes()
121 vt->outbuffer_cur += len; in vterm_push_output_bytes()
126 return vt->outbuffer_cur >= vt->outbuffer_len - 1; in outbuffer_is_full()
136 int written = vsnprintf(vt->outbuffer + vt->outbuffer_cur, in vterm_push_output_vsprintf()
137 vt->outbuffer_len - vt->outbuffer_cur, in vterm_push_output_vsprintf()
140 if(written == vt->outbuffer_len - vt->outbuffer_cur) { in vterm_push_output_vsprintf()
142 vt->outbuffer_cur = vt->outbuffer_len - 1; in vterm_push_output_vsprintf()
145 vt->outbuffer_cur += written; in vterm_push_output_vsprintf()
158 size_t orig_cur = vt->outbuffer_cur; in vterm_push_output_sprintf_ctrl()
171 vt->outbuffer_cur = orig_cur; in vterm_push_output_sprintf_ctrl()
176 size_t orig_cur = vt->outbuffer_cur; in vterm_push_output_sprintf_dcs()
191 vt->outbuffer_cur = orig_cur; in vterm_push_output_sprintf_dcs()
201 return vt->outbuffer_cur; in vterm_output_get_buffer_current()
206 return vt->outbuffer_len - vt->outbuffer_cur; in vterm_output_get_buffer_remaining()
211 if(len > vt->outbuffer_cur) in vterm_output_read()
212 len = vt->outbuffer_cur; in vterm_output_read()
216 if(len < vt->outbuffer_cur) in vterm_output_read()
217 memmove(vt->outbuffer, vt->outbuffer + len, vt->outbuffer_cur - len); in vterm_output_read()
219 vt->outbuffer_cur -= len; in vterm_output_read()