Lines Matching refs:ret
79 int ret; in __split_next_bits() local
86 ret = next_bits(p, &tmp, n - s); in __split_next_bits()
87 if (ret) in __split_next_bits()
88 return ret; in __split_next_bits()
89 ret = next_bits(p, d, s); in __split_next_bits()
90 if (ret) in __split_next_bits()
91 return ret; in __split_next_bits()
143 int ret; in do_data() local
148 ret = next_bits(p, &v, n * 8); in do_data()
149 if (ret) in do_data()
150 return ret; in do_data()
175 int ret; in __do_index() local
177 ret = next_bits(p, &index, bits); in __do_index()
178 if (ret) in __do_index()
179 return ret; in __do_index()
233 int i, ret = 0; in do_op() local
245 ret = do_data(p, op & OP_AMOUNT); in do_op()
248 ret = do_index(p, op & OP_AMOUNT); in do_op()
257 if (ret) in do_op()
258 return ret; in do_op()
286 int ret; in sw842_decompress() local
302 ret = next_bits(&p, &op, OP_BITS); in sw842_decompress()
303 if (ret) in sw842_decompress()
304 return ret; in sw842_decompress()
310 ret = next_bits(&p, &rep, REPEAT_BITS); in sw842_decompress()
311 if (ret) in sw842_decompress()
312 return ret; in sw842_decompress()
346 ret = next_bits(&p, &bytes, SHORT_DATA_BITS); in sw842_decompress()
347 if (ret) in sw842_decompress()
348 return ret; in sw842_decompress()
354 ret = next_bits(&p, &tmp, 8); in sw842_decompress()
355 if (ret) in sw842_decompress()
356 return ret; in sw842_decompress()
372 ret = do_op(&p, op); in sw842_decompress()
373 if (ret) in sw842_decompress()
374 return ret; in sw842_decompress()
383 ret = next_bits(&p, &crc, CRC_BITS); in sw842_decompress()
384 if (ret) in sw842_decompress()
385 return ret; in sw842_decompress()