/openbsd/regress/usr.bin/ssh/unittests/authopt/ |
H A D | tests.c | 106 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 D | tpm.c | 237 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 D | bless.t | 13 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 D | incdot.t | 8 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 D | paragraph_mode.t | 37 @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 D | metafile_file.t | 20 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 D | bless.t | 12 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 D | file.t | 69 my @expected = ( 98 @expected = ( 129 @expected = ( 158 @expected = ( 181 @expected = ( 210 @expected = ( 244 @expected = ( 267 @expected = ( 291 @expected = ( 329 @expected = ( [all …]
|
H A D | grammar.t | 115 $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 D | uproto.t | 7 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 D | test_iterate.c | 20 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 D | expected.h | 78 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 D | 104-map_type.t | 11 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 D | 110-assign_func_args.t | 14 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 D | strsub.t | 17 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 D | arith.t | 12 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 D | unclass2.t | 9 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 D | trap.t | 16 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 D | history.t | 17 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 D | Makefile | 16 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 D | Std.t | 59 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 D | Test.pm | 406 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 D | testutil.pl | 264 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 D | setlocale.c | 38 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 D | expected | 14 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>
|