/libcore/ojluni/src/main/java/java/security/ |
D | GuardedObject.java | 54 private Guard guard; // the guard field in GuardedObject 66 public GuardedObject(Object object, Guard guard) in GuardedObject() argument 68 this.guard = guard; in GuardedObject() 84 if (guard != null) in getObject() 85 guard.checkGuard(object); in getObject() 97 if (guard != null) in writeObject() 98 guard.checkGuard(object); in writeObject()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixDirectoryStream.java | 65 private final CloseGuard guard = CloseGuard.get(); field in UnixDirectoryStream 76 guard.open("close"); in UnixDirectoryStream() 105 guard.close(); in closeImpl() 239 if (guard != null) { in finalize() 240 guard.warnIfOpen(); in finalize()
|
D | LinuxWatchService.java | 193 private final CloseGuard guard = CloseGuard.get(); field in LinuxWatchService.Poller 203 guard.open("close"); in Poller() 301 guard.close(); in implCloseAll() 318 if (guard != null) { in finalize() 319 guard.warnIfOpen(); in finalize()
|
D | UnixSecureDirectoryStream.java | 56 private final CloseGuard guard = CloseGuard.get(); field in UnixSecureDirectoryStream 67 guard.open("close"); in UnixSecureDirectoryStream() 84 guard.close(); in close() 579 if (guard != null) { in finalize() 580 guard.warnIfOpen(); in finalize()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 96 private final CloseGuard guard = CloseGuard.get(); field in Inflater 122 guard.open("end"); in Inflater() 390 guard.close(); in end() 406 if (guard != null) { in finalize() 407 guard.warnIfOpen(); in finalize()
|
D | Deflater.java | 96 private final CloseGuard guard = CloseGuard.get(); field in Deflater 189 guard.open("end"); in Deflater() 559 guard.close(); in end() 574 if (guard != null) { in finalize() 575 guard.warnIfOpen(); in finalize()
|
D | ZipFile.java | 85 private final CloseGuard guard = CloseGuard.get(); field in ZipFile 273 guard.open("close"); in ZipFile() 672 if (guard != null) { in close() 673 guard.close(); in close() 743 if (guard != null) { in finalize() 744 guard.warnIfOpen(); in finalize()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileInputStream.java | 82 private final CloseGuard guard = CloseGuard.get(); field in FileInputStream 176 guard.open("close"); in FileInputStream() 426 guard.close(); in close() 502 if (guard != null) { in finalize() 503 guard.warnIfOpen(); in finalize()
|
D | FileOutputStream.java | 95 private final CloseGuard guard = CloseGuard.get(); field in FileOutputStream 253 guard.open("close"); in FileOutputStream() 426 guard.close(); in close() 494 if (guard != null) { in finalize() 495 guard.warnIfOpen(); in finalize()
|
D | RandomAccessFile.java | 73 private final CloseGuard guard = CloseGuard.get(); field in RandomAccessFile 292 guard.open("close"); in RandomAccessFile() 696 guard.close(); in close() 1237 if (guard != null) { in finalize() 1238 guard.warnIfOpen(); in finalize()
|
/libcore/ojluni/src/main/native/ |
D | JniConstants.cpp | 62 std::lock_guard guard(g_constants_mutex); in EnsureJniConstantsInitialized() local 78 std::lock_guard guard(g_constants_mutex); in Invalidate() local
|
/libcore/ojluni/src/main/java/java/net/ |
D | AbstractPlainDatagramSocketImpl.java | 59 private final CloseGuard guard = CloseGuard.get(); field in AbstractPlainDatagramSocketImpl 102 guard.open("close"); in create() 252 guard.close(); in close() 267 if (guard != null) { in finalize() 268 guard.warnIfOpen(); in finalize()
|
D | AbstractPlainSocketImpl.java | 105 private final CloseGuard guard = CloseGuard.get(); field in AbstractPlainSocketImpl 137 guard.open("close"); in create() 568 guard.close(); in close() 607 guard.close(); in reset() 657 if (guard != null) { in finalize() 658 guard.warnIfOpen(); in finalize()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | UnixAsynchronousServerSocketChannelImpl.java | 75 private final CloseGuard guard = CloseGuard.get(); field in UnixAsynchronousServerSocketChannelImpl 95 guard.open("close"); in UnixAsynchronousServerSocketChannelImpl() 101 guard.close(); in implClose() 136 if (guard != null) { in finalize() 137 guard.warnIfOpen(); in finalize()
|
D | SocketChannelImpl.java | 124 private final CloseGuard guard = CloseGuard.get(); field in SocketChannelImpl 137 guard.open("close"); in SocketChannelImpl() 153 guard.open("close"); in SocketChannelImpl() 174 guard.open("close"); in SocketChannelImpl() 884 guard.close(); in implCloseSelectableChannel() 936 if (guard != null) { in finalize() 937 guard.warnIfOpen(); in finalize()
|
D | UnixAsynchronousSocketChannelImpl.java | 97 private final CloseGuard guard = CloseGuard.get(); field in UnixAsynchronousSocketChannelImpl 118 guard.open("close"); in UnixAsynchronousSocketChannelImpl() 142 guard.open("close"); in UnixAsynchronousSocketChannelImpl() 229 guard.close(); in implClose() 243 if (guard != null) { in finalize() 244 guard.warnIfOpen(); in finalize()
|
D | DatagramChannelImpl.java | 117 private final CloseGuard guard = CloseGuard.get(); field in DatagramChannelImpl 132 guard.open("close"); in DatagramChannelImpl() 163 guard.open("close"); in DatagramChannelImpl() 179 guard.open("close"); in DatagramChannelImpl() 1052 guard.close(); in implCloseSelectableChannel() 1094 if (guard != null) { in finalize() 1095 guard.warnIfOpen(); in finalize()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | Inflater.java | 151 private final dalvik.system.CloseGuard guard; field in Inflater 154 guard = null;
|
D | Deflater.java | 176 private final dalvik.system.CloseGuard guard; field in Deflater 179 guard = null;
|
D | ZipFile.java | 187 private final dalvik.system.CloseGuard guard; field in ZipFile 190 guard = null;
|
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/ |
D | CloseGuardSupportTest.java | 161 private CloseGuard guard = CloseGuard.get(); in test() 163 guard.open("test resource"); in test() 167 guard.warnIfOpen(); in test()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileOutputStream.java | 119 private final dalvik.system.CloseGuard guard; field in FileOutputStream 122 guard = null;
|
D | FileInputStream.java | 114 private final dalvik.system.CloseGuard guard; field in FileInputStream 117 guard = null;
|
D | RandomAccessFile.java | 233 private final dalvik.system.CloseGuard guard; field in RandomAccessFile 236 guard = null;
|
/libcore/luni/src/main/native/ |
D | JniConstants.cpp | 87 std::lock_guard guard(g_constants_mutex); in EnsureJniConstantsInitialized() local 142 std::lock_guard guard(g_constants_mutex); in Invalidate() local
|