Lines Matching refs:length
53 size_t length; in lz4_uncompress() local
63 length = (token >> ML_BITS); in lz4_uncompress()
64 if (length == RUN_MASK) { in lz4_uncompress()
68 for (; len == 255; length += 255) in lz4_uncompress()
70 length += len; in lz4_uncompress()
74 cpy = op + length; in lz4_uncompress()
83 memcpy(op, ip, length); in lz4_uncompress()
84 ip += length; in lz4_uncompress()
102 length = token & ML_MASK; in lz4_uncompress()
103 if (length == ML_MASK) { in lz4_uncompress()
104 for (; *ip == 255; length += 255) in lz4_uncompress()
106 length += *ip++; in lz4_uncompress()
129 cpy = op + length - (STEPSIZE - 4); in lz4_uncompress()
187 size_t length; in lz4_uncompress_unknownoutputsize() local
191 length = (token >> ML_BITS); in lz4_uncompress_unknownoutputsize()
192 if (length == RUN_MASK) { in lz4_uncompress_unknownoutputsize()
196 length += s; in lz4_uncompress_unknownoutputsize()
200 cpy = op + length; in lz4_uncompress_unknownoutputsize()
202 (ip + length > iend - COPYLENGTH)) { in lz4_uncompress_unknownoutputsize()
207 if (ip + length != iend) in lz4_uncompress_unknownoutputsize()
213 memcpy(op, ip, length); in lz4_uncompress_unknownoutputsize()
214 op += length; in lz4_uncompress_unknownoutputsize()
234 length = (token & ML_MASK); in lz4_uncompress_unknownoutputsize()
235 if (length == ML_MASK) { in lz4_uncompress_unknownoutputsize()
238 length += s; in lz4_uncompress_unknownoutputsize()
265 cpy = op + length - (STEPSIZE-4); in lz4_uncompress_unknownoutputsize()