Lines Matching refs:cfp
946 entry->cfp = php_stream_fopen_tmpfile(); in phar_zip_changed_apply_int()
948 if (!entry->cfp) { in phar_zip_changed_apply_int()
960 php_stream_filter_append((&entry->cfp->writefilters), filter); in phar_zip_changed_apply_int()
962 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
968 php_stream_flush(entry->cfp); in phar_zip_changed_apply_int()
970 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply_int()
971 entry->compressed_filesize = (uint32_t) php_stream_tell(entry->cfp); in phar_zip_changed_apply_int()
975 php_stream_rewind(entry->cfp); in phar_zip_changed_apply_int()
1057 if (entry->cfp) { in phar_zip_changed_apply_int()
1058 …if (SUCCESS != php_stream_copy_to_stream_ex(entry->cfp, p->filefp, entry->compressed_filesize, NUL… in phar_zip_changed_apply_int()
1063 php_stream_close(entry->cfp); in phar_zip_changed_apply_int()
1064 entry->cfp = NULL; in phar_zip_changed_apply_int()