Lines Matching refs:etemp

636 	phar_entry_info *entry, etemp;  in phar_get_or_create_entry_data()  local
675 memset(&etemp, 0, sizeof(phar_entry_info)); in phar_get_or_create_entry_data()
676 etemp.filename_len = path_len; in phar_get_or_create_entry_data()
677 etemp.fp_type = PHAR_MOD; in phar_get_or_create_entry_data()
678 etemp.fp = php_stream_fopen_tmpfile(); in phar_get_or_create_entry_data()
680 if (!etemp.fp) { in phar_get_or_create_entry_data()
688 etemp.fp_refcount = 1; in phar_get_or_create_entry_data()
691 etemp.is_dir = 1; in phar_get_or_create_entry_data()
692 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_DIR; in phar_get_or_create_entry_data()
694 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_FILE; in phar_get_or_create_entry_data()
697 etemp.filename_len--; /* strip trailing / */ in phar_get_or_create_entry_data()
702 etemp.is_modified = 1; in phar_get_or_create_entry_data()
703 etemp.timestamp = time(0); in phar_get_or_create_entry_data()
704 etemp.is_crc_checked = 1; in phar_get_or_create_entry_data()
705 etemp.phar = phar; in phar_get_or_create_entry_data()
706 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
707 etemp.is_zip = phar->is_zip; in phar_get_or_create_entry_data()
710 etemp.is_tar = phar->is_tar; in phar_get_or_create_entry_data()
711 etemp.tar_type = etemp.is_dir ? TAR_DIR : TAR_FILE; in phar_get_or_create_entry_data()
714 …(NULL == (entry = zend_hash_str_add_mem(&phar->manifest, etemp.filename, path_len, (void*)&etemp, … in phar_get_or_create_entry_data()
715 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
717 …spprintf(error, 0, "phar error: unable to add new entry \"%s\" to phar \"%s\"", etemp.filename, ph… in phar_get_or_create_entry_data()
720 efree(etemp.filename); in phar_get_or_create_entry_data()
725 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
726 efree(etemp.filename); in phar_get_or_create_entry_data()