| /freebsd-12.1/contrib/ntp/sntp/unity/ |
| H A D | unity.h | 145 …TEST_ASSERT_FLOAT_IS_INF(actual) UNITY_T… argument 146 …_ASSERT_FLOAT_IS_NEG_INF(actual) UNITY_TEST_… argument 147 …TEST_ASSERT_FLOAT_IS_NAN(actual) UNITY_T… argument 149 …_ASSERT_FLOAT_IS_NOT_INF(actual) UNITY_TEST_… argument 151 …_ASSERT_FLOAT_IS_NOT_NAN(actual) UNITY_TEST_… argument 158 …EST_ASSERT_DOUBLE_IS_INF(actual) UNITY_TE… argument 159 …ASSERT_DOUBLE_IS_NEG_INF(actual) UNITY_TEST_A… argument 160 …EST_ASSERT_DOUBLE_IS_NAN(actual) UNITY_TE… argument 162 …ASSERT_DOUBLE_IS_NOT_INF(actual) UNITY_TEST_A… argument 249 …_ASSERT_FLOAT_IS_INF_MESSAGE(actual, message) UNITY_TEST_… argument [all …]
|
| H A D | unity_internals.h | 437 const _U_SINT actual, 443 UNITY_PTR_ATTRIBUTE const void* actual, 451 const _U_SINT actual, 456 const char* actual, 461 const char** actual, 467 UNITY_PTR_ATTRIBUTE const void* actual, 475 const _U_SINT actual, 487 const _UF actual, 497 void UnityAssertFloatSpecial(const _UF actual, 506 const _UD actual, [all …]
|
| H A D | unity.c | 401 if (actual != NULL) in UnityPrintExpectedAndActualStrings() 404 UnityPrint(actual); in UnityPrintExpectedAndActualStrings() 433 if (actual == NULL) in UnityCheckArraysForNull() 478 if (expected != actual) in UnityAssertEqualNumber() 731 is_trait = (actual == actual) ? 0 : 1; in UnityAssertFloatSpecial() 737 if ( (actual != actual) || ((1.0f / f_zero) == actual) || ((-1.0f / f_zero) == actual) ) in UnityAssertFloatSpecial() 893 is_trait = (actual == actual) ? 0 : 1; in UnityAssertDoubleSpecial() 899 if ( (actual != actual) || ((1.0 / d_zero) == actual) || ((-1.0 / d_zero) == actual) ) in UnityAssertDoubleSpecial() 943 if (actual > expected) in UnityAssertNumbersWithin() 981 if (expected && actual) in UnityAssertEqualString() [all …]
|
| H A D | unity_fixture.h | 76 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual) argument 77 #define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0x… argument 80 #define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual)) argument 81 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual… argument 82 #define DOUBLES_EQUAL(expected, actual, delta) TEST_ASSERT_FLOAT_WITHIN(((expected), (actua… argument
|
| /freebsd-12.1/contrib/atf/atf-c/ |
| H A D | macros.h | 156 #define ATF_REQUIRE_EQ(expected, actual) \ argument 157 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s", #expected, #actual) 159 #define ATF_CHECK_EQ(expected, actual) \ argument 160 ATF_CHECK_MSG((expected) == (actual), "%s != %s", #expected, #actual) 170 #define ATF_REQUIRE_STREQ(expected, actual) \ argument 172 #expected, #actual, expected, actual) 174 #define ATF_CHECK_STREQ(expected, actual) \ argument 176 #expected, #actual, expected, actual) 181 #expected, #actual, expected, actual, ##__VA_ARGS__) 184 ATF_CHECK_MSG(strcmp(expected, actual) == 0, \ [all …]
|
| H A D | build_test.c | 115 char *actual[] = { NULL }; in ATF_TC_BODY() local 117 ATF_CHECK(equal_arrays(exp, actual)); in ATF_TC_BODY() 122 char *actual[2] = { strdup("foo"), NULL }; in ATF_TC_BODY() local 124 ATF_CHECK(!equal_arrays(exp, actual)); in ATF_TC_BODY() 125 free(actual[0]); in ATF_TC_BODY() 130 char *actual[] = { NULL }; in ATF_TC_BODY() local 132 ATF_CHECK(!equal_arrays(exp, actual)); in ATF_TC_BODY() 137 char *actual[2] = { strdup("foo"), NULL }; in ATF_TC_BODY() local 139 ATF_CHECK(equal_arrays(exp, actual)); in ATF_TC_BODY() 140 free(actual[0]); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/libarchive/libarchive/test/ |
| H A D | test_read_format_gtar_sparse.c | 182 struct contents actual; in verify_archive_file() local 208 &p, &actual.s, &actual.o))) { in verify_archive_file() 209 actual.d = p; in verify_archive_file() 210 while (actual.s > 0) { in verify_archive_file() 211 char c = *actual.d; in verify_archive_file() 212 if(actual.o < expect.o) { in verify_archive_file() 237 assert(actual.o <= expect.o); in verify_archive_file() 241 actual.d++; in verify_archive_file() 242 actual.o++; in verify_archive_file() 243 actual.s--; in verify_archive_file() [all …]
|
| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | MKcaptab.sh | 76 if (*actual == 0) { 78 if (*actual != 0) { 82 (*actual)[n].nte_name = strings + len; 83 (*actual)[n].nte_type = source[n].nte_type; 84 (*actual)[n].nte_index = source[n].nte_index; 85 (*actual)[n].nte_link = source[n].nte_link; 90 return *actual; 99 _nc_build_alias(struct alias **actual, 104 if (*actual == 0) { 106 if (*actual != 0) { [all …]
|
| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | googletest-filepath-test.cc | 266 EXPECT_EQ("bar.xml", actual.string()); in TEST() 272 EXPECT_EQ("bar_14.xml", actual.string()); in TEST() 276 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), in TEST() local 288 FilePath actual = FilePath::ConcatPaths(FilePath(""), in TEST() local 290 EXPECT_EQ("bar.xml", actual.string()); in TEST() 295 EXPECT_EQ("foo" GTEST_PATH_SEP_, actual.string()); in TEST() 299 FilePath actual = FilePath::ConcatPaths(FilePath(""), in TEST() local 301 EXPECT_EQ("", actual.string()); in TEST() 308 actual.string()); in TEST() 312 FilePath actual = FilePath::ConcatPaths( in TEST() local [all …]
|
| H A D | gtest_xml_output_unittest.py | 239 actual = self._GetXmlOutput('gtest_no_test_unittest', [], {}, 0) 240 date_time_str = actual.documentElement.getAttributeNode('timestamp').value 256 actual.unlink() 359 actual = minidom.parse(xml_path) 360 return actual 371 actual = self._GetXmlOutput(gtest_prog_name, extra_args or [], 374 self.NormalizeXml(actual.documentElement) 376 actual.documentElement) 378 actual.unlink()
|
| H A D | gtest_xml_outfiles_test.py | 128 actual = minidom.parse(output_file1) 130 actual = minidom.parse(output_file2) 131 self.NormalizeXml(actual.documentElement) 133 actual.documentElement) 135 actual.unlink()
|
| H A D | googletest-uninitialized-test.py | 44 def AssertEq(expected, actual): argument 45 if expected != actual: 47 print ' Actual: %s' % (actual,)
|
| /freebsd-12.1/contrib/ntp/sntp/tests/ |
| H A D | keyFile.c | 10 bool CompareKeys(struct key expected, struct key actual); 22 struct key actual in CompareKeys() argument 25 if (expected.key_id != actual.key_id) { in CompareKeys() 27 expected.key_id, actual.key_id); in CompareKeys() 30 if (expected.key_len != actual.key_len) { in CompareKeys() 32 expected.key_len, actual.key_len); in CompareKeys() 35 if (strcmp(expected.typen, actual.typen) != 0) { in CompareKeys() 37 expected.typen, actual.typen); in CompareKeys() 41 if (memcmp(expected.key_seq, actual.key_seq, expected.key_len) != 0) { in CompareKeys() 55 struct key actual in CompareKeysAlternative() argument [all …]
|
| H A D | crypto.c | 35 char actual[MD5_LENGTH]; in test_MakeMd5Mac() local 46 make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); in test_MakeMd5Mac() 48 TEST_ASSERT_TRUE(memcmp(EXPECTED_DIGEST, actual, MD5_LENGTH) == 0); in test_MakeMd5Mac() 62 char actual[SHA1_LENGTH]; in test_MakeSHA1Mac() local 73 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); in test_MakeSHA1Mac() 75 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, SHA1_LENGTH); in test_MakeSHA1Mac() 95 char actual[CMAC_LENGTH]; in test_MakeCMac() local 105 make_mac(PKT_DATA, PKT_LEN, CMAC_LENGTH, &cmac, actual)); in test_MakeCMac() 107 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, CMAC_LENGTH); in test_MakeCMac() 252 char actual[MD5_LENGTH]; in test_PacketSizeNotMultipleOfFourBytes() local [all …]
|
| H A D | kodFile.c | 116 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithSingleEntry() local 119 TEST_ASSERT_NOT_NULL(actual); in test_WriteFileWithSingleEntry() 122 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); in test_WriteFileWithSingleEntry() 124 TEST_ASSERT_TRUE(CompareFileContent(expected, actual)); in test_WriteFileWithSingleEntry() 146 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithMultipleEntries() local 149 TEST_ASSERT_NOT_NULL(actual); in test_WriteFileWithMultipleEntries() 153 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); in test_WriteFileWithMultipleEntries() 155 TEST_ASSERT_TRUE(CompareFileContent(expected, actual)); in test_WriteFileWithMultipleEntries()
|
| H A D | utilities.c | 15 void FinishDebugTest(const char * expected,const char * actual); 66 const char * actual) { in FinishDebugTest() argument 71 FILE * a = fopen(actual,"rb"); in FinishDebugTest() 126 struct pkt actual; in test_SetLiVnMode1() local 127 set_li_vn_mode(&actual, LEAP_NOWARNING, NTP_VERSION, in test_SetLiVnMode1() 130 TEST_ASSERT_EQUAL(expected.li_vn_mode, actual.li_vn_mode); in test_SetLiVnMode1() 141 struct pkt actual; in test_SetLiVnMode2() local 142 set_li_vn_mode(&actual, LEAP_NOTINSYNC, NTP_OLDVERSION, in test_SetLiVnMode2() 145 TEST_ASSERT_EQUAL(expected.li_vn_mode, actual.li_vn_mode); in test_SetLiVnMode2()
|
| /freebsd-12.1/contrib/apr-util/test/ |
| H A D | abts.c | 230 void abts_int_equal(abts_case *tc, const int expected, const int actual, int lineno) in abts_int_equal() argument 235 if (expected == actual) return; in abts_int_equal() 249 if (expected != actual) return; in abts_int_nequal() 254 lineno, expected, actual); in abts_int_nequal() 265 if (!expected && !actual) return; in abts_str_equal() 266 if (expected && actual) in abts_str_equal() 267 if (!strcmp(expected, actual)) return; in abts_str_equal() 276 void abts_str_nequal(abts_case *tc, const char *expected, const char *actual, in abts_str_nequal() argument 282 if (!strncmp(expected, actual, n)) return; in abts_str_nequal() 287 lineno, expected, actual); in abts_str_nequal() [all …]
|
| H A D | abts.h | 72 void abts_int_equal(abts_case *tc, const int expected, const int actual, int lineno); 73 void abts_int_nequal(abts_case *tc, const int expected, const int actual, int lineno); 74 void abts_str_equal(abts_case *tc, const char *expected, const char *actual, int lineno); 75 void abts_str_nequal(abts_case *tc, const char *expected, const char *actual, 78 void abts_ptr_equal(abts_case *tc, const void *expected, const void *actual, int lineno);
|
| /freebsd-12.1/contrib/ncurses/ncurses/widechar/ |
| H A D | widechars.c | 69 wchar_t actual[2]; in _nc_mbtowc() local 70 memset(&actual, 0, sizeof(actual)); in _nc_mbtowc() 75 actual, in _nc_mbtowc() 77 TR(TRACE_BITS, ("\twin32 ->%#x, %#x", actual[0], actual[1])); in _nc_mbtowc() 78 *pwc = actual[0]; in _nc_mbtowc() 79 if (actual[1] != 0) in _nc_mbtowc()
|
| /freebsd-12.1/bin/sh/tests/expansion/ |
| H A D | pathname6.0 | 13 actual="$*" 14 if [ "$actual" != "$expect" ]; then 16 printf '%s\n' "For $testcase, expected $expect actual $actual"
|
| H A D | pathname4.0 | 9 actual="$*" 10 if [ "$actual" != "$expect" ]; then 12 printf '%s\n' "For $testcase, expected $expect actual $actual"
|
| H A D | pathname2.0 | 13 actual="$*" 14 if [ "$actual" != "$expect" ]; then 16 printf '%s\n' "For $testcase, expected $expect actual $actual"
|
| /freebsd-12.1/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_2835_arm.c | 102 free_pagelist(BULKINFO_T *bi, int actual); 306 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk() 307 free_pagelist((BULKINFO_T *)bulk->remote_data, bulk->actual); in vchiq_complete_bulk() 554 free_pagelist(BULKINFO_T *bi, int actual) in free_pagelist() argument 563 …"free_pagelist - %x, %d (%lu bytes @%p)", (unsigned int)pagelist, actual, pagelist->length, bi->bu… in free_pagelist() 578 tail_bytes = (pagelist->offset + actual) & in free_pagelist() 581 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist() 582 if (head_bytes > actual) in free_pagelist() 583 head_bytes = actual; in free_pagelist() 591 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist() [all …]
|
| /freebsd-12.1/contrib/binutils/gas/ |
| H A D | macro.c | 464 sb_new (&formal->actual); in new_formal() 475 sb_kill (&formal->actual); in del_formal() 726 if (ptr->actual.len) in sub_actual() 948 if (ptr->actual.len) in macro_expand_body() 1000 sb_reset (&f->actual); in macro_expand() 1068 if (ptr->actual.len) in macro_expand() 1073 sb_reset (&ptr->actual); in macro_expand() 1118 if (f->actual.len > 0) in macro_expand() 1303 sb_new (&f.actual); in expand_irp() 1356 sb_reset (&f.actual); in expand_irp() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | gdb-events.sh | 252 echo "#define ${function}_event(${actual}) 0" 255 echo "#define ${function}_event(${actual}) 0" 349 return current_events->${function} (${actual}); 363 current_event_hooks->${function} (${actual}); 436 if test ${actual} 461 if test ${actual} 501 for arg in `echo ${actual} | tr '[,]' '[:]' | tr -d '[ ]'`; do 540 if test ${actual} 545 for arg in `echo ${actual} | tr '[,]' '[:]' | tr -d '[ ]'`; do
|