函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:26 |
Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bitmap_string
函数原型:static __attribute__((__noinline__)) char *bitmap_string(char *buf, char *end, unsigned long *bitmap, struct printf_spec spec, const char *fmt)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | buf | |
char * | end | |
unsigned long * | bitmap | |
struct printf_spec | spec | |
const char * | fmt |
1157 | CHUNKSZ等于32 |
1158 | nr_bits等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, width of output field , 0) |
1160 | bool first = true |
1166 | spec = (struct printf_spec){ flags to number() = use lowercase in hex (must be 32 == 0x20) | pad with zero, must be 16 == '0' - ' ' , number base, 8, 10 or 16 only = 16} |
1172 | i等于@a is a power of 2 value (nr_bits, CHUNKSZ)减CHUNKSZ |
1178 | word等于i除BITS_PER_LONG |
1179 | bit等于i取模BITS_PER_LONG |
1182 | 如果非first则 |
1187 | first = false |
1189 | width of output field 等于DIV_ROUND_UP(chunksz, 4) |
1194 | 返回:buf |
名称 | 描述 |
---|---|
pointer | Show a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |