Lines Matching refs:filter

1621 				php_stream_filter *filter;  in phar_open_from_fp()  local
1642 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp)); in phar_open_from_fp()
1644 if (!filter) { in phar_open_from_fp()
1647 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp)); in phar_open_from_fp()
1650 if (!filter) { in phar_open_from_fp()
1658 php_stream_filter_append(&temp->writefilters, filter); in phar_open_from_fp()
1669 php_stream_filter_flush(filter, 1); in phar_open_from_fp()
1670 php_stream_filter_remove(filter, 1); in phar_open_from_fp()
1684 php_stream_filter *filter; in phar_open_from_fp() local
1697 filter = php_stream_filter_create("bzip2.decompress", NULL, php_stream_is_persistent(fp)); in phar_open_from_fp()
1699 if (!filter) { in phar_open_from_fp()
1704 php_stream_filter_append(&temp->writefilters, filter); in phar_open_from_fp()
1711 php_stream_filter_flush(filter, 1); in phar_open_from_fp()
1712 php_stream_filter_remove(filter, 1); in phar_open_from_fp()
2515 php_stream_filter *filter; in phar_flush() local
2783 filter = php_stream_filter_create(phar_compress_filter(entry, 0), NULL, 0); in phar_flush()
2784 if (!filter) { in phar_flush()
2832 php_stream_filter_append((&entry->cfp->writefilters), filter); in phar_flush()
2843 php_stream_filter_flush(filter, 1); in phar_flush()
2845 php_stream_filter_remove(filter, 1); in phar_flush()
3179filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp… in phar_flush()
3182 if (!filter) { in phar_flush()
3189 php_stream_filter_append(&phar->fp->writefilters, filter); in phar_flush()
3191 php_stream_filter_flush(filter, 1); in phar_flush()
3192 php_stream_filter_remove(filter, 1); in phar_flush()
3197 filter = php_stream_filter_create("bzip2.compress", NULL, php_stream_is_persistent(phar->fp)); in phar_flush()
3198 php_stream_filter_append(&phar->fp->writefilters, filter); in phar_flush()
3200 php_stream_filter_flush(filter, 1); in phar_flush()
3201 php_stream_filter_remove(filter, 1); in phar_flush()