/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()
|
/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()
|
H A D | test-crypto-pbkdf.c | 392 gchar *expect, *actual; in test_pbkdf() local 402 actual = hex_string(out, nout); in test_pbkdf() 404 g_assert_cmpstr(actual, ==, expect); in test_pbkdf() 406 g_free(actual); in test_pbkdf()
|
/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)
|
H A D | 126.out | 15 backing file: ./image:base.IMGFMT (actual path: TEST_DIR/./image:base.IMGFMT) 22 backing file: base.IMGFMT (actual path: ./base.IMGFMT)
|
H A D | 184.out | 35 "actual-size": 0 40 "actual-size": 0 68 "actual-size": 0
|
/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()
|
/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()
|
/qemu/tests/qemu-iotests/tests/ |
H A D | mirror-sparse | 104 actual=sparse 106 actual=full 108 actual="unexpected size ($result)" 110 echo "Destination is $actual; expected $expected"
|
H A D | write-zeroes-unmap.out | 23 === defaults - write actual zeros === 43 === detect-zeroes=on - write actual zeros === 53 === detect-zeroes=on,discard=on - write actual zeros ===
|
/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))
|
/qemu/tests/tcg/s390x/ |
H A D | ex-branch.c | 140 #define ASSERT_EQ(expected, actual) do { \ in main() argument 141 if (expected != actual) { \ in main() 142 fprintf(stderr, "%s: " #expected " (0x%lx) != " #actual " (0x%lx)\n", \ in main() 143 test->name, expected, actual); \ in main()
|
H A D | ex-relative-long.c | 142 #define ASSERT_EQ(expected, actual) do { \ in main() argument 143 if (expected != actual) { \ in main() 144 fprintf(stderr, "%s: " #expected " (0x%lx) != " #actual " (0x%lx)\n", \ in main() 145 test->name, expected, actual); \ in main()
|
/qemu/hw/virtio/ |
H A D | virtio-balloon.c | 728 config.actual = cpu_to_le32(dev->actual); in virtio_balloon_get_config() 742 trace_virtio_balloon_get_config(config.num_pages, config.actual); in virtio_balloon_get_config() 769 uint32_t oldactual = dev->actual; in virtio_balloon_set_config() 773 dev->actual = le32_to_cpu(config.actual); in virtio_balloon_set_config() 774 if (dev->actual != oldactual) { in virtio_balloon_set_config() 776 ((ram_addr_t) dev->actual << VIRTIO_BALLOON_PFN_SHIFT)); in virtio_balloon_set_config() 782 trace_virtio_balloon_set_config(dev->actual, oldactual); in virtio_balloon_set_config() 798 info->actual = get_current_ram_size() - ((uint64_t) dev->actual << in virtio_balloon_stat() 858 VMSTATE_UINT32(actual, VirtIOBalloon),
|
/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 231 uint32_t tpcnt, stsidx, actual = 0; in dwc2_handle_packet() local 294 actual = p->packet.actual_length; in dwc2_handle_packet() 295 trace_usb_dwc2_packet_status(pstatus[stsidx], actual); in dwc2_handle_packet() 324 if (actual > tlen) { in dwc2_handle_packet() 330 trace_usb_dwc2_memory_write(hcdma, actual); in dwc2_handle_packet() 331 if (dma_memory_write(&s->dma_as, hcdma, s->usb_buf[chan], actual, in dwc2_handle_packet() 338 tpcnt = actual / mps; in dwc2_handle_packet() 339 if (actual % mps) { in dwc2_handle_packet() 348 len -= actual < len ? actual : len; in dwc2_handle_packet() 351 hcdma += actual; in dwc2_handle_packet() [all …]
|
/qemu/tests/qapi-schema/ |
H A D | doc-missing-expr.json | 1 # Expression documentation must be followed by the actual expression
|
H A D | doc-bad-event-arg.json | 1 # Arguments listed in the doc comment must exist in the actual schema
|
H A D | doc-bad-feature.json | 1 # Features listed in the doc comment must exist in the actual schema
|
H A D | doc-bad-enum-member.json | 1 # Members listed in the doc comment must exist in the actual schema
|
H A D | doc-bad-command-arg.json | 1 # Arguments listed in the doc comment must exist in the actual schema
|