Searched refs:alloc_context (Results 1 – 1 of 1) sorted by relevance
| /openbmc/u-boot/drivers/video/ |
| H A D | stb_truetype.h | 521 …signed char *pixels, int width, int height, int stride_in_bytes, int padding, void *alloc_context); 2663 …*spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) in stbtt_PackBegin() argument 2665 …tbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context); in stbtt_PackBegin() 2667 …tbrp_node *nodes = (stbrp_node *) STBTT_malloc(sizeof(*nodes ) * num_nodes,alloc_context); in stbtt_PackBegin() 2670 if (context != NULL) STBTT_free(context, alloc_context); in stbtt_PackBegin() 2671 if (nodes != NULL) STBTT_free(nodes , alloc_context); in stbtt_PackBegin() 2675 spc->user_allocator_context = alloc_context; in stbtt_PackBegin()
|