Home
last modified time | relevance | path

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

12345678

/linux-6.3-rc2/scripts/kconfig/tests/
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
/linux-6.3-rc2/tools/testing/selftests/
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 …]
/linux-6.3-rc2/mm/damon/
A Dvaddr-test.h132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions()
170 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local
192 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local
216 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local
241 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
/linux-6.3-rc2/drivers/gpu/drm/tests/
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
A Ddrm_modes_test.c79 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local
126 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local
A 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-6.3-rc2/lib/
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
A Ddhry_1.c220 #define dhry_assert_int_eq(val, expected) \ in dhry() argument
227 #define dhry_assert_char_eq(val, expected) \ in dhry() argument
234 #define dhry_assert_string_eq(val, expected) \ in dhry() argument
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
A 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
A Dpercpu_test.c5 #define CHECK(native, pcp, expected) \ argument
A Dstrscpy_kunit.c25 static void tc(struct kunit *test, char *src, int count, int expected, in tc()
/linux-6.3-rc2/tools/perf/tests/
A Dhists_cumulate.c177 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test()
269 struct result expected[] = { in test1() local
367 struct result expected[] = { in test2() local
471 struct result expected[] = { in test3() local
591 struct result expected[] = { in test4() local
A Dapi-io.c18 #define EXPECT_EQUAL(val, expected) \ argument
27 #define EXPECT_EQUAL64(val, expected) \ argument
A Dopenat-syscall-all-cpus.c96 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
/linux-6.3-rc2/fs/squashfs/
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()
560 unsigned int expected; in squashfs_readahead() local
A Dfile_cache.c21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
A Dfile_direct.c23 int expected) in squashfs_readpage_block()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_progs.h236 #define ASSERT_EQ(actual, expected, name) ({ \ argument
247 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
258 #define ASSERT_LT(actual, expected, name) ({ \ argument
269 #define ASSERT_LE(actual, expected, name) ({ \ argument
280 #define ASSERT_GT(actual, expected, name) ({ \ argument
291 #define ASSERT_GE(actual, expected, name) ({ \ argument
302 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
313 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
A Dtest_offload.py172 def bpftool_prog_list(expected=None, ns=""): argument
184 def bpftool_map_list(expected=None, ns=""): argument
194 def bpftool_prog_list_wait(expected=0, n_retry=20): argument
202 def bpftool_map_list_wait(expected=0, n_retry=20): argument
407 def dfs_get_bound_progs(self, expected): argument
513 def tc_show_ingress(self, expected=None): argument
605 def pin_map(file_name, idx=0, expected=1): argument
/linux-6.3-rc2/drivers/misc/lkdtm/
A 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-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/
A Dreg_access_test.c18 uint64_t val, expected; in reg_access() local
A Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
/linux-6.3-rc2/fs/xfs/
A Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/linux-6.3-rc2/drivers/hid/
A Dhid-uclogic-core-test.c17 bool expected; member

Completed in 32 milliseconds

12345678