Lines Matching refs:buf_begin
190 char *buf_begin; member
218 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) { in fill_buffer()
219 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer); in fill_buffer()
222 self->buf_begin = self->buffer; in fill_buffer()
269 self->buf_begin = self->buffer; in multipart_buffer_new()
298 char* line = self->buf_begin; in next_line()
299 char* ptr = memchr(self->buf_begin, '\n', self->bytes_in_buffer); in next_line()
311 self->buf_begin = ptr + 1; in next_line()
312 self->bytes_in_buffer -= (self->buf_begin - line); in next_line()
322 self->buf_begin = ptr; in next_line()
591 …if ((bound = php_ap_memstr(self->buf_begin, self->bytes_in_buffer, self->boundary_next, self->boun… in multipart_buffer_read()
592 max = bound - self->buf_begin; in multipart_buffer_read()
593 …if (end && php_ap_memstr(self->buf_begin, self->bytes_in_buffer, self->boundary_next, self->bounda… in multipart_buffer_read()
607 memcpy(buf, self->buf_begin, len); in multipart_buffer_read()
616 self->buf_begin += len; in multipart_buffer_read()