Function report |
Source Code:lib\test_hexdump.c |
Create Date:2022-07-28 06:26:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_hexdump_prepare_test
Proto:static void __init test_hexdump_prepare_test(size_t len, int rowsize, int groupsize, char *test, size_t testlen, bool ascii)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| size_t | len | |
| int | rowsize | |
| int | groupsize | |
| char * | test | |
| size_t | testlen | |
| bool | ascii |
| 76 | is_be = IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_CPU_BIG_ENDIAN) |
| 87 | If gs == 8 Then result = If is_be Then test_data_8_be Else test_data_8_le |
| 89 | Else if gs == 4 Then result = If is_be Then test_data_4_be Else test_data_4_le |
| 91 | Else if gs == 2 Then result = If is_be Then test_data_2_be Else test_data_2_le |
| 93 | Else result = test_data_1 |
| 111 | If ascii Then |
| 112 | Do |
| 113 | p++ = ' ' |
| 120 | p = '\0' |
| Name | Describe |
|---|---|
| test_hexdump | |
| test_hexdump_overflow |
| 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 |