函数逻辑报告 |
Source Code:lib\zlib_deflate\deflate.c |
Create Date:2022-07-27 07:55:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:zlib_deflate
函数原型:int zlib_deflate(z_streamp strm, int flush)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| z_streamp | strm | |
| int | flush |
| 337 | 返回:Z_STREAM_ERROR |
| 339 | s等于 not visible by applications |
| 341 | 如果 next input byte 恒等于NULL且 number of bytes available at next_in 不等于0或as the name implies 恒等于FINISH_STATE且flush不等于Z_FINISH则 |
| 343 | 返回:Z_STREAM_ERROR |
| 345 | 如果 remaining free space at next_out 恒等于0则返回:Z_BUF_ERROR |
| 354 | header等于Possible values of the data_type field 加log2(w_size) (8..16) 减8左移4位的值左移8位 |
| 355 | level_flags等于compression level (1..9) 减1右移1位 |
| 357 | 如果level_flags大于3则level_flags等于3 |
| 358 | header或等于level_flags左移6位 |
| 363 | putShortMSB(s, header) |
| 366 | 如果start of string to insert 不等于0则 |
| 367 | putShortMSB(s, (uInt)( adler32 value of the uncompressed data >> 16)) |
| 368 | putShortMSB(s, (uInt)( adler32 value of the uncompressed data & 0xffff)) |
| 374 | 如果b of bytes in the pending buffer 不等于0则 |
| 375 | flush_pending(strm) |
| 376 | 如果 remaining free space at next_out 恒等于0则 |
| 391 | 否则如果 number of bytes available at next_in 恒等于0且flush小于等于old_flush且flush不等于Z_FINISH则 |
| 393 | 返回:Z_BUF_ERROR |
| 397 | 如果as the name implies 恒等于FINISH_STATE且 number of bytes available at next_in 不等于0则 |
| 398 | 返回:Z_BUF_ERROR |
| 413 | 如果 remaining free space at next_out 恒等于0则 |
| 425 | 如果bstate恒等于lock flush performed 则 |
| 428 | 否则如果flush恒等于Z_PACKET_FLUSH则 |
| 432 | 否则 |
| 441 | flush_pending(strm) |
| 442 | 如果 remaining free space at next_out 恒等于0则 |
| 451 | 如果suppress zlib header and adler32 则返回:Z_STREAM_END |
| 454 | putShortMSB(s, (uInt)( adler32 value of the uncompressed data >> 16)) |
| 455 | putShortMSB(s, (uInt)( adler32 value of the uncompressed data & 0xffff)) |
| 456 | flush_pending(strm) |
| 460 | suppress zlib header and adler32 等于负1 |
| 461 | 返回:如果b of bytes in the pending buffer 不等于0则Allowed flush values; see deflate() and inflate() below for details 否则Z_STREAM_END |
| 名称 | 描述 |
|---|---|
| deflate_compress |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |