Home
last modified time | relevance | path

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

123456

/linux/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/tools/testing/selftests/
A Dkselftest_harness.h446 #define ASSERT_EQ(expected, seen) \ argument
457 #define ASSERT_NE(expected, seen) \ argument
468 #define ASSERT_LT(expected, seen) \ argument
479 #define ASSERT_LE(expected, seen) \ argument
490 #define ASSERT_GT(expected, seen) \ argument
501 #define ASSERT_GE(expected, seen) \ argument
564 #define EXPECT_EQ(expected, seen) \ argument
575 #define EXPECT_NE(expected, seen) \ argument
586 #define EXPECT_LT(expected, seen) \ argument
597 #define EXPECT_LE(expected, seen) \ argument
[all …]
/linux/mm/damon/
A Dvaddr-test.h136 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions()
174 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local
196 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local
220 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local
245 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
A Ddbgfs-test.h19 unsigned long expected[] = {12, 35, 46}; in damon_dbgfs_test_str_to_target_ids() local
/linux/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 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 Dtest_strscpy.c29 static int __init tc(char *src, int count, int expected, in tc()
/linux/tools/testing/selftests/bpf/
A Dtest_progs.h181 #define ASSERT_EQ(actual, expected, name) ({ \ argument
192 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
203 #define ASSERT_LT(actual, expected, name) ({ \ argument
214 #define ASSERT_LE(actual, expected, name) ({ \ argument
225 #define ASSERT_GT(actual, expected, name) ({ \ argument
236 #define ASSERT_GE(actual, expected, name) ({ \ argument
247 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
258 #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/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.c101 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
/linux/fs/squashfs/
A 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
A Dfile_cache.c21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
/linux/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
A Dinstruction_count_test.c28 int64_t difference, expected; in do_count_loop() local
/linux/fs/xfs/
A Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/linux/drivers/platform/surface/aggregator/
A Dssh_parser.c32 u16 expected = get_unaligned_le16(crc); in sshp_validate_crc() local
/linux/tools/testing/selftests/powerpc/pmu/
A Dcount_instructions.c32 s64 difference, expected; in do_count_loop() local
A Dcount_stcx_fail.c32 s64 difference, expected; in do_count_loop() local
/linux/drivers/w1/slaves/
A 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/tools/testing/selftests/net/
A Drxtimestamp.c45 struct tstamps expected; member
175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv()
/linux/drivers/acpi/acpica/
A Dacapps.h65 #define ACPI_CHECK_STATUS(name, status, expected) \ argument

Completed in 51 milliseconds

123456