函数逻辑报告 |
Source Code:block\sed-opal.c |
Create Date:2022-07-27 19:45:50 |
| Last Modify:2020-03-17 23:36:33 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:response_parse
函数原型:static int response_parse(const u8 *buf, size_t length, struct parsed_resp *resp)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const u8 * | buf | |
| size_t | length | |
| struct parsed_resp * | resp |
| 853 | num_entries等于0 |
| 869 | clen等于be32_to_cpu(length) |
| 870 | plen等于be32_to_cpu(length) |
| 871 | slen等于be32_to_cpu(length) |
| 879 | print_buffer(pos, hdr的长度) |
| 880 | 返回:负EINVAL |
| 888 | print_buffer(pos, total) |
| 890 | 如果pos[0]小于等于Derived from TCG Core spec 2.01 Section:* 3.2.2.1* Data Type则token_length等于response_parse_tiny(iter, pos) |
| 892 | 否则如果pos[0]小于等于SHORT_ATOM_BYTE则token_length等于response_parse_short(iter, pos) |
| 894 | 否则如果pos[0]小于等于MEDIUM_ATOM_BYTE则token_length等于response_parse_medium(iter, pos) |
| 896 | 否则如果pos[0]小于等于LONG_ATOM_BYTE则token_length等于response_parse_long(iter, pos) |
| 898 | 否则token_length等于response_parse_token(iter, pos) |
| 901 | 如果token_length小于0则返回:token_length |
| 904 | pos加等于token_length |
| 905 | total减等于token_length |
| 906 | iter自加 |
| 907 | num_entries自加 |
| 910 | num等于num_entries |
| 912 | 返回:0 |
| 名称 | 描述 |
|---|---|
| parse_and_check_status | Parses and checks for errors |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |