Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/openbmc/u-boot/scripts/kconfig/tests/
H A Dconftest.py220 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 Dconftest.py224 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 Dkselftest_harness.h455 #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 Dlockcnt.c61 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 Dtest-resv-mem.c39 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 Dtest-qht.c70 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 Dhd-geo-test.c726 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 Dacpi-utils.h29 #define ACPI_ASSERT_CMP(actual, expected) do { \ argument
35 #define ACPI_ASSERT_CMP64(actual, expected) do { \ argument
/openbmc/linux/mm/damon/
H A Dvaddr-test.h132 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 Ddrm_format_helper_test.c21 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 Ddrm_modes_test.c72 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 Dserver_sent_event_test.cpp47 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 Dglobtest.c16 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 Ddhry_1.c227 #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 Dfortify_kunit.c66 #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 Ddevice_callouts_test.cpp486 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 Dadditional_data_test.cpp44 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 Dtc_helpers.h48 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 Dcooker.py74 def _check(collection, expected): argument
93 def _check(name, expected): argument
H A Drestapi.py130 def _check(collection, expected): argument
150 def _check(name, expected): argument
/openbmc/phosphor-dbus-monitor/src/test/
H A Dpropertywatchtest.cpp138 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 Dhists_cumulate.c190 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 Dvstate_prctl.c59 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 Dtest_entity-manager.cpp21 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 Dfile.c422 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

12345678910>>...13