Lines Matching refs:spool

76 static int php_iptc_put1(FILE *fp, int spool, unsigned char c, unsigned char **spoolbuf)  in php_iptc_put1()  argument
78 if (spool > 0) in php_iptc_put1()
88 static int php_iptc_get1(FILE *fp, int spool, unsigned char **spoolbuf) in php_iptc_get1() argument
97 if (spool > 0) { in php_iptc_get1()
109 static int php_iptc_read_remaining(FILE *fp, int spool, unsigned char **spoolbuf) in php_iptc_read_remaining() argument
111 while (php_iptc_get1(fp, spool, spoolbuf) != EOF) continue; in php_iptc_read_remaining()
118 static int php_iptc_skip_variable(FILE *fp, int spool, unsigned char **spoolbuf) in php_iptc_skip_variable() argument
123 if ((c1 = php_iptc_get1(fp, spool, spoolbuf)) == EOF) return M_EOI; in php_iptc_skip_variable()
125 if ((c2 = php_iptc_get1(fp, spool, spoolbuf)) == EOF) return M_EOI; in php_iptc_skip_variable()
132 if (php_iptc_get1(fp, spool, spoolbuf) == EOF) return M_EOI; in php_iptc_skip_variable()
139 static int php_iptc_next_marker(FILE *fp, int spool, unsigned char **spoolbuf) in php_iptc_next_marker() argument
145 c = php_iptc_get1(fp, spool, spoolbuf); in php_iptc_next_marker()
150 if ((c = php_iptc_get1(fp, spool, spoolbuf)) == EOF) in php_iptc_next_marker()
161 php_iptc_put1(fp, spool, (unsigned char)c, spoolbuf); in php_iptc_next_marker()
175 zend_long spool = 0; in PHP_FUNCTION() local
188 Z_PARAM_LONG(spool) in PHP_FUNCTION()
205 if (spool < 2) { in PHP_FUNCTION()
215 if (php_iptc_get1(fp, spool, poi?&poi:0) != 0xFF) { in PHP_FUNCTION()
223 if (php_iptc_get1(fp, spool, poi?&poi:0) != 0xD8) { in PHP_FUNCTION()
232 marker = php_iptc_next_marker(fp, spool, poi?&poi:0); in PHP_FUNCTION()
237 php_iptc_put1(fp, spool, (unsigned char)marker, poi?&poi:0); in PHP_FUNCTION()
245 php_iptc_read_remaining(fp, spool, poi?&poi:0); in PHP_FUNCTION()
258 php_iptc_skip_variable(fp, spool, poi?&poi:0); in PHP_FUNCTION()
268 php_iptc_put1(fp, spool, psheader[inx], poi?&poi:0); in PHP_FUNCTION()
271 php_iptc_put1(fp, spool, (unsigned char)(iptcdata_len>>8), poi?&poi:0); in PHP_FUNCTION()
272 php_iptc_put1(fp, spool, (unsigned char)(iptcdata_len&0xff), poi?&poi:0); in PHP_FUNCTION()
275 php_iptc_put1(fp, spool, iptcdata[inx], poi?&poi:0); in PHP_FUNCTION()
281 php_iptc_read_remaining(fp, spool, poi?&poi:0); in PHP_FUNCTION()
286 php_iptc_skip_variable(fp, spool, poi?&poi:0); in PHP_FUNCTION()
293 if (spool < 2) { in PHP_FUNCTION()