Home
last modified time | relevance | path

Searched refs:left (Results 1 – 12 of 12) sorted by relevance

/lib/zlib_inflate/
Dinftrees.c32 int left; /* number of prefix codes available */ in zlib_inflate_table() local
117 left = 1; in zlib_inflate_table()
119 left <<= 1; in zlib_inflate_table()
120 left -= count[len]; in zlib_inflate_table()
121 if (left < 0) return -1; /* over-subscribed */ in zlib_inflate_table()
123 if (left > 0 && (type == CODES || max != 1)) in zlib_inflate_table()
256 left = (int)(1 << curr); in zlib_inflate_table()
258 left -= count[curr + drop]; in zlib_inflate_table()
259 if (left <= 0) break; in zlib_inflate_table()
261 left <<= 1; in zlib_inflate_table()
Dinflate.c188 left = strm->avail_out; \
199 strm->avail_out = left; \
336 unsigned have, left; /* available input and output */ in zlib_inflate() local
361 out = left; in zlib_inflate()
454 if (copy > left) copy = left; in zlib_inflate()
459 left -= copy; in zlib_inflate()
580 if (have >= 6 && left >= 258) { in zlib_inflate()
666 if (state->offset > state->whave + out - left) { in zlib_inflate()
674 if (left == 0) goto inf_leave; in zlib_inflate()
675 copy = out - left; in zlib_inflate()
[all …]
/lib/
Dsiphash.c50 const u8 left = len & (sizeof(u64) - 1); in __siphash_aligned() local
61 if (left) in __siphash_aligned()
63 bytemask_from_count(left))); in __siphash_aligned()
65 switch (left) { in __siphash_aligned()
83 const u8 left = len & (sizeof(u64) - 1); in __siphash_unaligned() local
94 if (left) in __siphash_unaligned()
96 bytemask_from_count(left))); in __siphash_unaligned()
98 switch (left) { in __siphash_unaligned()
251 const u8 left = len & (sizeof(u64) - 1); in __hsiphash_aligned() local
261 if (left) in __hsiphash_aligned()
[all …]
Diov_iter.c46 unsigned left; \
52 left = (STEP); \
54 len -= left; \
62 if (left) \
82 unsigned left; \
95 left = (STEP); \
97 len -= left; \
100 if (left || n == 0) \
176 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
199 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
[all …]
Dbtree.c521 unsigned long *left, int lfill, in merge() argument
529 setkey(geo, left, lfill + i, bkey(geo, right, i)); in merge()
530 setval(geo, left, lfill + i, bval(geo, right, i)); in merge()
534 setval(geo, parent, lpos + 1, left); in merge()
543 unsigned long *parent, *left = NULL, *right = NULL; in rebalance() local
561 left = bval(geo, parent, i - 1); in rebalance()
562 no_left = getfill(geo, left, 0); in rebalance()
565 left, no_left, in rebalance()
Dscatterlist.c288 unsigned int left; in __sg_alloc_table() local
301 left = nents; in __sg_alloc_table()
304 unsigned int sg_size, alloc_size = left; in __sg_alloc_table()
312 left -= sg_size; in __sg_alloc_table()
348 if (!left) in __sg_alloc_table()
354 } while (left); in __sg_alloc_table()
DKconfig.ubsan93 operations that overflow to the left or go switch to negative
/lib/xz/
Dxz_dec_lzma2.c353 uint32_t left; in dict_repeat() local
358 left = min_t(size_t, dict->limit - dict->pos, *len); in dict_repeat()
359 *len -= left; in dict_repeat()
369 } while (--left > 0); in dict_repeat()
379 uint32_t *left) in dict_uncompressed() argument
383 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
389 if (copy_size > *left) in dict_uncompressed()
390 copy_size = *left; in dict_uncompressed()
392 *left -= copy_size; in dict_uncompressed()
/lib/raid6/
Dint.uc57 * The SHLBYTE() operation shifts each byte left by 1, *not*
135 /* P/Q left side optimization */
Ds390vx.uc29 * vector register y left by 1 bit and stores the result in
143 /* P/Q left side optimization */
Dneon.uc34 * The SHLBYTE() operation shifts each byte left by 1, *not*
115 /* P/Q left side optimization */
Daltivec.uc47 * The SHLBYTE() operation shifts each byte left by 1, *not*