| /kernel/liteos_m/testsuites/unittest/posix/src/math/ |
| D | math_func_test.c | 105 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/ |
| D | conftest.py | 220 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/ |
| D | conftest.py | 224 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/ |
| D | kselftest_harness.h | 442 #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/ |
| D | kselftest_harness.h | 455 #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/ |
| D | vaddr-test.h | 132 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/ |
| D | drm_format_helper_test.c | 21 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 …]
|
| D | drm_modes_test.c | 76 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/ |
| D | globtest.c | 16 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
|
| D | dhry_1.c | 227 #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
|
| D | fortify_kunit.c | 66 #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
|
| D | test_user_copy.c | 94 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/ |
| D | globtest.c | 16 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
|
| D | test_user_copy.c | 94 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/ |
| D | tc_helpers.h | 48 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/ |
| D | math_std_api_test.c | 54 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/ |
| D | hists_cumulate.c | 177 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/ |
| D | hists_cumulate.c | 190 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/ |
| D | vstate_prctl.c | 59 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/ |
| D | file.c | 422 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/ |
| D | cfi.c | 73 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/ |
| D | test_progs.h | 237 #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/ |
| D | cmpxchg.h | 17 __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/ |
| D | file.c | 421 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/ |
| D | reg_access_test.c | 18 uint64_t val, expected; in reg_access() local
|