Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 1121) sorted by relevance

12345678910>>...45

/openbsd/regress/usr.bin/ssh/unittests/authopt/
H A Dtests.c106 if (expected->x == NULL) \ in compare_opts()
120 if (expected->nx == 0) \ in compare_opts()
201 expected->var = val; \ in test_authkeys_parse()
205 expected->var = val; \ in test_authkeys_parse()
256 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
261 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
303 expected->var = 0; \ in test_cert_parse()
311 expected->var = 1; \ in test_cert_parse()
385 expected = NULL; \ in test_merge()
423 expected->var = val; \ in test_merge()
[all …]
/openbsd/lib/libfido2/src/
H A Dtpm.c237 memset(&expected, 0, sizeof(expected)); in check_rs256_pubarea()
244 expected.policy.size = sizeof(expected.policy.body); in check_rs256_pubarea()
249 expected.key.size = sizeof(expected.key.body); in check_rs256_pubarea()
254 explicit_bzero(&expected, sizeof(expected)); in check_rs256_pubarea()
272 memset(&expected, 0, sizeof(expected)); in check_es256_pubarea()
279 expected.policy.size = sizeof(expected.policy.body); in check_es256_pubarea()
284 expected.point.x.size = sizeof(expected.point.x.body); in check_es256_pubarea()
291 explicit_bzero(&expected, sizeof(expected)); in check_es256_pubarea()
320 memset(&expected, 0, sizeof(expected)); in check_sha1_certinfo()
324 expected.signer.size = sizeof(expected.signer.alg) + in check_sha1_certinfo()
[all …]
/openbsd/gnu/usr.bin/perl/t/uni/
H A Dbless.t13 sub expected {
32 expected($a1, "ዐ", "HASH");
34 expected($b1, "B", "ARRAY");
36 expected($c1, "ᶜ", "SCALAR");
38 expected($d1, "ɖ", "GLOB");
40 expected($e1, "ಎ", "CODE");
42 expected($f1, "ḟ", "REF");
44 expected($g1, "ㄍ", "LVALUE");
49 expected($a1, "ዐ", "HASH");
54 expected($a1, "ዐ2", "HASH");
[all …]
/openbsd/gnu/usr.bin/perl/dist/base/t/
H A Dincdot.t8 my ( $got, $expected ) = @_;
9 push @$got, ( '(missing)' ) x ( @$expected - @$got ) if @$got < @$expected;
10 push @$expected, ( '(should not exist)' ) x ( @$got - @$expected ) if @$got > @$expected;
12 map +( "got [$_] " . $got->[$_], 'expected'.(' ' x length).$expected->[$_] ),
13 grep $got->[$_] ne $expected->[$_],
34 my @expected; BEGIN { @expected = @INC }
42 is_deeply \@INC, \@expected, '... without changes to @INC'
43 or diag array_diff [@INC], [@expected];
52 @expected = ( 't/lib/on-head', @expected, 't/lib/on-tail' );
53 is_deeply \@INC, \@expected, 'modules loaded by base can extend @INC at both ends'
[all …]
/openbsd/gnu/usr.bin/perl/t/io/
H A Dparagraph_mode.t37 @expected = (
62 @expected = (
88 @expected = (
114 @expected = (
149 @expected = (
174 @expected = (
200 @expected = (
226 @expected = (
266 @expected = (
292 @expected = (
[all …]
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Dmetafile_file.t20 my $expected = <<YAML;
31 my $expected = <<YAML;
43 my $expected = <<YAML;
56 my $expected = <<YAML;
72 my $expected = <<YAML;
86 my $expected = <<YAML;
126 my $expected = <<'YAML';
173 my $expected = <<'YAML';
228 my $expected = <<'YAML';
284 my $expected = <<YAML;
[all …]
/openbsd/gnu/usr.bin/perl/t/op/
H A Dbless.t12 sub expected {
31 expected($a1, "A", "HASH");
33 expected($b1, "B", "ARRAY");
35 expected($c1, "C", "SCALAR");
37 expected($d1, "D", "GLOB");
39 expected($e1, "E", "CODE");
41 expected($f1, "F", "REF");
43 expected($g1, "G", "LVALUE");
48 expected($a1, "A", "HASH");
53 expected($a1, "A2", "HASH");
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dfile.t69 my @expected = (
98 @expected = (
129 @expected = (
158 @expected = (
181 @expected = (
210 @expected = (
244 @expected = (
267 @expected = (
291 @expected = (
329 @expected = (
[all …]
H A Dgrammar.t115 $expected = {
142 $expected = {
174 $expected = {
189 $expected = {
206 $expected = {
223 $expected = {
244 $expected = {
265 $expected = {
286 $expected = {
302 $expected = {
[all …]
/openbsd/gnu/usr.bin/perl/t/comp/
H A Duproto.t7 my ($got, $expected, $name) = @_;
17 print "# Expected $expected\n";
76 sub g(_) { is(shift, $expected) }
78 $expected = "foo";
80 g($expected);
81 $_ = $expected;
104 mymkdir($expected = "foo");
108 $expected = "foo";
111 $expected = "10 11 12 13";
115 $expected = "foo";
[all …]
/openbsd/regress/usr.bin/ssh/unittests/hostkeys/
H A Dtest_iterate.c20 struct expected { struct
33 const struct expected *expected; argument
51 const struct expected *expected; in check() local
62 expected = ctx->expected + ctx->i++; in check()
76 expected->l.status : (u_int)expected->no_parse_status; in check()
86 expected->l.keytype : expected->no_parse_keytype; in check()
109 if (expected->l.line != NULL) in check()
135 prepare_expected(struct expected *expected, size_t n) in prepare_expected() argument
147 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
153 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected() argument
[all …]
/openbsd/gnu/llvm/libcxx/include/__expected/
H A Dexpected.h78 class expected {
114 _LIBCPP_HIDE_FROM_ABI constexpr expected(const expected&)
134 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&&)
139 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&& __other) in expected() function
175 expected(const expected<_Up, _OtherErr>& __other) in expected() function
189 expected(expected<_Up, _OtherErr>&& __other) in expected() function
681 _LIBCPP_HIDE_FROM_ABI constexpr expected(const expected&)
694 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&&)
698 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&& __rhs) in expected() function
710 expected(const expected<_Up, _OtherErr>& __rhs) in expected() function
[all …]
/openbsd/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/
H A D104-map_type.t11 my ($result, $expected);
18 $expected = "$type\t$varname";
20 is( $result, $expected,
26 $expected = 'Crypt__Shark';
28 is( $result, $expected,
34 $expected = 'Crypt::Shark';
36 is( $result, $expected,
44 is( $result, $expected,
52 is( $result, $expected,
60 is( $result, $expected,
[all …]
H A D110-assign_func_args.t14 my ($func_args, $expected);
18 $expected = q|&alpha, beta, gamma|;
20 is( $func_args, $expected,
26 $expected = q|&beta, gamma|;
28 is( $func_args, $expected,
34 $expected = q|beta, gamma|;
36 is( $func_args, $expected,
42 $expected = q|alpha, beta, gamma|;
44 is( $func_args, $expected,
/openbsd/regress/bin/ksh/
H A Dstrsub.t17 expected-fail: yes
18 expected-stdout:
39 expected-fail: yes
40 expected-stdout:
54 expected-fail: yes
55 expected-stdout:
70 expected-stdout:
85 expected-stdout:
100 expected-stdout:
111 expected-stdout:
[all …]
H A Darith.t12 expected-stdout:
31 expected-stdout:
44 expected-exit: e != 0
55 expected-stdout:
64 expected-stdout:
75 expected-stdout:
86 expected-stdout:
97 expected-exit: e != 0
108 expected-stdout:
133 expected-stdout:
[all …]
H A Dunclass2.t9 expected-stdout:
20 expected-stderr:
22 expected-stdout:
33 expected-stdout:
69 expected-stdout:
86 expected-stdout:
110 expected-stdout:
123 expected-stdout:
135 expected-exit: 1
158 expected-stdout:
[all …]
H A Dtrap.t16 expected-stdout:
20 expected-exit: e != 0
30 expected-stdout:
44 expected-stdout:
69 expected-stdout:
78 expected-fail: yes
85 expected-stdout:
93 expected-fail: yes
101 expected-stdout:
120 expected-stdout:
[all …]
H A Dhistory.t17 expected-stdout:
35 expected-stdout:
74 expected-stdout:
91 expected-stdout:
111 expected-stdout:
135 expected-stdout:
159 expected-stdout:
183 expected-stdout:
207 expected-stdout:
231 expected-stdout:
[all …]
/openbsd/regress/usr.bin/sed/
H A DMakefile16 diff ${.CURDIR}/$@.expected $@.out
23 diff ${.CURDIR}/$@.expected $@.out
27 diff ${.CURDIR}/$@.expected $@.out
31 diff ${.CURDIR}/$@.expected $@.out
35 diff ${.CURDIR}/$@.expected $@.out
45 diff ${.CURDIR}/$@.expected $@.txt
50 diff ${.CURDIR}/$@.expected $@.txt
54 diff ${.CURDIR}/$@.expected $@.out
58 diff ${.CURDIR}/$@.expected $@.out
62 diff ${.CURDIR}/$@.expected $@.out
[all …]
/openbsd/gnu/usr.bin/perl/lib/Getopt/
H A DStd.t59 my $expected;
64 is_deeply(\%opt, $expected,
72 $expected = { 'c' => undef };
73 is_deeply(\%opt, $expected,
84 is_deeply(\%opt, $expected,
92 $expected = { 'b' => 'foo', 'c' => undef };
93 is_deeply(\%opt, $expected,
101 $expected = { 'c' => undef };
102 is_deeply(\%opt, $expected,
112 $expected = { 'b' => 'foo', 'c' => undef };
[all …]
/openbsd/gnu/usr.bin/perl/dist/Test/lib/
H A DTest.pm406 my ($expected, $isregex, $regex);
411 $expected = _to_value(shift);
412 if (!defined $expected) {
416 } elsif (ref($expected) eq 'Regexp') {
417 $ok = $result =~ /$expected/;
418 $regex = $expected;
423 $ok = $result eq $expected;
456 $$detail{expected} = $expected if defined $expected;
484 if defined($expected) and 2 < ($expected =~ tr/\n//);
538 print $exp_fh $expected;
[all …]
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/t/
H A Dtestutil.pl264 my ($got, $expected, $name, @mess) = @_;
267 if( !defined $got || !defined $expected ) {
272 $pass = $got eq $expected;
277 "# expected "._qq($expected)."\n");
320 unshift @mess, "# $got - $expected = " . ($got - $expected) . "\n";
347 $pass = $got == $expected;
348 } elsif ($expected == 0) {
352 my $diff = $got - $expected;
353 $pass = abs ($diff / $expected) < $range;
356 if ($got eq $expected) {
[all …]
/openbsd/regress/lib/libc/locale/setlocale/
H A Dsetlocale.c38 if ((expected == NULL) || (result == NULL)) { in _test_setlocale()
39 if (expected == result) in _test_setlocale()
43 line, category, locale, result, expected); in _test_setlocale()
46 if (strcmp(expected, result) != 0) in _test_setlocale()
48 line, category, locale, result, expected); in _test_setlocale()
52 _test_MB_CUR_MAX(size_t expected, int line) in _test_MB_CUR_MAX() argument
54 if (MB_CUR_MAX != expected) in _test_MB_CUR_MAX()
56 line, MB_CUR_MAX, expected); in _test_MB_CUR_MAX()
60 _test_isalpha(int expected, int c, int line) in _test_isalpha() argument
63 if (!!result != expected) in _test_isalpha()
[all …]
/openbsd/gnu/llvm/libcxx/include/
H A Dexpected14 Header <expected> synopsis
17 // [expected.unexpected], class template unexpected
20 // [expected.bad], class template bad_expected_access
23 // [expected.bad.void], specialization for void
32 // [expected.expected], class template expected
33 template<class T, class E> class expected;
35 // [expected.void], partial specialization of expected for void types
36 template<class T, class E> requires is_void_v<T> class expected<T, E>;
44 #include <__expected/expected.h>

12345678910>>...45