| /openbsd/src/gnu/usr.bin/perl/dist/threads-shared/t/ |
| D | object2.t | 54 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/ |
| D | blockhooks-csc.t | 16 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"
|
| D | multicall.t | 31 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/ |
| D | qr_gc.t | 12 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/ |
| D | leak.t | 19 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/ |
| D | ok_obj.t | 16 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/ |
| D | ref7.C | 4 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/ |
| D | uniq.t | 184 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/ |
| D | fly.c | 49 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/ |
| D | pos.t | 42 my $destroyed; 43 { package Class; DESTROY { ++$destroyed; } } 45 $destroyed = 0; 51 is($destroyed, 1, 'Timely scalar destruction with lvalue pos');
|
| D | hash.t | 21 my $destroyed; 22 { package Class; DESTROY { ++$destroyed; } } 24 $destroyed = 0; 30 is($destroyed, 1, 'Timely hash destruction with lvalue keys');
|
| D | vec.t | 107 my $destroyed; 108 { package Class; DESTROY { ++$destroyed; } } 110 $destroyed = 0; 116 is($destroyed, 1, 'Timely scalar destruction with lvalue vec');
|
| D | tie.t | 162 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 …]
|
| D | undef.t | 134 DESTROY { $messages .= 'destroyed ' } 145 is $messages, 'destroyed after ', 'undef $scalar frees refs immediately';
|
| D | sub.t | 267 my $destroyed = 0; 268 sub DESTROY { $destroyed = 1 } 286 ::is($destroyed, 1, "RT124156 freed cv");
|
| D | substr.t | 845 my $destroyed; 846 { package Class; DESTROY { ++$destroyed; } } 848 $destroyed = 0; 854 is($destroyed, 1, 'Timely scalar destruction with lvalue substr');
|
| D | switch.t | 1250 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/ |
| D | unmemoize.t | 44 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/ |
| D | nested_context_exception.t | 71 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/ |
| D | fresh_perl.t | 389 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/ |
| D | amdgpu_vce.c | 742 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/ |
| D | sanitizer_thread_registry.cpp | 256 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/ |
| D | descriptive | 7 ok 5 Robeast destroyed
|
| D | descriptive_trailing | 6 ok 5 Robeast destroyed
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Regression/ |
| D | is_capture.t | 18 is $destroy, 1, 'undef object destroyed after being passed to is';
|