Home
last modified time | relevance | path

Searched refs:wbmp (Results 1 – 25 of 26) sorted by relevance

12

/PHP-7.4/ext/gd/libgd/
H A Dwbmp.c115 Wbmp *wbmp; in createwbmp() local
120 gdFree(wbmp); in createwbmp()
124 gdFree(wbmp); in createwbmp()
139 return (wbmp); in createwbmp()
154 Wbmp *wbmp; in readwbmp() local
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()
300 gdFree (wbmp); in freewbmp()
317 if (wbmp->bitmap[wbmp->width * row + col] == WBMP_BLACK) in printwbmp()
[all …]
H A Dgd_wbmp.c105 Wbmp *wbmp; in _gdImageWBMPCtx() local
118 wbmp->bitmap[pos] = WBMP_BLACK; in _gdImageWBMPCtx()
125 if (writewbmp (wbmp, &gd_putout, out)) { in _gdImageWBMPCtx()
126 freewbmp(wbmp); in _gdImageWBMPCtx()
132 freewbmp(wbmp); in _gdImageWBMPCtx()
144 Wbmp *wbmp; in gdImageCreateFromWBMPCtx() local
149 if (readwbmp (&gd_getin, infile, &wbmp)) { in gdImageCreateFromWBMPCtx()
153 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { in gdImageCreateFromWBMPCtx()
154 freewbmp (wbmp); in gdImageCreateFromWBMPCtx()
165 for (row = 0; row < wbmp->height; row++) { in gdImageCreateFromWBMPCtx()
[all …]
H A Dwbmp.h47 int readwbmp( int (*getin)(void *in), void *in, Wbmp **wbmp );
48 int writewbmp( Wbmp *wbmp, void (*putout)( int c, void *out), void *out);
49 void freewbmp( Wbmp *wbmp );
50 void printwbmp( Wbmp *wbmp );
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_wbmp.phpt2 GetImageSize() for wbmp format
11 echo "*** Testing getimagesize() : wbmp format ***\n";
12 var_dump(getimagesize(__DIR__ . "/75x50.wbmp", $arr));
18 *** Testing getimagesize() : wbmp format ***
29 string(18) "image/vnd.wap.wbmp"
H A Dbug70052.phpt5 var_dump(getimagesize(__DIR__ . '/bug70052_1.wbmp'));
6 var_dump(getimagesize(__DIR__ . '/bug70052_2.wbmp'));
20 string(18) "image/vnd.wap.wbmp"
H A Dimage_type_to_mime_type_basic.phpt56 string(18) "image/vnd.wap.wbmp"
H A Dimage_type_to_mime_type_variation3.phpt69 string\(18\) "image\/vnd.wap.wbmp"
/PHP-7.4/ext/gd/tests/
H A Dcreatefromwbmp-mb.phpt9 $file = __DIR__ . '/src私はガラスを食べられます.wbmp';
12 echo 'test create from wbmp: ';
17 test create from wbmp: ok
H A Dcreatefromwbmp.phpt9 $file = __DIR__ . '/src.wbmp';
12 echo 'test create from wbmp: ';
17 test create from wbmp: ok
H A Dimagewbmp-mb.phpt9 $file = __DIR__ . '/im私はガラスを食べられます.wbmp';
17 echo 'test create wbmp: ';
30 test create wbmp: ok
H A Dimagewbmp.phpt9 $file = __DIR__ . '/im.wbmp';
17 echo 'test create wbmp: ';
30 test create wbmp: ok
H A Dimage2wbmp_error.phpt11 image2wbmp($im, __DIR__ . '/image2wbmp_error.wbmp');
16 unlink(__DIR__ . '/image2wbmp_error.wbmp');
H A Dcreatefromwbmp2_extern.phpt2 imagecreatefromwbmp with invalid wbmp
10 $filename = __DIR__ . '/_tmp.wbmp';
47 Warning: imagecreatefromwbmp(): '%s_tmp.wbmp' is not a valid WBMP file in %s on line %d
H A Dbug77479.phpt14 imagewbmp($im, __DIR__ . '/77479.wbmp');
25 @unlink(__DIR__ . '/77479.wbmp');
H A Djpeg2wbmp_error2-mb.phpt17 $file = __DIR__ .'/simpletext私はガラスを食べられます.wbmp';
36 unlink(__DIR__ .'/simpletext私はガラスを食べられます.wbmp');
H A Djpeg2wbmp_error2.phpt17 $file = __DIR__ .'/simpletext.wbmp';
36 unlink(__DIR__ .'/simpletext.wbmp');
H A Dpng2wbmp_error2.phpt17 $file = __DIR__ .'/simpletext.wbmp';
36 unlink(__DIR__ .'/simpletext.wbmp');
H A Dcreatefromwbmp2.phpt2 imagecreatefromwbmp with invalid wbmp
10 $filename = __DIR__ . '/_tmp.wbmp';
H A Djpeg2wbmp_error1.phpt23 $file2 = __DIR__ .'/simpletext.wbmp';
45 unlink(__DIR__ .'/simpletext.wbmp');
H A Dpng2wbmp_error1-mb.phpt23 $file2 = __DIR__ .'/simpletext私はガラスを食べられます.wbmp';
45 unlink(__DIR__ .'/simpletext私はガラスを食べられます.wbmp');
H A Dpng2wbmp_error1.phpt23 $file2 = __DIR__ .'/simpletext.wbmp';
45 unlink(__DIR__ .'/simpletext.wbmp');
H A Dtypes.phpt24 echo "wbmp failed\n";
H A Dimagewbmp_nullbyte_injection.phpt8 print 'skip wbmp support not available';
H A Dcolorat.phpt9 $file = __DIR__ . '/im.wbmp';
/PHP-7.4/ext/gd/
H A Dconfig.w3241 gdtables.c gd_topal.c gd_wbmp.c gdxpm.c wbmp.c gd_xbm.c gd_security.c gd_transform.c \

Completed in 35 milliseconds

12