Lines Matching refs:cfp
385 if (entry->cfp) { in destroy_phar_manifest_entry()
386 php_stream_close(entry->cfp); in destroy_phar_manifest_entry()
387 entry->cfp = 0; in destroy_phar_manifest_entry()
2765 if (entry->cfp) {
2767 php_stream_close(entry->cfp);
2768 entry->cfp = 0;
2877 entry->cfp = php_stream_fopen_tmpfile();
2878 if (!entry->cfp) {
2899 php_stream_filter_append((&entry->cfp->writefilters), filter);
2900 if (SUCCESS != phar_stream_copy_to_stream(file, entry->cfp, entry->uncompressed_filesize, NULL)) {
2911 php_stream_flush(entry->cfp);
2913 php_stream_seek(entry->cfp, 0, SEEK_END);
2914 entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp);
2916 php_stream_rewind(entry->cfp);
3101 if (entry->cfp) {
3102 file = entry->cfp;
3148 if (entry->cfp) {
3149 php_stream_close(entry->cfp);
3150 entry->cfp = NULL;