| /src/external/bsd/ntp/dist/tests/libntp/ |
| ymd2yd.c | 23 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));
|
| lfptest.c | 7 int IsEqual(const l_fp expected, const l_fp actual) { 8 if (L_ISEQU(&expected, &actual)) {
|
| caltontp.c | 17 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));
|
| decodenetnum.c | 41 sockaddr_u expected; local 43 ZERO(expected); 44 AF(&expected) = AF_INET; 45 expected.sa4.sin_addr.s_addr = inet_addr("192.0.2.1"); 46 SET_PORT(&expected, NTP_PORT); 49 TEST_ASSERT_TRUE(IsEqual(expected, actual)); 57 sockaddr_u expected; local 59 ZERO(expected); 60 AF(&expected) = AF_INET; 61 expected.sa4.sin_addr.s_addr = inet_addr("192.0.2.2") 84 sockaddr_u expected; local 119 sockaddr_u expected; local 150 sockaddr_u expected; local 184 sockaddr_u expected; local 220 sockaddr_u expected; local [all...] |
| calyearstart.c | 31 const u_int32 expected = 3471292800UL; // 2010-01-01 00:00:00 local 33 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); 34 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL)); 39 const u_int32 expected = 3534364800UL; // 2012-01-01 00:00:00 local 41 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); 42 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL)); 47 const u_int32 expected = 4291747200UL; // 2036-01-01 00:00:00 local 49 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); 50 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL));
|
| strtolfp.c | 43 l_fp expected = {{500},0}; local 49 TEST_ASSERT_TRUE_MESSAGE(IsEqual(expected, actual), fmtLFP(&expected, &actual)); 50 TEST_ASSERT_TRUE_MESSAGE(IsEqual(expected, actual_ms), fmtLFP(&expected, &actual_ms)); 57 l_fp expected; local 58 expected.l_i = -300; 59 expected.l_uf = 0; 66 TEST_ASSERT_TRUE_MESSAGE(IsEqual(expected, actual), fmtLFP(&expected, &actual)) 74 l_fp expected = {{500}, HALF}; local 88 l_fp expected; local 105 l_fp expected = {{300}, QUARTER_PROMILLE_APPRX}; local 120 l_fp expected; local [all...] |
| tstotv.c | 18 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);
|
| /src/sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ |
| truncdfsf2_test.c | 23 float expected = a; local 25 if (actual != expected) { 27 "expected %f\n", a, actual, expected);
|
| absvsi2_test.c | 27 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;
|
| extebdsfdf2vfp_test.c | 26 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;
|
| fixdfsivfp_test.c | 25 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;
|
| fixunssfsivfp_test.c | 25 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;
|
| /src/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
| atomic.c | 14 __int128 expected = oldval; local 15 __atomic_compare_exchange_n (ptr, &expected, newval, false, 17 return expected;
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
| atomic.c | 14 __int128 expected = oldval; local 15 __atomic_compare_exchange_n (ptr, &expected, newval, false, 17 return expected;
|
| /src/external/bsd/openpam/dist/t/ |
| t_pam_err.c | 47 t_compare_pam_err(int expected, int received) 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);
|
| /src/sys/external/bsd/compiler_rt/dist/test/Unit/ |
| absvsi2_test.c | 27 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;
|
| extebdsfdf2vfp_test.c | 25 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;
|
| fixdfsivfp_test.c | 25 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;
|
| fixunsdfsivfp_test.c | 25 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;
|
| fixunssfsivfp_test.c | 25 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;
|
| negdf2vfp_test.c | 25 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;
|
| negsf2vfp_test.c | 25 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;
|
| truncdfsf2vfp_test.c | 25 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;
|
| /src/usr.bin/make/unit-tests/ |
| cond-short.exp | 0 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
|
| /src/external/bsd/ntp/dist/sntp/unity/ |
| unity.h | 71 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") 73 #define TEST_ASSERT_FALSE(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expected FALSE Was TRUE") 74 #define TEST_ASSERT_NULL(pointer) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL") 75 #define TEST_ASSERT_NOT_NULL(pointer) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expected Non-NULL") 78 #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 [all...] |