Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:50:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:deflate_decompress
Proto:static int deflate_decompress(char *src, size_t slen, char *dst, size_t dlen)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | src | |
| size_t | slen | |
| char * | dst | |
| size_t | dlen |
| 1332 | If aa_g_rawdata_compression_level == 0 Then |
| 1342 | If Not memory allocated for this stream Then Return -ENOMEM |
| 1345 | next input byte = src |
| 1348 | error = zlib_inflateInit( & strm) |
| 1351 | Go to fail_inflate_init |
| 1357 | error = late() uses a state machine to process as much input data and generate asmuch output data as possible before returning |
| 1358 | If error != Z_STREAM_END Then error = -EINVAL |
| 1360 | Else error = 0 |
| 1363 | zlib_inflateEnd( & strm) |
| 1364 | fail_inflate_init : |
| 1366 | Return error |
| Name | Describe |
|---|---|
| rawdata_open |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |