函数逻辑报告 | 
Source Code:lib\842\842_compress.c | 
Create Date:2022-07-27 07:54:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:add_template
函数原型:static int add_template(struct sw842_param *p, u8 c)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct sw842_param * | p | |
| u8 | c | 
| 224 | b等于0 | 
| 226 | bool inv = false | 
| 233 | ret等于add_bits(p, t[4], additional bits of each op param ) | 
| 241 | 当: & == OP_AMOUNT_8 | 
| 251 | 当: & == OP_AMOUNT_4 | 
| 252 | 如果b恒等于2且t[i]按位与OP_ACTION_DATA则ret等于add_bits(p, get_input_data(p, 2, 32), 32) | 
| 260 | 否则inv = true | 
| 262 | 退出 | 
| 263 | 当: & == OP_AMOUNT_2 | 
| 273 | 当: & == OP_AMOUNT_0 | 
| 276 | 默认 | 
| 284 | 如果inv则 | 
| 293 | 如果b不等于8则 | 
| 296 | 返回:负EINVAL | 
| 299 | 如果sw842_template_counts则atomic_inc( & template_count[t[4]]) | 
| 302 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| process_next | d the next template to use, and add it* the p->dataN fields must already be set for the current 8 byte block | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |