Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-28 07:08:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Decode a repeated match. The distance is one of the four most recently* seen matches. The distance will be stored in s->lzma.rep0.

Proto:static void lzma_rep_match(struct xz_dec_lzma2 *s, uint32_t pos_state)

Type:void

Parameter:

TypeParameterName
struct xz_dec_lzma2 *s
uint32_tpos_state
692  If Not Decode one bit. In some versions, this function has been splitted in three* functions so that the compiler is supposed to be able to more easily avoid* an extra branch. In this particular version of the LZMA decoder, this Then
697  Return
699  Else
701  tmp = rep1
702  Else
704  tmp = rep2
705  Else
706  tmp = rep3
707  rep3 = rep2
710  rep2 = rep1
713  rep1 = Distances of latest four matches
714  Distances of latest four matches = tmp
717  Indicate that the latest state was a long repeated match.
718  Decode the length of the match into s->lzma.len.
Caller
NameDescribe
lzma_mainLZMA decoder core