Home | History | Annotate | Download | only in microhttpd

Lines Matching refs:buffer_pos

186   size_t buffer_pos;
372 if (equals + pp->buffer_pos > pp->buffer_size)
377 memcpy (&buf[pp->buffer_pos], &post_data[poff], equals);
378 pp->buffer_pos += equals;
381 buf[pp->buffer_pos] = '\0'; /* 0-terminate key */
382 pp->buffer_pos = 0; /* reset for next key */
539 if (pp->buffer_pos < 2 + blen)
541 if (pp->buffer_pos == pp->buffer_size)
556 dash = memchr (buf, '-', pp->buffer_pos);
558 (*ioffptr) += pp->buffer_pos; /* skip entire buffer */
644 while ((newline < pp->buffer_pos) &&
652 if (newline == pp->buffer_pos)
717 while (newline + 4 < pp->buffer_pos)
719 r = memchr (&buf[newline], '\r', pp->buffer_pos - newline - 4);
722 newline = pp->buffer_pos - 4;
730 if (newline + pp->blen + 4 <= pp->buffer_pos)
756 if ((0 == newline) && (pp->buffer_pos == pp->buffer_size))
843 ((pp->buffer_pos > 0) && (state_changed != 0)))
847 max = pp->buffer_size - pp->buffer_pos;
850 memcpy (&buf[pp->buffer_pos], &post_data[poff], max);
852 pp->buffer_pos += max;
885 if ((pp->buffer_pos > 1) && (buf[1] == '\n'))
1097 memmove (buf, &buf[ioff], pp->buffer_pos - ioff);
1098 pp->buffer_pos -= ioff;
1106 memmove (buf, &buf[ioff], pp->buffer_pos - ioff);
1107 pp->buffer_pos -= ioff;