函数逻辑报告 |
Source Code:lib\decompress_unlz4.c |
Create Date:2022-07-27 07:15:14 |
| Last Modify:2020-03-15 22:50:34 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:unlz4
函数原型:STATIC inline int __attribute__((__section__(".init.text"))) __attribute__((__cold__))unlz4(u8 *input, long in_len, long (*fill)(void *, unsigned long ), long (*flush)(void *, unsigned long ), u8 *output, long *posp, void (*error)(char *x))
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| u8 * | input | |
| long | in_len | |
| long (* | fill | |
| long (* | flush | |
| u8 * | output | |
| long * | posp | |
| void (* | error |
| 37 | ret等于负1 |
| 38 | chunksize等于0 |
| 45 | out_len等于get_unaligned_le32(input + in_len) |
| 50 | 如果output则 |
| 52 | 否则如果非flush则 |
| 55 | 否则 |
| 57 | 如果非outp则 |
| 66 | 否则如果input则 |
| 68 | 否则如果非fill则 |
| 71 | 否则 |
| 73 | 如果非inp则 |
| 83 | 如果fill则 |
| 92 | 如果chunksize恒等于ARCHIVE_MAGICNUMBER则 |
| 97 | 否则 |
| 105 | 循环 |
| 107 | 如果fill则 |
| 117 | chunksize等于get_unaligned_le32(inp) |
| 118 | 如果chunksize恒等于ARCHIVE_MAGICNUMBER则 |
| 132 | 如果非fill则 |
| 135 | 否则 |
| 147 | 如果out_len大于等于uncomp_chunksize则 |
| 148 | dest_len等于uncomp_chunksize |
| 153 | ret等于LZ4_decompress_fast(inp, outp, dest_len) |
| 161 | 如果ret小于0则 |
| 166 | ret等于负1 |
| 174 | 如果非fill则 |
| 187 | ret等于0 |
| 188 | exit_2 : |
| 189 | 如果非input则large_free(inp_start) |
| 191 | exit_1 : |
| 192 | 如果非output则large_free(outp) |
| 194 | exit_0 : |
| 195 | 返回:ret |
| 名称 | 描述 |
|---|---|
| __decompress |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |