| /openbsd/src/gnu/usr.bin/perl/t/base/ |
| D | num.t | 8 $a = 1; "$a"; 9 print $a eq "1" ? "ok 1\n" : "not ok 1 # $a\n"; 11 $a = -1; "$a"; 12 print $a eq "-1" ? "ok 2\n" : "not ok 2 # $a\n"; 14 $a = 1.; "$a"; 15 print $a eq "1" ? "ok 3\n" : "not ok 3 # $a\n"; 17 $a = -1.; "$a"; 18 print $a eq "-1" ? "ok 4\n" : "not ok 4 # $a\n"; 20 $a = 0.1; "$a"; 21 print $a eq "0.1" ? "ok 5\n" : "not ok 5 # $a\n"; [all …]
|
| /openbsd/src/regress/usr.bin/m4/ |
| D | esyscmd.out | 4 hi there a 5 hi there a 7 hi there a 8 hi there a 10 hi there a 11 hi there a 13 hi there a 14 hi there a 16 hi there a 17 hi there a [all …]
|
| /openbsd/src/regress/lib/libcrypto/bn/ |
| D | bn_mod_sqrt.c | 30 const char *a; member 35 .a = "0", 40 .a = "1", 45 .a = "23", 50 .a = "24", 55 .a = "1", 59 .a = "0", 64 .a = "1", 69 .a = "3", 79 .a = "20a7ee", [all …]
|
| D | bn_gcd.c | 26 int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 27 int BN_gcd_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); 48 const char *a; member 53 .a = "0", 58 .a = "1", 63 .a = "1", 68 .a = "0", 73 .a = "57", 78 .a = "0", 88 .a = "255", [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | embed.h | 60 # define perl_atexit(a,b) call_atexit(a,b) argument 61 # define perl_call_argv(a,b,c) call_argv(a,b,c) argument 62 # define perl_call_method(a,b) call_method(a,b) argument 63 # define perl_call_pv(a,b) call_pv(a,b) argument 64 # define perl_call_sv(a,b) call_sv(a,b) argument 65 # define perl_eval_pv(a,b) eval_pv(a,b) argument 66 # define perl_eval_sv(a,b) eval_sv(a,b) argument 67 # define perl_get_av(a,b) get_av(a,b) argument 68 # define perl_get_cv(a,b) get_cv(a,b) argument 69 # define perl_get_hv(a,b) get_hv(a,b) argument [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
| D | ppc-spe.c | 12 vector int a, b, c, *ap; variable 29 c = __ev_addw(a, b); in test_api() 30 c = __ev_addiw(a, 8); in test_api() 31 c = __ev_subfw(a, b); in test_api() 32 c = __ev_subifw(a, 8); in test_api() 33 c = __ev_abs(a); in test_api() 34 c = __ev_neg(a); in test_api() 35 c = __ev_extsb(a); in test_api() 36 c = __ev_extsh(a); in test_api() 37 c = __ev_and(a, b); in test_api() [all …]
|
| D | sequence-pt-1.c | 10 int a; member 21 foo (int a, int b, int n, int p, int *ptr, struct s *sptr, in foo() argument 26 a = a++; /* { dg-warning "undefined" "sequence point warning" } */ in foo() 27 a = --a; /* { dg-warning "undefined" "sequence point warning" } */ in foo() 28 a = ++a + b; /* { dg-warning "undefined" "sequence point warning" } */ in foo() 29 a = a-- + b; /* { dg-warning "undefined" "sequence point warning" } */ in foo() 36 sptr->a = sptr->a++; /* { dg-warning "undefined" "sequence point warning" { xfail *-*-* } } */ in foo() 37 sptr->a = (size_t)(sptr++); /* { dg-warning "undefined" "sequence point warning" } */ in foo() 39 a = b = a++; /* { dg-warning "undefined" "sequence point warning" } */ in foo() 40 b = a = --b; /* { dg-warning "undefined" "sequence point warning" } */ in foo() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/lib/unicore/ |
| D | TestNorm.pl | 87 Test_N(qª, qª, qª, qa, qa); 125 Test_N(qà, qà, qà, qà, qà); 126 Test_N(qá, qá, qá, qá, qá); 127 Test_N(qâ, qâ, qâ, qâ, qâ); 128 Test_N(qã, qã, qã, qã, qã); 129 Test_N(qä, qä, qä, qä, qä); 130 Test_N(qå, qå, qå, qå, qå); 153 Test_N(qā, qā, qā, qā, qā); 155 Test_N(qă, qă, qă, qă, qă); 157 Test_N(qą, qą, qą, qą, qą); [all …]
|
| /openbsd/src/regress/usr.bin/mandoc/mdoc/Sy/ |
| D | punct.out_ascii | 4 SSyy--ppuunncctt - punctuation following a symbolic macro 9 Trailing punctuation: aa ( aa [ aa | aa. aa, aa; aa: aa? aa! aa) aa] 11 …Middle punctuation: aa (bb aa [bb aa | bb aa. bb aa, bb aa; bb aa: bb aa? bb aa! … 14 …Isolated punctuation: aa (bb aa [bb aa | bb aa . bb aa , bb aa ; bb aa : bb aa ? b… 15 aa ) bb aa ] bb 17 Isolated trailing punctuation: aa ( aa [ aa | aa . aa , aa ; aa : aa ? aa ! aa ) 18 aa ] 20 Multiple isolated punctuation: aa ([bb aa )] bb 22 Multiple punctuation: [(aarrgg)]. 24 Quoted: aa .. bb NNmm _i_t_a_l_i_c .. bb NNmm . [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/config/rs6000/ |
| D | spe.h | 53 #define __ev_addw(a,b) __builtin_spe_evaddw((__v2si) (a), (__v2si) (b)) argument 54 #define __ev_addiw(a,b) __builtin_spe_evaddiw ((__v2si) (a), (b)) argument 55 #define __ev_subfw(a,b) __builtin_spe_evsubfw ((__v2si) (a), (__v2si) (b)) argument 56 #define __ev_subw(a,b) __builtin_spe_evsubfw ((__v2si) (b), (__v2si) (a)) argument 59 #define __ev_subifw(a,b) __builtin_spe_evsubifw ((__v2si) (b), (a)) argument 60 #define __ev_subiw(a,b) __builtin_spe_evsubifw ((__v2si) (a), (b)) argument 61 #define __ev_abs(a) __builtin_spe_evabs ((__v2si) (a)) argument 62 #define __ev_neg(a) __builtin_spe_evneg ((__v2si) (a)) argument 63 #define __ev_extsb(a) __builtin_spe_evextsb ((__v2si) (a)) argument 64 #define __ev_extsh(a) __builtin_spe_evextsh ((__v2si) (a)) argument [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/Tie-File/t/ |
| D | 04_splice.t | 30 my @a; 31 my $o = tie @a, 'Tie::File', $file; 39 splice(@a, 0, 0, "rec4"); 41 splice(@a, 0, 1, "rec5"); # same length 43 splice(@a, 0, 1, "record5"); # longer 46 splice(@a, 0, 1, "r5"); # shorter 48 splice(@a, 0, 1); # removal 50 splice(@a, 0, 0); # no-op 52 splice(@a, 0, 0, 'r7', 'rec8'); # insert more than one 54 splice(@a, 0, 2, 'rec7', 'record8', 'rec9'); # insert more than delete [all …]
|
| D | 20_cache_full.t | 29 my @a; 30 my $o = tie @a, 'Tie::File', $file, memory => $MAX, autodefer => 0; 35 my @z = @a; # force cache to contain all ten records 39 my $a = join " ", sort $o->{cache}->ckeys; 40 if ($a eq $x) { print "ok $N\n" } 41 else { print "not ok $N # cache keys were <$a>; expected <$x>\n" } 50 splice(@a, 0, 0, "rec4"); 52 splice(@a, 0, 1, "rec5"); # same length 54 splice(@a, 0, 1, "record5"); # longer 56 splice(@a, 0, 1, "r5"); # shorter [all …]
|
| D | 10_splice_rs.t | 29 my @a; 30 my $o = tie @a, 'Tie::File', $file, recsep => 'blah'; 37 splice(@a, 0, 0, "rec4"); 39 splice(@a, 0, 1, "rec5"); # same length 41 splice(@a, 0, 1, "record5"); # longer 44 splice(@a, 0, 1, "r5"); # shorter 46 splice(@a, 0, 1); # removal 48 splice(@a, 0, 0); # no-op 50 splice(@a, 0, 0, 'r7', 'rec8'); # insert more than one 52 splice(@a, 0, 2, 'rec7', 'record8', 'rec9'); # insert more than delete [all …]
|
| D | 19_cache.t | 27 my @a; 28 my $o = tie @a, 'Tie::File', $file; 33 my @z = @a; # force cache to contain all ten records 34 splice @a, 0, 0, "x"; 43 splice(@a, 0, 0, "rec4"); 45 splice(@a, 0, 1, "rec5"); # same length 47 splice(@a, 0, 1, "record5"); # longer 49 splice(@a, 0, 1, "r5"); # shorter 51 splice(@a, 0, 1); # removal 53 splice(@a, 0, 0); # no-op [all …]
|
| D | 07_rv_splice.t | 22 my @a; 23 my $o = tie @a, 'Tie::File', $file, autochomp => 0; 30 my @r = splice(@a, 0, 0, "rec4"); 32 @r = splice(@a, 0, 1, "rec5"); # same length 34 @r = splice(@a, 0, 1, "record5"); # longer 37 @r = splice(@a, 0, 1, "r5"); # shorter 39 @r = splice(@a, 0, 1); # removal 41 @r = splice(@a, 0, 0); # no-op 43 @r = splice(@a, 0, 0, 'r7', 'rec8'); # insert more than one 45 @r = splice(@a, 0, 2, 'rec7', 'record8', 'rec9'); # insert more than delete [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/op/ |
| D | reverse.t | 17 my @a = ("foo", "bar"); 18 my @b = reverse @a; 20 is($b[0], $a[1], 'array reversal moved second element to first'); 21 is($b[1], $a[0], 'array reversal moved first element to second'); 25 my @a = (1, 2, 3, 4); 26 @a = reverse @a; 29 delete $a[1]; 30 @a = reverse @a; 31 ok(!exists $a[2], 'array reversed with deleted second element'); 32 is($a[0] . $a[1] . $a[3], '124', 'remaining elements ok after delete and reverse'); [all …]
|
| D | splice.t | 11 @a = (1..10); 15 is( j(splice(@a,@a,0,11,12)), '', 'return value of splice when nothing is removed, only added'); 16 is( j(@a), j(1..12), '... added two elements'); 18 is( j(splice(@a,-1)), "12", 'remove last element, return value'); 19 is( j(@a), j(1..11), '... removed last element'); 21 is( j(splice(@a,0,1)), "1", 'remove first element, return value'); 22 is( j(@a), j(2..11), '... first element removed'); 24 is( j(splice(@a,0,0,0,1)), "", 'emulate shift, return value is empty'); 25 is( j(@a), j(0..11), '... added two elements to beginning of the list'); 27 is( j(splice(@a,5,1,5)), "5", 'remove and replace an element to the end of the list, return value i… [all …]
|
| D | substr.t | 12 $a = 'abcdefxyz'; 35 is(substr($a,0,3), 'abc'); # P=Q R S 36 is(substr($a,3,3), 'def'); # P Q R S 37 is(substr($a,6,999), 'xyz'); # P Q S R 38 $b = substr($a,999,999) ; # warn # P R Q S 40 eval{substr($a,999,999) = "" ; };# P R Q S 42 is(substr($a,0,-6), 'abc'); # P=Q R S 43 is(substr($a,-3,1), 'x'); # P Q R S 44 sub{$b = shift}->(substr($a,999,999)); 47 substr($a,3,3) = 'XYZ'; [all …]
|
| /openbsd/src/regress/lib/libc/regex/ |
| D | tests | 12 # expected to fail. If there is a fourth field, it is the substring that 13 # the RE is expected to match. If there is a fifth field, it is a comma- 15 # no match for that one. In both the fourth and fifth fields, a (sub)field 17 # a null string followed by the stuff after the @; this provides a way to 23 # b RE is a BRE, not an ERE 24 # & try it as both an ERE and a BRE 39 a & a a 42 a|b|c - abc a 45 a(b)c - abc abc 46 a\(b\)c b abc abc [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/rdi-share/ |
| D | angel_endian.h | 70 #define PUT8(a,v) (*((P_U8)(a)) = (U8)(v)) argument 71 #define PUT16LE(a,v) (PUT8(a,((v) & 0xFF)), \ argument 72 PUT8((((P_U8)(a)) + sizeof(char)),((v) >> 8))) 73 #define PUT16BE(a,v) (PUT8(a,((v) >> 8)), \ argument 74 PUT8((((P_U8)(a)) + sizeof(char)),((v) & 0xFF))) 75 #define PUT32LE(a,v) (PUT16LE(a,v), \ argument 76 PUT16LE((((P_U8)(a)) + sizeof(short)),((v) >> 16))) 77 #define PUT32BE(a,v) (PUT16BE(a,((v) >> 16)), \ argument 78 PUT16BE((((P_U8)(a)) + sizeof(short)),v)) 80 #define GET8(a) (*((CP_U8)(a))) argument [all …]
|
| /openbsd/src/lib/libcrypto/bn/ |
| D | bn_sqr.c | 67 int bn_sqr(BIGNUM *r, const BIGNUM *a, int max, BN_CTX *ctx); 76 bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba4() argument 80 bn_mulw_addtw(a[0], a[0], 0, 0, 0, &c2, &c1, &r[0]); in bn_sqr_comba4() 82 bn_mul2_mulw_addtw(a[1], a[0], 0, c2, c1, &c2, &c1, &r[1]); in bn_sqr_comba4() 84 bn_mulw_addtw(a[1], a[1], 0, c2, c1, &c2, &c1, &c0); in bn_sqr_comba4() 85 bn_mul2_mulw_addtw(a[2], a[0], c2, c1, c0, &c2, &c1, &r[2]); in bn_sqr_comba4() 87 bn_mul2_mulw_addtw(a[3], a[0], 0, c2, c1, &c2, &c1, &c0); in bn_sqr_comba4() 88 bn_mul2_mulw_addtw(a[2], a[1], c2, c1, c0, &c2, &c1, &r[3]); in bn_sqr_comba4() 90 bn_mulw_addtw(a[2], a[2], 0, c2, c1, &c2, &c1, &c0); in bn_sqr_comba4() 91 bn_mul2_mulw_addtw(a[3], a[1], c2, c1, c0, &c2, &c1, &r[4]); in bn_sqr_comba4() [all …]
|
| /openbsd/src/sys/lib/libkern/ |
| D | softfloat-specialize.h | 101 static flag float32_is_nan( float32 a ) in float32_is_nan() argument 104 return ( 0xFF000000 < (bits32) ( a<<1 ) ); in float32_is_nan() 114 flag float32_is_signaling_nan( float32 a ) in float32_is_signaling_nan() argument 117 return ( ( ( a>>22 ) & 0x1FF ) == 0x1FE ) && ( a & 0x003FFFFF ); in float32_is_signaling_nan() 128 static commonNaNT float32ToCommonNaN( float32 a ) in float32ToCommonNaN() argument 132 if ( float32_is_signaling_nan( a ) ) float_raise( float_flag_invalid ); in float32ToCommonNaN() 133 z.sign = a>>31; in float32ToCommonNaN() 135 z.high = ( (bits64) a )<<41; in float32ToCommonNaN() 146 static float32 commonNaNToFloat32( commonNaNT a ) in commonNaNToFloat32() argument 149 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 ); in commonNaNToFloat32() [all …]
|
| /openbsd/src/sys/kern/ |
| D | vfs_vops.c | 64 struct vop_islocked_args a; in VOP_ISLOCKED() local 65 a.a_vp = vp; in VOP_ISLOCKED() 70 return ((vp->v_op->vop_islocked)(&a)); in VOP_ISLOCKED() 77 struct vop_lookup_args a; in VOP_LOOKUP() local 78 a.a_dvp = dvp; in VOP_LOOKUP() 79 a.a_vpp = vpp; in VOP_LOOKUP() 80 a.a_cnp = cnp; in VOP_LOOKUP() 85 return ((dvp->v_op->vop_lookup)(&a)); in VOP_LOOKUP() 92 struct vop_create_args a; in VOP_CREATE() local 93 a.a_dvp = dvp; in VOP_CREATE() [all …]
|
| /openbsd/src/lib/libcrypto/ts/ |
| D | ts_rsp_utils.c | 71 TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *status_info) in TS_RESP_set_status_info() argument 75 if (a->status_info == status_info) in TS_RESP_set_status_info() 82 TS_STATUS_INFO_free(a->status_info); in TS_RESP_set_status_info() 83 a->status_info = new_status_info; in TS_RESP_set_status_info() 90 TS_RESP_get_status_info(TS_RESP *a) in TS_RESP_get_status_info() argument 92 return a->status_info; in TS_RESP_get_status_info() 126 TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument 129 PKCS7_free(a->token); in TS_RESP_set_tst_info() 130 a->token = p7; in TS_RESP_set_tst_info() 131 TS_TST_INFO_free(a->tst_info); in TS_RESP_set_tst_info() [all …]
|
| /openbsd/src/regress/usr.bin/mandoc/mdoc/Li/ |
| D | punct.out_markdown | 5 **Li-punct** - punctuation following a literal macro 23 `a` ( 24 `a` \[ 25 `a` | 26 `a`. 27 `a`, 28 `a`; 29 `a`: 30 `a`? 31 `a`! [all …]
|