Lines Matching refs:metadata
2272 if (entry->metadata) {
2274 char *buf = estrndup((char *) entry->metadata, entry->metadata_len);
2276 phar_parse_metadata((char **) &buf, &entry->metadata, entry->metadata_len TSRMLS_CC);
2281 t = entry->metadata;
2282 ALLOC_ZVAL(entry->metadata);
2283 *entry->metadata = *t;
2284 zval_copy_ctor(entry->metadata);
2286 entry->metadata->refcount = 1;
2288 Z_SET_REFCOUNT_P(entry->metadata, 1);
2320 if (phar->metadata) {
2323 char *buf = estrndup((char *) phar->metadata, phar->metadata_len);
2324 phar_parse_metadata(&buf, &phar->metadata, phar->metadata_len TSRMLS_CC);
2329 t = phar->metadata;
2330 ALLOC_ZVAL(phar->metadata);
2331 *phar->metadata = *t;
2332 zval_copy_ctor(phar->metadata);
2334 phar->metadata->refcount = 1;
2336 Z_SET_REFCOUNT_P(phar->metadata, 1);