/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_item_updater_static.cpp | 24 "ID=00 part 0x00000000..0x00002000 (actual=0x00002000) " in TEST() 26 "ID=01 HBEL 0x00008000..0x0002c000 (actual=0x00024000) " in TEST() 28 "ID=02 GUARD 0x0002c000..0x00031000 (actual=0x00005000) " in TEST() 30 "ID=03 NVRAM 0x00031000..0x000c1000 (actual=0x00090000) " in TEST() 32 "ID=04 SECBOOT 0x000c1000..0x000e5000 (actual=0x00024000) " in TEST() 34 "ID=05 DJVPD 0x000e5000..0x0012d000 (actual=0x00048000) " in TEST() 36 "ID=06 MVPD 0x0012d000..0x001bd000 (actual=0x00090000) " in TEST() 38 "ID=07 CVPD 0x001bd000..0x00205000 (actual=0x00048000) " in TEST() 40 "ID=08 HBB 0x00205000..0x00305000 (actual=0x00100000) " in TEST() 42 "ID=09 HBD 0x00305000..0x00425000 (actual=0x00120000) " in TEST() [all …]
|
H A D | msl_verify.cpp | 27 MinimumShipLevel::Version actual; in TEST_F() local 31 // actual = min in TEST_F() 32 actual = {3, 5, 7}; in TEST_F() 33 EXPECT_EQ(0, minimumShipLevel->compare(actual, min)); in TEST_F() 35 // actual < min in TEST_F() 36 actual = {3, 5, 6}; in TEST_F() 37 EXPECT_EQ(-1, minimumShipLevel->compare(actual, min)); in TEST_F() 38 actual = {3, 4, 7}; in TEST_F() 39 EXPECT_EQ(-1, minimumShipLevel->compare(actual, min)); in TEST_F() 40 actual = {2, 5, 7}; in TEST_F() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | microbit-test.c | 269 uint32_t actual, expected; in test_nrf51_gpio() local 286 actual = qtest_readl(qts, NRF51_GPIO_BASE + reset_state[i].addr); in test_nrf51_gpio() 287 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio() 292 actual = qtest_readl(qts, NRF51_GPIO_BASE + in test_nrf51_gpio() 294 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio() 301 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_DIR); in test_nrf51_gpio() 302 g_assert_cmpuint(actual, ==, expected); in test_nrf51_gpio() 303 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_START) in test_nrf51_gpio() 305 g_assert_cmphex(actual, ==, 0x01); in test_nrf51_gpio() 306 actual = qtest_readl(qts, NRF51_GPIO_BASE + NRF51_GPIO_REG_CNF_END) & 0x01; in test_nrf51_gpio() [all …]
|
H A D | acpi-utils.h | 29 #define ACPI_ASSERT_CMP(actual, expected) do { \ argument 31 memcpy(ACPI_ASSERT_CMP_str, &actual, 4); \ 35 #define ACPI_ASSERT_CMP64(actual, expected) do { \ argument 37 memcpy(ACPI_ASSERT_CMP_str, &actual, 8); \
|
H A D | boot-order-test.c | 31 uint64_t actual; in test_a_boot_order() local 41 actual = read_boot_order(qts); in test_a_boot_order() 42 g_assert_cmphex(actual, ==, expected_boot); in test_a_boot_order() 44 actual = read_boot_order(qts); in test_a_boot_order() 45 g_assert_cmphex(actual, ==, expected_reboot); in test_a_boot_order()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/memtool/memtool/ |
H A D | test_read_write_plainfiles.sh | 21 ACTUAL=$1 25 if [ "$ACTUAL" = "$EXPECTED" ]; then 30 echo " Actual: $ACTUAL" 39 ACTUAL=$(memtool md -s "$PLAIN_FILE" -b 0x6+6) 40 verify "$ACTUAL" "$EXPECTED" "memtool read from plain file" 53 ACTUAL=$(memtool md -s "$PLAIN_FILE" -b 0x6+6) 54 verify "$ACTUAL" "$EXPECTED" "memtool write to plain file"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/ |
H A D | disable-float-tests.patch | 13 …void compare_double(double expected, double actual) { compare_floating(expected, actual, DBL_EPSIL… 14 …void compare_float(float expected, float actual) { compare_floating(expected, actual, FLT_EPSILON)… 21 if (expected == 0) VERIFY_ARE_EQUAL(1 / expected, 1 / actual);
|
/openbmc/u-boot/board/freescale/corenet_ds/ |
H A D | corenet_ds.c | 50 /* Display the actual SERDES reference clocks as configured by the in checkboard() 134 u32 actual[NUM_SRDS_BANKS]; in misc_init_r() local 145 actual[i] = SRDS_PLLCR0_RFCK_SEL_100; in misc_init_r() 148 actual[i] = SRDS_PLLCR0_RFCK_SEL_125; in misc_init_r() 151 actual[i] = SRDS_PLLCR0_RFCK_SEL_156_25; in misc_init_r() 161 * actual reference clocks. This needs to be done after calling in misc_init_r() 165 actual[0] = (sw & 0x40) ? in misc_init_r() 167 actual[1] = (sw & 0x20) ? in misc_init_r() 169 actual[2] = (sw & 0x10) ? in misc_init_r() 175 if (expected != actual[i]) { in misc_init_r() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-base64.c | 35 uint8_t *actual = qbase64_decode(input, in test_base64_good() local 40 g_assert(actual != NULL); in test_base64_good() 42 g_assert_cmpstr((char *)actual, ==, expect); in test_base64_good() 43 g_free(actual); in test_base64_good() 52 uint8_t *actual = qbase64_decode(input, in test_base64_bad() local 58 g_assert(actual == NULL); in test_base64_bad()
|
H A D | test-crypto-afsplit.c | 136 gchar *expect, *actual; in test_afsplit() local 150 actual = hex_string(key, data->blocklen); in test_afsplit() 152 g_assert_cmpstr(actual, ==, expect); in test_afsplit() 154 g_free(actual); in test_afsplit() 167 actual = hex_string(key, data->blocklen); in test_afsplit() 169 g_assert_cmpstr(actual, ==, expect); in test_afsplit() 171 g_free(actual); in test_afsplit()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 191.out | 124 "actual-size": SIZE, 132 "actual-size": SIZE, 164 "actual-size": SIZE, 195 "actual-size": SIZE, 203 "actual-size": SIZE, 235 "actual-size": SIZE, 266 "actual-size": SIZE, 274 "actual-size": SIZE, 306 "actual-size": SIZE, 336 "actual-size": SIZE, [all …]
|
H A D | 273.out | 33 "actual-size": SIZE, 41 "actual-size": SIZE, 51 "actual-size": SIZE, 83 "actual-size": SIZE, 113 "actual-size": SIZE, 121 "actual-size": SIZE, 153 "actual-size": SIZE, 182 "actual-size": SIZE,
|
H A D | 110.out | 10 backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base) 17 backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base) 28 backing file: t.IMGFMT.base (cannot determine actual path)
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/ |
H A D | process_tree_test.py | 42 for expected, actual in zip(test_data, self.flatten(process_tree)): 44 self.assertEqual(int(tokens[0]), actual.pid // 1000) 45 self.assertEqual(tokens[1], actual.cmd) 46 self.assertEqual(long(tokens[2]), 10 * actual.start_time) 47 self.assert_(long(tokens[3]) - 10 * actual.duration < 5, "duration") 48 self.assertEqual(int(tokens[4]), len(actual.child_list)) 49 self.assertEqual(int(tokens[5]), len(actual.samples))
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | aspeed_udc.c | 163 ep->ep.name, req->req.actual, req->req.length, req->req.buf, in aspeed_udc_done() 322 if ((req->req.length - req->req.actual) > ep->ep.maxpacket) in aspeed_udc_ep0_queue() 325 tx_len = req->req.length - req->req.actual; in aspeed_udc_ep0_queue() 327 writel(req->req.dma + req->req.actual, in aspeed_udc_ep0_queue() 331 (u32)req->req.buf, req->req.dma + req->req.actual, in aspeed_udc_ep0_queue() 332 tx_len, req->req.actual, req->req.length, in aspeed_udc_ep0_queue() 337 req->req.actual += tx_len; in aspeed_udc_ep0_queue() 386 req->req.actual); in aspeed_udc_ep0_in() 388 if (req->req.length == req->req.actual) { in aspeed_udc_ep0_in() 414 req->req.actual += rx_len; in aspeed_udc_ep0_out() [all …]
|
/openbmc/u-boot/board/freescale/t1040qds/ |
H A D | t1040qds.c | 62 * Display the actual SERDES reference clocks as configured by the in checkboard() 205 u32 actual[NUM_SRDS_BANKS] = { 0 }; in misc_init_r() local 213 actual[i] = SRDS_PLLCR0_RFCK_SEL_100; in misc_init_r() 216 actual[i] = SRDS_PLLCR0_RFCK_SEL_125; in misc_init_r() 219 actual[i] = SRDS_PLLCR0_RFCK_SEL_156_25; in misc_init_r() 228 if (expected != actual[i]) { in misc_init_r() 229 printf("expects ref clk%d %sMHz, but actual is %sMHz\n", in misc_init_r() 231 serdes_clock_to_string(actual[i])); in misc_init_r()
|
/openbmc/u-boot/board/freescale/p2041rdb/ |
H A D | p2041rdb.c | 39 * Display the actual SERDES reference clocks as configured by the in checkboard() 165 u32 actual[NUM_SRDS_BANKS]; in misc_init_r() local 186 actual[i] = freq[i][clock]; in misc_init_r() 196 actual[i] = freq[i-1][clock]; in misc_init_r() 203 if (expected != actual[i]) { in misc_init_r() 205 " %sMHz, but actual is %sMHz\n", i + 1, in misc_init_r() 207 serdes_clock_to_string(actual[i])); in misc_init_r()
|
/openbmc/qemu/tests/tcg/multiarch/gdbstub/ |
H A D | catch-syscalls.py | 10 actual = gdb.parse_and_eval("catch_syscalls_state").string() 11 report(actual == expected, "{} == {}".format(actual, expected))
|
/openbmc/phosphor-hwmon/msl/ |
H A D | max31785-msl | 56 local actual 60 actual=$(i2cget -f -y "$bus" 0x52 0x9b w) 62 if (( actual >= revision )); then
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | compare_vpd_action_tests.cpp | 68 // Test where works: Actual VPD value is not empty in TEST() 85 // Test where returns true: actual value == expected value in TEST() 91 // Test where returns false: actual value != expected value in TEST() 105 // Test where works: Actual VPD value is empty in TEST() 122 // Test where returns true: actual value == expected value in TEST() 128 // Test where returns false: actual value != expected value in TEST() 136 // Test where fails: Exception thrown when trying to get actual VPD value in TEST()
|
/openbmc/qemu/hw/gpio/ |
H A D | pcf8574.c | 82 uint8_t actual; in pcf8574_tx() local 87 actual = pcf8574_line_state(s); in pcf8574_tx() 89 for (diff = (actual ^ prev); diff; diff &= ~(1 << line)) { in pcf8574_tx() 92 qemu_set_irq(s->handler[line], (actual >> line) & 1); in pcf8574_tx() 97 qemu_set_irq(s->intrq, actual == s->lastrq); in pcf8574_tx()
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | i2c_compare_byte_action.cpp | 34 // Read actual value of device register in execute() 39 // Modify actual value to only include bits specified in the mask in execute() 42 // Check if actual value equals expected value in execute()
|
H A D | i2c_compare_bit_action.cpp | 34 // Read actual value of device register in execute() 39 // Get actual bit value in execute() 42 // Check if actual bit value equals expected bit value in execute()
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | sme-fmopa-3.c | 55 float actual = result[i]; in main() local 56 if (fabsf(actual - expected[i]) > 0.001f) { in main() 58 i, expected[i], actual); in main()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | mirror-sparse | 105 actual=sparse 107 actual=full 109 actual="unexpected size ($result)" 111 echo "Destination is $actual; expected $expected"
|