Lines Matching refs:newentry

2230 	phar_entry_info *entry, newentry;  in phar_convert_to_other()  local
2276 newentry = *entry; in phar_convert_to_other()
2278 if (newentry.link) { in phar_convert_to_other()
2279 newentry.link = estrdup(newentry.link); in phar_convert_to_other()
2283 if (newentry.tmp) { in phar_convert_to_other()
2284 newentry.tmp = estrdup(newentry.tmp); in phar_convert_to_other()
2288 if (FAILURE == phar_copy_file_contents(&newentry, phar->fp)) { in phar_convert_to_other()
2296 newentry.filename = estrndup(newentry.filename, newentry.filename_len); in phar_convert_to_other()
2298 phar_metadata_tracker_clone(&newentry.metadata_tracker); in phar_convert_to_other()
2300 newentry.is_zip = phar->is_zip; in phar_convert_to_other()
2301 newentry.is_tar = phar->is_tar; in phar_convert_to_other()
2303 if (newentry.is_tar) { in phar_convert_to_other()
2304 newentry.tar_type = (entry->is_dir ? TAR_DIR : TAR_FILE); in phar_convert_to_other()
2307 newentry.is_modified = 1; in phar_convert_to_other()
2308 newentry.phar = phar; in phar_convert_to_other()
2309newentry.old_flags = newentry.flags & ~PHAR_ENT_COMPRESSION_MASK; /* remove compression from old_f… in phar_convert_to_other()
2310 phar_set_inode(&newentry); in phar_convert_to_other()
2311 …zend_hash_str_add_mem(&(phar->manifest), newentry.filename, newentry.filename_len, (void*)&newentr… in phar_convert_to_other()
2312 phar_add_virtual_dirs(phar, newentry.filename, newentry.filename_len); in phar_convert_to_other()
3405 phar_entry_info *oldentry, newentry = {0}, *temp; in PHP_METHOD() local
3465 memcpy((void *) &newentry, oldentry, sizeof(phar_entry_info)); in PHP_METHOD()
3467 phar_metadata_tracker_clone(&newentry.metadata_tracker); in PHP_METHOD()
3469 newentry.filename = estrndup(newfile, newfile_len); in PHP_METHOD()
3470 newentry.filename_len = newfile_len; in PHP_METHOD()
3471 newentry.fp_refcount = 0; in PHP_METHOD()
3474 if (FAILURE == phar_copy_entry_fp(oldentry, &newentry, &error)) { in PHP_METHOD()
3475 efree(newentry.filename); in PHP_METHOD()
3476 php_stream_close(newentry.fp); in PHP_METHOD()
3483 …zend_hash_str_add_mem(&oldentry->phar->manifest, newfile, newfile_len, &newentry, sizeof(phar_entr… in PHP_METHOD()