Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/scripts/kconfig/tests/
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
/Linux-v6.6/tools/testing/selftests/
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
551 #define ASSERT_STREQ(expected, seen) \ argument
562 #define ASSERT_STRNE(expected, seen) \ argument
573 #define EXPECT_EQ(expected, seen) \ argument
584 #define EXPECT_NE(expected, seen) \ argument
[all …]
/Linux-v6.6/mm/damon/
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
/Linux-v6.6/drivers/gpu/drm/tests/
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 …]
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
Ddrm_plane_helper_test.c86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq() local
105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq() local
/Linux-v6.6/lib/
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
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
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
Dtest_user_copy.c94 int expected = is_zeroed(kmem + start, len); in test_check_nonzero_user() local
109 char *umem_src = NULL, *expected = NULL; in test_copy_struct_from_user() local
Dpercpu_test.c5 #define CHECK(native, pcp, expected) \ argument
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/tools/perf/tests/
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
Dapi-io.c19 #define EXPECT_EQUAL(val, expected) \ argument
28 #define EXPECT_EQUAL64(val, expected) \ argument
/Linux-v6.6/fs/squashfs/
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()
560 unsigned int expected; in squashfs_readahead() local
Dfile_cache.c21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
Dfile_direct.c23 int expected) in squashfs_readpage_block()
/Linux-v6.6/tools/testing/selftests/riscv/vector/
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
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_progs.h237 #define ASSERT_EQ(actual, expected, name) ({ \ argument
248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
259 #define ASSERT_LT(actual, expected, name) ({ \ argument
270 #define ASSERT_LE(actual, expected, name) ({ \ argument
281 #define ASSERT_GT(actual, expected, name) ({ \ argument
292 #define ASSERT_GE(actual, expected, name) ({ \ argument
303 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
314 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
/Linux-v6.6/drivers/misc/lkdtm/
Dcfi.c73 void set_return_addr_unchecked(unsigned long *expected, unsigned long *addr) in set_return_addr_unchecked()
88 void set_return_addr(unsigned long *expected, unsigned long *addr) in set_return_addr()
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/ebb/
Dreg_access_test.c18 uint64_t val, expected; in reg_access() local
Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
/Linux-v6.6/tools/testing/selftests/mm/
Dhugetlb-read-hwpoison.c71 off_t offset, size_t expected) in seek_read_hugepage_filemap()
108 size_t wr_chunk_size, size_t expected) in read_hugepage_filemap()
/Linux-v6.6/fs/xfs/
Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/Linux-v6.6/drivers/hid/
Dhid-uclogic-core-test.c17 bool expected; member

12345678