函数逻辑报告 |
Source Code:lib\parser.c |
Create Date:2022-07-27 07:16:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:match_one: - Determines if a string matches a simple pattern*@s: the string to examine for presence of the pattern*@p: the string containing the pattern*@args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match* locations.
函数原型:static int match_one(char *s, const char *p, substring_t args[])
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | s | |
| const char * | p | |
| substring_t | args |
| 27 | argc等于0 |
| 29 | 如果非p则返回:1 |
| 32 | 当1循环 |
| 33 | len等于负1 |
| 38 | 如果字符串指定长度比较则返回:0 |
| 44 | 如果isdigit( * p)则len等于转换字符串为无符号整形 |
| 46 | 否则如果p恒等于'%'则 |
| 53 | 如果argc大于等于MAX_OPT_ARGS则返回:0 |
| 58 | 当:++ == 's' |
| 68 | 当:++ == 'd' |
| 71 | 当:++ == 'u' |
| 72 | 转换字符串为无符号整形 |
| 73 | 转到:num |
| 74 | 当:++ == 'o' |
| 75 | 转换字符串为无符号整形 |
| 76 | 转到:num |
| 77 | 当:++ == 'x' |
| 83 | 默认 |
| 84 | 返回:0 |
| 87 | argc自加 |
| 名称 | 描述 |
|---|---|
| match_token | match_token: - Find a token (and optional args) in a string*@s: the string to examine for token/argument pairs*@table: match_table_t describing the set of allowed option tokens and the* arguments that may be associated with them. Must be terminated with a |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |