Lines Matching refs:cfp
902 entry->cfp = php_stream_fopen_tmpfile(); in phar_zip_changed_apply()
904 if (!entry->cfp) { in phar_zip_changed_apply()
916 php_stream_filter_append((&entry->cfp->writefilters), filter); in phar_zip_changed_apply()
918 if (SUCCESS != phar_stream_copy_to_stream(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply()
924 php_stream_flush(entry->cfp); in phar_zip_changed_apply()
926 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply()
927 entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp); in phar_zip_changed_apply()
931 php_stream_rewind(entry->cfp); in phar_zip_changed_apply()
1022 if (entry->cfp) { in phar_zip_changed_apply()
1023 …if (SUCCESS != phar_stream_copy_to_stream(entry->cfp, p->filefp, entry->compressed_filesize, NULL)… in phar_zip_changed_apply()
1028 php_stream_close(entry->cfp); in phar_zip_changed_apply()
1029 entry->cfp = NULL; in phar_zip_changed_apply()