Lines Matching refs:etemp

739 	phar_entry_info *entry, etemp;  in phar_get_or_create_entry_data()  local
778 memset(&etemp, 0, sizeof(phar_entry_info)); in phar_get_or_create_entry_data()
779 etemp.filename_len = path_len; in phar_get_or_create_entry_data()
780 etemp.fp_type = PHAR_MOD; in phar_get_or_create_entry_data()
781 etemp.fp = php_stream_fopen_tmpfile(); in phar_get_or_create_entry_data()
783 if (!etemp.fp) { in phar_get_or_create_entry_data()
791 etemp.fp_refcount = 1; in phar_get_or_create_entry_data()
794 etemp.is_dir = 1; in phar_get_or_create_entry_data()
795 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_DIR; in phar_get_or_create_entry_data()
797 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_FILE; in phar_get_or_create_entry_data()
800 etemp.filename_len--; /* strip trailing / */ in phar_get_or_create_entry_data()
805 etemp.is_modified = 1; in phar_get_or_create_entry_data()
806 etemp.timestamp = time(0); in phar_get_or_create_entry_data()
807 etemp.is_crc_checked = 1; in phar_get_or_create_entry_data()
808 etemp.phar = phar; in phar_get_or_create_entry_data()
809 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
810 etemp.is_zip = phar->is_zip; in phar_get_or_create_entry_data()
813 etemp.is_tar = phar->is_tar; in phar_get_or_create_entry_data()
814 etemp.tar_type = etemp.is_dir ? TAR_DIR : TAR_FILE; in phar_get_or_create_entry_data()
817 …if (FAILURE == zend_hash_add(&phar->manifest, etemp.filename, path_len, (void*)&etemp, sizeof(phar… in phar_get_or_create_entry_data()
818 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
820 …spprintf(error, 0, "phar error: unable to add new entry \"%s\" to phar \"%s\"", etemp.filename, ph… in phar_get_or_create_entry_data()
823 efree(etemp.filename); in phar_get_or_create_entry_data()
828 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
829 efree(etemp.filename); in phar_get_or_create_entry_data()