• Home
  • Raw
  • Download

Lines Matching refs:copy_size

812   size_t copy_size;  in bcj_flush()  local
814 copy_size = minof(s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
815 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
816 b->out_pos += copy_size; in bcj_flush()
818 s->temp.filtered -= copy_size; in bcj_flush()
819 s->temp.size -= copy_size; in bcj_flush()
820 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush()
1524 size_t copy_size; in dict_uncompressed() local
1528 copy_size = minof(b->in_size - b->in_pos, in dict_uncompressed()
1530 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
1531 copy_size = dict->end - dict->pos; in dict_uncompressed()
1532 if (copy_size > *left) in dict_uncompressed()
1533 copy_size = *left; in dict_uncompressed()
1535 *left -= copy_size; in dict_uncompressed()
1537 memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in dict_uncompressed()
1538 dict->pos += copy_size; in dict_uncompressed()
1547 copy_size); in dict_uncompressed()
1551 b->out_pos += copy_size; in dict_uncompressed()
1552 b->in_pos += copy_size; in dict_uncompressed()
1563 size_t copy_size = dict->pos - dict->start; in dict_flush() local
1569 copy_size); in dict_flush()
1572 b->out_pos += copy_size; in dict_flush()
1573 return copy_size; in dict_flush()
2486 size_t copy_size = minof(b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() local
2488 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
2489 b->in_pos += copy_size; in fill_temp()
2490 s->temp.pos += copy_size; in fill_temp()