Searched refs:bytestocopy (Results 1 – 2 of 2) sorted by relevance
439 bytestocopy = min(bytes, state->free_in_buffer); \440 MEMCOPY(state->next_output_byte, buffer, bytestocopy); \441 state->next_output_byte += bytestocopy; \442 buffer += bytestocopy; \443 state->free_in_buffer -= bytestocopy; \446 bytes -= bytestocopy; \461 size_t bytes, bytestocopy; int localbuf = 0; in flush_bits() local491 size_t bytes, bytestocopy; int localbuf = 0; in encode_one_block() local
565 size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, in Curl_read() local569 if(bytestocopy > 0) { in Curl_read()570 memcpy(buf, conn->master_buffer + conn->read_pos, bytestocopy); in Curl_read()571 conn->read_pos += bytestocopy; in Curl_read()574 *n = (ssize_t)bytestocopy; in Curl_read()