Lines Matching refs:bucket
40 php_stream_bucket *bucket; in strfilter_rot13_filter() local
44 bucket = php_stream_bucket_make_writeable(buckets_in->head); in strfilter_rot13_filter()
46 php_strtr(bucket->buf, bucket->buflen, rot13_from, rot13_to, 52); in strfilter_rot13_filter()
47 consumed += bucket->buflen; in strfilter_rot13_filter()
49 php_stream_bucket_append(buckets_out, bucket); in strfilter_rot13_filter()
88 php_stream_bucket *bucket; in strfilter_toupper_filter() local
92 bucket = php_stream_bucket_make_writeable(buckets_in->head); in strfilter_toupper_filter()
94 php_strtr(bucket->buf, bucket->buflen, lowercase, uppercase, 26); in strfilter_toupper_filter()
95 consumed += bucket->buflen; in strfilter_toupper_filter()
97 php_stream_bucket_append(buckets_out, bucket); in strfilter_toupper_filter()
116 php_stream_bucket *bucket; in strfilter_tolower_filter() local
120 bucket = php_stream_bucket_make_writeable(buckets_in->head); in strfilter_tolower_filter()
122 php_strtr(bucket->buf, bucket->buflen, uppercase, lowercase, 26); in strfilter_tolower_filter()
123 consumed += bucket->buflen; in strfilter_tolower_filter()
125 php_stream_bucket_append(buckets_out, bucket); in strfilter_tolower_filter()
1504 php_stream_bucket *bucket = NULL; in strfilter_convert_filter() local
1509 bucket = buckets_in->head; in strfilter_convert_filter()
1511 php_stream_bucket_unlink(bucket); in strfilter_convert_filter()
1514 buckets_out, bucket->buf, bucket->buflen, &consumed, in strfilter_convert_filter()
1519 php_stream_bucket_delref(bucket); in strfilter_convert_filter()
1537 if (bucket != NULL) { in strfilter_convert_filter()
1538 php_stream_bucket_delref(bucket); in strfilter_convert_filter()
1624 php_stream_bucket *bucket; in consumed_filter_filter() local
1630 while ((bucket = buckets_in->head) != NULL) { in consumed_filter_filter()
1631 php_stream_bucket_unlink(bucket); in consumed_filter_filter()
1632 consumed += bucket->buflen; in consumed_filter_filter()
1633 php_stream_bucket_append(buckets_out, bucket); in consumed_filter_filter()
1842 php_stream_bucket *bucket; in php_chunked_filter() local
1847 bucket = php_stream_bucket_make_writeable(buckets_in->head); in php_chunked_filter()
1848 consumed += bucket->buflen; in php_chunked_filter()
1849 bucket->buflen = php_dechunk(bucket->buf, bucket->buflen, data); in php_chunked_filter()
1850 php_stream_bucket_append(buckets_out, bucket); in php_chunked_filter()