Lines Matching refs:bucket

76 	php_stream_bucket *bucket;  in php_bz2_decompress_filter()  local
93 bucket = php_stream_bucket_make_writeable(buckets_in->head); in php_bz2_decompress_filter()
94 while (bin < bucket->buflen) { in php_bz2_decompress_filter()
99 php_stream_bucket_delref(bucket); in php_bz2_decompress_filter()
107 consumed += bucket->buflen; in php_bz2_decompress_filter()
111 desired = bucket->buflen - bin; in php_bz2_decompress_filter()
115 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_decompress_filter()
129 php_stream_bucket_delref(bucket); in php_bz2_decompress_filter()
148 php_stream_bucket_delref(bucket); in php_bz2_decompress_filter()
153 php_stream_bucket_delref(bucket); in php_bz2_decompress_filter()
164 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_decompress_filter()
165 php_stream_bucket_append(buckets_out, bucket); in php_bz2_decompress_filter()
214 php_stream_bucket *bucket; in php_bz2_compress_filter() local
229 bucket = php_stream_bucket_make_writeable(buckets_in->head); in php_bz2_compress_filter()
231 while (bin < bucket->buflen) { in php_bz2_compress_filter()
234 desired = bucket->buflen - bin; in php_bz2_compress_filter()
238 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_compress_filter()
246 php_stream_bucket_delref(bucket); in php_bz2_compress_filter()
266 php_stream_bucket_delref(bucket); in php_bz2_compress_filter()
277 bucket = php_stream_bucket_new(stream, estrndup(data->outbuf, bucketlen), bucketlen, 1, 0); in php_bz2_compress_filter()
278 php_stream_bucket_append(buckets_out, bucket); in php_bz2_compress_filter()