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()
75 return (*vt->allocator->malloc)(size, vt->allocdata); in vterm_allocator_malloc()
80 (*vt->allocator->free)(ptr, vt->allocdata); in vterm_allocator_free()
Dvterm_internal.h129 void *allocdata; member
/external/libvterm/include/
Dvterm.h118 void *(*malloc)(size_t size, void *allocdata);
119 void (*free)(void *ptr, void *allocdata);
123 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata