Lines Matching refs:dim
106 unsigned char dim[5]; in php_handle_gif() local
111 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim)) in php_handle_gif()
115 result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8); in php_handle_gif()
116 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8); in php_handle_gif()
117 result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0; in php_handle_gif()
129 unsigned char dim[8]; in php_handle_psd() local
134 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim)) in php_handle_psd()
138 …ight = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_psd()
139 …dth = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_psd()
150 unsigned char dim[16]; in php_handle_bmp() local
156 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim)) in php_handle_bmp()
159 …ize = (((unsigned int)dim[ 3]) << 24) + (((unsigned int)dim[ 2]) << 16) + (((unsigned int)dim[ 1… in php_handle_bmp()
162 result->width = (((unsigned int)dim[ 5]) << 8) + ((unsigned int) dim[ 4]); in php_handle_bmp()
163 result->height = (((unsigned int)dim[ 7]) << 8) + ((unsigned int) dim[ 6]); in php_handle_bmp()
164 result->bits = ((unsigned int)dim[11]); in php_handle_bmp()
167 …h = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5… in php_handle_bmp()
168 …ht = (((unsigned int)dim[11]) << 24) + (((unsigned int)dim[10]) << 16) + (((unsigned int)dim[ 9… in php_handle_bmp()
170 result->bits = (((unsigned int)dim[15]) << 8) + ((unsigned int)dim[14]); in php_handle_bmp()
299 unsigned char dim[9]; in php_handle_png() local
312 if((php_stream_read(stream, dim, sizeof(dim))) < sizeof(dim)) in php_handle_png()
316 …>width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_png()
317 …>height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_png()
318 result->bits = (unsigned int)dim[8]; in php_handle_png()
1087 unsigned char dim[16]; in php_handle_ico() local
1090 if (php_stream_read(stream, dim, 2) != 2) in php_handle_ico()
1093 num_icons = (((unsigned int)dim[1]) << 8) + ((unsigned int) dim[0]); in php_handle_ico()
1102 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim)) in php_handle_ico()
1105 if ((((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]) >= result->bits) in php_handle_ico()
1107 result->width = (unsigned int)dim[0]; in php_handle_ico()
1108 result->height = (unsigned int)dim[1]; in php_handle_ico()
1109 result->bits = (((unsigned int)dim[7]) << 8) + ((unsigned int)dim[6]); in php_handle_ico()