Searched refs:outbuffer_cur (Results 1 – 2 of 2) sorted by relevance
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()[all …]
195 size_t outbuffer_cur; member