Searched defs:expected (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dprintf-9511.c30 const char *expected; member in struct:__anon16
62 if (strcmp(fpconv[i].expected, buf) != 0) {
63 errx(1, "locale=%s, convspec=%s, expected=%s, got=%s",
65 fpconv[i].expected, buf);
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dtest.c35 const char *expected; member in struct:__anon2569
66 const char *expected; member in struct:__anon2570
118 strlen(tests2[cnt].expected));
122 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) {
125 strlen(tests2[cnt].expected), tests2[cnt].expected,
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_tblout.c93 int expected; local
105 expected = 0;
107 expected = 1;
115 if (current != expected++) {
125 expected = current + 1;
/illumos-gate/usr/src/cmd/bhyve/test/tst/mevent/
H A Dread.pause.c58 ssize_t expected; local
68 expected = strlen(cookie) - pauseat - 1;
70 expected = 1;
78 ASSERT_INT64_EQ(("wanted a byte of cookie"), nbytes, expected);
80 if (expected == 1) {
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c86 * (1 is expected, but half + 2 arrives) we really don't know if it's a
186 gssint_uint64 expected; local
204 /* rule 1: expected sequence number */
206 expected = (QELEM(q,q->start+q->length-1)+1) & q->mask;
207 if (seqnum == expected) {
212 /* rule 2: > expected sequence number */
213 if (after(seqnum, expected, q->mask)) {
/illumos-gate/usr/src/test/os-tests/tests/pf_key/
H A Dkmc-updater.c39 int expected, char *msgtypestr)
59 if (samsg->sadb_msg_errno != expected) {
233 /* If we expected to fail, we shouldn't try to verify anything */
38 write_and_read(int s, sadb_msg_t *samsg, uint64_t *readbuf, int readlen, int expected, char *msgtypestr) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmd5.c336 test (char *buffer, char *expected) argument
345 if (strcmp (result, expected))
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c277 "Version name expected", token);
343 "or ';' expected.", token);
367 "Unexpected token \"%s\" found. ';' expected.",
408 "found. Version token expected", *token);
448 "found. ',' or '}' were expected", token);
467 accept_token(char *expected) argument
471 assert(expected != NULL, "null token passed to accept_token");
473 (token) ? token : "<NULL>", expected);
479 if (eq(token, expected)) {
485 (token) ? token : "<NULL>", expected);
[all...]
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c86 * expected an actual time that a test takes.
150 check_time(time_t elapsed, time_t expected) argument
152 time_t diff = expected - elapsed;
155 * We may take slightly more or less time then expected,
159 return (elapsed >= expected || diff <= TIME_DRIFT);
242 test_failed(testName, "POLL returns %d (expected 0)\n", ret);
246 test_failed(testName, "took %d (expected %d)\n",
275 test_failed(testName, "POLL returns %d (expected 0)\n", ret);
279 test_failed(testName, "took %d (expected %d)\n",
303 test_failed(testName, "DP_POLL returns %d (expected
[all...]
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Drights.c496 check(uint_t actual, uint_t expected, char *tag) argument
498 if (actual != expected) {
500 "%1$s = %2$u(%2$#x) (expected %3$u(%3$#x))\n",
501 tag, actual, expected);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpc.c398 process_one(int (*handler)(papi_service_t, char **), char **av, int expected) argument
405 if ((printer != NULL) && (expected != 0)) {
425 process_all(int (*handler)(papi_service_t, char **), char **av, int expected) argument
445 rc += process_one(handler, av, expected);
/illumos-gate/usr/src/tools/stabs/
H A Dstabs.c96 expected( function
98 char *what, /* what was expected */
220 expected("parseline/'0-9'", "=", cp - 1);
234 expected("parseline", "=", cp - 1);
306 expected("number", "<number>", cp);
319 expected("id", ",", cp - 1);
322 expected("id", ")", cp - 1);
328 expected("id", "(/0-9", cp);
392 expected("tagdecl", "<tag type s/u/e>", cp - 1);
412 expected("tdefdec
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Derror.c222 int expected = DDI_FM_ERR_UNEXPECTED; local
309 errh_error_protected(rp, aflt, &expected);
333 expected);
407 errh_cpu_run_bus_error_handlers(struct async_flt *aflt, int expected) argument
416 de.fme_flag = expected;
438 errh_error_protected(struct regs *rp, struct async_flt *aflt, int *expected) argument
462 * errors are expected
466 *expected = DDI_FM_ERR_PEEK;
469 *expected = DDI_FM_ERR_EXPECTED;
969 * It is expected tha
[all...]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dmach_cpu_module.c175 cpu_run_bus_error_handlers(struct async_flt *aflt, int expected) argument
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c324 uint_t expected = 0, processed = 0; local
400 expected = (*dispf)(class, attr, ruleset,
404 if (expected > FMEVT_FANOUT_MAX) {
407 } else if (expected == 0) {
468 if (processed != expected)
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c76 "match expected %d\n", ttr_size, sizeof (trap_trace_rec_t));
815 int expected = !(flags & DCMD_ADDRSPEC); local
820 'r', MDB_OPT_SETBITS, TRUE, &relative, NULL) != argc - expected)
828 if (expected == 1) {
/illumos-gate/usr/src/test/zfs-tests/cmd/libzfs_input_check/
H A Dlibzfs_input_check.c132 * run a zfs ioctl command, verify expected results and log failures
135 lzc_ioctl_run(zfs_ioc_t ioc, const char *name, nvlist_t *innvl, int expected) argument
143 switch (expected) {
169 if (error != expected) {
173 active_test, variant, error, expected);
/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dqsort_test.c138 check_result(char *sub, size_t es, char *got, char *expected, struct test_distribution *d, argument
168 if (memcmp(got, expected, es) != 0)
171 expected += es;
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c742 * @param expected Value to test against
749 const gchar *linestart, guint elem, const gchar *expected, gboolean reuse)
768 hal_device_property_set_bool (d, key, strcmp (tokens[i], expected) == 0);
747 hal_util_set_bool_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, const gchar *expected, gboolean reuse) argument
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_var.h109 uint32_t expected; member in struct:iwh_beacon_missed
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_var.h109 uint32_t expected; member in struct:iwp_beacon_missed
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm.c868 uint32_t expected, status; local
897 expected = load32(buf, TPM_PARAMSIZE_OFFSET);
898 if (expected > bufsiz) {
902 myname, (int)expected, (int)bufsiz, cmdresult);
909 expected - TPM_HEADER_SIZE);
910 if (size < expected) {
913 "is less than expected (%d)", myname, size, expected);
1462 * Loop until we find the set that matches the expected
1846 "expected siz
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Denvd.h112 int8_t expected; /* expected (correct) temperature */ member in struct:__anon1171
277 tempr_t expected; /* expected temperature */ member in struct:__anon1174
H A Dpiclenvd.c700 * Translate observed (measured) temperature into expected (correct)
738 ftemp = map[i-1].expected + (temp - map[i-1].observed) *
739 (float)(map[i].expected - map[i-1].expected)/denominator;
748 * Translate expected (correct) temperature into observed (measured)
771 if (temp < map[i].expected)
779 denominator = map[i].expected - map[i-1].expected;
788 ftemp = map[i-1].observed + (temp - map[i-1].expected) *
1089 "off:%x #maps:%x expected lengt
1159 tempr_t observed, expected; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_cc.c335 "%s( ) prototype mismatch: %d args passed, 1 expected\n",
378 "%s( ) prototype mismatch: %d args passed, %d expected\n",
440 "%s( ) prototype mismatch: %d args passed, %s expected\n",
524 "%s( ) prototype mismatch: %d args passed, %d expected\n",
763 "mismatch: expected at most 3 args\n");
1344 "declaration: expected %d, found %d\n",
1351 " declaration: expected %d, found %d\n",
1359 "declaration: expected %d, found %d\n",
1495 int expected = 0, found = 0; local
1497 for (i = 0; expected
[all...]

Completed in 117 milliseconds

12