函数逻辑报告 |
Source Code:lib\decompress_bunzip2.c |
Create Date:2022-07-27 07:14:08 |
| Last Modify:2020-03-15 22:49:38 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Undo burrows-wheeler transform on intermediate buffer to produce output.If start_bunzip was initialized with out_fd =-1, then up to len bytes ofdata are written to outbuf. Return value is number of bytes written orerror (all errors are negative numbers)
函数原型:static int __attribute__((__section__(".init.text"))) __attribute__((__cold__))read_bunzip(struct bunzip_data *bd, char *outbuf, int len)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bunzip_data * | bd | |
| char * | outbuf | |
| int | len |
| 532 | gotcount等于0 |
| 545 | 循环 |
| 552 | 返回:len |
| 563 | 继续下一循环 |
| 565 | decode_next_byte : |
| 566 | 如果非State for interrupting output loop 自减则退出 |
| 573 | pos右移等于8位 |
| 578 | 如果State for interrupting output loop 先自减则 |
| 579 | 如果xcurrent不等于previous则State for interrupting output loop 等于4 |
| 581 | 否则 |
| 597 | The CRC values stored in the block header and calculated from thedata 等于The CRC values stored in the block header and calculated from thedata 的反 |
| 611 | 如果previous则 |
| 613 | 返回:如果previous不等于RETVAL_LAST_BLOCK则previous否则gotcount |
| 615 | The CRC values stored in the block header and calculated from thedata 等于0xffffffffUL |
| 618 | 转到:decode_next_byte |
| 名称 | 描述 |
|---|---|
| bunzip2 | Example usage: decompress src_fd to dst_fd. (Stops at end of bzip2 data,not end of file.) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |