wbmp 97 ext/gd/libgd/gd_wbmp.c Wbmp *wbmp; wbmp 100 ext/gd/libgd/gd_wbmp.c if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { wbmp 109 ext/gd/libgd/gd_wbmp.c wbmp->bitmap[pos] = WBMP_BLACK; wbmp 116 ext/gd/libgd/gd_wbmp.c if (writewbmp (wbmp, &gd_putout, out)) { wbmp 120 ext/gd/libgd/gd_wbmp.c freewbmp(wbmp); wbmp 130 ext/gd/libgd/gd_wbmp.c Wbmp *wbmp; wbmp 135 ext/gd/libgd/gd_wbmp.c if (readwbmp (&gd_getin, infile, &wbmp)) { wbmp 139 ext/gd/libgd/gd_wbmp.c if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { wbmp 140 ext/gd/libgd/gd_wbmp.c freewbmp (wbmp); wbmp 151 ext/gd/libgd/gd_wbmp.c for (row = 0; row < wbmp->height; row++) { wbmp 152 ext/gd/libgd/gd_wbmp.c for (col = 0; col < wbmp->width; col++) { wbmp 153 ext/gd/libgd/gd_wbmp.c if (wbmp->bitmap[pos++] == WBMP_WHITE) { wbmp 161 ext/gd/libgd/gd_wbmp.c freewbmp(wbmp); wbmp 115 ext/gd/libgd/wbmp.c Wbmp *wbmp; wbmp 116 ext/gd/libgd/wbmp.c if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) wbmp 120 ext/gd/libgd/wbmp.c gdFree(wbmp); wbmp 124 ext/gd/libgd/wbmp.c gdFree(wbmp); wbmp 128 ext/gd/libgd/wbmp.c if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL) wbmp 130 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 134 ext/gd/libgd/wbmp.c wbmp->width = width; wbmp 135 ext/gd/libgd/wbmp.c wbmp->height = height; wbmp 137 ext/gd/libgd/wbmp.c for (i = 0; i < width * height; wbmp->bitmap[i++] = color); wbmp 139 ext/gd/libgd/wbmp.c return (wbmp); wbmp 154 ext/gd/libgd/wbmp.c Wbmp *wbmp; wbmp 156 ext/gd/libgd/wbmp.c if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) wbmp 159 ext/gd/libgd/wbmp.c wbmp->type = getin (in); wbmp 160 ext/gd/libgd/wbmp.c if (wbmp->type != 0) wbmp 162 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 170 ext/gd/libgd/wbmp.c wbmp->width = getmbi (getin, in); wbmp 171 ext/gd/libgd/wbmp.c if (wbmp->width == -1) wbmp 173 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 177 ext/gd/libgd/wbmp.c wbmp->height = getmbi (getin, in); wbmp 178 ext/gd/libgd/wbmp.c if (wbmp->height == -1) wbmp 180 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 185 ext/gd/libgd/wbmp.c printf ("W: %d, H: %d\n", wbmp->width, wbmp->height); wbmp 188 ext/gd/libgd/wbmp.c if (overflow2(sizeof (int), wbmp->width) || wbmp 189 ext/gd/libgd/wbmp.c overflow2(sizeof (int) * wbmp->width, wbmp->height)) wbmp 191 ext/gd/libgd/wbmp.c gdFree(wbmp); wbmp 195 ext/gd/libgd/wbmp.c if ((wbmp->bitmap = (int *) safe_emalloc((size_t)wbmp->width * wbmp->height, sizeof(int), 0)) == NULL) wbmp 197 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 206 ext/gd/libgd/wbmp.c for (row = 0; row < wbmp->height; row++) wbmp 208 ext/gd/libgd/wbmp.c for (col = 0; col < wbmp->width;) wbmp 214 ext/gd/libgd/wbmp.c if (col++ < wbmp->width) wbmp 218 ext/gd/libgd/wbmp.c wbmp->bitmap[pos] = WBMP_WHITE; wbmp 222 ext/gd/libgd/wbmp.c wbmp->bitmap[pos] = WBMP_BLACK; wbmp 230 ext/gd/libgd/wbmp.c *return_wbmp = wbmp; wbmp 248 ext/gd/libgd/wbmp.c writewbmp (Wbmp * wbmp, void (*putout) (int c, void *out), void *out) wbmp 260 ext/gd/libgd/wbmp.c putmbi (wbmp->width, putout, out); /* width */ wbmp 261 ext/gd/libgd/wbmp.c putmbi (wbmp->height, putout, out); /* height */ wbmp 265 ext/gd/libgd/wbmp.c for (row = 0; row < wbmp->height; row++) wbmp 269 ext/gd/libgd/wbmp.c for (col = 0; col < wbmp->width; col++) wbmp 271 ext/gd/libgd/wbmp.c octet |= ((wbmp->bitmap[row * wbmp->width + col] == 1) ? WBMP_WHITE : WBMP_BLACK) << --bitpos; wbmp 294 ext/gd/libgd/wbmp.c freewbmp (Wbmp * wbmp) wbmp 296 ext/gd/libgd/wbmp.c gdFree (wbmp->bitmap); wbmp 297 ext/gd/libgd/wbmp.c gdFree (wbmp); wbmp 307 ext/gd/libgd/wbmp.c printwbmp (Wbmp * wbmp) wbmp 310 ext/gd/libgd/wbmp.c for (row = 0; row < wbmp->height; row++) wbmp 312 ext/gd/libgd/wbmp.c for (col = 0; col < wbmp->width; col++) wbmp 314 ext/gd/libgd/wbmp.c if (wbmp->bitmap[wbmp->width * row + col] == WBMP_BLACK) wbmp 356 ext/gd/libgd/wbmp.c Wbmp *wbmp; wbmp 361 ext/gd/libgd/wbmp.c readwbmp (&getin, wbmp_file, &wbmp); wbmp 369 ext/gd/libgd/wbmp.c printwbmp (wbmp); wbmp 378 ext/gd/libgd/wbmp.c writewbmp (wbmp, &putout, stdout); wbmp 381 ext/gd/libgd/wbmp.c freewbmp (wbmp); wbmp 47 ext/gd/libgd/wbmp.h int readwbmp( int (*getin)(void *in), void *in, Wbmp **wbmp ); wbmp 48 ext/gd/libgd/wbmp.h int writewbmp( Wbmp *wbmp, void (*putout)( int c, void *out), void *out); wbmp 49 ext/gd/libgd/wbmp.h void freewbmp( Wbmp *wbmp ); wbmp 50 ext/gd/libgd/wbmp.h void printwbmp( Wbmp *wbmp );