Searched refs:bytestoalloc (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dsnfread.c143 int bytestoalloc; local in function:snfReadProps
146 bytestoalloc = snfInfo->nProps * sizeof(snfFontPropRec) +
148 propspace = malloc(bytestoalloc);
150 snfError("snfReadProps(): Couldn't allocate propspace (%d)\n", bytestoalloc);
154 if (FontFileRead(file, propspace, bytestoalloc) != bytestoalloc) {
218 unsigned bytestoalloc; local in function:snfReadFont
252 bytestoalloc = sizeof(BitmapFontRec); /* bitmapFont */
253 metrics_off = bytestoalloc;
254 bytestoalloc
[all...]
H A Dbitscale.c1462 unsigned bytestoalloc = 0; local in function:BitmapScaleBitmaps
1490 bytestoalloc += BYTES_FOR_GLYPH(pci, glyph);
1497 bitmapFont->bitmaps = calloc(1, bytestoalloc);
1499 fprintf(stderr, "Error: Couldn't allocate bitmaps (%d)\n", bytestoalloc);
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dsnfread.c145 int bytestoalloc; local in function:snfReadProps
148 bytestoalloc = snfInfo->nProps * sizeof(snfFontPropRec) +
150 propspace = malloc(bytestoalloc);
152 snfError("snfReadProps(): Couldn't allocate propspace (%d)\n", bytestoalloc);
156 if (FontFileRead(file, propspace, bytestoalloc) != bytestoalloc) {
220 unsigned bytestoalloc; local in function:snfReadFont
254 bytestoalloc = sizeof(BitmapFontRec); /* bitmapFont */
255 metrics_off = bytestoalloc;
256 bytestoalloc
[all...]
H A Dbitscale.c1459 unsigned bytestoalloc = 0; local in function:BitmapScaleBitmaps
1487 bytestoalloc += BYTES_FOR_GLYPH(pci, glyph);
1494 bitmapFont->bitmaps = calloc(1, bytestoalloc);
1496 fprintf(stderr, "Error: Couldn't allocate bitmaps (%d)\n", bytestoalloc);

Completed in 17 milliseconds