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_ptr_dtor(&mydata->metadata); \ in phar_parse_zipfile()
324 zval_ptr_dtor(&mydata->metadata); \ in phar_parse_zipfile()
415 if (metadata) { in phar_parse_zipfile()
416 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
531 if (phar_parse_metadata(&p, &(entry.metadata), PHAR_GET_16(zipentry.comment_len)) == FAILURE) { in phar_parse_zipfile()
535 …ZVAL_NEW_STR(&entry.metadata, zend_string_init(buf, PHAR_GET_16(zipentry.comment_len), entry.is_pe… in phar_parse_zipfile()
538 ZVAL_UNDEF(&entry.metadata); in phar_parse_zipfile()
965 if (Z_TYPE(entry->metadata) != IS_UNDEF) { in phar_zip_changed_apply_int()
973 php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash); in phar_zip_changed_apply_int()
1106 smart_str *metadata) /* {{{ */ in phar_zip_applysignature() argument
1128 if (metadata->s) { in phar_zip_applysignature()
1129 php_stream_write(newfile, ZSTR_VAL(metadata->s), ZSTR_LEN(metadata->s)); in phar_zip_applysignature()
1418 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()
1421 php_var_serialize(&main_metadata_str, &phar->metadata, &metadata_hash); in phar_zip_flush()
1432 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()
1466 if (Z_TYPE(phar->metadata) != IS_UNDEF) { in phar_zip_flush()