Searched refs:vterm_allocator_malloc (Results 1 – 4 of 4) sorted by relevance
/external/libvterm/src/ |
D | vterm.c | 50 vt->strbuffer = vterm_allocator_malloc(vt, vt->strbuffer_len); in vterm_new_with_allocator() 54 vt->outbuffer = vterm_allocator_malloc(vt, vt->outbuffer_len); in vterm_new_with_allocator() 73 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size) in vterm_allocator_malloc() function
|
D | state.c | 59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); in vterm_state_new() 128 uint32_t *new_chars = vterm_allocator_malloc(state->vt, new_size * sizeof(new_chars[0])); in grow_combine_buffer() 1521 unsigned char *newtabstops = vterm_allocator_malloc(state->vt, (cols + 7) / 8); in on_resize() 1546 VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo)); in on_resize() 1608 …state->combine_chars = vterm_allocator_malloc(state->vt, state->combine_chars_size * sizeof(state-… in vterm_obtain_state() 1610 state->tabstops = vterm_allocator_malloc(state->vt, (state->cols + 7) / 8); in vterm_obtain_state() 1612 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() 524 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); in resize() 630 VTermScreen *screen = vterm_allocator_malloc(vt, sizeof(VTermScreen)); in screen_new() 649 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * cols); in screen_new()
|
D | vterm_internal.h | 176 void *vterm_allocator_malloc(VTerm *vt, size_t size);
|