Searched refs:STBTT_malloc (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/video/ |
H A D | stb_truetype.h | 412 #ifndef STBTT_malloc 414 #define STBTT_malloc(x,u) ((void)(u),malloc(x)) macro 1272 vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata); in stbtt_GetGlyphShape() 1773 scanline = (unsigned char *) STBTT_malloc(result->w, userdata); in stbtt__rasterize_sorted_edges() 2073 scanline = (float *) STBTT_malloc((result->w*2+1) * sizeof(float), userdata); in stbtt__rasterize_sorted_edges() 2267 e = (stbtt__edge *) STBTT_malloc(sizeof(*e) * (n+1), userdata); // add an extra one as a sentinel in stbtt__rasterize() 2350 *contour_lengths = (int *) STBTT_malloc(sizeof(**contour_lengths) * n, userdata); in stbtt_FlattenCurves() 2361 points = (stbtt__point *) STBTT_malloc(num_points * sizeof(points[0]), userdata); in stbtt_FlattenCurves() 2449 gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); in stbtt_GetGlyphBitmapSubpixel() 2665 …stbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context… in stbtt_PackBegin() [all …]
|
H A D | console_truetype.c | 67 #define STBTT_malloc(size, u) ((void)(u), malloc(size)) macro
|