/dports/devel/p5-Params-Classify/Params-Classify-0.015/t/ |
H A D | ref.t | 14 my($scalar, $reftype) = @_; 15 is(ref_type($scalar), $reftype); 16 is(&ref_type($scalar), $reftype); 17 is(!!is_ref($scalar), !!$reftype); 18 is(!!&is_ref($scalar), !!$reftype); 19 $reftype = "" if !defined($reftype); 24 is(!!is_ref($scalar, "HASH"), "HASH" eq $reftype); 26 is(!!is_ref($scalar, "CODE"), "CODE" eq $reftype); 30 is(!!is_ref($scalar, "IO"), "IO" eq $reftype); 31 is(!!&is_ref($scalar, "IO"), "IO" eq $reftype); [all …]
|
/dports/devel/p5-Ref-Util/Ref-Util-0.204/lib/Ref/Util/ |
H A D | PP.pm | 76 my $reftype = Scalar::Util::reftype( $_[0] ); 77 ( $reftype eq 'SCALAR' || $reftype eq 'VSTRING' ) 84 Scalar::Util::reftype( $_[0] ) eq 'ARRAY'; 90 Scalar::Util::reftype( $_[0] ) eq 'HASH'; 96 Scalar::Util::reftype( $_[0] ) eq 'CODE'; 109 Scalar::Util::reftype( $_[0] ) eq 'GLOB'; 119 Scalar::Util::reftype( $_[0] ) eq 'FORMAT'; 125 Scalar::Util::reftype( $_[0] ) eq 'IO'; 131 Scalar::Util::reftype( $_[0] ) eq 'REF'; 200 my $reftype = Scalar::Util::reftype( $_[0] ); [all …]
|
/dports/devel/p5-Const-Fast/Const-Fast-0.014/lib/Const/ |
H A D | Fast.pm | 28 if (my $reftype = reftype $_[0] and not blessed($_[0]) and not &Internals::SvREADONLY($_[0])) { 29 $_[0] = _dclone($_[0]) if !$dont_clone && &Internals::SvREFCNT($_[0]) > 1 && !$skip{$reftype}; 31 if ($reftype eq 'SCALAR' || $reftype eq 'REF') { 34 elsif ($reftype eq 'ARRAY') { 37 elsif ($reftype eq 'HASH') { 49 croak 'Invalid first argument, need an reference' if not defined reftype($_[0]); 51 if (reftype $_[0] eq 'SCALAR' or reftype $_[0] eq 'REF') { 56 elsif (reftype $_[0] eq 'ARRAY') { 59 elsif (reftype $_[0] eq 'HASH') {
|
/dports/devel/p5-Params-Classify/Params-Classify-0.015/lib/Params/ |
H A D | Classify.pm | 202 my $type = reftype(\$_[0]); 250 sub is_string($) { defined($_[0]) && reftype(\$_[0]) eq "SCALAR" } 310 sub is_glob($) { reftype(\$_[0]) eq "GLOB" } 330 sub is_regexp($) { reftype(\$_[0]) eq "REGEXP" } 393 my $reftype = &reftype; 395 defined($reftype) && !defined(blessed($_[0])); 396 my $xlated_reftype = $xlate_reftype{$reftype}; 397 die "unknown reftype `$reftype', please update Params::Classify" 409 my $reftype = reftype($_[0]); 411 defined($reftype) && !defined(blessed($_[0])); [all …]
|
/dports/net/p5-SOAP/SOAP-0.28/lib/SOAP/ |
H A D | TypeMapper.pm | 43 my $reftype = ref $object; 44 unless ($reftype) { 47 if (exists $g_unhandled_types_for_serialization->{$reftype}) { 48 die $g_unhandled_types_for_serialization->{$reftype}; 50 if ('SCALAR' eq $reftype) { 53 if ('HASH' eq $reftype) { 56 elsif ('ARRAY' eq $reftype) { 66 elsif (exists $self->{serializer_map}{$reftype}) { 67 return $self->{serializer_map}{$reftype}->($object); 98 my ($self, $reftype, $factory_fcn) = @_; [all …]
|
/dports/devel/p5-Object-Import/Object-Import-1.005/t/ |
H A D | 10_alias.t | 39 use Scalar::Util "reftype"; 44 is(reftype($o0b), "REF", "o0 ref bself"); 46 is(reftype($$o0b), "ARRAY", "o0 ref self"); 52 is(reftype($o1b), "REF", "o1 ref bself"); 54 is(reftype($$o1b), "ARRAY", "o1 ref self"); 61 is(reftype($$o1b), "HASH", "o1 ref new self"); 114 use Scalar::Util "reftype"; 119 is(reftype($c0b), "SCALAR", "c0 ref bself"); 121 is(reftype($$c0b), undef, "c0 ref self"); 127 is(reftype($c1b), "SCALAR", "c1 ref bself"); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/allInterfaces/ |
H A D | allinterfaces001.java | 160 ReferenceType reftype = null; in runThis() local 207 reftype = (ReferenceType) iface1list.get(0); in runThis() 208 name = reftype.name(); in runThis() 216 reftype = (ReferenceType) iface1list.get(1); in runThis() 217 name = reftype.name(); in runThis() 243 name = reftype.name(); in runThis() 254 name = reftype.name(); in runThis() 265 name = reftype.name(); in runThis() 293 name = reftype.name(); in runThis() 304 name = reftype.name(); in runThis() [all …]
|
/dports/devel/p5-XML-Pastor/XML-Pastor/lib/XML/Pastor/ |
H A D | SimpleType.pm | 36 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 43 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 50 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 57 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 69 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 87 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 94 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 101 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 108 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; 122 $prop = (reftype($prop) eq 'ARRAY') ? $prop : [$prop]; [all …]
|
/dports/databases/p5-Tangram/Tangram-2.12/lib/Tangram/Type/ |
H A D | Dump.pm | 132 if (reftype $obj eq "HASH") { 138 } elsif (reftype $obj eq "ARRAY") { 144 } elsif (reftype $obj eq "CODE") { 148 } elsif ( reftype $obj eq "SCALAR" 149 or reftype $obj eq "REF" ) { 223 if (reftype $obj eq "HASH") { 227 } elsif (reftype $obj eq "ARRAY") { 231 } elsif (reftype $obj eq "CODE") { 234 } elsif (reftype $obj eq "SCALAR" or 235 reftype $obj eq "REF") {
|
/dports/www/p5-CGI-Session/CGI-Session-4.48/lib/CGI/Session/Serialize/ |
H A D | default.pm | 59 my $r = reftype $x or next; 88 my $reftype = reftype $_; 89 if ($reftype eq "HASH") { 91 } elsif ($reftype eq "ARRAY") { 93 } elsif ($reftype eq "SCALAR" || $reftype eq "REF") { 96 … croak "Do not know how to reconstitute blessed object of base type $reftype";
|
/dports/textproc/p5-YAML-PP/YAML-PP-0.020/lib/YAML/PP/ |
H A D | Representer.pm | 40 $node->{reftype} = reftype($node->{value}); 48 $node->{reftype} = (reftype $node->{data}) || ''; 50 if ($node->{reftype} eq 'HASH' and my $tied = tied(%{ $node->{data} })) { 59 if ($node->{reftype} eq 'HASH') { 68 elsif ($node->{reftype} eq 'ARRAY') { 74 elsif ($node->{reftype}) { 147 if ($node->{reftype} eq 'SCALAR' and my $scalarref = $representers->{scalarref}) { 151 if ($node->{reftype} eq 'REF' and my $refref = $representers->{refref}) { 155 if ($node->{reftype} eq 'CODE' and my $coderef = $representers->{coderef}) {
|
/dports/devel/p5-Config-Validator/Config-Validator-1.4/lib/Config/ |
H A D | Validator.pm | 520 return unless $reftype eq "ARRAY"; 530 return unless $reftype eq "HASH"; 540 return unless $reftype eq "HASH"; 551 my($reftype, $subtype); 563 $reftype = reftype($data) || ""; 585 if ($reftype eq "ARRAY") { 782 my($valid, $schema, $data, $reftype) = @_; 814 goto invalid unless $reftype eq $1; 859 $reftype = reftype($data); 863 goto invalid if defined($reftype); [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.UI/ |
H A D | BaseTemplateParser.cs | 57 VirtualReferenceType reftype; in GetReferencedType() 60 reftype = VirtualReferenceType.Other; in GetReferencedType() 62 reftype = VirtualReferenceType.Page; in GetReferencedType() 64 reftype = VirtualReferenceType.UserControl; in GetReferencedType() 66 reftype = VirtualReferenceType.Master; in GetReferencedType() 68 reftype = VirtualReferenceType.SourceFile; in GetReferencedType() 70 if (!pageParserFilter.AllowVirtualReference (virtualPath, reftype)) in GetReferencedType()
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/bibutils-sys-0.1.1/vendor/lib/ |
H A D | reftypes.c | 39 process_findoldtag( const char *oldtag, int reftype, variants all[], int nall ) in process_findoldtag() argument 44 v = &(all[reftype]); in process_findoldtag() 55 translate_oldtag( const char *oldtag, int reftype, variants all[], int nall, in translate_oldtag() argument 60 n = process_findoldtag( oldtag, reftype, all, nall ); in translate_oldtag() 62 *processingtype = ((all[reftype]).tags[n]).processingtype; in translate_oldtag() 63 *level = ((all[reftype]).tags[n]).level; in translate_oldtag() 64 *newtag = ((all[reftype]).tags[n]).newstr; in translate_oldtag()
|
/dports/math/dune-uggrid/dune-uggrid-bc2d1229420367563410ce9e519f5ff82b45266f/dune/uggrid/parallel/ddd/analyser/ |
H A D | inv.cc | 55 DDD_TYPE reftype; /* referenced type */ member 74 static TYPE_EDGE *GetTypeEdge (TYPE_NODE *tn, DDD_TYPE reftype) in GetTypeEdge() argument 78 for(te=tn->refs; te!=NULL && te->reftype!=reftype; te=te->next) in GetTypeEdge() 84 te->reftype = reftype; in GetTypeEdge() 126 context.typeDefs()[te->reftype].name, te->reftype, te->n); in AnalyseTypes()
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/include/wx/ |
H A D | sharedptr.h | 30 m_ref = new reftype(ptr); in m_ref() 60 m_ref = new reftype(ptr); 99 m_ref = new reftype(ptr); 115 struct reftype struct 117 reftype(T* ptr) : m_ptr(ptr), m_count(1) {} in reftype() argument 118 virtual ~reftype() {} in ~reftype() argument 126 struct reftype_with_deleter : public reftype argument 128 reftype_with_deleter(T* ptr, Deleter d) : reftype(ptr), m_deleter(d) {} in reftype_with_deleter() 134 reftype* m_ref; 136 void Acquire(reftype* ref) in Acquire()
|
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/include/wx/ |
H A D | sharedptr.h | 30 m_ref = new reftype(ptr); in m_ref() 60 m_ref = new reftype(ptr); 99 m_ref = new reftype(ptr); 115 struct reftype struct 117 reftype(T* ptr) : m_ptr(ptr), m_count(1) {} in reftype() argument 118 virtual ~reftype() {} in ~reftype() argument 126 struct reftype_with_deleter : public reftype argument 128 reftype_with_deleter(T* ptr, Deleter d) : reftype(ptr), m_deleter(d) {} in reftype_with_deleter() 134 reftype* m_ref; 136 void Acquire(reftype* ref) in Acquire()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/include/wx/ |
H A D | sharedptr.h | 30 m_ref = new reftype(ptr); in m_ref() 60 m_ref = new reftype(ptr); 99 m_ref = new reftype(ptr); 115 struct reftype struct 117 reftype(T* ptr) : m_ptr(ptr), m_count(1) {} in reftype() argument 118 virtual ~reftype() {} in ~reftype() argument 126 struct reftype_with_deleter : public reftype argument 128 reftype_with_deleter(T* ptr, Deleter d) : reftype(ptr), m_deleter(d) {} in reftype_with_deleter() 134 reftype* m_ref; 136 void Acquire(reftype* ref) in Acquire()
|