Function report |
Source Code:fs\seq_file.c |
Create Date:2022-07-28 20:09:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A complete analogue of print_hex_dump()
Proto:void seq_hex_dump(struct seq_file *m, const char *prefix_str, int prefix_type, int rowsize, int groupsize, const void *buf, size_t len, bool ascii)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | m | |
| const char * | prefix_str | |
| int | prefix_type | |
| int | rowsize | |
| int | groupsize | |
| const void * | buf | |
| size_t | len | |
| bool | ascii |
| 871 | linelen = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(remaining, rowsize) |
| 875 | Case prefix_type == DUMP_PREFIX_ADDRESS |
| 876 | seq_printf(m, "%s%p: ", prefix_str, ptr + i) |
| 877 | Break |
| 878 | Case prefix_type == DUMP_PREFIX_OFFSET |
| 879 | seq_printf(m, "%s%.8x: ", prefix_str, i) |
| 880 | Break |
| 881 | Default |
| 882 | seq_printf(m, "%s", prefix_str) |
| 883 | Break |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |