Searched refs:remaining (Results 1 – 10 of 10) 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/common/ |
D | entropy_common.c | 66 int remaining; in FSE_readNCount_body() local 94 remaining = (1<<nbBits)+1; in FSE_readNCount_body() 149 int const max = (2*threshold-1) - remaining; in FSE_readNCount_body() 166 remaining -= count; in FSE_readNCount_body() 169 remaining += count; in FSE_readNCount_body() 175 if (remaining < threshold) { in FSE_readNCount_body() 180 if (remaining <= 1) break; in FSE_readNCount_body() 181 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body() 196 if (remaining != 1) return ERROR(corruption_detected); in FSE_readNCount_body()
|
/lib/ |
D | hexdump.c | 266 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()
|
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 | seq_buf.c | 398 int i, linelen, remaining = len; local 406 linelen = min(remaining, rowsize); 407 remaining -= rowsize;
|
D | dynamic_debug.c | 818 static int remaining(int wrote) in remaining() function 832 pos += snprintf(buf + pos, remaining(pos), "<intr> "); in __dynamic_emit_prefix() 834 pos += snprintf(buf + pos, remaining(pos), "[%d] ", in __dynamic_emit_prefix() 839 pos += snprintf(buf + pos, remaining(pos), "%s:", in __dynamic_emit_prefix() 842 pos += snprintf(buf + pos, remaining(pos), "%s:", in __dynamic_emit_prefix() 845 pos += snprintf(buf + pos, remaining(pos), "%s:", in __dynamic_emit_prefix() 848 pos += snprintf(buf + pos, remaining(pos), "%d:", in __dynamic_emit_prefix() 851 pos += snprintf(buf + pos, remaining(pos), " "); in __dynamic_emit_prefix()
|
D | bch.c | 1152 unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M]; in build_deg2_base() local 1165 remaining = m; in build_deg2_base() 1168 for (x = 0; (x <= GF_N(bch)) && remaining; x++) { in build_deg2_base() 1175 remaining--; in build_deg2_base() 1183 return remaining ? -1 : 0; in build_deg2_base()
|
/lib/zstd/compress/ |
D | fse_compress.c | 242 int remaining; in FSE_writeNCount_generic() local 255 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic() 259 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic() 291 int const max = (2*threshold-1) - remaining; in FSE_writeNCount_generic() 292 remaining -= count < 0 ? -count : count; in FSE_writeNCount_generic() 300 if (remaining<1) return ERROR(GENERIC); in FSE_writeNCount_generic() 301 while (remaining<threshold) { nbBits--; threshold>>=1; } in FSE_writeNCount_generic() 313 if (remaining != 1) in FSE_writeNCount_generic()
|
D | zstd_ldm.c | 529 size_t const remaining = (size_t)(iend - chunkStart); in ZSTD_ldm_generateSequences() local 531 (remaining < kMaxChunkSize) ? iend : chunkStart + kMaxChunkSize; in ZSTD_ldm_generateSequences() 620 U32 const remaining, U32 const minMatch) in maybeSplitSequence() argument 625 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence() 630 if (remaining <= sequence.litLength) { in maybeSplitSequence() 632 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence() 633 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence() 639 ZSTD_ldm_skipSequences(rawSeqStore, remaining, minMatch); in maybeSplitSequence()
|
D | zstd_compress.c | 3847 size_t remaining = srcSize; in ZSTD_compress_frameChunk() local 3859 while (remaining) { in ZSTD_compress_frameChunk() 3861 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_frameChunk() 3866 if (remaining < blockSize) blockSize = remaining; in ZSTD_compress_frameChunk() 3906 assert(remaining >= blockSize); in ZSTD_compress_frameChunk() 3907 remaining -= blockSize; in ZSTD_compress_frameChunk() 5811 size_t remaining = srcSize; in ZSTD_compressSequences_internal() local 5820 if (remaining == 0) { in ZSTD_compressSequences_internal() 5829 while (remaining) { in ZSTD_compressSequences_internal() 5832 lastBlock = remaining <= cctx->blockSize; in ZSTD_compressSequences_internal() [all …]
|