/openbmc/u-boot/scripts/kconfig/tests/ |
H A D | conftest.py | 220 def _read_and_compare(self, compare, expected): argument 230 def _contains(self, attr, expected): argument 235 def _matches(self, attr, expected): argument 239 def config_contains(self, expected): argument 247 def config_matches(self, expected): argument 255 def stdout_contains(self, expected): argument 263 def stdout_matches(self, expected): argument 271 def stderr_contains(self, expected): argument 279 def stderr_matches(self, expected): argument
|
/openbmc/linux/scripts/kconfig/tests/ |
H A D | conftest.py | 224 def _read_and_compare(self, compare, expected): argument 234 def _contains(self, attr, expected): argument 239 def _matches(self, attr, expected): argument 243 def config_contains(self, expected): argument 251 def config_matches(self, expected): argument 259 def stdout_contains(self, expected): argument 267 def stdout_matches(self, expected): argument 275 def stderr_contains(self, expected): argument 283 def stderr_matches(self, expected): argument
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 455 #define ASSERT_EQ(expected, seen) \ argument 466 #define ASSERT_NE(expected, seen) \ argument 477 #define ASSERT_LT(expected, seen) \ argument 488 #define ASSERT_LE(expected, seen) \ argument 499 #define ASSERT_GT(expected, seen) \ argument 510 #define ASSERT_GE(expected, seen) \ argument 573 #define EXPECT_EQ(expected, seen) \ argument 584 #define EXPECT_NE(expected, seen) \ argument 595 #define EXPECT_LT(expected, seen) \ argument 606 #define EXPECT_LE(expected, seen) \ argument [all …]
|
/openbmc/qemu/util/ |
H A D | lockcnt.c | 61 int expected = *val; in qemu_lockcnt_cmpxchg_or_wait() local 80 int expected = *val; in qemu_lockcnt_cmpxchg_or_wait() local 118 int expected = val; in qemu_lockcnt_inc() local 161 int expected = val; in qemu_lockcnt_dec_and_lock() local 258 int expected, new, val; in qemu_lockcnt_inc_and_unlock() local 276 int expected, new, val; in qemu_lockcnt_unlock() local
|
/openbmc/qemu/tests/unit/ |
H A D | test-resv-mem.c | 39 GList *expected) in compare_ranges() 69 static void reset(GList **in, GList **out, GList **expected) in reset() 80 run_range_inverse_array(const char *prefix, GList **in, GList **expected, in run_range_inverse_array() 91 GList *in = NULL, *expected = NULL; in check_range_reverse_array() local 138 GList *in = NULL, *expected = NULL; in check_range_reverse_array_low_end() local
|
H A D | test-qht.c | 70 static void check(int a, int b, bool expected) in check() 108 static void check_n(size_t expected) in check_n() 133 static void iter_sum_check(unsigned int expected) in iter_sum_check() 156 unsigned int expected = 0; in iter_rm_mod_check() local
|
/openbmc/qemu/tests/qtest/ |
H A D | hd-geo-test.c | 726 CHSResult expected[] = { in test_override_ide() local 747 CHSResult expected[] = { in test_override_sata() local 768 CHSResult expected[] = { in test_override_scsi() local 799 CHSResult expected[] = { in test_override_scsi_q35() local 824 CHSResult expected[] = { in test_override_scsi_2_controllers() local 847 CHSResult expected[] = { in test_override_virtio_blk() local 862 CHSResult expected[] = { in test_override_virtio_blk_q35() local 878 CHSResult expected[] = { in test_override_zero_chs() local 889 CHSResult expected[] = { in test_override_zero_chs_q35() local 943 CHSResult expected[] = { in test_override_scsi_hot_unplug() local [all …]
|
H A D | acpi-utils.h | 29 #define ACPI_ASSERT_CMP(actual, expected) do { \ argument 35 #define ACPI_ASSERT_CMP64(actual, expected) do { \ argument
|
/openbmc/linux/mm/damon/ |
H A D | vaddr-test.h | 132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions() 172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local 194 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local 218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local 243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 21 const u8 expected[TEST_BUF_SIZE]; member 26 const u8 expected[TEST_BUF_SIZE]; member 31 const u16 expected[TEST_BUF_SIZE]; member 37 const u16 expected[TEST_BUF_SIZE]; member 42 const u16 expected[TEST_BUF_SIZE]; member 47 const u16 expected[TEST_BUF_SIZE]; member 52 const u8 expected[TEST_BUF_SIZE]; member 57 const u32 expected[TEST_BUF_SIZE]; member 62 const u32 expected[TEST_BUF_SIZE]; member 67 const u32 expected[TEST_BUF_SIZE]; member [all …]
|
H A D | drm_modes_test.c | 72 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local 119 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local
|
/openbmc/bmcweb/test/http/ |
H A D | server_sent_event_test.cpp | 47 constexpr std::string_view expected = in TEST() local 69 std::string_view expected = "id: TestEventId\n" in TEST() local 89 constexpr std::string_view expected = in TEST() local
|
/openbmc/linux/lib/ |
H A D | globtest.c | 16 bool expected; member 19 static bool __pure __init test(char const *pat, char const *str, bool expected) in test() 144 bool expected = *p++ & 1; in glob_init() local
|
H A D | dhry_1.c | 227 #define dhry_assert_int_eq(val, expected) \ in dhry() argument 234 #define dhry_assert_char_eq(val, expected) \ in dhry() argument 241 #define dhry_assert_string_eq(val, expected) \ in dhry() argument
|
H A D | fortify_kunit.c | 66 #define KUNIT_EXPECT_BOS(test, p, expected, name) \ argument 72 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ argument 76 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ argument
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | device_callouts_test.cpp | 486 std::vector<Callout> expected{ in TEST_F() local 522 std::vector<Callout> expected{ in TEST_F() local 546 std::vector<Callout> expected{ in TEST_F() local 572 std::vector<Callout> expected{ in TEST_F() local
|
H A D | additional_data_test.cpp | 44 std::string expected = R"({"KEY1":"VALUE1","KEY2":"VALUE2","KEY3":""})"; in TEST() local 61 std::map<std::string, std::string> expected{{"KEY1", "VALUE1"}, in TEST() local
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_helpers.h | 48 static inline void __assert_mprog_count(int target, int expected, int ifindex) in __assert_mprog_count() 59 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count() 64 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex()
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/tests/ |
H A D | cooker.py | 74 def _check(collection, expected): argument 93 def _check(name, expected): argument
|
H A D | restapi.py | 130 def _check(collection, expected): argument 150 def _check(name, expected): argument
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchtest.cpp | 138 static auto& expected(size_t i) in expected() function 160 static auto& expected(size_t i) in expected() function 182 static auto& expected(size_t i) in expected() function 203 static auto& expected(size_t i) in expected() function 224 static auto& expected(size_t i) in expected() function
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_cumulate.c | 190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() 282 struct result expected[] = { in test1() local 380 struct result expected[] = { in test2() local 484 struct result expected[] = { in test3() local 604 struct result expected[] = { in test4() local
|
/openbmc/linux/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 59 int test_and_compare_child(long provided, long expected, int inherit) in test_and_compare_child() 84 long flag, expected; in main() local
|
/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 21 nlohmann::json expected = 23; in TEST() local 34 nlohmann::json expected = "Test"; in TEST() local 47 nlohmann::json expected = "the Test"; in TEST() local 60 nlohmann::json expected = "the Test worked"; in TEST() local 73 nlohmann::json expected = "the Test 23"; in TEST() local 125 nlohmann::json expected = "3 * 2 equals 6"; in TEST() local 138 nlohmann::json expected = "4 / 2 equals 2"; in TEST() local 165 nlohmann::json expected = "foo bar"; in TEST() local 210 nlohmann::json expected = {{"Address", 84}, in TEST() local 226 nlohmann::json expected = "twelve is 12"; in TEST() local [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | file.c | 422 static int squashfs_readpage_fragment(struct page *page, int expected) in squashfs_readpage_fragment() 442 static int squashfs_readpage_sparse(struct page *page, int expected) in squashfs_readpage_sparse() 455 int expected = index == file_end ? in squashfs_read_folio() local 501 unsigned int pages, unsigned int expected) in squashfs_readahead_fragment() 561 unsigned int expected; in squashfs_readahead() local
|