Lines Matching refs:brigade
105 bucket->brigade = NULL; in php_stream_bucket_new()
192 PHPAPI void php_stream_bucket_prepend(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket… in php_stream_bucket_prepend() argument
194 bucket->next = brigade->head; in php_stream_bucket_prepend()
197 if (brigade->head) { in php_stream_bucket_prepend()
198 brigade->head->prev = bucket; in php_stream_bucket_prepend()
200 brigade->tail = bucket; in php_stream_bucket_prepend()
202 brigade->head = bucket; in php_stream_bucket_prepend()
203 bucket->brigade = brigade; in php_stream_bucket_prepend()
206 PHPAPI void php_stream_bucket_append(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket … in php_stream_bucket_append() argument
208 if (brigade->tail == bucket) { in php_stream_bucket_append()
212 bucket->prev = brigade->tail; in php_stream_bucket_append()
215 if (brigade->tail) { in php_stream_bucket_append()
216 brigade->tail->next = bucket; in php_stream_bucket_append()
218 brigade->head = bucket; in php_stream_bucket_append()
220 brigade->tail = bucket; in php_stream_bucket_append()
221 bucket->brigade = brigade; in php_stream_bucket_append()
228 } else if (bucket->brigade) { in php_stream_bucket_unlink()
229 bucket->brigade->head = bucket->next; in php_stream_bucket_unlink()
233 } else if (bucket->brigade) { in php_stream_bucket_unlink()
234 bucket->brigade->tail = bucket->prev; in php_stream_bucket_unlink()
236 bucket->brigade = NULL; in php_stream_bucket_unlink()