Lines Matching refs:copy_size
379 size_t copy_size; in dict_uncompressed() local
383 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed()
385 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
386 copy_size = dict->end - dict->pos; in dict_uncompressed()
387 if (copy_size > *left) in dict_uncompressed()
388 copy_size = *left; in dict_uncompressed()
390 *left -= copy_size; in dict_uncompressed()
392 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
393 dict->pos += copy_size; in dict_uncompressed()
403 copy_size); in dict_uncompressed()
408 b->out_pos += copy_size; in dict_uncompressed()
409 b->in_pos += copy_size; in dict_uncompressed()
420 size_t copy_size = dict->pos - dict->start; in dict_flush() local
427 copy_size); in dict_flush()
431 b->out_pos += copy_size; in dict_flush()
432 return copy_size; in dict_flush()