Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/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.1/tools/testing/selftests/
Dkselftest_harness.h454 #define ASSERT_EQ(expected, seen) \ argument
465 #define ASSERT_NE(expected, seen) \ argument
476 #define ASSERT_LT(expected, seen) \ argument
487 #define ASSERT_LE(expected, seen) \ argument
498 #define ASSERT_GT(expected, seen) \ argument
509 #define ASSERT_GE(expected, seen) \ argument
550 #define ASSERT_STREQ(expected, seen) \ argument
561 #define ASSERT_STRNE(expected, seen) \ argument
572 #define EXPECT_EQ(expected, seen) \ argument
583 #define EXPECT_NE(expected, seen) \ argument
[all …]
/Linux-v6.1/mm/damon/
Dvaddr-test.h124 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions()
162 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local
184 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local
208 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local
233 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
/Linux-v6.1/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
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
Dtest_strscpy.c29 static int __init tc(char *src, int count, int expected, in tc()
/Linux-v6.1/tools/perf/tests/
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
Dapi-io.c18 #define EXPECT_EQUAL(val, expected) \ argument
27 #define EXPECT_EQUAL64(val, expected) \ argument
Dopenat-syscall-all-cpus.c96 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
/Linux-v6.1/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 u8 expected[TEST_BUF_SIZE]; member
42 const u32 expected[TEST_BUF_SIZE]; member
/Linux-v6.1/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.1/tools/testing/selftests/bpf/
Dtest_progs.h227 #define ASSERT_EQ(actual, expected, name) ({ \ argument
238 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
249 #define ASSERT_LT(actual, expected, name) ({ \ argument
260 #define ASSERT_LE(actual, expected, name) ({ \ argument
271 #define ASSERT_GT(actual, expected, name) ({ \ argument
282 #define ASSERT_GE(actual, expected, name) ({ \ argument
293 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
304 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
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-v6.1/drivers/misc/lkdtm/
Dcfi.c69 void set_return_addr_unchecked(unsigned long *expected, unsigned long *addr) in set_return_addr_unchecked()
84 void set_return_addr(unsigned long *expected, unsigned long *addr) in set_return_addr()
/Linux-v6.1/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
Dinstruction_count_test.c28 int64_t difference, expected; in do_count_loop() local
/Linux-v6.1/fs/xfs/
Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/Linux-v6.1/drivers/platform/surface/aggregator/
Dssh_parser.c32 u16 expected = get_unaligned_le16(crc); in sshp_validate_crc() local
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dsetget_sockopt.c30 int expected; member
114 int old, tmp, new, expected, opt; in bpf_test_sockopt_int() local
/Linux-v6.1/drivers/w1/slaves/
Dw1_ds2408.c140 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) in optional_read_back_valid()
156 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) in optional_read_back_valid()
/Linux-v6.1/tools/testing/selftests/net/
Drxtimestamp.c45 struct tstamps expected; member
175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv()

1234567