Lines Matching refs:buf_begin
189 char *buf_begin; member
217 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) { in fill_buffer()
218 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer); in fill_buffer()
221 self->buf_begin = self->buffer; in fill_buffer()
268 self->buf_begin = self->buffer; in multipart_buffer_new()
297 char* line = self->buf_begin; in next_line()
298 char* ptr = memchr(self->buf_begin, '\n', self->bytes_in_buffer); in next_line()
310 self->buf_begin = ptr + 1; in next_line()
311 self->bytes_in_buffer -= (self->buf_begin - line); in next_line()
321 self->buf_begin = ptr; in next_line()
590 …if ((bound = php_ap_memstr(self->buf_begin, self->bytes_in_buffer, self->boundary_next, self->boun… in multipart_buffer_read()
591 max = bound - self->buf_begin; in multipart_buffer_read()
592 …if (end && php_ap_memstr(self->buf_begin, self->bytes_in_buffer, self->boundary_next, self->bounda… in multipart_buffer_read()
606 memcpy(buf, self->buf_begin, len); in multipart_buffer_read()
615 self->buf_begin += len; in multipart_buffer_read()