Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 8 of 8) 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.c244 int i, linelen, remaining = len; in print_hex_dump() local
251 linelen = min(remaining, rowsize); in print_hex_dump()
252 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()
Ddynamic_debug.c514 static int remaining(int wrote) in remaining() function
530 pos += snprintf(buf + pos, remaining(pos), "<intr> "); in dynamic_emit_prefix()
532 pos += snprintf(buf + pos, remaining(pos), "[%d] ", in dynamic_emit_prefix()
537 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
540 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
543 pos += snprintf(buf + pos, remaining(pos), "%d:", in dynamic_emit_prefix()
546 pos += snprintf(buf + pos, remaining(pos), " "); in dynamic_emit_prefix()
Dbch.c1127 unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M]; in build_deg2_base() local
1140 remaining = m; in build_deg2_base()
1143 for (x = 0; (x <= GF_N(bch)) && remaining; x++) { in build_deg2_base()
1150 remaining--; in build_deg2_base()
1158 return remaining ? -1 : 0; in build_deg2_base()