Function report |
Source Code:lib\xz\xz_dec_stream.c |
Create Date:2022-07-28 07:08:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xz_dec_init
Proto:struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max)
Type:struct xz_dec
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum xz_mode | mode | |
| uint32_t | dict_max |
| 788 | s = kmalloc( size of s , GFP_KERNEL) |
| 789 | If (s == NULL) Then Return NULL |
| 792 | Operation mode = mode |
| 800 | lzma2 = xz_dec_lzma2_create(mode, dict_max) |
| 801 | If (lzma2 == NULL) Then Go to error_lzma2 |
| 804 | xz_dec_reset(s) |
| 805 | Return s |
| 807 | error_lzma2 : |
| 813 | Return NULL |
| Name | Describe |
|---|---|
| unxz | This function implements the API defined in |
| xz_dec_test_init | Allocate the XZ decoder state and register the character device. |
| 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 |