函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-27 08:06:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Decode a literal (one 8-bit byte)

函数原型:static void lzma_literal(struct xz_dec_lzma2 *s)

返回类型:void

参数:

类型参数名称
struct xz_dec_lzma2 *s
590  probs等于Get pointer to literal coder probability array.
592  如果Test if the previous symbol was a literal.
593  symbol等于Decode a bittree starting from the most significant bit.
594  否则
595  symbol等于1
596  match_byte等于Get a byte from the dictionary at the given distance. The distance is* assumed to valid, or as a special case, zero when the dictionary is* still empty. This special case is needed for single-call decoding to左移1位
597  offset等于0x100
599  循环
600  match_bit等于match_byte按位与offset
601  match_byte左移等于1位
602  i等于offsetmatch_bitsymbol
605  symbol等于symbol左移1位的值加1
606  offset与等于match_bit
607  否则
608  symbol左移等于1位
609  offset与等于match_bit的反
611 symbol小于0x100循环
614  Put one byte into the dictionary. It is assumed that there is space for it.
615  Indicate that the latest symbol was a literal.
调用者
名称描述
lzma_mainLZMA decoder core