Home
last modified time | relevance | path

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

12345678

/linux/scripts/kconfig/tests/
H A Dconftest.py253 with open(os.path.join(self._test_dir, expected)) as f: argument
262 def _matches(self, attr, expected): argument
243 _read_and_compare(self, compare, expected) global() argument
258 _matches(self, attr, expected) global() argument
270 config_matches(self, expected) global() argument
278 stdout_contains(self, expected) global() argument
286 stdout_matches(self, expected) global() argument
294 stderr_contains(self, expected) global() argument
302 stderr_matches(self, expected) global() argument
[all...]
/linux/tools/testing/selftests/
H A Dkselftest_harness.h521 #define ASSERT_EQ(expected, seen) \ argument
532 #define ASSERT_NE(expected, seen) \ argument
543 #define ASSERT_LT(expected, seen) \ argument
554 #define ASSERT_LE(expected, seen) \ argument
565 #define ASSERT_GT(expected, seen) \ argument
576 #define ASSERT_GE(expected, seen) \ argument
617 #define ASSERT_STREQ(expected, seen) \ argument
628 #define ASSERT_STRNE(expected, seen) \ argument
639 #define EXPECT_EQ(expected, seen) \ argument
650 #define EXPECT_NE(expected, seen) \ argument
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c29 const u8 expected[TEST_BUF_SIZE]; member
34 const u8 expected[TEST_BUF_SIZE]; member
39 const u16 expected[TEST_BUF_SIZE]; member
45 const u16 expected[TEST_BUF_SIZE]; member
50 const u16 expected[TEST_BUF_SIZE]; member
55 const u16 expected[TEST_BUF_SIZE]; member
60 const u8 expected[TEST_BUF_SIZE]; member
65 const u8 expected[TEST_BUF_SIZE]; member
70 const u32 expected[TEST_BUF_SIZE]; member
75 const u32 expected[TEST_BUF_SIZE]; member
[all …]
H A Ddrm_modes_test.c76 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local
134 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local
H A Ddrm_dp_mst_helper_test.c19 const int expected; member
74 fixed20_12 expected; member
H 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/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c14 int test_and_compare_child(long provided, long expected, int inherit, int xtheadvector) in test_and_compare_child()
130 long flag, expected; in TEST() local
150 long flag, expected; in TEST() local
170 long flag, expected; in TEST() local
189 long flag, expected; in TEST() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_helpers.h24 static inline void __assert_mprog_count(int target, int expected, int ifindex) in __assert_mprog_count()
35 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count()
40 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex()
H A Dfib_lookup.c285 static void assert_src_ip(struct bpf_fib_lookup *params, const char *expected) in assert_src_ip()
290 static void assert_dst_ip(struct bpf_fib_lookup *params, const char *expected) in assert_dst_ip()
357 char expected[18], actual[18]; in test_fib_lookup() local
/linux/drivers/firewire/
H A Dpacket-serdes-test.c276 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_quadlet_request() local
315 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_block_request() local
355 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_response() local
390 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_request() local
425 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_response() local
464 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_request() local
504 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_response() local
544 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_request() local
584 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_response() local
624 const u32 expected = 0x00d08dec; in test_isoc_header() local
[all …]
H A Dohci-serdes-test.c15 const u32 expected = 0x803d0594; in test_self_id_count_register_deserialization() local
45 static const __le32 expected[] = { in test_at_data_serdes() local
78 static const __le32 expected[] = { in test_it_data_serdes() local
/linux/tools/perf/tests/
H A Dhists_cumulate.c190 do_test(struct hists * hists,struct result * expected,size_t nr_expected,struct callchain_result * expected_callchain,size_t nr_callchain) do_test() argument
282 struct result expected[] = { test1() local
380 struct result expected[] = { test2() local
484 struct result expected[] = { test3() local
604 struct result expected[] = { test4() local
[all...]
H A Dapi-io.c19 #define EXPECT_EQUAL(val, expected) \ argument
28 #define EXPECT_EQUAL64(val, expected) \ argument
/linux/lib/
H A 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
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h248 ASSERT_EQ(actual,expected,name) global() argument
259 ASSERT_NEQ(actual,expected,name) global() argument
270 ASSERT_LT(actual,expected,name) global() argument
281 ASSERT_LE(actual,expected,name) global() argument
292 ASSERT_GT(actual,expected,name) global() argument
303 ASSERT_GE(actual,expected,name) global() argument
314 ASSERT_STREQ(actual,expected,name) global() argument
325 ASSERT_STRNEQ(actual,expected,len,name) global() argument
348 ASSERT_MEMEQ(actual,expected,len,name) global() argument
[all...]
/linux/fs/squashfs/
H A Dfile.c436 static int squashfs_readpage_fragment(struct folio *folio, int expected) in squashfs_readpage_fragment()
456 static int squashfs_readpage_sparse(struct folio *folio, int expected) in squashfs_readpage_sparse()
468 int expected = index == file_end ? in squashfs_read_folio() local
506 unsigned int pages, unsigned int expected, loff_t start) in squashfs_readahead_fragment()
598 unsigned int expected; in squashfs_readahead() local
/linux/drivers/misc/lkdtm/
H A Dcfi.c80 void set_return_addr_unchecked(unsigned long *expected, unsigned long *addr) in set_return_addr_unchecked()
96 void set_return_addr(unsigned long *expected, unsigned long *addr) in set_return_addr()
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c18 #define ASSERT_ERRNO(expected, _t, seen) \ argument
23 #define ASSERT_ERRNO_EQ(expected, seen) \ argument
/linux/fs/nfsd/
H A Dblocklayoutxdr.c156 u32 nr_iomaps, expected, len, i; in nfsd4_block_decode_layoutupdate() local
250 u32 nr_iomaps, expected, len, i; in nfsd4_scsi_decode_layoutupdate() local
/linux/tools/testing/selftests/proc/
H A Dproc-pidns.c21 #define ASSERT_ERRNO(expected, _t, seen) \ argument
26 #define ASSERT_ERRNO_EQ(expected, seen) \ argument
/linux/tools/testing/selftests/clone3/
H A Dclone3.c112 static bool test_clone3(uint64_t flags, size_t size, int expected, in test_clone3()
168 int expected; member
/linux/drivers/iio/test/
H A Diio-test-gts.c378 static const int expected[] = {0, 50000, 0, 100000, 0, 200000, 0, 400000}; in test_iio_gts_chk_times() local
391 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_all() local
428 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_t200() local
/linux/tools/testing/selftests/mm/
H A Dhugetlb-read-hwpoison.c71 seek_read_hugepage_filemap(int fd,size_t len,size_t wr_chunk_size,off_t offset,size_t expected) seek_read_hugepage_filemap() argument
108 read_hugepage_filemap(int fd,size_t len,size_t wr_chunk_size,size_t expected) read_hugepage_filemap() argument
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dreg_access_test.c18 uint64_t val, expected; in reg_access() local
/linux/lib/tests/
H A Dbase64_kunit.c83 const char *expected, bool padding, in expect_encode_ok()
97 const u8 *expected, int expected_len, bool padding, in expect_decode_ok()

12345678