Home
last modified time | relevance | path

Searched refs:iptcdata_len (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/ext/standard/
H A Diptc.c181 int iptcdata_len, jpeg_file_len; in PHP_FUNCTION() local
190 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sp|l", &iptcdata, &iptcdata_len, &jpeg_file,… in PHP_FUNCTION()
206 poi = spoolbuf = safe_emalloc(1, iptcdata_len + sizeof(psheader) + sb.st_size + 1024, 1); in PHP_FUNCTION()
207 memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1); in PHP_FUNCTION()
254 if (iptcdata_len & 1) { in PHP_FUNCTION()
255 iptcdata_len++; /* make the length even */ in PHP_FUNCTION()
258 psheader[ 2 ] = (iptcdata_len+28)>>8; in PHP_FUNCTION()
259 psheader[ 3 ] = (iptcdata_len+28)&0xff; in PHP_FUNCTION()
265 php_iptc_put1(fp, spool, (unsigned char)(iptcdata_len>>8), poi?&poi:0 TSRMLS_CC); in PHP_FUNCTION()
266 php_iptc_put1(fp, spool, (unsigned char)(iptcdata_len&0xff), poi?&poi:0 TSRMLS_CC); in PHP_FUNCTION()
[all …]

Completed in 6 milliseconds