Home
last modified time | relevance | path

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

/lib/zstd/compress/
Dzstd_ldm.c585 rawSeq sequence = rawSeqStore->seq[rawSeqStore->pos]; in maybeSplitSequence() local
586 assert(sequence.offset > 0); in maybeSplitSequence()
588 if (remaining >= sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
590 return sequence; in maybeSplitSequence()
593 if (remaining <= sequence.litLength) { in maybeSplitSequence()
594 sequence.offset = 0; in maybeSplitSequence()
595 } else if (remaining < sequence.litLength + sequence.matchLength) { in maybeSplitSequence()
596 sequence.matchLength = remaining - sequence.litLength; in maybeSplitSequence()
597 if (sequence.matchLength < minMatch) { in maybeSplitSequence()
598 sequence.offset = 0; in maybeSplitSequence()
[all …]
Dzstd_compress_superblock.c744 const seqDef* const sequence = sp + seqCount; in ZSTD_compressSubBlock_multi() local
745 lastSequence = sequence == send - 1; in ZSTD_compressSubBlock_multi()
746 litSize += ZSTD_getSequenceLength(seqStorePtr, sequence).litLength; in ZSTD_compressSubBlock_multi()
/lib/xz/
Dxz_dec_stream.c33 } sequence; member
103 } sequence; member
307 switch (s->index.sequence) { in dec_index()
319 s->index.sequence = SEQ_INDEX_UNPADDED; in dec_index()
324 s->index.sequence = SEQ_INDEX_UNCOMPRESSED; in dec_index()
334 s->index.sequence = SEQ_INDEX_UNPADDED; in dec_index()
560 switch (s->sequence) { in dec_main()
580 s->sequence = SEQ_BLOCK_START; in dec_main()
596 s->sequence = SEQ_INDEX; in dec_main()
609 s->sequence = SEQ_BLOCK_HEADER; in dec_main()
[all …]
Dxz_dec_lzma2.c226 } sequence; member
969 while (b->in_pos < b->in_size || s->lzma2.sequence == SEQ_LZMA_RUN) { in xz_dec_lzma2_run()
970 switch (s->lzma2.sequence) { in xz_dec_lzma2_run()
1018 s->lzma2.sequence = SEQ_UNCOMPRESSED_1; in xz_dec_lzma2_run()
1043 s->lzma2.sequence = SEQ_COMPRESSED_0; in xz_dec_lzma2_run()
1052 s->lzma2.sequence = SEQ_UNCOMPRESSED_2; in xz_dec_lzma2_run()
1058 s->lzma2.sequence = SEQ_COMPRESSED_0; in xz_dec_lzma2_run()
1064 s->lzma2.sequence = SEQ_COMPRESSED_1; in xz_dec_lzma2_run()
1070 s->lzma2.sequence = s->lzma2.next_sequence; in xz_dec_lzma2_run()
1077 s->lzma2.sequence = SEQ_LZMA_PREPARE; in xz_dec_lzma2_run()
[all …]
/lib/zstd/decompress/
Dzstd_decompress_block.c766 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument
770 BYTE* const oLitEnd = op + sequence.litLength; in ZSTD_execSequenceEnd()
771 size_t const sequenceLength = sequence.litLength + sequence.matchLength; in ZSTD_execSequenceEnd()
772 const BYTE* const iLitEnd = *litPtr + sequence.litLength; in ZSTD_execSequenceEnd()
773 const BYTE* match = oLitEnd - sequence.offset; in ZSTD_execSequenceEnd()
778 …RETURN_ERROR_IF(sequence.litLength > (size_t)(litLimit - *litPtr), corruption_detected, "try to re… in ZSTD_execSequenceEnd()
783 ZSTD_safecopy(op, oend_w, *litPtr, sequence.litLength, ZSTD_no_overlap); in ZSTD_execSequenceEnd()
788 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd()
790 … RETURN_ERROR_IF(sequence.offset > (size_t)(oLitEnd - virtualStart), corruption_detected, ""); in ZSTD_execSequenceEnd()
792 if (match + sequence.matchLength <= dictEnd) { in ZSTD_execSequenceEnd()
[all …]
Dhuf_decompress.c520 typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX2; /* double-symbols decoding … member
544 MEM_writeLE16(&(DElt.sequence), baseSeq); in HUF_fillDTableX2Level2()
561 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8))); in HUF_fillDTableX2Level2()
606 MEM_writeLE16(&(DElt.sequence), symbol); in HUF_fillDTableX2()
/lib/
Dflex_proportions.c47 seqcount_init(&p->sequence); in fprop_global_init()
74 write_seqcount_begin(&p->sequence); in fprop_new_period()
80 write_seqcount_end(&p->sequence); in fprop_new_period()
143 seq = read_seqcount_begin(&p->sequence); in fprop_fraction_single()
147 } while (read_seqcount_retry(&p->sequence, seq)); in fprop_fraction_single()
232 seq = read_seqcount_begin(&p->sequence); in fprop_fraction_percpu()
236 } while (read_seqcount_retry(&p->sequence, seq)); in fprop_fraction_percpu()
DKconfig.debug591 string "Char sequence that enables magic SysRq over serial"
595 Specifies a sequence of characters that can follow BREAK to enable
2748 which will trigger a sequence of floating point operations. This is used
/lib/lz4/
Dlz4_compress.c49 U32 sequence, in LZ4_hash4() argument
53 return ((sequence * 2654435761U) in LZ4_hash4()
56 return ((sequence * 2654435761U) in LZ4_hash4()
61 U64 sequence, in LZ4_hash5() argument
71 return (U32)(((sequence << 24) * prime5bytes) >> (64 - hashLog)); in LZ4_hash5()
75 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()