/kernel/liteos_m/testsuites/unittest/posix/src/ |
D | posix_test.h | 51 #define TEST_ASSERT_EQUAL(expected, actual) ICUNIT_ASSERT_EQUAL(expected, actual, actual) argument 52 #define TEST_ASSERT_EQUAL_INT(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 53 #define TEST_ASSERT_EQUAL_INT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 54 #define TEST_ASSERT_EQUAL_INT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 55 #define TEST_ASSERT_EQUAL_UINT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 56 #define TEST_ASSERT_EQUAL_UINT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 58 #define TEST_ASSERT_EQUAL_PTR(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument 60 #define TEST_ASSERT_NOT_EQUAL(expected, actual) ICUNIT_ASSERT_NOT_EQUAL(expected, actual, actual) argument 74 #define TEST_ASSERT_EQUAL_CHAR_ARRAY(expected, actual, num) ICUNIT_ASSERT_SIZE_STRING_EQUAL(expecte… argument 75 #define TEST_ASSERT_EQUAL_FLOAT(expected, actual) \ argument
|
/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-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-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
|
D | percpu_test.c | 5 #define CHECK(native, pcp, expected) \ argument
|
D | test_strscpy.c | 29 static int __init tc(char *src, int count, int expected, in tc()
|
/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
|
D | api-io.c | 18 #define EXPECT_EQUAL(val, expected) \ argument 27 #define EXPECT_EQUAL64(val, expected) \ argument
|
D | openat-syscall-all-cpus.c | 101 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
|
/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
|
D | file_cache.c | 21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
|
/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
|
D | cycles_with_mmcr2_test.c | 25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
|
D | instruction_count_test.c | 28 int64_t difference, expected; in do_count_loop() local
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_ondisk.h | 18 #define XFS_CHECK_VALUE(value, expected) \ argument
|
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/ |
D | timer_test_003.cpp | 80 int64_t expected, escaped; in SetTimerTest() local
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 32 s64 difference, expected; in do_count_loop() local
|
D | count_stcx_fail.c | 32 s64 difference, expected; in do_count_loop() local
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | acapps.h | 65 #define ACPI_CHECK_STATUS(name, status, expected) \ argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_progs.h | 133 #define ASSERT_EQ(actual, expected, name) ({ \ argument 144 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | rxtimestamp.c | 45 struct tstamps expected; member 175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
D | w1_ds2408.c | 140 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()
|