Lines Matching refs:outpos
58 int outpos = 0; in rtime_compress() local
63 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in rtime_compress()
69 cpage_out[outpos++] = data_in[pos++]; in rtime_compress()
79 cpage_out[outpos++] = runlen; in rtime_compress()
82 if (outpos >= pos) { in rtime_compress()
89 *dstlen = outpos; in rtime_compress()
98 int outpos = 0; in rtime_decompress() local
103 while (outpos<destlen) { in rtime_decompress()
109 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in rtime_decompress()
113 positions[value]=outpos; in rtime_decompress()
115 if (backoffs + repeat >= outpos) { in rtime_decompress()
117 cpage_out[outpos++] = cpage_out[backoffs++]; in rtime_decompress()
121 memcpy(&cpage_out[outpos],&cpage_out[backoffs],repeat); in rtime_decompress()
122 outpos+=repeat; in rtime_decompress()