Lines Matching refs:metadata

175 	char *metadata = NULL;  in phar_parse_zipfile()  local
227 metadata = p + sizeof(locator); in phar_parse_zipfile()
229 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile()
240 …if (phar_parse_metadata(&metadata, &mydata->metadata, PHAR_GET_16(locator.comment_len) TSRMLS_CC) … in phar_parse_zipfile()
245 ALLOC_PERMANENT_ZVAL(mydata->metadata); in phar_parse_zipfile()
247 ALLOC_ZVAL(mydata->metadata); in phar_parse_zipfile()
250 INIT_ZVAL(*mydata->metadata); in phar_parse_zipfile()
251 metadata = pestrndup(metadata, PHAR_GET_16(locator.comment_len), mydata->is_persistent); in phar_parse_zipfile()
252 ZVAL_STRINGL(mydata->metadata, metadata, PHAR_GET_16(locator.comment_len), 0); in phar_parse_zipfile()
255 mydata->metadata = NULL; in phar_parse_zipfile()
310 if (mydata->metadata) { \ in phar_parse_zipfile()
311 zval_dtor(mydata->metadata); \ in phar_parse_zipfile()
334 if (mydata->metadata) { \ in phar_parse_zipfile()
335 zval_dtor(mydata->metadata); \ in phar_parse_zipfile()
425 if (metadata) { in phar_parse_zipfile()
426 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
540 …if (phar_parse_metadata(&p, &(entry.metadata), PHAR_GET_16(zipentry.comment_len) TSRMLS_CC) == FAI… in phar_parse_zipfile()
545 ALLOC_PERMANENT_ZVAL(entry.metadata); in phar_parse_zipfile()
547 ALLOC_ZVAL(entry.metadata); in phar_parse_zipfile()
550 INIT_ZVAL(*entry.metadata); in phar_parse_zipfile()
551 …ZVAL_STRINGL(entry.metadata, pestrndup(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent… in phar_parse_zipfile()
554 entry.metadata = NULL; in phar_parse_zipfile()
952 if (entry->metadata) { in phar_zip_changed_apply()
961 php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash TSRMLS_CC); in phar_zip_changed_apply()
1088 smart_str *metadata TSRMLS_DC) /* {{{ */ in phar_zip_applysignature()
1110 if (metadata->c) { in phar_zip_applysignature()
1111 php_stream_write(newfile, metadata->c, metadata->len); in phar_zip_applysignature()
1407 if (phar->metadata) { in phar_zip_flush()
1410 php_var_serialize(&main_metadata_str, &phar->metadata, &metadata_hash TSRMLS_CC); in phar_zip_flush()
1421 if (phar->metadata) { in phar_zip_flush()
1455 if (phar->metadata) { in phar_zip_flush()