Lines Matching refs:BUF_SIZE
19 BUF_SIZE = 1024, enumerator
27 char buf[BUF_SIZE]; in bootm_test_nop()
34 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_ALL)); in bootm_test_nop()
38 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_ALL)); in bootm_test_nop()
48 char buf[BUF_SIZE]; in bootm_test_nospace()
58 memset(buf, 'a', BUF_SIZE); in bootm_test_nospace()
59 ut_asserteq(-ENOSPC, bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_ALL)); 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()
64 ut_asserteq(-ENOSPC, bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_ALL)); 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()
69 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_ALL)); in bootm_test_nospace()
78 char buf[BUF_SIZE]; in bootm_test_silent()
86 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
90 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
94 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
99 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
104 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, 0)); in bootm_test_silent()
117 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
122 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SILENT)); in bootm_test_silent()
132 char buf[BUF_SIZE]; in bootm_test_subst()
137 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
143 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
149 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
155 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
161 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
190 ut_asserteq(0, bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()
196 ut_asserteq(0, bootm_process_cmdline(buf, BUF_SIZE, BOOTM_CL_SUBST)); in bootm_test_subst()