HomeSort by relevance Sort by last modified time
    Searched refs:cleaner (Results 1 - 25 of 53) sorted by null

1 2 3

  /libcore/ojluni/src/main/java/sun/nio/ch/
DirectBuffer.java 28 import sun.misc.Cleaner;
37 public Cleaner cleaner(); method in interface:DirectBuffer
Util.java 40 import sun.misc.Cleaner;
219 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); local
220 if (cleaner != null) {
221 cleaner.clean();
229 Cleaner.create(this, new Closer(sel));
  /libcore/luni/src/main/java/libcore/util/
NativeAllocationRegistry.java 20 import sun.misc.Cleaner;
128 Cleaner cleaner = Cleaner.create(referent, new CleanerThunk(nativePtr)); local
129 return new CleanerRunner(cleaner);
167 // Create the cleaner before running the allocator so that
171 Cleaner cleaner = Cleaner.create(referent, thunk); local
174 cleaner.clean()
205 private final Cleaner cleaner; field in class:NativeAllocationRegistry.CleanerRunner
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ForkJoinPoolTest.java 171 try (PoolCleaner cleaner = cleaner(p)) {
211 try (PoolCleaner cleaner = cleaner(p)) {
223 try (PoolCleaner cleaner = cleaner(p)) {
247 try (PoolCleaner cleaner = cleaner(p)) {
288 try (PoolCleaner cleaner = cleaner(p))
    [all...]
ThreadPoolExecutorTest.java 95 try (PoolCleaner cleaner = cleaner(p)) {
114 try (PoolCleaner cleaner = cleaner(p, done)) {
136 try (PoolCleaner cleaner = cleaner(p)) {
162 try (PoolCleaner cleaner = cleaner(p)) {
185 try (PoolCleaner cleaner = cleaner(p))
    [all...]
ScheduledExecutorSubclassTest.java 111 try (PoolCleaner cleaner = cleaner(p)) {
126 try (PoolCleaner cleaner = cleaner(p, done)) {
145 try (PoolCleaner cleaner = cleaner(p)) {
165 try (PoolCleaner cleaner = cleaner(p)) {
187 try (PoolCleaner cleaner = cleaner(p))
    [all...]
ScheduledExecutorTest.java 54 try (PoolCleaner cleaner = cleaner(p)) {
68 try (PoolCleaner cleaner = cleaner(p)) {
89 try (PoolCleaner cleaner = cleaner(p)) {
109 try (PoolCleaner cleaner = cleaner(p)) {
131 try (PoolCleaner cleaner = cleaner(p))
    [all...]
AbstractExecutorServiceTest.java 208 try (PoolCleaner cleaner = cleaner(p, quittingTime)) {
231 try (PoolCleaner cleaner = cleaner(p)) {
248 try (PoolCleaner cleaner = cleaner(e)) {
261 try (PoolCleaner cleaner = cleaner(e)) {
274 try (PoolCleaner cleaner = cleaner(e))
    [all...]
ThreadPoolExecutorSubclassTest.java 242 try (PoolCleaner cleaner = cleaner(p)) {
261 try (PoolCleaner cleaner = cleaner(p, done)) {
283 try (PoolCleaner cleaner = cleaner(p)) {
309 try (PoolCleaner cleaner = cleaner(p)) {
332 try (PoolCleaner cleaner = cleaner(p))
    [all...]
ExecutorCompletionServiceTest.java 66 try (PoolCleaner cleaner = cleaner(e)) {
81 try (PoolCleaner cleaner = cleaner(e)) {
96 try (PoolCleaner cleaner = cleaner(e)) {
110 try (PoolCleaner cleaner = cleaner(e)) {
124 try (PoolCleaner cleaner = cleaner(e))
    [all...]
ExecutorsTest.java 47 try (PoolCleaner cleaner = cleaner(e)) {
59 try (PoolCleaner cleaner = cleaner(e)) {
81 try (PoolCleaner cleaner = cleaner(e)) {
93 try (PoolCleaner cleaner = cleaner(e)) {
115 try (PoolCleaner cleaner = cleaner(e))
    [all...]
Collection8Test.java 83 try (PoolCleaner cleaner = cleaner(pool, done)) {
SynchronousQueueTest.java 482 try (PoolCleaner cleaner = cleaner(executor)) {
509 try (PoolCleaner cleaner = cleaner(executor)) {
JSR166TestCase.java 878 PoolCleaner cleaner(ExecutorService pool) { method in class:JSR166TestCase
882 PoolCleaner cleaner(ExecutorService pool, Runnable releaser) { method in class:JSR166TestCase
886 PoolCleaner cleaner(ExecutorService pool, CountDownLatch latch) method in class:JSR166TestCase
    [all...]
  /prebuilts/go/darwin-x86/src/
androidtest.bash 29 # Do the build first, so we can build go_android_exec and cleaner.
64 export CLEANER=${ANDROID_TEST_DIR}/androidcleaner-$$
65 cp ../misc/android/cleaner.go $CLEANER.go
66 echo 'var files = `' >> $CLEANER.go
67 (cd $ANDROID_PRODUCT_OUT/data/local/tmp/goroot; find . >> $CLEANER.go)
68 echo '`' >> $CLEANER.go
69 go build -o $CLEANER $CLEANER.go
70 adb push $CLEANER /data/local/tmp/cleane
    [all...]
  /prebuilts/go/linux-x86/src/
androidtest.bash 29 # Do the build first, so we can build go_android_exec and cleaner.
64 export CLEANER=${ANDROID_TEST_DIR}/androidcleaner-$$
65 cp ../misc/android/cleaner.go $CLEANER.go
66 echo 'var files = `' >> $CLEANER.go
67 (cd $ANDROID_PRODUCT_OUT/data/local/tmp/goroot; find . >> $CLEANER.go)
68 echo '`' >> $CLEANER.go
69 go build -o $CLEANER $CLEANER.go
70 adb push $CLEANER /data/local/tmp/cleane
    [all...]
  /external/mockito/src/org/mockito/internal/exceptions/stacktrace/
StackTraceFilter.java 21 private static StackTraceCleaner cleaner = field in class:StackTraceFilter
36 if (!cleaner.isOut(unfilteredStackTrace.get(i))) {
  /libcore/luni/src/main/java/java/nio/
NioUtils.java 27 import sun.misc.Cleaner;
44 // Run the cleaner early, if one is defined.
45 if (dbb.cleaner != null) {
46 dbb.cleaner.clean();
  /libcore/luni/src/test/java/libcore/util/
NativeAllocationRegistryTest.java 126 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr); local
129 // Running the cleaner should cause the native finalizer to run.
130 cleaner.run();
134 // Running the cleaner again should have no effect.
135 cleaner.run();
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
ModuleDef.java 91 // Reverse cleaner order
261 for (ITargetCleaner cleaner : mCleaners) {
262 CLog.d("Cleaner: %s", cleaner.getClass().getSimpleName());
263 cleaner.tearDown(mDevice, mBuild, null);
  /external/chromium-trace/catapult/third_party/Paste/paste/
modpython.py 226 def cleaner(data): function in function:handler
230 apache.register_cleanup(cleaner)
232 req.server.register_cleanup(req, cleaner)
  /libcore/ojluni/src/main/java/java/nio/
DirectByteBuffer.java 34 import sun.misc.Cleaner;
79 final Cleaner cleaner; field in class:DirectByteBuffer
84 // Only have references to java objects, no need for a cleaner since the GC will do all
88 cleaner = null;
98 cleaner = null;
110 cleaner = Cleaner.create(memoryRef, unmapper);
128 cleaner = null;
137 public Cleaner cleaner() method in class:DirectByteBuffer
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java 26 import sun.misc.Cleaner;
99 Cleaner cleaner = Cleaner.create(object, new Runnable() { local
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/apache/maven/plugins/maven-clean-plugin/2.5/
maven-clean-plugin-2.5.jar 
  /prebuilts/tools/common/m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.5/
maven-clean-plugin-2.5.jar 

Completed in 1490 milliseconds

1 2 3