Home
last modified time | relevance | path

Searched refs:STBTT_malloc (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/video/
Dstb_truetype.h412 #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()
1444 …tmp = (stbtt_vertex*)STBTT_malloc((num_vertices+comp_num_verts)*sizeof(stbtt_vertex), info->userda… in stbtt_GetGlyphShape()
1620 …stbtt__hheap_chunk *c = (stbtt__hheap_chunk *) STBTT_malloc(sizeof(stbtt__hheap_chunk) + size * co… in stbtt__hheap_alloc()
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()
[all …]
Dconsole_truetype.c67 #define STBTT_malloc(size, u) ((void)(u), malloc(size)) macro