Lines Matching refs:left
141 PHPAPI int php_stream_bucket_split(php_stream_bucket *in, php_stream_bucket **left, php_stream_buck… in php_stream_bucket_split() argument
143 *left = (php_stream_bucket*)pecalloc(1, sizeof(php_stream_bucket), in->is_persistent); in php_stream_bucket_split()
146 if (*left == NULL || *right == NULL) { in php_stream_bucket_split()
150 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split()
151 (*left)->buflen = length; in php_stream_bucket_split()
152 memcpy((*left)->buf, in->buf, length); in php_stream_bucket_split()
153 (*left)->refcount = 1; in php_stream_bucket_split()
154 (*left)->own_buf = 1; in php_stream_bucket_split()
155 (*left)->is_persistent = in->is_persistent; in php_stream_bucket_split()
173 if (*left) { in php_stream_bucket_split()
174 if ((*left)->buf) { in php_stream_bucket_split()
175 pefree((*left)->buf, in->is_persistent); in php_stream_bucket_split()
177 pefree(*left, in->is_persistent); in php_stream_bucket_split()