Searched refs:scalar (Results 1 - 25 of 419) sorted by relevance

1234567891011>>

/openbsd-current/lib/libcrypto/curve25519/
H A Dcurve25519-generic.c30 x25519_scalar_mult(uint8_t out[32], const uint8_t scalar[32], argument
33 x25519_scalar_mult_generic(out, scalar, point);
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Ddefined.t14 ok !defined(scalar(42,&notdef)), 'defined(scalar(42,&sub))';
17 # Likewise, these should evaluate @array in scalar context
19 ok defined($false ? $scalar : @array), 'defined( ... ? ... : @array)';
20 ok defined(scalar @array), 'defined(scalar @array)';
H A Dhashwarn.t29 cmp_ok(scalar(@warnings),'==',1,'odd count');
34 cmp_ok(scalar(@warnings),'==',1,'scalar count');
35 cmp_ok(substr($warnings[0],0,length($fail_odd)),'eq',$fail_odd,'scalar msg');
39 cmp_ok(scalar(@warnings),'==',2,'odd hashref count');
45 cmp_ok(scalar(@warnings),'==',1,'arrayref count');
50 cmp_ok(scalar(@warnings),'==',1,'coderef count');
55 cmp_ok(scalar(@warnings),'==',0,'hashref assign');
64 cmp_ok(scalar(@warnings),'==',0,'pseudo-hash 1 count');
71 cmp_ok(scalar(
[all...]
H A Dgrep.t17 my @mapped = map {scalar @$_} @lol;
18 cmp_ok("@mapped", 'eq', "3 0 3", 'map scalar list of list');
20 my @grepped = grep {scalar @$_} @lol;
21 cmp_ok("@grepped", 'eq', "$lol[0] $lol[2]", 'grep scalar list of list');
32 cmp_ok( scalar(@res), '==', 1, 'basic map nr');
37 cmp_ok( scalar(@res), '==', 1, 'linefeed map nr');
43 cmp_ok( scalar(@res), '==', 1, 'deref map nr');
47 cmp_ok( scalar(@res), '==', 1, 'no paren basic map nr');
52 cmp_ok( scalar(@res), '==', 1, 'no paren linefeed map nr');
58 cmp_ok( scalar(
[all...]
H A Dflip.t54 ok(scalar(0..2));
65 ok(scalar(15..0));
67 push @_, \scalar(0..0) for 1,2;
68 isnt $_[0], $_[1], '\scalar($a..$b) gives a different scalar each time';
105 # Void context gives parenthesized lhs scalar context
107 sub c { $context = qw[ void scalar list ][wantarray + defined wantarray] }
109 is $context, 'scalar', '(...)x... in void context';
H A Dtiehash.t114 is(scalar @have, 1, "just 1 key from the loop this time");
149 is(scalar @have, 2, "2 keys from the loop this time");
207 push @got, scalar each %Camelus;
208 push @got, scalar each %Camelus;
209 push @got, scalar each %Camelus;
210 is(scalar each %Camelus, undef, 'Fourth each returned undef');
216 push @got, scalar each %Camelus;
221 is(scalar @all, 0, 'Zero keys when tied');
224 push @got, scalar each %Camelus;
225 push @got, scalar eac
[all...]
H A Dtry.t84 defined wantarray ? "scalar" : "void";
92 my $scalar = whatcontext();
93 is($context, "scalar", 'sub {try} in scalar');
201 my $scalar;
204 try { return $scalar }
209 is($scalar, 123, 'try { return } in :lvalue sub in scalar context' );
224 my $scalar = do {
228 is($scalar, 12
[all...]
H A Dutf8magic.t18 scalar "$1"; # invoke SvGETMAGIC
25 scalar "$1"; # invoke SvGETMAGIC
/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dhead-tail.t16 is( scalar @ary, 1 );
20 is( scalar @ary, 2 );
25 is( scalar @ary, 2 );
30 is( scalar @ary, 1 );
34 is( scalar @ary, 3 );
40 is( scalar @ary, 0 );
43 is( scalar @ary, 0 );
46 is( scalar @ary, 0 );
49 is( scalar @ary, 0 );
52 is( scalar
[all...]
H A Dsample.t12 is( scalar @items, 3, 'returns correct count when plentiful' );
15 is( scalar @items, 10, 'returns correct count when exact' );
18 is( scalar @items, 10, 'returns correct count when short' );
/openbsd-current/gnu/usr.bin/perl/ext/File-Glob/t/
H A Dcase.t23 cmp_ok(scalar @a, '>=', 8, 'use of the case sensitivity tags, via csh_glob()');
28 is(scalar @a, 0, 'None should be uppercase');
31 cmp_ok(scalar @a, '>=', 3, 'explicit use of the GLOB_NOCASE flag');
38 cmp_ok(scalar @a, '>=', 8);
42 is(scalar @a, 1);
44 isnt(scalar @a, 0);
/openbsd-current/gnu/usr.bin/perl/t/run/
H A Dnoswitch.t12 is( scalar <>, "ok 2\n", "read from aliased DATA filehandle");
/openbsd-current/gnu/usr.bin/perl/lib/perl5db/t/
H A Dsymbol-table-bug10 print 'Undefined symbols ', scalar(@undef_symbols) . "\n";
/openbsd-current/gnu/usr.bin/perl/ext/re/t/
H A Dstrict.t24 BEGIN { is(scalar @w, 0, 'No default-on warnings for qr/\b*/'); }
31 BEGIN { is(scalar @w, 1, 'use re "strict" turns on warnings'); }
38 BEGIN { is(scalar @w, 0, 'no re "strict" restores warnings state'); }
43 BEGIN { is(scalar @w, 0, 'dropping out of "strict" scope reverts warnings default'); }
49 BEGIN { is(scalar @w, 1, 'use re "strict" turns on warnings'); }
54 BEGIN { is(scalar @w, 0, 'turning off "strict" scope reverts warnings default'); }
61 BEGIN { is(scalar @w, 1, 'use warnings "regexp" works'); }
66 BEGIN { is(scalar @w, 1, 'use re "strict" keeps warnings on'); }
71 BEGIN { is(scalar @w, 1, 'turning off "strict" scope doesn\'t affect warnings that were already on'); }
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dgh17447.t21 is( scalar $select->handles, 1, '$select has 1 handle' );
27 is( scalar $select->handles, 0, '$select has 0 handles' );
/openbsd-current/gnu/usr.bin/perl/ext/FileCache/t/
H A D01open.t17 ok(scalar(map { -f } @files) == scalar(@files));
H A D03append.t26 ok(scalar(grep/\b3$/m, @cat) == scalar(@files));
38 ok(scalar(grep /\b33$/m, @cat) == scalar(@files));
/openbsd-current/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/
H A D103-tidy_type.t18 plan tests => scalar(@tests);
/openbsd-current/gnu/usr.bin/perl/cpan/File-Path/t/
H A Dtaint.t30 is(scalar(@created), 7, "created list of directories");
34 is( scalar(@$err), 0, 'no errors' );
35 is( scalar(@$res), 7, 'seven items' );
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/
H A Doutput.t63 # Test output to a scalar ref
65 my $scalar = '';
66 my $out = $tb->output(\$scalar);
69 $Test->is_eq($scalar, "Hey hey hey!\n");
73 # Test we can output to the same scalar ref
75 my $scalar = '';
76 my $out = $tb->output(\$scalar);
77 my $err = $tb->failure_output(\$scalar);
82 $Test->is_eq($scalar, "To output and beyond!", "One scalar, tw
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/PowerPC/GISel/
H A DPPCLegalizerInfo.cpp23 const LLT S1 = LLT::scalar(1);
24 const LLT S8 = LLT::scalar(8);
25 const LLT S16 = LLT::scalar(16);
26 const LLT S32 = LLT::scalar(32);
27 const LLT S64 = LLT::scalar(64);
/openbsd-current/gnu/llvm/llvm/lib/Target/M68k/GISel/
H A DM68kLegalizerInfo.cpp24 const LLT s8 = LLT::scalar(8);
25 const LLT s16 = LLT::scalar(16);
26 const LLT s32 = LLT::scalar(32);
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/t/
H A Dbasic_exceptions.t31 is($@->context, 'scalar', 'Open called in scalar/void context');
/openbsd-current/gnu/usr.bin/perl/t/porting/
H A Dre_context.t40 is(scalar @vars, 0, "extraneous vars")
/openbsd-current/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/
H A D010_url.t26 plan tests => scalar @tests;

Completed in 231 milliseconds

1234567891011>>