Lines Matching refs:height
111 createwbmp (int width, int height, int color) in createwbmp() argument
123 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL) in createwbmp()
135 wbmp->height = height; in createwbmp()
137 for (i = 0; i < width * height; wbmp->bitmap[i++] = color); in createwbmp()
180 wbmp->height = getmbi (getin, in); in readwbmp()
181 if (wbmp->height == -1) in readwbmp()
188 printf ("W: %d, H: %d\n", wbmp->width, wbmp->height); in readwbmp()
192 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
198 …if ((wbmp->bitmap = (int *) safe_emalloc((size_t)wbmp->width * wbmp->height, sizeof(int), 0)) == N… in readwbmp()
209 for (row = 0; row < wbmp->height; row++) in readwbmp()
264 putmbi (wbmp->height, putout, out); /* height */ in writewbmp()
268 for (row = 0; row < wbmp->height; row++) in writewbmp()
313 for (row = 0; row < wbmp->height; row++) in printwbmp()