函数逻辑报告 |
Source Code:arch\x86\boot\string.c |
Create Date:2022-07-27 08:26:18 |
Last Modify:2022-05-21 21:56:45 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert non-negative integer string representation in explicitly given radix* to an integer.* Return number of characters consumed maybe or-ed with overflow bit.* If overflow occurs, result integer (incorrect) is still returned.
函数原型:static unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *p)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | s | |
unsigned int | base | |
unsigned long long * | p |
264 | res等于0 |
265 | rv等于0 |
266 | 当1循环 |
275 | 否则退出 |
284 | 如果此条件成立可能性小(为编译器优化)(res & (~0ull << 60))则 |
285 | 如果res大于__div_u64(ULLONG_MAX - val, base)则rv或等于KSTRTOX_OVERFLOW |
289 | rv自加 |
290 | s自加 |
293 | 返回:rv |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |