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)) == FAILURE… in phar_parse_zipfile()
244 …ZVAL_NEW_STR(&mydata->metadata, zend_string_init(metadata, PHAR_GET_16(locator.comment_len), mydat… in phar_parse_zipfile()
247 ZVAL_UNDEF(&mydata->metadata); in phar_parse_zipfile()
302 zval_dtor(&mydata->metadata); \ in phar_parse_zipfile()
324 zval_dtor(&mydata->metadata); \ in phar_parse_zipfile()
414 if (metadata) { in phar_parse_zipfile()
415 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
529 if (phar_parse_metadata(&p, &(entry.metadata), PHAR_GET_16(zipentry.comment_len)) == FAILURE) { in phar_parse_zipfile()
533 …ZVAL_NEW_STR(&entry.metadata, zend_string_init(buf, PHAR_GET_16(zipentry.comment_len), entry.is_pe… in phar_parse_zipfile()
536 ZVAL_UNDEF(&entry.metadata); in phar_parse_zipfile()
963 if (Z_TYPE(entry->metadata) != IS_UNDEF) { in phar_zip_changed_apply_int()
971 php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash); in phar_zip_changed_apply_int()
1104 smart_str *metadata) /* {{{ */ in phar_zip_applysignature() argument
1126 if (metadata->s) { in phar_zip_applysignature()
1127 php_stream_write(newfile, ZSTR_VAL(metadata->s), ZSTR_LEN(metadata->s)); in phar_zip_applysignature()
1436 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()
1439 php_var_serialize(&main_metadata_str, &phar->metadata, &metadata_hash); in phar_zip_flush()
1450 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()
1484 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()