Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\bitstream.h Create Date:2022-07-28 07:01:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:BIT_reloadDStream

Proto:ZSTD_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t *bitD)

Type:BIT_DStream_status

Parameter:

TypeParameterName
BIT_DStream_t *bitD
343  If bitsConsumed > size of bitContainer * 8 Then Return BIT_DStream_overflow
346  If ptr >= start + size of bitContainer Then
347  ptr -= bitsConsumed >> 3
348  bitsConsumed &= 7
349  bitContainer = ZSTD_readLEST(ptr)
350  Return BIT_DStream_unfinished
352  If ptr == start Then
353  If bitsConsumed < size of bitContainer * 8 Then Return BIT_DStream_endOfBuffer
355  Return BIT_DStream_completed
358  nbBytes = bitsConsumed >> 3
359  result = BIT_DStream_unfinished
360  If ptr - nbBytes < start Then
361  nbBytes = ptr - start
364  ptr -= nbBytes
365  bitsConsumed -= nbBytes * 8
366  bitContainer = ZSTD_readLEST(ptr)
367  Return result
Caller
NameDescribe
FSE_decompress_usingDTable_generic
HUF_decodeStreamX2
HUF_decompress4X2_usingDTable_internal
HUF_decodeStreamX4
HUF_decompress4X4_usingDTable_internal
ZSTD_decodeSequence
ZSTD_decompressSequences
ZSTD_decodeSequenceLong_generic
ZSTD_decompressSequencesLong