函数逻辑报告 | 
Source Code:lib\test_string.c | 
Create Date:2022-07-27 07:22:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:strchr_selftest
函数原型:static __init int strchr_selftest(void)
返回类型:int
参数:无
| 117 | test_string等于"abcdefghijkl" | 
| 118 | empty_string等于"" | 
| 122 | 以i小于strlen(test_string)加1循环 | 
| 123 | result等于strchr(test_string, test_string[i]) | 
| 124 | 如果result减test_string不等于i则返回:i加'a' | 
| 128 | result等于strchr(empty_string, '\0') | 
| 129 | 如果result不等于empty_string则返回:0x101 | 
| 132 | result等于strchr(empty_string, 'a') | 
| 133 | 如果result则返回:0x102 | 
| 136 | result等于strchr(test_string, 'z') | 
| 137 | 如果result则返回:0x103 | 
| 140 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| string_selftest_init | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |