Lines Matching refs:height
112 createwbmp (int width, int height, int color) in createwbmp() argument
124 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
129 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL) in createwbmp()
136 wbmp->height = height; in createwbmp()
138 for (i = 0; i < width * height; wbmp->bitmap[i++] = color); in createwbmp()
181 wbmp->height = getmbi (getin, in); in readwbmp()
182 if (wbmp->height == -1) in readwbmp()
189 printf ("W: %d, H: %d\n", wbmp->width, wbmp->height); in readwbmp()
193 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
199 …if ((wbmp->bitmap = (int *) safe_emalloc((size_t)wbmp->width * wbmp->height, sizeof(int), 0)) == N… in readwbmp()
210 for (row = 0; row < wbmp->height; row++) in readwbmp()
265 putmbi (wbmp->height, putout, out); /* height */ in writewbmp()
269 for (row = 0; row < wbmp->height; row++) in writewbmp()
314 for (row = 0; row < wbmp->height; row++) in printwbmp()