函数逻辑报告 | 
Source Code:lib\vsprintf.c | 
Create Date:2022-07-27 07:09:16 | 
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:number
函数原型:static __attribute__((__noinline__)) char *number(char *buf, char *end, unsigned long long num, struct printf_spec spec)
返回类型:char
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| char * | buf | |
| char * | end | |
| unsigned long long | num | |
| struct printf_spec | spec | 
| 425 | need_pfx等于 flags to number() 按位与prefix hex with "0x", octal with "0" 且 number base, 8, 10 or 16 only 不等于10 | 
| 429 | precision等于 # of digits/chars | 
| 434 | 如果 flags to number() 按位与left justified 则 flags to number() 与等于pad with zero, must be 16 == '0' - ' ' 的反 | 
| 436 | sign等于0 | 
| 437 | 如果 flags to number() 按位与unsigned/signed, must be 1 则 | 
| 438 | 如果num小于0则 | 
| 442 | 否则如果 flags to number() 按位与show plus 则 | 
| 443 | sign等于'+' | 
| 444 | field_width自减 | 
| 445 | 否则如果 flags to number() 按位与space if plus 则 | 
| 446 | sign等于' ' | 
| 447 | field_width自减 | 
| 450 | 如果need_pfx则 | 
| 451 | 如果 number base, 8, 10 or 16 only 恒等于16则field_width减等于2 | 
| 453 | 否则如果非is_zero则field_width自减 | 
| 458 | i等于0 | 
| 459 | 如果num小于 number base, 8, 10 or 16 only 则tmp[i++]等于hex_asc_upper[num]按位或locase | 
| 461 | 否则如果 number base, 8, 10 or 16 only 不等于10则 | 
| 462 | mask等于 number base, 8, 10 or 16 only 减1 | 
| 463 | shift等于3 | 
| 465 | 如果 number base, 8, 10 or 16 only 恒等于16则shift等于4 | 
| 467 | 循环 | 
| 471 | 否则 | 
| 479 | field_width减等于precision | 
| 480 | 如果非 flags to number() 按位与pad with zero, must be 16 == '0' - ' ' 按位或left justified 的值的值则 | 
| 488 | 如果sign则 | 
| 494 | 如果need_pfx则 | 
| 495 | 如果 number base, 8, 10 or 16 only 恒等于16或非is_zero则 | 
| 500 | 如果 number base, 8, 10 or 16 only 恒等于16则 | 
| 507 | 如果非 flags to number() 按位与left justified 的值则 | 
| 508 | c等于' '加 flags to number() 按位与pad with zero, must be 16 == '0' - ' ' 的值 | 
| 509 | BUILD_BUG_ON - break compile if a condition is true(' ' + pad with zero, must be 16 == '0' - ' ' != '0') | 
| 510 | 当field_width先自减大于等于0循环 | 
| 529 | 当field_width先自减大于等于0循环 | 
| 535 | 返回:buf | 
| 名称 | 描述 | 
|---|---|
| special_hex_number | |
| err_ptr | |
| pointer_string | |
| bdev_name | |
| resource_string | |
| bitmap_string | |
| bitmap_list_string | |
| ip6_addr_string_sa | |
| ip4_addr_string_sa | |
| date_str | |
| time_str | |
| format_flags | |
| device_node_string | |
| vsnprintf | vsnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@args: Arguments for the format string* This function generally | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |