/netbsd-src/external/bsd/ntp/dist/sntp/unity/ |
H A D | unity.h | 78 #define TEST_ASSERT_EQUAL_INT(expected, actual) … argument 79 #define TEST_ASSERT_EQUAL_INT8(expected, actual) … argument 80 #define TEST_ASSERT_EQUAL_INT16(expected, actual) … argument 81 #define TEST_ASSERT_EQUAL_INT32(expected, actual) … argument 82 #define TEST_ASSERT_EQUAL_INT64(expected, actual) … argument 83 #define TEST_ASSERT_EQUAL(expected, actual) … argument 84 #define TEST_ASSERT_NOT_EQUAL(expected, actual) … argument 85 #define TEST_ASSERT_EQUAL_UINT(expected, actual) … argument 86 #define TEST_ASSERT_EQUAL_UINT8(expected, actual) … argument 87 #define TEST_ASSERT_EQUAL_UINT16(expected, actual) … argument [all …]
|
H A D | unity_fixture.h | 78 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual) argument 79 #define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0x… argument 82 #define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual)) argument 83 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual… argument 84 #define DOUBLES_EQUAL(expected, actual, delta) TEST_ASSERT_FLOAT_WITHIN(((expected), (actua… argument
|
H A D | unity.c | 389 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) in UnityPrintExpectedAndActualStrings() 419 static int UnityCheckArraysForNull(UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE co… in UnityCheckArraysForNull() 452 const _U_SINT expected, in UnityAssertBits() 472 void UnityAssertEqualNumber(const _U_SINT expected, in UnityAssertEqualNumber() 493 void UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected, in UnityAssertEqualIntArray() 611 void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected, in UnityAssertEqualFloatArray() 668 const _UF expected, in UnityAssertFloatsWithin() 772 void UnityAssertEqualDoubleArray(UNITY_PTR_ATTRIBUTE const _UD* expected, in UnityAssertEqualDoubleArray() 829 const _UD expected, in UnityAssertDoublesWithin() 935 const _U_SINT expected, in UnityAssertNumbersWithin() [all …]
|
/netbsd-src/external/mit/isl/dist/ |
H A D | isl_test_int.c | 189 static void int_test_neg(isl_int expected, isl_int arg) in int_test_neg() 203 static void int_test_abs(isl_int expected, isl_int arg) in int_test_abs() 216 char *expected, *arg; member 234 static void int_test_divexact(isl_int expected, isl_int lhs, isl_int rhs) in int_test_divexact() 272 static void int_test_mul(isl_int expected, isl_int lhs, isl_int rhs) in int_test_mul() 309 static void int_test_add(isl_int expected, isl_int lhs, isl_int rhs) in int_test_add() 320 static void int_test_sub(isl_int expected, isl_int lhs, isl_int rhs) in int_test_sub() 343 static void int_test_fdiv(isl_int expected, isl_int lhs, isl_int rhs) in int_test_fdiv() 362 static void int_test_cdiv(isl_int expected, isl_int lhs, isl_int rhs) in int_test_cdiv() 381 static void int_test_tdiv(isl_int expected, isl_int lhs, isl_int rhs) in int_test_tdiv() [all …]
|
/netbsd-src/external/bsd/ntp/dist/tests/libntp/ |
H A D | caltontp.c | 17 u_long expected = 3486372600UL; // This is the timestamp above. in test_DateGivenMonthDay() local 28 u_long expected = 3486372600UL; // This is the timestamp above. in test_DateGivenYearDay() local 40 u_long expected = 3549528000UL; in test_DateLeapYear() local 52 u_long expected = 0UL; in test_WraparoundDateIn2036() local
|
H A D | hextolfp.c | 24 l_fp expected = {{4096}, 0}; /* 16^3, no fraction part. */ in test_PositiveInteger() local 35 l_fp expected = {{-1}, 0}; in test_NegativeInteger() local 46 l_fp expected = {{8192}, HALF}; in test_PositiveFraction() local 57 l_fp expected = {{-1}, QUARTER}; /* -1 + 0.25 */ in test_NegativeFraction() local
|
H A D | calyearstart.c | 31 const u_int32 expected = 3471292800UL; // 2010-01-01 00:00:00 in test_NoWrapInDateRange() local 39 const u_int32 expected = 3534364800UL; // 2012-01-01 00:00:00 in test_NoWrapInDateRangeLeapYear() local 47 const u_int32 expected = 4291747200UL; // 2036-01-01 00:00:00 in test_WrapInDateRange() local
|
H A D | tstotv.c | 18 const struct timeval expected = {50, 0}; in test_Seconds() local 31 const struct timeval expected = {50, 500000}; in test_MicrosecondsExact() local 44 const struct timeval expected = {50, 900}; in test_MicrosecondsRounding() local
|
H A D | tvtots.c | 20 l_fp expected = {{500}, 0}; in test_Seconds() local 38 l_fp expected = {{0}, HALF_PROMILLE_UP}; in test_MicrosecondsRounded() local 52 const l_fp expected = {{10}, HALF}; /* 0.5 exact */ in test_MicrosecondsExact() local
|
H A D | ymd2yd.c | 23 int expected = 31+28+31+30+31+18; // 18 June non-leap year in test_NonLeapYearJune() local 37 int expected = 31+29+31+30+31+30+31+31+30+31+30+31; in test_LeapYearDecember() local
|
H A D | humandate.c | 28 char expected[15]; in test_RegularTime() local 45 char expected[15]; in test_CurrentTime() local
|
H A D | buftvtots.c | 27 const l_fp expected = {{0 + JAN_1970}, 0}; in test_ZeroBuffer() local 46 const l_fp expected = {{5 + JAN_1970}, HALF}; in test_IntegerAndFractionalBuffer() local
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/ |
H A D | array.d | 524 string expected = "[id1,id2]"; variable 626 static immutable expected = [2, 3, 4, 5]; variable 643 static immutable expected = [2, 3, 4, 5]; variable 660 static immutable expected = [2, 3, 4, 5]; variable 740 static immutable expected = [2, 3, 4, 5]; variable 799 static immutable expected = [2, 3, 1]; variable 894 enum expected = [3, 4].staticArray; variable 959 enum expected = [2, 4, 6, 8].staticArray; variable 1117 auto expected = [2, 3].staticArray; variable
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A D | pkey_meth_kdf_test.c | 48 const unsigned char expected[sizeof(out)] = { in test_kdf_tls1_prf() local 93 const unsigned char expected[sizeof(out)] = { in test_kdf_hkdf() local 154 const unsigned char expected[sizeof(out)] = { in test_kdf_scrypt() local
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | pkey_meth_kdf_test.c | 67 const unsigned char expected[sizeof(out)] = { in test_kdf_tls1_prf() local 134 const unsigned char expected[sizeof(out)] = { in test_kdf_hkdf() local 201 const unsigned char expected[sizeof(out)] = { in test_kdf_scrypt() local
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/unit/ |
H A D | test_compilation.py | 66 def test(expected, cmd): argument 85 def test(expected, flags): argument 89 def same(expected): argument
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ |
H A D | fp_test.h | 81 uint16_t expected) in compareResultH() 99 uint32_t expected) in compareResultF() 117 uint64_t expected) in compareResultD() 161 enum EXPECTED_RESULT expected) in compareResultCMP() 194 static inline char *expectedStr(enum EXPECTED_RESULT expected) in expectedStr()
|
/netbsd-src/tests/lib/libc/locale/ |
H A D | t_strfmon.c | 53 const char *expected; in ATF_TC_BODY() member 98 char actual[40], expected[40]; in ATF_TC_BODY() local 136 const char *expected; in ATF_TC_BODY() member 178 const char *expected; in ATF_TC_BODY() member 223 const char *expected; in ATF_TC_BODY() member 268 const char *expected; in ATF_TC_BODY() member
|
/netbsd-src/external/lgpl3/mpc/dist/tests/ |
H A D | tio_str.c | 47 mpc_t expected, got; in check_file() local 116 check_io_str (mpc_ptr read_number, mpc_ptr expected) in check_io_str() 160 check_stdout (mpc_ptr read_number, mpc_ptr expected) in check_stdout()
|
H A D | tgeneric.c | 511 reuse_cc (mpc_function* function, mpc_srcptr z, mpc_ptr got, mpc_ptr expected) in reuse_cc() 563 reuse_fc (mpc_function* function, mpc_ptr z, mpc_ptr x, mpfr_ptr expected) in reuse_fc() 596 mpc_ptr expected) in reuse_cfc() 617 mpc_ptr expected) in reuse_ccf() 639 mpc_ptr got, mpc_ptr expected) in reuse_c_cc() 685 mpc_ptr got, mpc_ptr expected) in reuse_cccc() 750 mpc_ptr got, mpc_ptr expected) in reuse_ccu() 771 mpc_ptr got, mpc_ptr expected) in reuse_cuc() 792 mpc_ptr got, mpc_ptr expected) in reuse_ccs() 813 mpc_ptr got, mpc_ptr expected) in reuse_cci() [all …]
|
/netbsd-src/external/mit/expat/dist/tests/ |
H A D | runtests.c | 511 const uint64_t expected = _SIP_ULL(0xa129ca61U, 0x49be45e5U); in START_TEST() local 594 _run_character_check(const char *text, const XML_Char *expected, in _run_character_check() 607 #define run_character_check(text, expected) \ argument 611 _run_attribute_check(const char *text, const XML_Char *expected, in _run_attribute_check() 624 #define run_attribute_check(text, expected) \ argument 641 const XML_Char *expected, const char *file, int line) { in _run_ext_character_check() 656 #define run_ext_character_check(text, test_data, expected) \ argument 664 const XML_Char *expected in START_TEST() local 667 const XML_Char *expected in START_TEST() local 679 const XML_Char *expected = XCS("\x00e9\x00e8\x00e0\x00e7\x00ea\x00c8"); in START_TEST() local [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | selftest-rtl.c | 44 rtx expected, rtx actual) in assert_rtx_eq_at() 67 rtx expected, rtx actual) in assert_rtx_ptr_eq_at()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | selftest-rtl.cc | 44 rtx expected, rtx actual) in assert_rtx_eq_at() 67 rtx expected, rtx actual) in assert_rtx_ptr_eq_at()
|
/netbsd-src/sys/crypto/aes/ |
H A D | aes_selftest.c | 75 #define aes_selftest_fail(impl, actual, expected, nbytes, fmt, args...) \ argument 90 static const uint8_t expected[3][16] = { in aes_selftest_encdec() local 145 static const uint8_t expected[3][144] = { in aes_selftest_encdec_cbc() local 279 static const uint8_t expected[3][144] = { in aes_selftest_encdec_xts() local
|
/netbsd-src/external/bsd/ntp/dist/sntp/tests/ |
H A D | kodFile.c | 119 FILE * expected = fopen(CreatePath("kod-expected-single", INPUT_DIR),"rb"); in test_WriteFileWithSingleEntry() local 149 FILE * expected = fopen(CreatePath("kod-expected-multiple", INPUT_DIR),"rb"); in test_WriteFileWithMultipleEntries() local
|