Lines Matching refs:content_buf_used
76 unsigned int content_buf_used = 0;
227 if((content_buf_used + bytestocopy) > content_buf_len)
229 if(content_length >= (int)(content_buf_used + bytestocopy)) {
232 content_buf_len = content_buf_used + bytestocopy;
237 memcpy(content_buf + content_buf_used, buf + i, bytestocopy);
238 content_buf_used += bytestocopy;
247 && (int)(content_buf_used + n) > content_length) {
249 n = content_length - content_buf_used;
251 if(content_buf_used + n > content_buf_len)
253 if(content_length >= (int)(content_buf_used + n)) {
256 content_buf_len = content_buf_used + n;
261 memcpy(content_buf + content_buf_used, buf, n);
262 content_buf_used += n;
266 if(content_length > 0 && (int)content_buf_used >= content_length)
276 *size = content_buf_used;
277 if(content_buf_used == 0)