Searched defs:actual (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-head/lib/libc/tests/iconv/
H A Diconvctl_test.c37 int actual, status; local
42 status = iconvctl(ic, ICONV_TRIVIALP, &actual);
45 ATF_REQUIRE(actual == expected);
/freebsd-head/lib/libc/tests/stdlib/
H A Dstrfmon_test.c39 char actual[40], expected[40]; local
56 strfmon(actual, sizeof(actual), "%i", n);
63 actual[strlen(expected)] = '\0';
64 ATF_CHECK_STREQ(expected, actual);
/freebsd-head/contrib/ncurses/ncurses/widechar/
H A Dwidechars.c69 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-head/contrib/ntp/sntp/tests/
H A DkodFile.c116 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 Dutilities.c15 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 Dcrypto.c35 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...]
/freebsd-head/contrib/atf/atf-c/
H A Dbuild_test.c115 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-head/sys/dev/virtio/balloon/
H A Dvirtio_balloon.h48 uint32_t actual; member in struct:virtio_balloon_config
/freebsd-head/contrib/binutils/gas/
H A Dmacro.h35 formals get the actual values attached to them. */
43 sb actual; /* The actual argument (changed on each expansion). */ member in struct:formal_struct
/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_read_format_gtar_sparse.c182 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) {
218 "should be zero", name, actual.o);
220 } else if (actual.o == expect.o) {
237 assert(actual
[all...]
/freebsd-head/lib/msun/tests/
H A Dnext_test.c232 _testl(const char *exp, int line, long double actual, long double expected, argument
238 if (!fpequal(actual, expected)) {
240 line, exp, actual, expected);
/freebsd-head/contrib/googletest/googletest/test/
H A Dgoogletest-filepath-test.cc240 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local
242 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
246 FilePath actual = FilePath::MakeFileName(FilePath("foo"), FilePath("bar"), local
248 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string());
252 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local
254 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar.xml", actual.string());
258 FilePath actual = FilePath::MakeFileName(FilePath("foo" GTEST_PATH_SEP_), local
260 EXPECT_EQ("foo" GTEST_PATH_SEP_ "bar_12.xml", actual.string());
264 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local
266 EXPECT_EQ("bar.xml", actual
270 FilePath actual = FilePath::MakeFileName(FilePath(""), FilePath("bar"), local
276 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local
282 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_), local
288 FilePath actual = FilePath::ConcatPaths(FilePath(""), local
294 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), FilePath("")); local
299 FilePath actual = FilePath::ConcatPaths(FilePath(""), local
305 FilePath actual = FilePath::ConcatPaths(FilePath("foo" GTEST_PATH_SEP_ "bar"), local
312 FilePath actual = FilePath::ConcatPaths( local
320 FilePath actual = FilePath::ConcatPaths(FilePath("foo"), local
[all...]
/freebsd-head/sys/dev/acpica/
H A Dacpi_quirk.c72 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-head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationReplayServer.cpp33 /// Check if the given expected packet matches the actual packet.
34 static bool unexpected(llvm::StringRef expected, llvm::StringRef actual) { argument
36 // trailing checksum. The 'actual' string contains only the packet's content.
37 if (expected.contains(actual))
143 LLDB_LOG(log, "GDBRemoteCommunicationReplayServer actual packet: '{0}'",
/freebsd-head/contrib/gcc/
H A Dgthr-solaris.h58 mutex_t actual; member in struct:__anon1199
496 return __gthrw_(mutex_init) (&mutex->actual, USYNC_THREAD, 0);
508 __gthrw_(mutex_lock) (&mutex->actual);
526 if (__gthrw_(mutex_trylock) (&mutex->actual))
544 __gthrw_(mutex_unlock) (&mutex->actual);
H A Dgthr-posix95.h52 pthread_mutex_t actual; member in struct:__anon1
605 return __gthrw_(pthread_mutex_init) (&mutex->actual, NULL);
617 __gthrw_(pthread_mutex_lock) (&mutex->actual);
635 if (__gthrw_(pthread_mutex_trylock) (&mutex->actual))
653 __gthrw_(pthread_mutex_unlock) (&mutex->actual);
/freebsd-head/contrib/apr-util/buckets/
H A Dapr_brigade.c226 apr_size_t actual = 0; local
243 if (str_len + actual > *len) {
244 str_len = *len - actual;
255 actual += str_len;
257 /* This could probably be actual == *len, but be safe from stray
259 if (actual >= *len) {
264 *len = actual;
273 apr_off_t actual; local
277 apr_brigade_length(bb, 1, &actual);
290 total = (apr_size_t)actual;
[all...]
/freebsd-head/contrib/apr-util/test/
H A Dabts.c230 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...]
/freebsd-head/contrib/subversion/subversion/libsvn_wc/
H A Dwc-queries.sql344 actual-only rows that would be left orphans, if the revert
1393 actual INTEGER NOT NULL, /* 1 if an actual row, 0 if a nodes row */
1395 notify INTEGER, /* 1 if an actual row had props or tree conflict */
1399 PRIMARY KEY (local_relpath, actual)
1405 INSERT OR REPLACE INTO revert_list(local_relpath, actual, op_depth,
1413 INSERT OR REPLACE INTO revert_list(local_relpath, actual, conflict_data,
1431 INSERT OR REPLACE INTO revert_list(local_relpath, actual, conflict_data,
1452 SELECT actual, notify, kind, op_depth, repos_id, conflict_data
1455 ORDER BY actual DES
[all...]
/freebsd-head/sys/contrib/zstd/tests/regression/
H A Dtest.c293 data_buffer_t const actual = data_buffer_read(actual_file); local
297 if (actual.data == NULL) {
309 ret = data_buffer_compare(actual, expected);
313 "actual results '%s' does not match expected results '%s'\n",
317 fprintf(stderr, "actual results match expected results\n");
320 data_buffer_free(actual);
/freebsd-head/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_isa.c593 size_t actual; local
598 size, &actual);
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dlog.c418 const char *actual = NULL; local
430 if(actual == NULL) {
433 actual = fmt;
435 actual = msg;
437 (*fac->val[i].log_func)(buf, actual, fac->val[i].data);
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dparse_entry.c71 unsigned actual; local
96 actual = NUM_EXT_NAMES(tp);
97 for (n = 0; n < actual; n++) {
167 actual = NUM_EXT_NAMES(tp);
168 TYPE_REALLOC(char *, actual, tp->ext_Names);
169 while (--actual > offset)
170 tp->ext_Names[actual] = tp->ext_Names[actual - 1];
H A Dwrite_entry.c191 char actual[PATH_MAX]; local
220 make_db_path(actual, destination, sizeof(actual));
223 || getcwd(actual, sizeof(actual)) == 0)
226 _nc_keep_tic_dir(strdup(actual));
/freebsd-head/contrib/sendmail/src/
H A Dsavemail.c779 char actual[MAXLINE]; local
1210 /* Figure out actual recipient */
1211 actual[0] = '\0';
1223 (void) sm_snprintf(actual,
1224 sizeof(actual),
1231 (void) sm_snprintf(actual,
1232 sizeof(actual),
1245 /* try to fall back to the actual recipient */
1246 if (actual[0] != '\0')
1248 actual);
[all...]

Completed in 275 milliseconds

123