函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Read the first five initial bytes into rc->code if they haven't been* read already. (Yes, the first byte gets completely ignored.)

函数原型:static bool rc_read_init(struct rc_dec *rc, struct xz_buf *b)

返回类型:bool

参数:

类型参数名称
struct rc_dec *rc
struct xz_buf *b
451 Number of initializing bytes remaining to be read* by rc_read_init().大于0循环
452  如果in_pos恒等于in_size则返回:false
455  code等于code左移8位的值加in[in_pos++]
456  Number of initializing bytes remaining to be read* by rc_read_init().先自减
459  返回:true
调用者
名称描述
xz_dec_lzma2_runTake care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions.