Lines Matching defs:buffer
129 * This function will be called to loop through the trailers buffer
132 static size_t trailers_read(char *buffer, size_t size, size_t nitems,
141 memcpy(buffer,
158 * This function will call the read callback to fill our buffer with data
177 so we compile and store the trailers buffer, then proceed */
320 /* move buffer pointer */
324 /* copy the prefix to the buffer, leaving out the NUL */
419 * @param buf buffer to keep response data received
461 * buffer)
475 DEBUGASSERT(data->state.buffer);
492 buf = data->state.buffer;
637 present in the upload buffer, or if appending to upload buffer */
709 /* Do we need to allocate a scratch buffer? */
713 failf(data, "Failed to alloc scratch buffer");
747 /* upload from the new (replaced) buffer instead */
762 } /* if 0 == k->upload_present or appended to upload buffer */
764 /* We have a partial buffer left from a previous "round". Use
771 k->upload_fromhere, /* buffer pointer */
772 k->upload_present, /* buffer size */
816 /* we only wrote a part of the buffer (if anything), deal with it! */
818 /* store the amount of bytes left in the buffer to write */
821 /* advance the pointer where to find the buffer when the next send
826 /* we've uploaded that buffer now */
923 buffer) */