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

/PHP_5_6/ext/standard/
H A Diptc.c190 int iptcdata_len, jpeg_file_len; local
199 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sp|l", &iptcdata, &iptcdata_len, &jpeg_file, &jpeg_file_len, &spool) != SUCCESS) {
207 if ((size_t)iptcdata_len >= SIZE_MAX - sizeof(psheader) - 1025) {
220 poi = spoolbuf = safe_emalloc(1, (size_t)iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size);
221 memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1);
269 if (iptcdata_len & 1) {
270 iptcdata_len++; /* make the length even */
273 psheader[ 2 ] = (iptcdata_len+28)>>8;
274 psheader[ 3 ] = (iptcdata_len+28)&0xff;
280 php_iptc_put1(fp, spool, (unsigned char)(iptcdata_len>>
[all...]

Completed in 3 milliseconds