函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:HUF_decompress4X2_usingDTable_internal

函数原型:static size_t HUF_decompress4X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, const HUF_DTable *DTable)

返回类型:size_t

参数:

类型参数名称
void *dst
size_tdstSize
const void *cSrc
size_tcSrcSize
const HUF_DTable *DTable
250  如果cSrcSize小于10则返回:-***************************************** Error codes handling(corruption_detected)
254  istart等于cSrc
255  ostart等于dst
256  oend等于ostartdstSize
257  dtPtr等于DTable加1
258  dt等于dtPtr
265  length1等于=== Little endian r/w ===
266  length2等于=== Little endian r/w ===
267  length3等于=== Little endian r/w ===
268  length4等于cSrcSizelength1length2length3加6
269  istart1等于istart加6
270  istart2等于istart1length1
271  istart3等于istart2length2
272  istart4等于istart3length3
273  segmentSize等于dstSize加3的和除4
274  opStart2等于ostartsegmentSize
275  opStart3等于opStart2segmentSize
276  opStart4等于opStart3segmentSize
277  op1等于ostart
278  op2等于opStart2
279  op3等于opStart3
280  op4等于opStart4
282  dtd等于HUF_getDTableDesc(DTable)
283  dtLog等于tableLog
285  如果length4大于cSrcSize则返回:-***************************************** Error codes handling(corruption_detected)
288  errorCode等于1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :(
289  如果HUF_isError(errorCode)则返回:errorCode
293  errorCode等于1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :(
294  如果HUF_isError(errorCode)则返回:errorCode
298  errorCode等于1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :(
299  如果HUF_isError(errorCode)则返回:errorCode
303  errorCode等于1,2,4,8 would be better for bitmap combinations, but slows down performance a bit ... :(
304  如果HUF_isError(errorCode)则返回:errorCode
309  endSignal等于BIT_reloadDStream( & bitD1)按位或BIT_reloadDStream( & bitD2)按位或BIT_reloadDStream( & bitD3)按位或BIT_reloadDStream( & bitD4)
310 endSignal恒等于BIT_DStream_unfinishedop4小于oend减7循环
323  HUF_DECODE_SYMBOLX2_0(op1, & bitD1)
324  HUF_DECODE_SYMBOLX2_0(op2, & bitD2)
325  HUF_DECODE_SYMBOLX2_0(op3, & bitD3)
326  HUF_DECODE_SYMBOLX2_0(op4, & bitD4)
327  endSignal等于BIT_reloadDStream( & bitD1)按位或BIT_reloadDStream( & bitD2)按位或BIT_reloadDStream( & bitD3)按位或BIT_reloadDStream( & bitD4)
331  如果op1大于opStart2则返回:-***************************************** Error codes handling(corruption_detected)
333  如果op2大于opStart3则返回:-***************************************** Error codes handling(corruption_detected)
335  如果op3大于opStart4则返回:-***************************************** Error codes handling(corruption_detected)
340  HUF_decodeStreamX2(op1, & bitD1, opStart2, dt, dtLog)
341  HUF_decodeStreamX2(op2, & bitD2, opStart3, dt, dtLog)
342  HUF_decodeStreamX2(op3, & bitD3, opStart4, dt, dtLog)
343  HUF_decodeStreamX2(op4, & bitD4, oend, dt, dtLog)
346  endSignal等于 Tells if DStream has exactly reached its end (all bits consumed).按位与 Tells if DStream has exactly reached its end (all bits consumed).按位与 Tells if DStream has exactly reached its end (all bits consumed).按位与 Tells if DStream has exactly reached its end (all bits consumed).
347  如果非endSignal则返回:-***************************************** Error codes handling(corruption_detected)
351  返回:dstSize
调用者
名称描述
HUF_decompress4X2_usingDTable
HUF_decompress4X2_DCtx_wksp
HUF_decompress4X_usingDTable