Home
last modified time | relevance | path

Searched refs:allocdata (Results 1 – 3 of 3) sorted by relevance

/external/libvterm/src/
Dvterm.c12 static void *default_malloc(size_t size, void *allocdata) in default_malloc() argument
20 static void default_free(void *ptr, void *allocdata) in default_free() argument
35 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) in vterm_new_with_allocator() argument
38 VTerm *vt = (*funcs->malloc)(sizeof(VTerm), allocdata); in vterm_new_with_allocator()
41 vt->allocdata = allocdata; in vterm_new_with_allocator()
78 return (*vt->allocator->malloc)(size, vt->allocdata); in vterm_allocator_malloc()
83 (*vt->allocator->free)(ptr, vt->allocdata); in vterm_allocator_free()
Dvterm_internal.h151 void *allocdata; member
/external/libvterm/include/
Dvterm.h277 void *(*malloc)(size_t size, void *allocdata);
278 void (*free)(void *ptr, void *allocdata);
282 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata