Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 76) sorted by relevance

1234

/u-boot/post/lib_powerpc/fpu/
A Dmul-subnormal-single-1.c61 } static volatile expected[] = variable
72 for (i = 0; i < ARRAY_SIZE(expected); i++) in fpu_post_test_math7()
74 tstmul (expected[i].p1, expected[i].p2, expected[i].res); in fpu_post_test_math7()
75 tstmul (expected[i].p2, expected[i].p1, expected[i].res); in fpu_post_test_math7()
/u-boot/scripts/kconfig/tests/
A Dconftest.py230 def _contains(self, attr, expected): argument
233 expected)
235 def _matches(self, attr, expected): argument
237 expected)
239 def config_contains(self, expected): argument
247 def config_matches(self, expected): argument
253 return self._matches('config', expected)
255 def stdout_contains(self, expected): argument
263 def stdout_matches(self, expected): argument
271 def stderr_contains(self, expected): argument
[all …]
/u-boot/test/log/
A Dsyslog_test.c46 ut_asserteq(UDP_HDR_SIZE + strlen(env->expected) + 1, in sb_log_tx_handler()
51 ut_asserteq_mem(env->expected, buf, in sb_log_tx_handler()
55 env->expected = NULL; in sb_log_tx_handler()
90 env.expected = "<3>sandbox uboot: log_test_syslog_err() " in log_test_syslog_err()
132 ut_assertnull(env.expected); in log_test_syslog_warning()
157 env.expected = "<5>sandbox uboot: log_test_syslog_notice() " in log_test_syslog_notice()
166 ut_assertnull(env.expected); in log_test_syslog_notice()
191 env.expected = "<6>sandbox uboot: log_test_syslog_info() " in log_test_syslog_info()
200 ut_assertnull(env.expected); in log_test_syslog_info()
225 env.expected = "<7>sandbox uboot: log_test_syslog_debug() " in log_test_syslog_debug()
[all …]
A Dsyslog_test_ndebug.c42 env.expected = "<7>sandbox uboot: log_test_syslog_nodebug() " in log_test_syslog_nodebug()
51 ut_assertnonnull(env.expected); in log_test_syslog_nodebug()
A Dsyslog_test.h21 const char *expected; member
/u-boot/test/lib/
A Dgetopt.c18 int expected[]) in do_test_getopt() argument
25 if (expected[i] != opt) { in do_test_getopt()
33 expected[i], expected[i], i, opt, opt); in do_test_getopt()
49 #define test_getopt(optstring, argv, expected) do { \ argument
52 ARRAY_SIZE(expected), expected); \
A Dtest_print.c19 uint64_t freq, char *expected) in test_print_freq() argument
25 ut_asserteq_str(expected, uts->actual_str); in test_print_freq()
47 uint64_t freq, char *expected) in test_print_size() argument
53 ut_asserteq_str(expected, uts->actual_str); in test_print_size()
/u-boot/lib/
A Dfdtdec_test.c30 #define CHECKVAL(op, expected) ({ \ argument
32 if (err != expected) { \
34 __func__, #op, expected, err); \
201 const struct fdt_memory expected = { in check_fdt_carveout() local
207 const struct fdt_memory expected = { in check_fdt_carveout()
214 printf("carveout: %pap-%pap na=%u ns=%u: ", &expected.start, in check_fdt_carveout()
215 &expected.end, address_cells, size_cells); in check_fdt_carveout()
219 if ((carveout.start != expected.start) || in check_fdt_carveout()
220 (carveout.end != expected.end)) { in check_fdt_carveout()
223 &expected.start, &expected.end); in check_fdt_carveout()
/u-boot/test/cmd/
A Dtest_echo.c20 char *expected; member
52 ut_asserteq_str(echo_data[i].expected, uts->actual_str); in lib_test_hush_echo()
/u-boot/test/py/tests/
A Dtest_fpga.py102 expected = 'fpga: non existing command'
133 expected = 'fpga: more parameters passed'
185 expected = 'fpga: more parameters passed'
197 expected = 'fpga: zero size'
266 expected = 'Unknown image type'
268 assert expected in output
458 expected = 'fpga: zero fpga_data address'
464 expected = 'fpga: zero size'
475 expected = 'Unable to read file noname'
477 assert expected in output
[all …]
/u-boot/test/dm/
A Dpinmux.c17 #define test_muxing(selector, expected) do { \ in dm_test_pinmux() argument
19 ut_asserteq_str(expected, (char *)&buf); \ in dm_test_pinmux()
/u-boot/board/freescale/p2041rdb/
A Dp2041rdb.c206 u32 expected = in_be32(&regs->bank[i].pllcr0); in misc_init_r() local
207 expected &= SRDS_PLLCR0_RFCK_SEL_MASK; in misc_init_r()
208 if (expected != actual[i]) { in misc_init_r()
211 serdes_clock_to_string(expected), in misc_init_r()
/u-boot/tools/binman/
A Dftest.py853 expected = {
1874 expected = {
2390 expected = {
2594 expected = [
3357 self.assertEqual(expected, data[:len(expected)])
3653 expected = {
4003 expected = {
4048 expected = {
4071 expected = {
4097 expected = {
[all …]
A Delf_test.py212 expected = expected_text + expected_data
213 self.assertEqual(elf.ElfInfo(expected, load, entry, len(expected)),
215 self.assertEqual(elf.ElfInfo(b'\0\0' + expected[2:],
216 load, entry, len(expected)),
/u-boot/board/keymile/kmp204x/
A Dkmp204x.c141 u32 expected[NUM_SRDS_BANKS] = {SRDS_PLLCR0_RFCK_SEL_100, in misc_init_r() local
149 if (actual != expected[i]) { in misc_init_r()
152 serdes_clock_to_string(expected[i]), in misc_init_r()
/u-boot/board/freescale/corenet_ds/
A Dcorenet_ds.c179 u32 expected = srds_regs->bank[i].pllcr0 & SRDS_PLLCR0_RFCK_SEL_MASK; in misc_init_r() local
180 if (expected != actual[i]) { in misc_init_r()
183 serdes_clock_to_string(expected), in misc_init_r()
/u-boot/drivers/tpm/
A Dtpm_tis_st33zp24_i2c.c308 unsigned int expected; in st33zp24_i2c_recv() local
324 expected = get_unaligned_be32(buf + 2); in st33zp24_i2c_recv()
325 if (expected > count || expected < TPM_HEADER_SIZE) { in st33zp24_i2c_recv()
331 expected - TPM_HEADER_SIZE); in st33zp24_i2c_recv()
332 if (size < expected) { in st33zp24_i2c_recv()
A Dtpm_tis_infineon.c377 unsigned int expected; in tpm_tis_i2c_recv() local
396 expected = get_unaligned_be32(buf + TPM_RSP_SIZE_BYTE); in tpm_tis_i2c_recv()
397 if ((size_t)expected > count || (size_t)expected < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv()
398 debug("Error size=%x, expected=%x, count=%x\n", size, expected, in tpm_tis_i2c_recv()
404 expected - TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
405 if (size < expected) { in tpm_tis_i2c_recv()
A Dtpm_tis_st33zp24_spi.c436 unsigned int expected; in st33zp24_spi_recv() local
452 expected = get_unaligned_be32(buf + 2); in st33zp24_spi_recv()
453 if (expected > count || expected < TPM_HEADER_SIZE) { in st33zp24_spi_recv()
459 expected - TPM_HEADER_SIZE); in st33zp24_spi_recv()
460 if (size < expected) { in st33zp24_spi_recv()
A Dcr50_i2c.c305 size_t burstcnt, expected, current, len; in cr50_i2c_recv() local
330 expected = be32_to_cpu(expected_buf); in cr50_i2c_recv()
331 if (expected > buf_len) { in cr50_i2c_recv()
332 log_warning("Too much data: %zu > %zu\n", expected, buf_len); in cr50_i2c_recv()
338 while (current < expected) { in cr50_i2c_recv()
345 len = min(burstcnt, expected - current); in cr50_i2c_recv()
/u-boot/common/
A Dbloblist.c338 bool expected; in bloblist_init() local
345 expected = !u_boot_first_phase(); in bloblist_init()
347 expected = false; in bloblist_init()
348 if (expected) in bloblist_init()
352 log(LOGC_BLOBLIST, expected ? LOGL_WARNING : LOGL_DEBUG, in bloblist_init()
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_interactive.c143 enum stm32mp1_ddr_interact_step expected) in stm32mp1_check_step() argument
145 if (step != expected) { in stm32mp1_check_step()
148 expected, in stm32mp1_check_step()
149 step_str[expected]); in stm32mp1_check_step()
/u-boot/drivers/mmc/
A Drpmb.c129 unsigned short expected) in mmc_rpmb_response() argument
159 if (be16_to_cpu(s->request) != expected) { in mmc_rpmb_response()
176 static int mmc_rpmb_status(struct mmc *mmc, unsigned short expected) in mmc_rpmb_status() argument
186 return mmc_rpmb_response(mmc, rpmb_frame, expected); in mmc_rpmb_status()
/u-boot/tools/patman/
A Dfunc_test.py249 expected = ('Git command: git send-email --annotate '
254 self.assertEqual(expected, next(lines))
261 expected = '''
295 self.assertEqual(expected.splitlines(), lines[7:])
305 expected = ''
309 expected = '''---
319 expected = '''---
330 if expected:
331 expected = expected.splitlines()
332 self.assertEqual(expected, lines[start:(start+len(expected))])
/u-boot/doc/device-tree-bindings/remoteproc/
A Dremoteproc.txt13 data. Such a device is not expected to have a MMU. If no type property

Completed in 41 milliseconds

1234