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

/osnet-11/usr/src/grub/grub2/tests/
H A Dprintf_unit_test.c28 char expected[512]; local
30 snprintf (expected, sizeof (expected), "%d %d %d", 1, 2, 3);
31 grub_test_assert (strcmp (real, expected) == 0);
33 snprintf (expected, sizeof (expected), "%3$d %2$d %1$d", 1, 2, 3);
34 grub_test_assert (strcmp (real, expected) == 0);
36 snprintf (expected, sizeof (expected), "%d %lld %d", 1, 2LL, 3);
37 grub_test_assert (strcmp (real, expected)
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dbless.t10 sub expected { subroutine
26 print expected($a1, "A", "HASH"), "ok 1\n";
28 print expected($b1, "B", "ARRAY"), "ok 2\n";
30 print expected($c1, "C", "SCALAR"), "ok 3\n";
32 print expected($d1, "D", "GLOB"), "ok 4\n";
34 print expected($e1, "E", "CODE"), "ok 5\n";
36 print expected($f1, "F", "REF"), "ok 6\n";
38 print expected($g1, "G", "LVALUE"), "ok 7\n";
42 print expected(bless(\$a1, "F"), "F", "REF"), "ok 8\n";
43 print expected(
[all...]
/osnet-11/usr/src/lib/crypt_modules/sha256/
H A Dtest.c35 const char *expected; member in struct:__anon949
66 const char *expected; member in struct:__anon950
118 strlen(tests2[cnt].expected));
122 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) {
125 strlen(tests2[cnt].expected), tests2[cnt].expected,
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dpassword_pbkdf2.c38 grub_uint8_t *expected; member in struct:pbkdf2_password
63 if (grub_crypto_memcmp (buf, pass->expected, pass->buflen) != 0)
93 return grub_error (GRUB_ERR_BAD_ARGUMENT, "Two arguments expected.");
147 ptro = pass->expected = grub_malloc (pass->buflen);
165 grub_free (pass->expected);
H A Dhashsum.c92 grub_uint8_t expected[hash->mdlen]; local
112 expected[i] = (high << 4) | low;
156 if (grub_crypto_memcmp (expected, actual, hash->mdlen) != 0)
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dudp.c174 grub_uint16_t chk, expected; local
177 expected = grub_net_ip_transport_checksum (nb, GRUB_NET_IP_UDP,
180 if (expected != chk)
184 grub_be_to_cpu16 (expected),
H A Dip.c248 grub_uint16_t chk, expected; local
251 expected = grub_net_ip_transport_checksum (nb,
255 if (expected != chk)
259 grub_be_to_cpu16 (expected),
414 ", expected %" PRIuGRUB_SIZE "\n", actual_size,
670 ", expected %" PRIuGRUB_SIZE "\n", actual_size,
H A Dtcp.c779 grub_uint16_t chk, expected; local
782 expected = grub_net_ip_transport_checksum (nb, GRUB_NET_IP_TCP,
785 if (expected != chk)
789 grub_be_to_cpu16 (expected),
/osnet-11/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.c143 check_password (char *entered, char* expected, password_t type) argument
148 return strcmp (entered, expected);
152 return check_md5_password (entered, expected);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DBuilder.pm223 Find out whether a plan has been defined. $plan is either C<undef> (no plan has been set), C<no_plan> (indeterminate # of tests) or an integer (the number of expected tests).
351 $Test->is_eq($got, $expected, $name);
353 Like Test::More's is(). Checks if $got eq $expected. This is the
358 $Test->is_num($got, $expected, $name);
360 Like Test::More's is(). Checks if $got == $expected. This is the
418 expected: %s label
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_in_tkt.c332 krb5_keyblock *kdc_key = NULL, *expected = NULL; local
363 as_key, "KEYEXCHANGE", &expected);
366 if ((expected->enctype != session->enctype) ||
367 (expected->length != session->length) ||
368 (memcmp(expected->contents, session->contents, expected->length) != 0))
373 if (expected)
374 krb5_free_keyblock(context, expected);
/osnet-11/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

Completed in 76 milliseconds