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