/freebsd-11-stable/contrib/ntp/sntp/unity/ |
H A D | unity.h | 76 #define TEST_ASSERT_EQUAL_INT(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT((expected), (actual), __LINE__, NULL) 77 #define TEST_ASSERT_EQUAL_INT8(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT8((expected), (actual), __LINE__, NULL) 78 #define TEST_ASSERT_EQUAL_INT16(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT16((expected), (actual), __LINE__, NULL) 79 #define TEST_ASSERT_EQUAL_INT32(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT32((expected), (actual), __LINE__, NULL) 80 #define TEST_ASSERT_EQUAL_INT64(expected, actual) UNITY_TEST_ASSERT_EQUAL_INT64((expected), (actual), __LINE_ [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, 492 UNITY_PTR_ATTRIBUTE const _UF* actual, 497 void UnityAssertFloatSpecial(const _UF actual, [all...] |
H A D | unity_fixture.h | 76 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual) 77 #define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0xff & (actual)) 80 #define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual)) 81 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual)) 82 #define DOUBLES_EQUAL(expected, actual, delta) TEST_ASSERT_FLOAT_WITHIN(((expected), (actual), (delt [all...] |
H A D | unity.c | 387 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) argument 401 if (actual != NULL) 404 UnityPrint(actual); 417 static int UnityCheckArraysForNull(UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE const void* actual, const UNITY_LINE_TYPE lineNumber, const char* msg) argument 420 if ((expected == NULL) && (actual == NULL)) 432 //throw error if just actual is NULL 433 if (actual == NULL) 451 const _U_SINT actual, 457 if ((mask & expected) != (mask & actual)) 463 UnityPrintMask((_U_UINT)mask, (_U_UINT)actual); 449 UnityAssertBits(const _U_SINT mask, const _U_SINT expected, const _U_SINT actual, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 470 UnityAssertEqualNumber(const _U_SINT expected, const _U_SINT actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) argument 491 UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE const void* actual, const _UU32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) argument 609 UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected, UNITY_PTR_ATTRIBUTE const _UF* actual, const _UU32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 665 UnityAssertFloatsWithin(const _UF delta, const _UF expected, const _UF actual, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 703 UnityAssertFloatSpecial(const _UF actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) argument 770 UnityAssertEqualDoubleArray(UNITY_PTR_ATTRIBUTE const _UD* expected, UNITY_PTR_ATTRIBUTE const _UD* actual, const _UU32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 826 UnityAssertDoublesWithin(const _UD delta, const _UD expected, const _UD actual, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 865 UnityAssertDoubleSpecial(const _UD actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) argument 932 UnityAssertNumbersWithin( const _U_SINT delta, const _U_SINT expected, const _U_SINT actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) argument 971 UnityAssertEqualString(const char* expected, const char* actual, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 1010 UnityAssertEqualStringArray( const char** expected, const char** actual, const _UU32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber) argument 1070 UnityAssertEqualMemory( UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE const void* actual, const _UU32 length, const _UU32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber) argument [all...] |
H A D | unity_fixture_internals.h | 40 const void * actual,
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_gtar_sparse.c | 182 struct contents actual; local 208 &p, &actual.s, &actual.o))) { 209 actual.d = p; 210 while (actual.s > 0) { 211 char c = *actual.d; 212 if(actual.o < expect.o) { 219 (intmax_t)actual.o); 221 } else if (actual.o == expect.o) { 238 assert(actual [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/ |
H A D | widechars.c | 69 wchar_t actual[2]; local 70 memset(&actual, 0, sizeof(actual)); 75 actual, 77 TR(TRACE_BITS, ("\twin32 ->%#x, %#x", actual[0], actual[1])); 78 *pwc = actual[0]; 79 if (actual[1] != 0)
|
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | MKcaptab.sh | 72 _nc_build_names(struct name_table_entry **actual, 76 if (*actual == 0) { 77 *actual = typeCalloc(struct name_table_entry, CAPTABSIZE); 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; 95 (*actual)[ [all...] |
/freebsd-11-stable/contrib/atf/atf-c/ |
H A D | macros.h | 156 #define ATF_REQUIRE_EQ(expected, actual) \ 157 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s", #expected, #actual) 159 #define ATF_CHECK_EQ(expected, actual) \ 160 ATF_CHECK_MSG((expected) == (actual), "%s != %s", #expected, #actual) 162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ 163 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s: " fmt, \ 164 #expected, #actual, ##__VA_ARGS__) 166 #define ATF_CHECK_EQ_MSG(expected, actual, fm [all...] |
H A D | build_test.c | 115 char *actual[] = { NULL }; local 117 ATF_CHECK(equal_arrays(exp, actual)); 122 char *actual[2] = { strdup("foo"), NULL }; local 124 ATF_CHECK(!equal_arrays(exp, actual)); 125 free(actual[0]); 130 char *actual[] = { NULL }; local 132 ATF_CHECK(!equal_arrays(exp, actual)); 137 char *actual[2] = { strdup("foo"), NULL }; local 139 ATF_CHECK(equal_arrays(exp, actual)); 140 free(actual[ [all...] |
/freebsd-11-stable/lib/libc/tests/iconv/ |
H A D | iconvctl_test.c | 38 int actual, status; local 43 status = iconvctl(ic, ICONV_TRIVIALP, &actual); 46 ATF_REQUIRE(actual == expected);
|
/freebsd-11-stable/crypto/openssh/regress/ |
H A D | host-expand.sh | 16 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual 17 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | keyFile.c | 10 bool CompareKeys(struct key expected, struct key actual); 11 bool CompareKeysAlternative(int key_id,int key_len,const char* type,const char* key_seq,struct key actual); 22 struct key actual 25 if (expected.key_id != actual.key_id) { 27 expected.key_id, actual.key_id); 30 if (expected.key_len != actual.key_len) { 32 expected.key_len, actual.key_len); 35 if (strcmp(expected.typen, actual.typen) != 0) { 37 expected.typen, actual.typen); 41 if (memcmp(expected.key_seq, actual [all...] |
H A D | kodFile.c | 116 FILE * actual = fopen(kod_db_file, "rb"); local 119 TEST_ASSERT_NOT_NULL(actual); 122 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); 124 TEST_ASSERT_TRUE(CompareFileContent(expected, actual)); 146 FILE * actual = fopen(kod_db_file, "rb"); local 149 TEST_ASSERT_NOT_NULL(actual); 153 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); 155 TEST_ASSERT_TRUE(CompareFileContent(expected, actual));
|
H A D | utilities.c | 15 void FinishDebugTest(const char * expected,const char * actual); 66 const char * actual) { 71 FILE * a = fopen(actual,"rb"); 126 struct pkt actual; local 127 set_li_vn_mode(&actual, LEAP_NOWARNING, NTP_VERSION, 130 TEST_ASSERT_EQUAL(expected.li_vn_mode, actual.li_vn_mode); 141 struct pkt actual; local 142 set_li_vn_mode(&actual, LEAP_NOTINSYNC, NTP_OLDVERSION, 145 TEST_ASSERT_EQUAL(expected.li_vn_mode, actual.li_vn_mode); 65 FinishDebugTest(const char * expected, const char * actual) argument
|
H A D | crypto.c | 35 char actual[MD5_LENGTH]; local 46 make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); 48 TEST_ASSERT_TRUE(memcmp(EXPECTED_DIGEST, actual, MD5_LENGTH) == 0); 62 char actual[SHA1_LENGTH]; local 73 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); 75 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, SHA1_LENGTH); 95 char actual[CMAC_LENGTH]; local 105 make_mac(PKT_DATA, PKT_LEN, CMAC_LENGTH, &cmac, actual)); 107 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, CMAC_LENGTH); 252 char actual[MD5_LENGT local [all...] |
H A D | fileHandlingTest.c | 63 FILE * actual 73 while ( ( (fgets(actualLine, lenAct, actual)) != NULL)
|
/freebsd-11-stable/sys/dev/virtio/balloon/ |
H A D | virtio_balloon.h | 46 uint32_t actual; member in struct:virtio_balloon_config
|
/freebsd-11-stable/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) argument 235 if (expected == actual) return; 239 fprintf(stderr, "Line %d: expected <%d>, but saw <%d>\n", lineno, expected, actual); 244 void abts_int_nequal(abts_case *tc, const int expected, const int actual, int lineno) argument 249 if (expected != actual) return; 254 lineno, expected, actual); 259 void abts_str_equal(abts_case *tc, const char *expected, const char *actual, int lineno) argument 265 if (!expected && !actual) return; 266 if (expected && actual) 267 if (!strcmp(expected, actual)) retur 276 abts_str_nequal(abts_case *tc, const char *expected, const char *actual, size_t n, int lineno) argument 306 abts_ptr_equal(abts_case *tc, const void *expected, const void *actual, int lineno) argument [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-11-stable/contrib/binutils/gas/ |
H A D | macro.h | 35 formals get the actual values attached to them. */ 43 sb actual; /* The actual argument (changed on each expansion). */ member in struct:formal_struct
|
H A D | macro.c | 464 sb_new (&formal->actual); 475 sb_kill (&formal->actual); 706 /* Substitute the actual value for a formal parameter. */ 726 if (ptr->actual.len) 728 sb_add_sb (out, &ptr->actual); 837 if (f->actual.len != 0) 838 sb_add_sb (out, &f->actual); 887 sb_add_string (&f->actual, buf); 948 if (ptr->actual.len) 1000 sb_reset (&f->actual); [all...] |
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_2835_arm.c | 103 free_pagelist(BULKINFO_T *bi, int actual); 307 if (bulk && bulk->remote_data && bulk->actual) 308 free_pagelist((BULKINFO_T *)bulk->remote_data, bulk->actual); 555 free_pagelist(BULKINFO_T *bi, int actual) argument 564 "free_pagelist - %x, %d (%lu bytes @%p)", (unsigned int)pagelist, actual, pagelist->length, bi->buf); 579 tail_bytes = (pagelist->offset + actual) & 582 if ((actual >= 0) && (head_bytes != 0)) { 583 if (head_bytes > actual) 584 head_bytes = actual; 592 if ((actual > [all...] |
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_quirk.c | 72 static int aq_strcmp(char *actual, char *possible); 102 aq_strcmp(char *actual, char *possible) argument 104 if (actual == NULL || possible == NULL) 106 return (strncmp(actual, possible, strlen(possible)) == 0);
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | gdb-events.sh | 44 read="class returntype function formal actual attrib" 57 # actual argument list 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} [all...] |