Searched refs:copy_size (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib/
H A Dbuffer.c262 const buffer_t *_src, size_t src_pos, size_t copy_size)
271 if (copy_size > max_size)
272 copy_size = max_size;
274 buffer_check_limits(dest, dest_pos, copy_size);
279 src->r_buffer + src_pos, copy_size);
282 src->r_buffer + src_pos, copy_size);
287 size_t src_pos, size_t copy_size)
289 buffer_copy(dest, dest->used, src, src_pos, copy_size);
261 buffer_copy(buffer_t *_dest, size_t dest_pos, const buffer_t *_src, size_t src_pos, size_t copy_size) argument
286 buffer_append_buf(buffer_t *dest, const buffer_t *src, size_t src_pos, size_t copy_size) argument
H A Dbuffer.h68 like functionality). copy_size may be set to (size_t)-1 to copy the rest of
71 const buffer_t *src, size_t src_pos, size_t copy_size);
72 /* Append data to buffer from another. copy_size may be set to (size_t)-1 to
75 size_t src_pos, size_t copy_size);
H A Dostream-file.c618 size_t avail, copy_size; local
628 copy_size = I_MIN(size, avail);
629 memcpy(fstream->buffer + pos, data, copy_size);
630 data = CONST_PTR_OFFSET(data, copy_size);
631 size -= copy_size;
635 copy_size = I_MIN(size, fstream->tail);
636 memcpy(fstream->buffer, data, copy_size);
637 size -= copy_size;

Completed in 24 milliseconds