Searched refs:ref (Results 51 - 75 of 149) sorted by relevance

123456

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dupgrade.inc28 '-' => sub { my @a = ref($_[0])->_swap(@_);
37 my $c = ref ($_[0] ) || 'Math::Foo';
208 ok (ref($ans1),$expected_class); # also checks that it really is ref!
213 is_valid($ans1,$f) if ref $ans1;
251 # $e = "Not a reference to $c" if (ref($x) || '') ne $c;
H A Dconfig.t28 ok (ref($cfg),'HASH');
51 ok (ref($cfg),'HASH');
H A Dbigintpm.inc18 '-' => sub { my @a = ref($_[0])->_swap(@_);
27 my $c = ref ($_[0] ) || 'Math::Foo';
197 ok (ref($ans),$expected_class) if $expected_class ne $class;
200 is_valid($ans1,$f) if ref $ans1;
376 ok ($args[1],4); ok (ref($args[1]),$args[0]);
377 ok ($args[2],5); ok (ref($args[2]),$args[0]);
378 ok ($args[3],6); ok (ref($args[3]),'');
379 ok ($args[4],7); ok (ref($args[4]),'');
384 ok ($args[1],4); ok (ref($args[1]),$args[0]);
385 ok ($args[2],5); ok (ref(
[all...]
H A Dbigints.t40 ok (ref($x),'SCALAR'); ok ($C->_str($x),123); ok ($C->_str($y),321);
99 $x = $C->_new("12345"); $x = $C->_num($x); ok (ref($x)||'',''); ok ($x,12345);
102 $x = $C->_new("12345"); $x = $C->_len($x); ok (ref($x)||'',''); ok ($x,5);
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c73 if (fnp->ref == 0) { /* Entry is not in use. */
79 ++fnp->ref;
95 fnp->ref = 1;
194 --fnp->ref;
195 if (fnp->ref == 0)
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_fget.c173 if (bhp->ref == UINT16_T_MAX) {
187 ++bhp->ref;
258 bhp->ref = 1;
310 if (bhp->ref == 1)
346 --bhp->ref;
H A Dmp_fopen.c126 dbmfp->ref = 1;
209 ++mfp->ref;
333 ++mfp->ref;
346 mfp->ref = 1;
447 if (dbmfp->ref == 1) {
512 if (mfp->ref > 1) {
513 --mfp->ref;
531 "%s: close: pgno %lu left dirty; ref %lu",
533 (u_long)bhp->pgno, (u_long)bhp->ref);
H A Dmp_fput.c105 if (bhp->ref == 0) {
117 if (--bhp->ref > 0) {
H A Dmp_region.c122 if (bhp->ref != 0 || F_ISSET(bhp, BH_LOCKED))
140 ++bhp->ref;
144 --bhp->ref;
148 * and incremented the ref count while we were writing
151 if (bhp->ref != 0)
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dmp.h167 u_int32_t ref; /* Reference count. */ member in struct:__db_mpoolfile
241 u_int32_t ref; /* Reference count. */ member in struct:__mpoolfile
273 u_int16_t ref; /* Reference count. */ member in struct:__bh
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtie.t358 my $s = "$r1 ". ref($r1) . " $r2 " . ref($r2);
412 my $ref = \$x;
413 tie $x, 'Overlay', $ref, $x;
419 #print "WILL EXTERNAL UNTIE $ref\n";
420 untie $$ref;
434 my ($ref, $val) = @_;
435 return bless [ $ref, $val ], $pkg;
441 my ($ref, $val) = @$self;
442 #print "WILL INTERNAL UNITE $ref\
[all...]
H A Dver.t252 is( ref(\$v), 'SCALAR', 'v-strings are just scalars' );
255 is( ref(\$v), 'SCALAR', 'v-strings with v are just scalars' );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dsafesort.t34 is ref $func, 'CODE', 'reval should return a CODE ref';
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/
H A Dproto.t47 print "not " unless ref $r eq "CODE" and $r == \&f;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/
H A Dforgive.t67 print ((ref $ret->[1] eq 'SCALAR')?"ok $test\n":"not ok $test\n"); $test++;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/APItest/t/
H A Dhash.t145 tie %$copy, ref $class;
168 tie %$copy, ref $class;
189 tie %h1, ref $class;
190 tie %h2, ref $class;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DSymbol.t19 ok( ref($sym1) eq 'GLOB', 'gensym() returns a GLOB' );
34 like( $sym1, qr/=IO\(/, 'got an IO ref' );
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_process.c1090 ndr_size_is(ndr_ref_t *ref) argument
1092 ndr_stream_t *nds = ref->stream;
1102 assert(ref->inner_flags & NDR_F_SIZE_IS);
1103 size_is = ref->size_is;
1106 NDR_SET_ERROR(ref, NDR_ERR_SIZE_IS_UNEXPECTED);
1111 NDR_SET_ERROR(ref, NDR_ERR_SIZE_IS_DUPLICATED);
1140 * intended size (ref->size_is) matches the sizing header.
1143 NDR_SET_ERROR(ref, NDR_ERR_SIZE_IS_MISMATCH_PDU);
1154 outer_ref->size_is = ref->size_is;
1779 int ndr_##TYPE(struct ndr_reference *ref) { \
1817 ndr_basic_integer(ndr_ref_t *ref, unsigned size) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dusage.c693 update_stats(net_stat_t *ns1, net_entry_t *ne, net_stat_t *ref) argument
697 ns1->net_stat_ibytes -= (ref->net_stat_ibytes + ref->net_stat_tibytes);
698 ns1->net_stat_obytes -= (ref->net_stat_obytes + ref->net_stat_tobytes);
699 ns1->net_stat_ipackets -= (ref->net_stat_ipackets +
700 ref->net_stat_tipackets);
701 ns1->net_stat_opackets -= (ref->net_stat_opackets +
702 ref->net_stat_topackets);
703 ns1->net_stat_ierrors -= (ref
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/t/
H A Dcookie.t34 is(ref($result), 'HASH', "Hash ref returned in scalar context");
77 is(ref($result{foo}), 'CGI::Cookie', 'Type of objects returned is correct');
94 is(ref($result{foo}), 'CGI::Cookie', 'Type of objects returned is correct');
119 is(ref($result{foo}), '', 'Plain scalar returned');
136 is(ref($result{foo}), '', 'Plain scalar returned');
161 is(ref($c), 'CGI::Cookie', 'new returns objects of correct type');
174 is(ref($c), 'CGI::Cookie', 'new returns objects of correct type');
192 # is(ref($c), 'CGI::Cookie', 'new returns objects of correct type');
325 # an argument, you have to give it an arrary ref
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp.h368 #define setAGAIN(ref) sv = ref; \
369 if (!SvROK(ref)) \
371 if (ref != arg && SvRV(ref) != SvRV(arg)) { \
372 arg = ref; \
392 /* SV* ref causes confusion with the member variable
393 changed SV* ref to SV* tmpRef */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/I18N/Langinfo/t/
H A DLanginfo.t62 if (ref $want{$try} && $got =~ $want{$try} || $got eq $want{$try}) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/
H A Dsigaction.t85 print ref($SIG{HUP}) eq 'CODE' ? "ok 11\n" : "not ok 11\n";
105 print ref($oldaction->{HANDLER}) eq 'CODE' ? "ok 14\n" : "not ok 14\n";
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D42_offset.t34 is (ref($o), 'Tie::File');
/osnet-11/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c78 DNSServiceRef ref = NULL; local
88 err = DNSServiceQueryRecord(&ref, flags, opinterface,
90 if (err != kDNSServiceErr_NoError || ref == NULL ||
91 (sockfd = DNSServiceRefSockFD(ref)) == NULL) {
92 DNSServiceRefDeallocate(ref);
107 (DNSServiceProcessResult(ref) == kDNSServiceErr_NoError))) {
122 DNSServiceRefDeallocate(ref);
150 DNSServiceRefDeallocate(ref);

Completed in 108 milliseconds

123456