Searched refs:vterm_allocator_malloc (Results 1 – 4 of 4) sorted by relevance
/external/libvterm/src/ |
D | vterm.c | 53 vt->parser.strbuffer = vterm_allocator_malloc(vt, vt->parser.strbuffer_len); in vterm_new_with_allocator() 57 vt->outbuffer = vterm_allocator_malloc(vt, vt->outbuffer_len); in vterm_new_with_allocator() 76 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size) in vterm_allocator_malloc() function
|
D | state.c | 53 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); in vterm_state_new() 143 uint32_t *new_chars = vterm_allocator_malloc(state->vt, new_size * sizeof(new_chars[0])); in grow_combine_buffer() 1585 unsigned char *newtabstops = vterm_allocator_malloc(state->vt, (cols + 7) / 8); in on_resize() 1610 VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo)); in on_resize() 1677 …state->combine_chars = vterm_allocator_malloc(state->vt, state->combine_chars_size * sizeof(state-… in vterm_obtain_state() 1679 state->tabstops = vterm_allocator_malloc(state->vt, (state->cols + 7) / 8); in vterm_obtain_state() 1681 state->lineinfo = vterm_allocator_malloc(state->vt, state->rows * sizeof(VTermLineInfo)); in vterm_obtain_state()
|
D | screen.c | 82 …ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_co… in realloc_buffer() 523 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); in resize() 628 VTermScreen *screen = vterm_allocator_malloc(vt, sizeof(VTermScreen)); in screen_new() 650 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * cols); in screen_new()
|
D | vterm_internal.h | 213 void *vterm_allocator_malloc(VTerm *vt, size_t size);
|