Searched refs:bytestocopy (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/third-party/miniupnp/
H A Dminiwget.c69 unsigned int bytestocopy = 0; local
226 bytestocopy = ((int)chunksize < (n - i))?chunksize:(unsigned int)(n - i);
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;
239 i += bytestocopy;
240 chunksize -= bytestocopy;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dsendf.c543 size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, local
547 if(bytestocopy > 0) {
548 memcpy(buf, conn->master_buffer + conn->read_pos, bytestocopy);
549 conn->read_pos += bytestocopy;
552 *n = (ssize_t)bytestocopy;

Completed in 81 milliseconds