Lines Matching refs:metadata
165 char *metadata; in phar_tar_process_metadata() local
169 metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1); in phar_tar_process_metadata()
171 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
173 efree(metadata); in phar_tar_process_metadata()
178 …phar_parse_metadata_lazy(metadata, &entry->metadata_tracker, entry->uncompressed_filesize, entry->… in phar_tar_process_metadata()
182 efree(metadata); in phar_tar_process_metadata()
190 efree(metadata); in phar_tar_process_metadata()
199 efree(metadata); in phar_tar_process_metadata()
911 phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv), *metadata, newentry = {0}; in phar_tar_setupmetadata() local
939 if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) { in phar_tar_setupmetadata()
941 ret = phar_tar_setmetadata(&entry->metadata_tracker, metadata, error); in phar_tar_setupmetadata()
952 …if (NULL == (metadata = zend_hash_str_add_mem(&(entry->phar->manifest), lookfor, lookfor_len, (voi… in phar_tar_setupmetadata()
958 return phar_tar_setmetadata(&entry->metadata_tracker, metadata, error); in phar_tar_setupmetadata()