| /test/boot/ |
| A D | bootm.c | 19 BUF_SIZE = 1024, enumerator 27 char buf[BUF_SIZE]; in bootm_test_nop() 48 char buf[BUF_SIZE]; in bootm_test_nospace() 58 memset(buf, 'a', BUF_SIZE); in bootm_test_nospace() 62 memset(buf, '\0', BUF_SIZE); in bootm_test_nospace() 63 memset(buf, 'a', BUF_SIZE / 2); in bootm_test_nospace() 67 memset(buf, '\0', BUF_SIZE); in bootm_test_nospace() 68 memset(buf, 'a', BUF_SIZE / 2 - 1); in bootm_test_nospace() 78 char buf[BUF_SIZE]; in bootm_test_silent() 104 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, 0)); in bootm_test_silent() [all …]
|
| /test/cmd/ |
| A D | mem_search.c | 15 #define BUF_SIZE 0x100 macro 25 buf = map_sysmem(0, BUF_SIZE + 1); in mem_test_ms_b() 26 memset(buf, '\0', BUF_SIZE); in mem_test_ms_b() 54 memset(buf, '\0', BUF_SIZE); in mem_test_ms_w() 56 buf[BUF_SIZE / 2] = 0x1234; in mem_test_ms_w() 78 memset(buf, '\0', BUF_SIZE); in mem_test_ms_l() 113 memset(buf, '\0', BUF_SIZE); in mem_test_ms_cont() 160 memset(buf, '\0', BUF_SIZE); in mem_test_ms_cont_end() 200 memset(buf, '\0', BUF_SIZE); in mem_test_ms_mult() 230 memset(buf, '\0', BUF_SIZE); in mem_test_ms_s() [all …]
|
| A D | setexpr.c | 15 #define BUF_SIZE 0x100 macro 25 buf = map_sysmem(0, BUF_SIZE); in setexpr_test_int() 26 memset(buf, '\xff', BUF_SIZE); in setexpr_test_int() 73 buf = map_sysmem(0, BUF_SIZE); in setexpr_test_plus() 74 memset(buf, '\xff', BUF_SIZE); in setexpr_test_plus() 115 buf = map_sysmem(0, BUF_SIZE); in setexpr_test_oper() 116 memset(buf, '\xff', BUF_SIZE); in setexpr_test_oper() 158 buf = map_sysmem(0, BUF_SIZE); in setexpr_test_regex() 202 buf = map_sysmem(0, BUF_SIZE); in setexpr_test_regex_inc() 236 ut_assertok(setexpr_regex_sub(buf, BUF_SIZE, nbuf, BUF_SIZE, "is", in setexpr_test_sub() [all …]
|
| A D | loadm.c | 19 #define BUF_SIZE 0x100 macro 48 buf = map_sysmem(0, BUF_SIZE); in loadm_test_load() 49 memset(buf, '\0', BUF_SIZE); in loadm_test_load() 50 memset(buf, 0xaa, BUF_SIZE / 2); in loadm_test_load()
|
| A D | mem_copy.c | 13 #define BUF_SIZE 256 macro 26 u8 shadow[BUF_SIZE]; in do_test() 30 buf = map_sysmem(addr, BUF_SIZE); in do_test() 33 for (i = 0; i < BUF_SIZE; ++i) in do_test() 41 ut_assert(d < BUF_SIZE); in do_test() 42 ut_assert(d + bytes <= BUF_SIZE); in do_test() 43 ut_assert(s < BUF_SIZE); in do_test() 44 ut_assert(s + bytes <= BUF_SIZE); in do_test() 51 ut_asserteq(0, memcmp(buf, shadow, BUF_SIZE)); in do_test()
|
| /test/dm/ |
| A D | mux-cmd.c | 17 #define BUF_SIZE 256 macro 22 char str[BUF_SIZE], *tok; in dm_test_cmd_mux_list() 41 console_record_readline(str, BUF_SIZE); in dm_test_cmd_mux_list() 66 console_record_readline(str, BUF_SIZE); in dm_test_cmd_mux_list() 117 char cmd[BUF_SIZE]; in dm_test_cmd_mux_select() 131 snprintf(cmd, BUF_SIZE, "mux select a-mux-controller %x %x", i, in dm_test_cmd_mux_select() 149 char cmd[BUF_SIZE]; in dm_test_cmd_mux_deselect() 164 snprintf(cmd, BUF_SIZE, "mux deselect a-mux-controller %d", i); in dm_test_cmd_mux_deselect()
|
| A D | acpi.c | 24 #define BUF_SIZE 4096 macro 280 buf = malloc(BUF_SIZE); in dm_test_acpi_write_tables() 361 buf = memalign(64, BUF_SIZE); in dm_test_acpi_ctx_and_base_tables() 405 buf = memalign(16, BUF_SIZE); in dm_test_acpi_cmd_list() 449 buf = memalign(16, BUF_SIZE); in dm_test_acpi_cmd_list_chksum() 495 buf = memalign(16, BUF_SIZE); in dm_test_acpi_cmd_dump() 575 buf = malloc(BUF_SIZE); in dm_test_acpi_fill_ssdt() 606 buf = malloc(BUF_SIZE); in dm_test_acpi_fill_madt() 633 buf = malloc(BUF_SIZE); in dm_test_acpi_inject_dsdt() 665 buf = malloc(BUF_SIZE); in dm_test_acpi_cmd_items() [all …]
|
| /test/lib/ |
| A D | strlcat.c | 13 #define BUF_SIZE 4096 macro 14 char buf1[BUF_SIZE], buf2[BUF_SIZE]; 23 if (align1 + len1 >= BUF_SIZE) in do_test_strlcat() 25 if (align1 + n > BUF_SIZE) in do_test_strlcat() 29 if (align2 + len1 + len2 >= BUF_SIZE) in do_test_strlcat() 31 if (align2 + len1 + n > BUF_SIZE) in do_test_strlcat()
|
| /test/common/ |
| A D | print.c | 18 #define BUF_SIZE 0x100 macro 175 buf = map_sysmem(0, BUF_SIZE); in print_display_buffer() 176 memset(buf, '\0', BUF_SIZE); in print_display_buffer() 247 buf = map_sysmem(0, BUF_SIZE); in print_hexdump_line() 248 memset(buf, '\0', BUF_SIZE); in print_hexdump_line() 253 linebuf = map_sysmem(0x400, BUF_SIZE); in print_hexdump_line() 254 memset(linebuf, '\xff', BUF_SIZE); in print_hexdump_line() 276 buf = map_sysmem(0, BUF_SIZE); in print_do_hex_dump() 277 memset(buf, '\0', BUF_SIZE); in print_do_hex_dump()
|