Lines Matching refs:VTerm
30 VTerm *vterm_new(int rows, int cols)
35 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata)
38 VTerm *vt = (*funcs->malloc)(sizeof(VTerm), allocdata);
62 void vterm_free(VTerm *vt)
76 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size)
81 INTERNAL void vterm_allocator_free(VTerm *vt, void *ptr)
86 void vterm_get_size(const VTerm *vt, int *rowsp, int *colsp)
94 void vterm_set_size(VTerm *vt, int rows, int cols)
103 int vterm_get_utf8(const VTerm *vt)
108 void vterm_set_utf8(VTerm *vt, int is_utf8)
113 INTERNAL void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len)
124 static int outbuffer_is_full(VTerm *vt)
129 INTERNAL void vterm_push_output_vsprintf(VTerm *vt, const char *format, va_list args)
148 INTERNAL void vterm_push_output_sprintf(VTerm *vt, const char *format, ...)
156 INTERNAL void vterm_push_output_sprintf_ctrl(VTerm *vt, unsigned char ctrl, const char *fmt, ...)
174 INTERNAL void vterm_push_output_sprintf_dcs(VTerm *vt, const char *fmt, ...)
194 size_t vterm_output_get_buffer_size(const VTerm *vt)
199 size_t vterm_output_get_buffer_current(const VTerm *vt)
204 size_t vterm_output_get_buffer_remaining(const VTerm *vt)
209 size_t vterm_output_read(VTerm *vt, char *buffer, size_t len)