Home
last modified time | relevance | path

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

123456

/kernel/liteos_m/testsuites/unittest/posix/src/
Dposix_test.h51 #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/
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-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-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
Dpercpu_test.c5 #define CHECK(native, pcp, expected) \ argument
Dtest_strscpy.c29 static int __init tc(char *src, int count, int expected, in tc()
/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
Dapi-io.c18 #define EXPECT_EQUAL(val, expected) \ argument
27 #define EXPECT_EQUAL64(val, expected) \ argument
Dopenat-syscall-all-cpus.c101 unsigned int expected; in test__openat_syscall_event_on_all_cpus() local
/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
Dfile_cache.c21 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/
Dreg_access_test.c18 uint64_t val, expected; in reg_access() local
Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
Dinstruction_count_test.c28 int64_t difference, expected; in do_count_loop() local
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ondisk.h18 #define XFS_CHECK_VALUE(value, expected) \ argument
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/
Dtimer_test_003.cpp80 int64_t expected, escaped; in SetTimerTest() local
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/
Dcount_instructions.c32 s64 difference, expected; in do_count_loop() local
Dcount_stcx_fail.c32 s64 difference, expected; in do_count_loop() local
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dacapps.h65 #define ACPI_CHECK_STATUS(name, status, expected) \ argument
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_progs.h133 #define ASSERT_EQ(actual, expected, name) ({ \ argument
144 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Drxtimestamp.c45 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/
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()

123456