Searched refs:glyphsize (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/sys/dev/vt/ |
H A D | vt_font.c | 164 size_t glyphsize, mapsize; local 185 glyphsize = howmany(f->width, 8) * f->height * f->glyph_count; 186 if (glyphsize > VTFONT_MAXGLYPHSIZE) 191 vf->vf_bytes = malloc(glyphsize, M_VTFONT, M_WAITOK); 213 error = copyin(f->glyphs, vf->vf_bytes, glyphsize);
|
/freebsd-13-stable/usr.sbin/vidcontrol/ |
H A D | vidcontrol.c | 424 size_t glyphsize; local 443 glyphsize = howmany(vfnt.width, 8) * vfnt.height * vfnt.glyph_count; 444 if ((vfnt.glyphs = malloc(glyphsize)) == NULL) { 449 if (fread(vfnt.glyphs, glyphsize, 1, f) != 1) {
|
Completed in 53 milliseconds