entry_obj        4394 ext/phar/phar_object.c 	phar_entry_object *entry_obj;
entry_obj        4403 ext/phar/phar_object.c 	entry_obj = (phar_entry_object*)((char*)Z_OBJ_P(zobj) - Z_OBJ_P(zobj)->handlers->offset);
entry_obj        4405 ext/phar/phar_object.c 	if (entry_obj->entry) {
entry_obj        4441 ext/phar/phar_object.c 	entry_obj->entry = entry_info;
entry_obj        4454 ext/phar/phar_object.c 	phar_entry_object *entry_obj = (phar_entry_object*)((char*)Z_OBJ_P(zobj) - Z_OBJ_P(zobj)->handlers->offset); \
entry_obj        4455 ext/phar/phar_object.c 	if (!entry_obj->entry) { \
entry_obj        4467 ext/phar/phar_object.c 	phar_entry_object *entry_obj = (phar_entry_object*)((char*)Z_OBJ_P(zobj) - Z_OBJ_P(zobj)->handlers->offset);
entry_obj        4469 ext/phar/phar_object.c 	if (entry_obj->entry && entry_obj->entry->is_temp_dir) {
entry_obj        4470 ext/phar/phar_object.c 		if (entry_obj->entry->filename) {
entry_obj        4471 ext/phar/phar_object.c 			efree(entry_obj->entry->filename);
entry_obj        4472 ext/phar/phar_object.c 			entry_obj->entry->filename = NULL;
entry_obj        4475 ext/phar/phar_object.c 		efree(entry_obj->entry);
entry_obj        4476 ext/phar/phar_object.c 		entry_obj->entry = NULL;
entry_obj        4492 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->entry->compressed_filesize);
entry_obj        4511 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSION_MASK);
entry_obj        4513 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ);
entry_obj        4515 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2);
entry_obj        4534 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry_obj        4540 ext/phar/phar_object.c 	if (entry_obj->entry->is_crc_checked) {
entry_obj        4541 ext/phar/phar_object.c 		RETURN_LONG(entry_obj->entry->crc32);
entry_obj        4560 ext/phar/phar_object.c 	RETURN_BOOL(entry_obj->entry->is_crc_checked);
entry_obj        4575 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->entry->flags & ~(PHAR_ENT_PERM_MASK|PHAR_ENT_COMPRESSION_MASK));
entry_obj        4588 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry_obj        4590 ext/phar/phar_object.c 			"Phar entry \"%s\" is a temporary directory (not an actual entry in the archive), cannot chmod", entry_obj->entry->filename); \
entry_obj        4594 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry_obj        4595 ext/phar/phar_object.c 		zend_throw_exception_ex(phar_ce_PharException, 0, "Cannot modify permissions for file \"%s\" in phar \"%s\", write operations are prohibited", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry_obj        4603 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry_obj        4604 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry_obj        4611 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry_obj        4614 ext/phar/phar_object.c 	entry_obj->entry->flags &= ~PHAR_ENT_PERM_MASK;
entry_obj        4616 ext/phar/phar_object.c 	entry_obj->entry->flags |= perms;
entry_obj        4617 ext/phar/phar_object.c 	entry_obj->entry->old_flags = entry_obj->entry->flags;
entry_obj        4618 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry_obj        4619 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry_obj        4633 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry_obj        4653 ext/phar/phar_object.c 	RETURN_BOOL(Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF);
entry_obj        4668 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry_obj        4669 ext/phar/phar_object.c 		if (entry_obj->entry->is_persistent) {
entry_obj        4670 ext/phar/phar_object.c 			char *buf = estrndup((char *) Z_PTR(entry_obj->entry->metadata), entry_obj->entry->metadata_len);
entry_obj        4672 ext/phar/phar_object.c 			phar_parse_metadata(&buf, return_value, entry_obj->entry->metadata_len);
entry_obj        4675 ext/phar/phar_object.c 			ZVAL_COPY(return_value, &entry_obj->entry->metadata);
entry_obj        4691 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry_obj        4696 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry_obj        4706 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry_obj        4707 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry_obj        4714 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry_obj        4716 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry_obj        4717 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->entry->metadata);
entry_obj        4718 ext/phar/phar_object.c 		ZVAL_UNDEF(&entry_obj->entry->metadata);
entry_obj        4721 ext/phar/phar_object.c 	ZVAL_COPY(&entry_obj->entry->metadata, metadata);
entry_obj        4723 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry_obj        4724 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry_obj        4725 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry_obj        4747 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry_obj        4752 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry_obj        4758 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry_obj        4759 ext/phar/phar_object.c 		if (entry_obj->entry->is_persistent) {
entry_obj        4760 ext/phar/phar_object.c 			phar_archive_data *phar = entry_obj->entry->phar;
entry_obj        4767 ext/phar/phar_object.c 			entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry_obj        4769 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->entry->metadata);
entry_obj        4770 ext/phar/phar_object.c 		ZVAL_UNDEF(&entry_obj->entry->metadata);
entry_obj        4771 ext/phar/phar_object.c 		entry_obj->entry->is_modified = 1;
entry_obj        4772 ext/phar/phar_object.c 		entry_obj->entry->phar->is_modified = 1;
entry_obj        4774 ext/phar/phar_object.c 		phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry_obj        4806 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry_obj        4808 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\" is a directory", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry_obj        4812 ext/phar/phar_object.c 	link = phar_get_link_source(entry_obj->entry);
entry_obj        4815 ext/phar/phar_object.c 		link = entry_obj->entry;
entry_obj        4820 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\": %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry_obj        4827 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents of \"%s\" in phar \"%s\"", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry_obj        4854 ext/phar/phar_object.c 	if (entry_obj->entry->is_tar) {
entry_obj        4860 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry_obj        4866 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry_obj        4872 ext/phar/phar_object.c 	if (entry_obj->entry->is_deleted) {
entry_obj        4878 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry_obj        4879 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry_obj        4886 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry_obj        4890 ext/phar/phar_object.c 			if (entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry_obj        4894 ext/phar/phar_object.c 			if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0) {
entry_obj        4902 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->entry, &error, 1)) {
entry_obj        4904 ext/phar/phar_object.c 						"Phar error: Cannot decompress bzip2-compressed file \"%s\" in phar \"%s\" in order to compress with gzip: %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry_obj        4916 ext/phar/phar_object.c 			entry_obj->entry->old_flags = entry_obj->entry->flags;
entry_obj        4917 ext/phar/phar_object.c 			entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry_obj        4918 ext/phar/phar_object.c 			entry_obj->entry->flags |= PHAR_ENT_COMPRESSED_GZ;
entry_obj        4921 ext/phar/phar_object.c 			if (entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry_obj        4925 ext/phar/phar_object.c 			if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0) {
entry_obj        4933 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->entry, &error, 1)) {
entry_obj        4935 ext/phar/phar_object.c 						"Phar error: Cannot decompress gzip-compressed file \"%s\" in phar \"%s\" in order to compress with bzip2: %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry_obj        4946 ext/phar/phar_object.c 			entry_obj->entry->old_flags = entry_obj->entry->flags;
entry_obj        4947 ext/phar/phar_object.c 			entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry_obj        4948 ext/phar/phar_object.c 			entry_obj->entry->flags |= PHAR_ENT_COMPRESSED_BZ2;
entry_obj        4955 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry_obj        4956 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry_obj        4957 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry_obj        4980 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry_obj        4986 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSION_MASK) == 0) {
entry_obj        4990 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry_obj        4996 ext/phar/phar_object.c 	if (entry_obj->entry->is_deleted) {
entry_obj        5002 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0 && !PHAR_G(has_zlib)) {
entry_obj        5008 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0 && !PHAR_G(has_bz2)) {
entry_obj        5014 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry_obj        5015 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry_obj        5022 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry_obj        5024 ext/phar/phar_object.c 	if (!entry_obj->entry->fp) {
entry_obj        5025 ext/phar/phar_object.c 		if (FAILURE == phar_open_archive_fp(entry_obj->entry->phar)) {
entry_obj        5026 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot decompress entry \"%s\", phar error: Cannot open phar archive \"%s\" for reading", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry_obj        5029 ext/phar/phar_object.c 		entry_obj->entry->fp_type = PHAR_FP;
entry_obj        5032 ext/phar/phar_object.c 	entry_obj->entry->old_flags = entry_obj->entry->flags;
entry_obj        5033 ext/phar/phar_object.c 	entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry_obj        5034 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry_obj        5035 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry_obj        5036 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);