Home
last modified time | relevance | path

Searched refs:destroyed (Results 1 – 25 of 120) sorted by relevance

12345

/openbsd/src/gnu/usr.bin/perl/dist/threads-shared/t/
Dobject2.t54 my (@created, @destroyed);
67 $destroyed[$$self{'ID'}] = 1;
82 $destroyed[$$self[0]] = 1;
97 $destroyed[$$self] = 1;
108 ok($destroyed[$ID], 'Deleted hash object in normal array');
113 ok($destroyed[$ID], 'Undef hash object in normal array');
119 ok($destroyed[$ID-1], 'Replaced hash object in normal array');
121 ok($destroyed[$ID], 'Hash object removed from cleared normal array');
126 ok($destroyed[$ID], 'Hash object removed from undef normal array');
132 ok($destroyed[$ID], 'Deleted array object in normal array');
[all …]
/openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/t/
Dblockhooks-csc.t16 my %destroyed;
33 $destroyed{ $self->name }++;
75 BEGIN { ok(!keys %destroyed, 'nothing destroyed yet'); }
79 BEGIN { ok(!keys %destroyed, 'nothing destroyed yet'); }
85 BEGIN { ok(!keys %destroyed, 'nothing destroyed yet'); }
89 ok $destroyed{replace}, 'replacement has been destroyed after end of outer scope';
97 ok $destroyed{ $_ }, "$_ has been destroyed after end of outer scope"
Dmulticall.t31 my $destroyed = 0;
32 sub REC::DESTROY { $destroyed = 1 }
46 is($destroyed, 0, "f not yet destroyed");
48 is($destroyed, 1, "f now destroyed");
/openbsd/src/gnu/usr.bin/perl/t/re/
Dqr_gc.t12 my $destroyed;
14 sub Regexp::DESTROY { $destroyed++ }
21 is( $destroyed, 1, "destroyed regexp" );
23 undef $destroyed;
30 is( $destroyed, 1, "destroyed regexp with closure capture" );
/openbsd/src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/t/
Dleak.t19 my $destroyed = 0;
20 sub DESTROY { $destroyed++; }
27 $destroyed = 0;
32 is ($destroyed, 1, "$method does not leak memory");
38 $destroyed = 0;
43 is ($destroyed, 1, "$method does not leak memory");
72 $destroyed = 0;
79 is ($destroyed, 1, "_acmp($n_1,$n_2) does not leak memory");
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/
Dok_obj.t16 my $destroyed = 0;
20 $destroyed++;
28 is $destroyed, 3, "DESTROY called 3 times";
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
Dref7.C4 int destroyed = 0; variable
9 ~A() { destroyed++; } in ~A()
20 return destroyed; in main()
/openbsd/src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
Duniq.t184 my @destroyed = (0) x 3;
185 my @notifiers = map { DestroyNotifier->new( \$destroyed[$_] ) } 0 .. 2;
190 is_deeply( \@destroyed, [ 0, 1, 1 ],
194 is_deeply( \@destroyed, [ 1, 1, 1 ],
/openbsd/src/games/battlestar/
Dfly.c49 static char destroyed; variable
77 destroyed = 0; in visual()
152 destroyed = 1; in visual()
170 if (destroyed) { in visual()
/openbsd/src/gnu/usr.bin/perl/t/op/
Dpos.t42 my $destroyed;
43 { package Class; DESTROY { ++$destroyed; } }
45 $destroyed = 0;
51 is($destroyed, 1, 'Timely scalar destruction with lvalue pos');
Dhash.t21 my $destroyed;
22 { package Class; DESTROY { ++$destroyed; } }
24 $destroyed = 0;
30 is($destroyed, 1, 'Timely hash destruction with lvalue keys');
Dvec.t107 my $destroyed;
108 { package Class; DESTROY { ++$destroyed; } }
110 $destroyed = 0;
116 is($destroyed, 1, 'Timely scalar destruction with lvalue vec');
Dtie.t162 my $destroyed = 0;
164 sub Self::DESTROY { $destroyed = 1; }
169 die "self-tied scalar not DESTROYed" unless $destroyed == 1;
174 my $destroyed = 0;
177 sub Self2::DESTROY { $destroyed = 1; }
186 die "self-tied glob not DESTROYed" unless $destroyed == 1;
191 my $destroyed = 0;
193 sub Self3::DESTROY { $destroyed = 1; }
202 die "self-tied IO not DESTROYed" unless $destroyed == 1;
207 my $destroyed = 0;
[all …]
Dundef.t134 DESTROY { $messages .= 'destroyed ' }
145 is $messages, 'destroyed after ', 'undef $scalar frees refs immediately';
Dsub.t267 my $destroyed = 0;
268 sub DESTROY { $destroyed = 1 }
286 ::is($destroyed, 1, "RT124156 freed cv");
Dsubstr.t845 my $destroyed;
846 { package Class; DESTROY { ++$destroyed; } }
848 $destroyed = 0;
854 is($destroyed, 1, 'Timely scalar destruction with lvalue substr');
Dswitch.t1250 my $destroyed = 0;
1257 when (0) { Fmurrr->new($destroyed, 0) }
1258 when (1) { my $y = Fmurrr->new($destroyed, 1); break }
1259 when (2) { $x = Fmurrr->new($destroyed, 2); continue }
1261 default { Fmurrr->new($destroyed, 3) }
1269 is $destroyed, 1, "given/when does not leak - $desc";
/openbsd/src/gnu/usr.bin/perl/cpan/Memoize/t/
Dunmemoize.t44 my $destroyed = 0;
45 sub Counted::DESTROY { ++$destroyed }
51 is $destroyed, 2, 'no cyclic references';
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/behavior/
Dnested_context_exception.t71 qr/A context appears to have been destroyed without first calling release/,
93 qr/A context appears to have been destroyed without first calling release/,
107 qr/A context appears to have been destroyed without first calling release/,
/openbsd/src/gnu/usr.bin/perl/t/run/
Dfresh_perl.t389 sub DESTROY { print "destroyed\n" };
397 sub DESTROY { print "destroyed\n" };
405 sub DESTROY { print "destroyed\n" };
413 sub DESTROY { print "destroyed\n" };
423 sub DESTROY { print "destroyed\n" }
/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_vce.c742 uint32_t destroyed = 0; in amdgpu_vce_ring_parse_cs() local
842 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs()
843 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs()
894 destroyed |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
954 tmp = destroyed; in amdgpu_vce_ring_parse_cs()
979 uint32_t destroyed = 0; in amdgpu_vce_ring_parse_cs_vm() local
1008 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs_vm()
1009 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs_vm()
1021 destroyed |= 1 << session_idx; in amdgpu_vce_ring_parse_cs_vm()
1045 tmp = destroyed; in amdgpu_vce_ring_parse_cs_vm()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cpp256 bool destroyed = false; in JoinThread() local
266 if ((destroyed = tctx->GetDestroyed())) { in JoinThread()
273 if (!destroyed) in JoinThread()
275 } while (!destroyed); in JoinThread()
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/sample-tests/
Ddescriptive7 ok 5 Robeast destroyed
Ddescriptive_trailing6 ok 5 Robeast destroyed
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Regression/
Dis_capture.t18 is $destroy, 1, 'undef object destroyed after being passed to is';

12345