Lines Matching refs:etemp

522 	phar_entry_info *entry, etemp;  in phar_get_or_create_entry_data()  local
561 memset(&etemp, 0, sizeof(phar_entry_info)); in phar_get_or_create_entry_data()
562 etemp.filename_len = path_len; in phar_get_or_create_entry_data()
563 etemp.fp_type = PHAR_MOD; in phar_get_or_create_entry_data()
564 etemp.fp = php_stream_fopen_tmpfile(); in phar_get_or_create_entry_data()
566 if (!etemp.fp) { in phar_get_or_create_entry_data()
574 etemp.fp_refcount = 1; in phar_get_or_create_entry_data()
577 etemp.is_dir = 1; in phar_get_or_create_entry_data()
578 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_DIR; in phar_get_or_create_entry_data()
580 etemp.flags = etemp.old_flags = PHAR_ENT_PERM_DEF_FILE; in phar_get_or_create_entry_data()
583 etemp.filename_len--; /* strip trailing / */ in phar_get_or_create_entry_data()
588 etemp.is_modified = 1; in phar_get_or_create_entry_data()
589 etemp.timestamp = time(0); in phar_get_or_create_entry_data()
590 etemp.is_crc_checked = 1; in phar_get_or_create_entry_data()
591 etemp.phar = phar; in phar_get_or_create_entry_data()
592 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
593 etemp.is_zip = phar->is_zip; in phar_get_or_create_entry_data()
596 etemp.is_tar = phar->is_tar; in phar_get_or_create_entry_data()
597 etemp.tar_type = etemp.is_dir ? TAR_DIR : TAR_FILE; in phar_get_or_create_entry_data()
600 …if (FAILURE == zend_hash_add(&phar->manifest, etemp.filename, path_len, (void*)&etemp, sizeof(phar… in phar_get_or_create_entry_data()
601 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
603 …spprintf(error, 0, "phar error: unable to add new entry \"%s\" to phar \"%s\"", etemp.filename, ph… in phar_get_or_create_entry_data()
606 efree(etemp.filename); in phar_get_or_create_entry_data()
611 php_stream_close(etemp.fp); in phar_get_or_create_entry_data()
612 efree(etemp.filename); in phar_get_or_create_entry_data()