函数逻辑报告 |
Source Code:lib\zlib_inflate\infutil.c |
Create Date:2022-07-27 07:55:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Utility function: initialize zlib, unpack binary blob, clean up zlib,* return len or negative error code.
函数原型:int zlib_inflate_blob(void *gunzip_buf, unsigned int sz, const void *buf, unsigned int len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | gunzip_buf | |
unsigned int | sz | |
const void * | buf | |
unsigned int | len |
17 | strm等于kmalloc(strm的长度, GFP_KERNEL) |
18 | 如果(strm == NULL)则转到:gunzip_nomem1 |
21 | 如果( memory allocated for this stream == NULL)则转到:gunzip_nomem2 |
27 | next input byte 等于zbuf |
32 | rc等于zlib_inflateInit2(strm, - 32K LZ77 window ) |
34 | rc等于late() uses a state machine to process as much input data and generate asmuch output data as possible before returning |
36 | 如果rc恒等于Z_STREAM_END则rc等于sz减 remaining free space at next_out |
40 | zlib_inflateEnd(strm) |
45 | gunzip_nomem2 : |
47 | gunzip_nomem1 : |
48 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |