Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 9 of 9) sorted by relevance

/lib/xz/
Dxz_dec_test.c105 size_t remaining; in xz_dec_test_write() local
119 remaining = size; in xz_dec_test_write()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write()
129 remaining -= buffers.in_size; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/lib/zstd/
Dentropy_common.c65 int remaining; in FSE_readNCount() local
81 remaining = (1 << nbBits) + 1; in FSE_readNCount()
85 while ((remaining > 1) & (charnum <= *maxSVPtr)) { in FSE_readNCount()
118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()
132 remaining -= count < 0 ? -count : count; /* -1 means +1 */ in FSE_readNCount()
135 while (remaining < threshold) { in FSE_readNCount()
150 if (remaining != 1) in FSE_readNCount()
Dfse_compress.c211 int remaining; in FSE_writeNCount_generic() local
225 remaining = tableSize + 1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
229 while (remaining > 1) { /* stops at 1 */ in FSE_writeNCount_generic()
263 int const max = (2 * threshold - 1) - remaining; in FSE_writeNCount_generic()
264 remaining -= count < 0 ? -count : count; in FSE_writeNCount_generic()
272 if (remaining < 1) in FSE_writeNCount_generic()
274 while (remaining < threshold) in FSE_writeNCount_generic()
Dcompress.c2358 size_t remaining = srcSize; in ZSTD_compress_generic() local
2367 while (remaining) { in ZSTD_compress_generic()
2368 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_generic()
2373 if (remaining < blockSize) in ZSTD_compress_generic()
2374 blockSize = remaining; in ZSTD_compress_generic()
2420 remaining -= blockSize; in ZSTD_compress_generic()
/lib/
Dhexdump.c266 int i, linelen, remaining = len; in print_hex_dump() local
273 linelen = min(remaining, rowsize); in print_hex_dump()
274 remaining -= rowsize; in print_hex_dump()
Ddigsig.c111 unsigned int remaining = endp - datap; in digsig_verify_rsa() local
112 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa()
117 datap += remaining; in digsig_verify_rsa()
Dseq_buf.c366 int i, linelen, remaining = len; local
374 linelen = min(remaining, rowsize);
375 remaining -= rowsize;
Ddynamic_debug.c557 static int remaining(int wrote) in remaining() function
571 pos += snprintf(buf + pos, remaining(pos), "<intr> "); in __dynamic_emit_prefix()
573 pos += snprintf(buf + pos, remaining(pos), "[%d] ", in __dynamic_emit_prefix()
578 pos += snprintf(buf + pos, remaining(pos), "%s:", in __dynamic_emit_prefix()
581 pos += snprintf(buf + pos, remaining(pos), "%s:", in __dynamic_emit_prefix()
584 pos += snprintf(buf + pos, remaining(pos), "%d:", in __dynamic_emit_prefix()
587 pos += snprintf(buf + pos, remaining(pos), " "); in __dynamic_emit_prefix()
Dbch.c1186 unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M]; in build_deg2_base() local
1199 remaining = m; in build_deg2_base()
1202 for (x = 0; (x <= GF_N(bch)) && remaining; x++) { in build_deg2_base()
1209 remaining--; in build_deg2_base()
1217 return remaining ? -1 : 0; in build_deg2_base()