Home
last modified time | relevance | path

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

/external/libvterm/src/
Dvterm.c30 VTerm *vterm_new(int rows, int cols) in vterm_new()
35 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) in vterm_new_with_allocator()
38 VTerm *vt = (*funcs->malloc)(sizeof(VTerm), allocdata); in vterm_new_with_allocator()
59 void vterm_free(VTerm *vt) in vterm_free()
73 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size) in vterm_allocator_malloc()
78 INTERNAL void vterm_allocator_free(VTerm *vt, void *ptr) in vterm_allocator_free()
83 void vterm_get_size(const VTerm *vt, int *rowsp, int *colsp) in vterm_get_size()
91 void vterm_set_size(VTerm *vt, int rows, int cols) in vterm_set_size()
100 void vterm_set_parser_callbacks(VTerm *vt, const VTermParserCallbacks *callbacks, void *user) in vterm_set_parser_callbacks()
106 void vterm_parser_set_utf8(VTerm *vt, int is_utf8) in vterm_parser_set_utf8()
[all …]
Dvterm_internal.h43 VTerm *vt;
126 struct VTerm struct
176 void *vterm_allocator_malloc(VTerm *vt, size_t size); argument
177 void vterm_allocator_free(VTerm *vt, void *ptr);
179 void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len);
180 void vterm_push_output_vsprintf(VTerm *vt, const char *format, va_list args);
181 void vterm_push_output_sprintf(VTerm *vt, const char *format, ...);
182 void vterm_push_output_sprintf_ctrl(VTerm *vt, unsigned char ctrl, const char *fmt, ...);
183 void vterm_push_output_sprintf_dcs(VTerm *vt, const char *fmt, ...);
Dparser.c10 static void do_control(VTerm *vt, unsigned char control) in do_control()
19 static void do_string_csi(VTerm *vt, const char *args, size_t arglen, char command) in do_string_csi()
106 static void append_strbuffer(VTerm *vt, const char *str, size_t len) in append_strbuffer()
119 static size_t do_string(VTerm *vt, const char *str_frag, size_t len) in do_string()
190 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len) in vterm_push_bytes()
Dinput.c7 void vterm_input_push_char(VTerm *vt, VTermModifier mod, uint32_t c) in vterm_input_push_char()
124 void vterm_input_push_key(VTerm *vt, VTermModifier mod, VTermKey key) in vterm_input_push_key()
Dscreen.c43 VTerm *vt;
624 static VTermScreen *screen_new(VTerm *vt) in screen_new()
814 VTermScreen *vterm_obtain_screen(VTerm *vt) in vterm_obtain_screen()
Dstate.c57 static VTermState *vterm_state_new(VTerm *vt) in vterm_state_new()
1599 VTermState *vterm_obtain_state(VTerm *vt) in vterm_obtain_state()
/external/libvterm/include/
Dvterm.h13 typedef struct VTerm VTerm; typedef
122 VTerm *vterm_new(int rows, int cols);
123 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata…
124 void vterm_free(VTerm* vt);
126 void vterm_get_size(const VTerm *vt, int *rowsp, int *colsp);
127 void vterm_set_size(VTerm *vt, int rows, int cols);
129 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len);
131 void vterm_input_push_char(VTerm *vt, VTermModifier state, uint32_t c);
132 void vterm_input_push_key(VTerm *vt, VTermModifier state, VTermKey key);
134 size_t vterm_output_bufferlen(VTerm *vt); /* deprecated */
[all …]