Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/liteos_m/testsuites/unittest/posix/src/math/
Dmath_func_test.c105 int expected[] = {3, 0, 3}; variable
124 int expected[] = {-2147483648, 2147483647, 2147483647}; variable
143 double expected[] = { -0.69314718055994528623, 1.70474809223842527217, 0.00000000000000000000}; variable
165 double expected[] = { -INFINITY, NAN, NAN, NAN}; variable
188 double expected[] = { 2.00000000000000000000, 1.73205080756887719318, 3.16227766016837952279 }; variable
208 double expected[] = { 0.00000000000000000000, INFINITY, NAN, NAN, NAN}; variable
313 double expected[] = { -1.00000000000000000000, 3.00000000000000000000, -4.00000000000000000000, variable
334 double expected[] = { NAN, -INFINITY, INFINITY, 0.00000000000000000000}; variable
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/
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
551 #define ASSERT_STREQ(expected, seen) \ argument
562 #define ASSERT_STRNE(expected, seen) \ argument
573 #define EXPECT_EQ(expected, seen) \ argument
584 #define EXPECT_NE(expected, seen) \ argument
[all …]
/kernel/linux/linux-6.6/mm/damon/
Dvaddr-test.h132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions()
172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local
194 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local
218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local
243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
/kernel/linux/linux-6.6/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 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
[all …]
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
/kernel/linux/linux-6.6/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
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
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
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
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dtc_helpers.h48 static inline void __assert_mprog_count(int target, int expected, int ifindex) in __assert_mprog_count()
59 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count()
64 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex()
/kernel/liteos_m/testsuites/unittest/xts/math/
Dmath_std_api_test.c54 int expected[] = {3, 0, 3}; /* 3 common data for test, no special meaning */ variable
72 …intmax_t expected[] = {2147483649, 2147483649, 0}; /* 2147483649, common data for test, no special… variable
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/tools/perf/tests/
Dhists_cumulate.c190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test()
282 struct result expected[] = { in test1() local
380 struct result expected[] = { in test2() local
484 struct result expected[] = { in test3() local
604 struct result expected[] = { in test4() local
/kernel/linux/linux-6.6/tools/testing/selftests/riscv/vector/
Dvstate_prctl.c59 int test_and_compare_child(long provided, long expected, int inherit) in test_and_compare_child()
84 long flag, expected; in main() local
/kernel/linux/linux-6.6/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()
561 unsigned int expected; in squashfs_readahead() local
/kernel/linux/linux-6.6/drivers/misc/lkdtm/
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()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dtest_progs.h237 #define ASSERT_EQ(actual, expected, name) ({ \ argument
248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
259 #define ASSERT_LT(actual, expected, name) ({ \ argument
270 #define ASSERT_LE(actual, expected, name) ({ \ argument
281 #define ASSERT_GT(actual, expected, name) ({ \ argument
292 #define ASSERT_GE(actual, expected, name) ({ \ argument
303 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
314 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
Dreg_access_test.c18 uint64_t val, expected; in reg_access() local

12345678910>>...14