Home
last modified time | relevance | path

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

123456

/Linux-v5.10/scripts/kconfig/tests/
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
/Linux-v5.10/tools/testing/selftests/
Dkselftest_harness.h442 #define ASSERT_EQ(expected, seen) \ argument
453 #define ASSERT_NE(expected, seen) \ argument
464 #define ASSERT_LT(expected, seen) \ argument
475 #define ASSERT_LE(expected, seen) \ argument
486 #define ASSERT_GT(expected, seen) \ argument
497 #define ASSERT_GE(expected, seen) \ argument
538 #define ASSERT_STREQ(expected, seen) \ argument
549 #define ASSERT_STRNE(expected, seen) \ argument
560 #define EXPECT_EQ(expected, seen) \ argument
571 #define EXPECT_NE(expected, seen) \ argument
[all …]
/Linux-v5.10/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-v5.10/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.c101 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
/Linux-v5.10/arch/arc/include/asm/
Dcmpxchg.h17 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
47 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg()
/Linux-v5.10/fs/squashfs/
Dfile.c421 static int squashfs_readpage_fragment(struct page *page, int expected) in squashfs_readpage_fragment()
441 static int squashfs_readpage_sparse(struct page *page, int expected) in squashfs_readpage_sparse()
453 int expected = index == file_end ? in squashfs_readpage() local
Dfile_cache.c21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
/Linux-v5.10/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-v5.10/fs/xfs/
Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/Linux-v5.10/tools/testing/selftests/powerpc/pmu/
Dcount_instructions.c32 s64 difference, expected; in do_count_loop() local
Dcount_stcx_fail.c32 s64 difference, expected; in do_count_loop() local
/Linux-v5.10/tools/testing/selftests/bpf/
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
Dtest_progs.h133 #define ASSERT_EQ(actual, expected, name) ({ \ argument
144 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
/Linux-v5.10/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()
/Linux-v5.10/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-v5.10/drivers/acpi/acpica/
Dacapps.h65 #define ACPI_CHECK_STATUS(name, status, expected) \ argument
/Linux-v5.10/drivers/media/pci/cx18/
Dcx18-av-firmware.c29 u32 expected, dl_control; in cx18_av_verifyfw() local
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dselftest_ring.c33 int expected) in check_ring_direction()

123456