Searched refs:expected (Results 1 - 25 of 1183) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/ntp/dist/tests/libntp/
H A Dymd2yd.c23 int expected = 31+28+31+30+31+18; // 18 June non-leap year local
24 TEST_ASSERT_EQUAL(expected, ymd2yd(2011, 6, 18));
37 int expected = 31+29+31+30+31+30+31+31+30+31+30+31; local
38 TEST_ASSERT_EQUAL(expected, ymd2yd(2012, 12, 31));
H A Dlfptest.c7 int IsEqual(const l_fp expected, const l_fp actual) { argument
8 if (L_ISEQU(&expected, &actual)) {
H A Dcaltontp.c17 u_long expected = 3486372600UL; // This is the timestamp above. local
19 TEST_ASSERT_EQUAL_UINT(expected, caltontp(&input));
28 u_long expected = 3486372600UL; // This is the timestamp above. local
30 TEST_ASSERT_EQUAL_UINT(expected, caltontp(&input));
40 u_long expected = 3549528000UL; local
42 TEST_ASSERT_EQUAL_UINT(expected, caltontp(&inputYd));
43 TEST_ASSERT_EQUAL_UINT(expected, caltontp(&inputMd));
52 u_long expected = 0UL; local
54 TEST_ASSERT_EQUAL_UINT(expected, caltontp(&input));
H A Dtstotv.c18 const struct timeval expected = {50, 0}; local
23 TEST_ASSERT_EQUAL(expected.tv_sec, actual.tv_sec);
24 TEST_ASSERT_EQUAL(expected.tv_usec, actual.tv_usec);
31 const struct timeval expected = {50, 500000}; local
36 TEST_ASSERT_EQUAL(expected.tv_sec, actual.tv_sec);
37 TEST_ASSERT_EQUAL(expected.tv_usec, actual.tv_usec);
44 const struct timeval expected = {50, 900}; local
49 TEST_ASSERT_EQUAL(expected.tv_sec, actual.tv_sec);
50 TEST_ASSERT_EQUAL(expected.tv_usec, actual.tv_usec);
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/
H A Dbranch-swap-2.l1 # No warnings or errors expected!
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/riscv/
H A Dalign-1.l1 # No warning or error expected.
/netbsd-current/sys/external/bsd/compiler_rt/dist/test/builtins/Unit/
H A Dtruncdfsf2_test.c23 float expected = a; local
25 if (actual != expected) {
27 "expected %f\n", a, actual, expected);
H A Dabsvsi2_test.c27 si_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvsi2(0x%X) = %d, expected positive %d\n",
32 a, x, expected);
33 return x != expected;
H A Dfixdfsivfp_test.c25 int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixdfsivfp(%f) = %d, expected %d\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixunssfsivfp_test.c25 unsigned int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixunssfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dextebdsfdf2vfp_test.c26 double expected = a; local
27 if (actual != expected)
28 printf("error in test__extendsfdf2vfp(%f) = %f, expected %f\n",
29 a, actual, expected);
30 return actual != expected;
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/nvptx/
H A Datomic.c14 __int128 expected = oldval; local
15 __atomic_compare_exchange_n (ptr, &expected, newval, false,
17 return expected;
/netbsd-current/external/bsd/openpam/dist/t/
H A Dt_pam_err.c47 t_compare_pam_err(int expected, int received) argument
50 if (expected == received)
52 if (expected >= 0 && expected < PAM_NUM_ERRORS)
53 t_printv("expected %s, ", pam_err_name[expected]);
55 t_printv("expected %d, ", expected);
/netbsd-current/sys/external/bsd/compiler_rt/dist/test/Unit/
H A Dabsvsi2_test.c27 si_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvsi2(0x%X) = %d, expected positive %d\n",
32 a, x, expected);
33 return x != expected;
H A Dextebdsfdf2vfp_test.c25 double expected = a; local
26 if (actual != expected)
27 printf("error in test__extendsfdf2vfp(%f) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixdfsivfp_test.c25 int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixdfsivfp(%f) = %d, expected %d\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixunsdfsivfp_test.c25 unsigned int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixunsdfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dfixunssfsivfp_test.c25 unsigned int expected = a; local
26 if (actual != expected)
27 printf("error in test__fixunssfsivfp(%f) = %u, expected %u\n",
28 a, actual, expected);
29 return actual != expected;
H A Dnegdf2vfp_test.c25 double expected = -a; local
26 if (actual != expected)
27 printf("error in test__negdf2vfp(%f) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dnegsf2vfp_test.c25 float expected = -a; local
26 if (actual != expected)
27 printf("error in test__negsf2vfp(%f) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
H A Dtruncdfsf2vfp_test.c25 float expected = a; local
26 if (actual != expected)
27 printf("error in test__truncdfsf2vfp(%f) = %f, expected %f\n",
28 a, actual, expected);
29 return actual != expected;
/netbsd-current/usr.bin/make/unit-tests/
H A Dcond-short.exp0 expected and
2 expected and exists
3 expected and empty
4 expected U23 condition
5 expected VAR23
6 expected M pattern
7 expected or
8 expected or exists
9 expected or empty
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/
H A Dsve-movprfx_23.l2 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `incp z1.h,p1'
3 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `incp z1.s,p1'
4 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `incp z1.d,p1'
5 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `decp z1.h,p1'
6 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `decp z1.s,p1'
7 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `decp z1.d,p1'
8 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `sqincp z1.h,p1'
9 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `sqincp z1.s,p1'
10 .*: Warning: merging predicate expected due to preceding `movprfx' at operand 2 -- `sqincp z1.d,p1'
11 .*: Warning: merging predicate expected du
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/
H A Dintrusive_list-selftests.c80 gdb::array_view<const typename ListType::value_type *> expected)
90 gdb_assert (i < expected.size ());
91 gdb_assert (&item == expected[i]);
96 gdb_assert (i == expected.size ());
107 gdb_assert (&item == expected[i]);
120 std::vector<const item_type *> expected; local
128 expected = {};
129 verify_items (list1, expected);
131 expected = {&a, &b, &c};
132 verify_items (list2, expected);
79 verify_items(const ListType &list, gdb::array_view<const typename ListType::value_type *> expected) argument
139 std::vector<const item_type *> expected; local
155 std::vector<const item_type *> expected; local
175 std::vector<const item_type *> expected; local
198 std::vector<const item_type *> expected; local
218 std::vector<const item_type *> expected; local
238 std::vector<const item_type *> expected; local
256 std::vector<const item_type *> expected; local
276 std::vector<const item_type *> expected; local
299 std::vector<const item_type *> expected; local
319 std::vector<const item_type *> expected; local
338 std::vector<const item_type *> expected; local
354 std::vector<const item_type *> expected; local
398 std::vector<const item_type *> expected; local
421 std::vector<const item_type *> expected; local
442 std::vector<const item_type *> expected; local
514 std::vector<const item_type *> expected; local
537 std::vector<const item_type *> expected; local
557 std::vector<const item_type *> expected; local
577 std::vector<const item_type *> expected; local
594 std::vector<const item_type *> expected; local
618 std::vector<const item_type *> expected; local
642 std::vector<const item_type *> expected; local
666 std::vector<const item_type *> expected; local
687 std::vector<const item_type *> expected; local
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/unity/
H A Dunity.h78 #define TEST_ASSERT_EQUAL_INT(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT((expected), (actual), __LINE__, NULL)
79 #define TEST_ASSERT_EQUAL_INT8(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT8((expected), (actual), __LINE__, NULL)
80 #define TEST_ASSERT_EQUAL_INT16(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT16((expected), (actual), __LINE__, NULL)
81 #define TEST_ASSERT_EQUAL_INT32(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT32((expected), (actual), __LINE__, NULL)
82 #define TEST_ASSERT_EQUAL_INT64(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT64((expected), (actua
[all...]

Completed in 134 milliseconds

1234567891011>>