/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/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 223 #define ASSERT_TRUE(actual, name) ({ \ argument 225 bool ___ok = (actual); \ 230 #define ASSERT_FALSE(actual, name) ({ \ argument 232 bool ___ok = !(actual); \ 237 #define ASSERT_EQ(actual, expected, name) ({ \ argument 239 typeof(actual) ___act = (actual); \ 243 "unexpected %s: actual %lld != expected %lld\n", \ 248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument 250 typeof(actual) ___act = (actual); \ 254 "unexpected %s: actual %lld == expected %lld\n", \ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubp.c | 291 …DC_LOG_DEBUG("DML Validation | HUBPRET_CONTROL:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual:… in hubp21_validate_dml_output() 294 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:DRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 297 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:MRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 300 …BUG("DML Validation | DCN_EXPANSION_MODE:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 303 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:CRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 307 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 310 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_CHUNK_SIZE - Expected: %u Actual: %u\… in hubp21_validate_dml_output() 313 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:META_CHUNK_SIZE - Expected: %u Actual: %u… in hubp21_validate_dml_output() 316 …DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_META_CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp21_validate_dml_output() 319 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:DPTE_GROUP_SIZE - Expected: %u Actual: %u… in hubp21_validate_dml_output() [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); \
|
/openbmc/linux/drivers/cpufreq/ |
H A D | amd_freq_sensitivity.c | 32 u64 actual; member 45 struct msr actual, reference; in amd_powersave_bias_target() local 55 &actual.l, &actual.h); in amd_powersave_bias_target() 58 actual.h &= 0x00ffffff; in amd_powersave_bias_target() 62 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target() 67 d_actual = actual.q - data->actual; in amd_powersave_bias_target() 104 data->actual = actual.q; in amd_powersave_bias_target()
|
/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/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubp.c | 1375 …DC_LOG_DEBUG("DML Validation | HUBPRET_CONTROL:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual:… in hubp2_validate_dml_output() 1378 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:DRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1381 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:MRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1384 …BUG("DML Validation | DCN_EXPANSION_MODE:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1387 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:CRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1391 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1394 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_CHUNK_SIZE - Expected: %u Actual: %u\… in hubp2_validate_dml_output() 1397 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:META_CHUNK_SIZE - Expected: %u Actual: %u… in hubp2_validate_dml_output() 1400 …DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_META_CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output() 1403 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:DPTE_GROUP_SIZE - Expected: %u Actual: %u… in hubp2_validate_dml_output() [all …]
|
/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/qemu-iotests/ |
H A D | 191.out | 123 "actual-size": SIZE, 131 "actual-size": SIZE, 162 "actual-size": SIZE, 192 "actual-size": SIZE, 200 "actual-size": SIZE, 231 "actual-size": SIZE, 261 "actual-size": SIZE, 269 "actual-size": SIZE, 300 "actual-size": SIZE, 329 "actual-size": SIZE, [all …]
|
H A D | 273.out | 32 "actual-size": SIZE, 40 "actual-size": SIZE, 50 "actual-size": SIZE, 81 "actual-size": SIZE, 110 "actual-size": SIZE, 118 "actual-size": SIZE, 149 "actual-size": SIZE, 177 "actual-size": SIZE,
|
/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/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/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/linux/drivers/mtd/spi-nor/ |
H A D | sst.c | 130 size_t actual = 0; in sst_nor_write() local 159 actual++; in sst_nor_write() 163 for (; actual < len - 1; actual += 2) { in sst_nor_write() 167 ret = spi_nor_write_data(nor, to, 2, buf + actual); in sst_nor_write() 188 if (actual != len) { in sst_nor_write() 194 ret = spi_nor_write_data(nor, to, 1, buf + actual); in sst_nor_write() 202 actual += 1; in sst_nor_write() 207 *retlen += actual; in sst_nor_write()
|
/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/linux/include/kunit/ |
H A D | assert.h | 98 * @value: The actual evaluated pointer value of the expression. 131 * @left_value: The actual evaluated value of the expression in the left slot. 132 * @right_value: The actual evaluated value of the expression in the right slot. 154 * @left_value: The actual evaluated value of the expression in the left slot. 155 * @right_value: The actual evaluated value of the expression in the right slot. 177 * @left_value: The actual evaluated value of the expression in the left slot. 178 * @right_value: The actual evaluated value of the expression in the right slot. 200 * @left_value: The actual evaluated value of the expression in the left slot. 201 * @right_value: The actual evaluated value of the expression in the right slot.
|
/openbmc/linux/include/linux/ |
H A D | bcm963xx_nvram.h | 76 * @actual_out: optional pointer to store actual checksum value 84 u32 expected, actual; in bcm963xx_nvram_checksum() local 101 actual = crc32_le_combine( in bcm963xx_nvram_checksum() 108 *actual_out = actual; in bcm963xx_nvram_checksum() 110 return expected == actual ? 0 : -EINVAL; in bcm963xx_nvram_checksum()
|
H A D | instrumented.h | 22 * before the actual read happens. 36 * before the actual write happens. 50 * before the actual write happens. 64 * before the actual read happens. 78 * before the actual write happens. 92 * inserted before the actual write happens.
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_lvds_connector.c | 66 long actual, requested; in mdp4_lvds_connector_mode_valid() local 69 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid() 71 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid() 73 if (actual != requested) in mdp4_lvds_connector_mode_valid()
|
/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/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 32 * This function checks whether the "actual" TSC frequency of a guest matches 34 * measurements, a difference of 1% between the actual and the expected value 37 static void compare_tsc_freq(uint64_t actual, uint64_t expected) in compare_tsc_freq() argument 45 TEST_ASSERT(thresh_low < actual, in compare_tsc_freq() 48 thresh_low, thresh_high, actual); in compare_tsc_freq() 49 TEST_ASSERT(thresh_high > actual, in compare_tsc_freq() 52 thresh_low, thresh_high, actual); in compare_tsc_freq()
|
/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()
|