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

12

/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dtest.c35 const char *expected; member in struct:__anon2454
66 const char *expected; member in struct:__anon2455
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/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/grub/grub-0.97/stage2/
H A Dmd5.c336 test (char *buffer, char *expected) argument
345 if (strcmp (result, expected))
H A Dbuiltins.c130 check_password (char *entered, char* expected, password_t type) argument
135 return strcmp (entered, expected);
139 return check_md5_password (entered, 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/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.c99 expected( function
101 char *what, /* what was expected */
223 expected("parseline/'0-9'", "=", cp - 1);
237 expected("parseline", "=", cp - 1);
310 expected("number", "<number>", cp);
323 expected("id", ",", cp - 1);
326 expected("id", ")", cp - 1);
332 expected("id", "(/0-9", cp);
396 expected("tagdecl", "<tag type s/u/e>", cp - 1);
416 expected("tdefdec
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dst_parse.c50 #define expected(a, b, c) _expected(a, b, c, __LINE__) macro
114 char *what, /* what was expected */
215 expected("parse_nfun", "[PfF]", cp - 1);
274 expected("parse_sym", "[GprSV(]", cp - 1);
293 expected("parse_type", "t (type)", cp - 1);
298 expected("parse_type", "= (definition)", cp - 1);
350 expected("parse_sou", "T (sou)", cp - 1);
354 expected("parse_sou", "= (definition)", cp - 1);
393 expected("parse_sou", "<tag type s/u/e>", cp - 1);
522 expected("numbe
[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
H A Dopl_olympus.c1571 cpu_run_bus_error_handlers(struct async_flt *aflt, int expected) argument
1580 de.fme_flag = expected;
1807 * Queue expected errors, error bit and fault type must must match
1917 int expected = DDI_FM_ERR_UNEXPECTED; local
2005 * for peeks and caut_gets errors are expected
2009 expected = DDI_FM_ERR_PEEK;
2012 expected = DDI_FM_ERR_EXPECTED;
2067 cpu_run_bus_error_handlers(aflt, expected);
/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/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/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/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/cmd/picl/plugins/sun4u/excalibur/envd/
H A Denvd.h112 int8_t expected; /* expected (correct) temperature */ member in struct:__anon1124
277 tempr_t expected; /* expected temperature */ member in struct:__anon1127
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/cmd/fs.d/ufs/fsck/
H A Dutilities.c1371 report_io_prob(caddr_t what, diskaddr_t bno, size_t expected, ssize_t failure) argument
1381 what, (int)bno, (unsigned)failure, (unsigned)expected);
2130 * match the expected values, so we're catching both cases
/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...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c54 ulong_t hi_offset; /* expected offset */
1512 ulong_t expected = pap->pa_holes[d].hi_offset; local
1514 if (end < expected)
1515 print_hole(pap, newdepth + 1, end, expected);
1630 /* compute the next expected offset */
2578 mdb_warn("expected integer type\n");
2693 mdb_warn("expected 32-bit integer type\n");
2720 mdb_warn("expected pointer type\n");
2932 mdb_warn("expected a format string\n");
3070 mdb_warn("%s format specifiers (found %d, expected
[all...]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c111 static x86pte_t hati_update_pte(htable_t *ht, uint_t entry, x86pte_t expected,
3291 * Caller is expected to hold page's io lock for VMODSORT to work
4100 hati_update_pte(htable_t *ht, uint_t entry, x86pte_t expected, x86pte_t new) argument
4106 if (PTE_GET(expected, PT_SOFTWARE) < PT_NOSYNC &&
4107 PTE_GET(expected, PT_MOD | PT_REF) &&
4111 ASSERT(!pfn_is_foreign(PTE2PFN(expected, ht->ht_level)));
4112 pp = page_numtopp_nolock(PTE2PFN(expected, ht->ht_level));
4114 if (PTE_GET(expected, PT_MOD))
4116 if (PTE_GET(expected, PT_REF))
4121 replaced = x86pte_update(ht, entry, expected, ne
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c4350 * We're talking to the expected kind of client; set our device class
4511 * Set the maximum expected message length to
4551 size_t expected; local
4571 expected = sizeof (*reg_msg) +
4573 if (msglen != expected) {
4575 "received %lu bytes", expected, msglen);
4741 PR0("Received seq_num %lu; expected %lu",
4754 * Return the expected size of an inband-descriptor message with all the
4772 size_t expected; local
4790 if (msglen != (expected
[all...]

Completed in 176 milliseconds

12