Searched refs:remaining (Results 1 – 8 of 8) sorted by relevance
/lib/xz/ |
D | xz_dec_test.c | 105 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/ |
D | entropy_common.c | 65 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()
|
D | fse_compress.c | 211 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()
|
D | compress.c | 2358 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/ |
D | hexdump.c | 244 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()
|
D | digsig.c | 111 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()
|
D | dynamic_debug.c | 514 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()
|
D | bch.c | 1127 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()
|