Lines Matching refs:cfp
913 entry->cfp = php_stream_fopen_tmpfile(); in phar_zip_changed_apply_int()
915 if (!entry->cfp) { in phar_zip_changed_apply_int()
927 php_stream_filter_append((&entry->cfp->writefilters), filter); in phar_zip_changed_apply_int()
929 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
935 php_stream_flush(entry->cfp); in phar_zip_changed_apply_int()
937 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply_int()
938 entry->compressed_filesize = (uint32_t) php_stream_tell(entry->cfp); in phar_zip_changed_apply_int()
942 php_stream_rewind(entry->cfp); in phar_zip_changed_apply_int()
1032 if (entry->cfp) { in phar_zip_changed_apply_int()
1033 …if (SUCCESS != php_stream_copy_to_stream_ex(entry->cfp, p->filefp, entry->compressed_filesize, NUL… in phar_zip_changed_apply_int()
1038 php_stream_close(entry->cfp); in phar_zip_changed_apply_int()
1039 entry->cfp = NULL; in phar_zip_changed_apply_int()