/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
H A D | prototype.t | 6 use Sub::Util qw( prototype set_prototype ); 10 is( prototype('f'), undef, 'no prototype'); 11 is( CORE::prototype('f'), undef, 'no prototype from CORE'); 14 is( prototype('f'), '$', 'prototype'); 15 is( CORE::prototype('f'), '$', 'prototype from CORE'); 19 is( prototype(' [all...] |
H A D | scalarutil-proto.t | 14 is( prototype('f'), undef, 'no prototype'); 17 is( prototype('f'), '$', 'set prototype'); 21 is( prototype('f'), undef, 'remove prototype'); 24 is( prototype('f'), '', 'empty prototype'); 27 is( prototype('g'), '@', '@ prototype'); [all...] |
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | cproto.t | 16 ok( !defined prototype "CORE::".$keyword, $keyword ); 19 eval { prototype "CORE::".$keyword }; 24 "(".(prototype("CORE::".$keyword) // 'undef').")", $proto, 183 prototype (_)
|
H A D | attrproto.t | 3 # Testing the : prototype(..) attribute 21 $ret = eval 'package Q; sub A(bar) : prototype(bad) : dummy1 {} prototype \&A;'; 23 is $attrs, "dummy1", "MODIFY_CODE_ATTRIBUTES called, but not for prototype(..)"; 24 like shift @warnings, qr/Illegal character in prototype for Q::A : bar/, 25 "First warning is bad prototype - bar"; 26 like shift @warnings, qr/Illegal character in prototype for Q::A : bad/, 27 "Second warning is bad prototype - bad"; 28 like shift @warnings, qr/Prototype \'bar\' overridden by attribute \'prototype\(bad\)\' in Q::A/, 32 # The override warning should not be hidden by no warnings (similar to prototype change [all...] |
H A D | signatures.t | 18 is prototype(\&t000), "\$a", "(\$a) interpreted as protoype when not enabled"; 33 is prototype(\&t001), undef; 59 is prototype(\&t002), undef; 68 is prototype(\&t003), undef; 77 is prototype(\&t006), undef; 89 is prototype(\&t007), undef; 102 is prototype(\&t008), undef; 115 is prototype(\&t009), undef; 128 is prototype(\&t010), undef; 142 is prototype(\ [all...] |
H A D | lexsub.t | 67 is prototype "::e", '$', 'our sub with proto'; 196 is prototype eval{\&se}, '$', 'state sub with proto'; 197 is prototype "se", undef, 'prototype "..." ignores state subs'; 558 is prototype eval{\&me}, '$', 'my sub with proto'; 559 is prototype "me", undef, 'prototype "..." ignores my subs'; 562 my $proto = prototype $coderef; 841 my sub y :prototype() {$x};
|
H A D | attrs.t | 314 like $@, qr/^Closure prototype called/, 317 like $@, qr/^Closure prototype called/, 328 &::is(@proto, 'referencing closure prototype'); 392 sub MODIFY_CODE_ATTRIBUTES { $Proto = prototype $_[1]; () } 456 # Setting an attribute on a BEGIN prototype causes 470 . 'no warnings q{prototype}; sub BEGIN() :Foo; print qq{OK\n}',
|
/openbsd-current/gnu/usr.bin/perl/hints/ |
H A D | umips.sh | 26 # This is probably a result of incomplete prototype support. 27 prototype=undef
|
/openbsd-current/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/ |
H A D | 002-more.t | 71 is prototype(\&XSMore::include_ok), "", 'the PROTOTYPES keyword'; 73 is prototype(\&XSMore::prototype_ssa), '$$@', 'the PROTOTYPE keyword'; 76 is prototype(\&XSMore::attr_method), '$;@', 'ATTRS with prototype'; 80 is prototype(\&XSMore::return_1), "", 'ALIAS with prototype (1)'; 81 is prototype(\&XSMore::return_2), "", 'ALIAS with prototype (2)'; 89 is prototype(\&$overload_sub_name), "", 'OVERLOAD following prototyped xsub'; 103 # eval so compile-time sees any prototype [all...] |
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | builtin.t | 51 is(prototype(\&builtin::is_bool), '$', 'is_bool prototype'); 73 is(prototype(\&builtin::weaken), '$', 'weaken prototype'); 74 is(prototype(\&builtin::unweaken), '$', 'unweaken prototype'); 75 is(prototype(\&builtin::is_weak), '$', 'is_weak prototype'); 101 is(prototype(\&builtin::blessed), '$', 'blessed prototype'); [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | autoload.t | 23 is prototype \&AUTOLOAD, '*$', 'prototype is unchanged'; 26 is prototype \&AUTOLOAD, '*$', 'proto unchanged after embedded-null call'; 29 is prototype \&AUTOLOAD, '*$', 'prototype is unchanged after Unicode call'; 31 # Test that the prototype was preserved from the parser���s point of view 34 'parse failure due to AUTOLOAD prototype'; 35 ok eval "sub { ::AUTOLOAD(1,2) }", 'successful parse respecting prototype' 53 'precedence determination respects prototype of AUTOLOAD sub';
|
/openbsd-current/gnu/usr.bin/perl/t/comp/ |
H A D | proto.t | 8 # It is impossible to test every prototype that can be specified, but 26 my $p = prototype(shift); 28 my $what = defined $c ? '(' . $p . ')' : 'no prototype'; 446 print "not " if defined prototype('CORE::print'); 449 print "not " if defined prototype('CORE::system'); 452 print "# CORE::open => ($p)\nnot " if ($p = prototype('CORE::open')) ne '*;$@'; 456 if defined ($p = eval { prototype('CORE::Foo') or 1 }) or $@ !~ /^Can't find an opnumber/; 459 eval { prototype("CORE::a\0b") }; 464 eval { prototype("CORE::\x{100}") }; 471 if defined ($p = eval { prototype( [all...] |
H A D | uproto.t | 87 like( $@, qr/Malformed prototype for main::wrong1/, 'wrong1' ); 90 like( $@, qr/Malformed prototype for main::wrong2/, 'wrong2' );
|
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/subtest/ |
H A D | plan.t | 25 is prototype('subtest'), undef, '... has no prototype';
|
/openbsd-current/gnu/usr.bin/perl/dist/Storable/t/ |
H A D | code.t | 90 is(prototype($thawed->[4]), prototype($obj[0]->[4])); 136 is(prototype($thawed->[4]), prototype($obj[0]->[4])); 148 is(prototype($thawed->[4]), prototype($obj[0]->[4])); 279 is(prototype($thawed->[4]), prototype($obj[0]->[4]));
|
/openbsd-current/gnu/llvm/lldb/source/Target/ |
H A D | ThreadPlanCallFunctionUsingABI.cpp | 24 Thread &thread, const Address &function, llvm::Type &prototype, 37 start_load_addr, prototype, args)) 23 ThreadPlanCallFunctionUsingABI( Thread &thread, const Address &function, llvm::Type &prototype, llvm::Type &return_type, llvm::ArrayRef<ABI::CallArgument> args, const EvaluateExpressionOptions &options) argument
|
/openbsd-current/gnu/usr.bin/texinfo/util/ |
H A D | gdoc | 708 # takes a function prototype and spits out all the details 711 my $prototype = shift @_; 713 if ($prototype =~ m/^()([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || 714 $prototype =~ m/^(\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || 715 $prototype =~ m/^(\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || 716 $prototype =~ m/^(\w+\s+\w+)\s+([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/ || 717 $prototype =~ m/^(\w+\s+\w+\s*\*)\s*([a-zA-Z0-9_~:]+)\s*\(([^\)]*)\)/) 758 print STDERR "Error($lineno): cannot understand prototype: '$prototype 789 # 3 - scanning prototype [all...] |
/openbsd-current/gnu/usr.bin/perl/ |
H A D | builtin.c | 98 SV *prototype = newSVpvs(""); local 99 SAVEFREESV(prototype); 103 entersubop = ck_entersub_args_proto(entersubop, namegv, prototype); 403 SV *prototype = newSVpvs("$"); local 404 SAVEFREESV(prototype); 408 entersubop = ck_entersub_args_proto(entersubop, namegv, prototype); 475 SV *prototype = newSVpvs("@"); local 476 SAVEFREESV(prototype); 480 entersubop = ck_entersub_args_proto(entersubop, namegv, prototype);
|
H A D | myconfig.SH | 76 prototype=$prototype
|
/openbsd-current/gnu/llvm/clang/include/clang/CodeGen/ |
H A D | CGFunctionInfo.h | 492 /// Compute the arguments required by the given formal prototype, 497 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, argument 499 if (!prototype->isVariadic()) return All; 501 if (prototype->hasExtParameterInfos()) 503 prototype->getExtParameterInfos(), 508 return RequiredArgs(prototype->getNumParams() + additional); 511 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, argument 513 return forPrototypePlus(prototype.getTypePtr(), additional); 516 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { argument 517 return forPrototypePlus(prototype, 520 forPrototype(CanQual<FunctionProtoType> prototype) argument [all...] |
/openbsd-current/gnu/lib/libstdc++/libstdc++/ |
H A D | configure | 1199 /* Override any gcc2 internal prototype to avoid an error. */ 1201 builtin and then its argument prototype would still apply. */ 4424 /* Override any gcc2 internal prototype to avoid an error. */ 4426 builtin and then its argument prototype would still apply. */ 4481 /* Override any gcc2 internal prototype to avoid an error. */ 4483 builtin and then its argument prototype would still apply. */ 4537 /* Override any gcc2 internal prototype to avoid an error. */ 4539 builtin and then its argument prototype would still apply. */ 4595 /* Override any gcc2 internal prototype to avoid an error. */ 4597 builtin and then its argument prototype woul [all...] |
/openbsd-current/gnu/gcc/gcc/config/m68hc11/ |
H A D | m68hc11-crt0.S | 78 ;; the 68hc11 registers. Function prototype is:
|
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68hc11/ |
H A D | m68hc11-crt0.S | 78 ;; the 68hc11 registers. Function prototype is:
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/ABI/Hexagon/ |
H A D | ABISysV_hexagon.h | 31 llvm::Type &prototype,
|
/openbsd-current/gnu/usr.bin/cvs/ |
H A D | configure | 2106 /* Override any gcc2 internal prototype to avoid an error. */ 2108 builtin and then its argument prototype would still apply. */ 2147 /* Override any gcc2 internal prototype to avoid an error. */ 2149 builtin and then its argument prototype would still apply. */ 2790 /* Override any gcc2 internal prototype to avoid an error. */ 2792 builtin and then its argument prototype would still apply. */ 2872 /* Override any gcc2 internal prototype to avoid an error. */ 2874 builtin and then its argument prototype would still apply. */ 2932 /* Override any gcc2 internal prototype to avoid an error. */ 2934 builtin and then its argument prototype woul [all...] |