Home
last modified time | relevance | path

Searched refs:toClose (Results 1 – 11 of 11) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DSequenceWriter.java253 Closeable toClose = (Closeable) value; in _writeCloseableValue() local
267 Closeable tmpToClose = toClose; in _writeCloseableValue()
268 toClose = null; in _writeCloseableValue()
271 if (toClose != null) { in _writeCloseableValue()
273 toClose.close(); in _writeCloseableValue()
282 Closeable toClose = (Closeable) value; in _writeCloseableValue() local
293 Closeable tmpToClose = toClose; in _writeCloseableValue()
294 toClose = null; in _writeCloseableValue()
297 if (toClose != null) { in _writeCloseableValue()
299 toClose.close(); in _writeCloseableValue()
DObjectWriter.java994 Closeable toClose = (Closeable) value; in writeValue() local
1001 ClassUtil.closeOnFailAndThrowAsIOE(null, toClose, e); in writeValue()
1004 toClose.close(); in writeValue()
1232 Closeable toClose = (Closeable) value; in _writeCloseable() local
1235 Closeable tmpToClose = toClose; in _writeCloseable()
1236 toClose = null; in _writeCloseable()
1239 ClassUtil.closeOnFailAndThrowAsIOE(gen, toClose, e); in _writeCloseable()
DObjectMapper.java4451 Closeable toClose = (Closeable) value;
4454 Closeable tmpToClose = toClose;
4455 toClose = null;
4458 ClassUtil.closeOnFailAndThrowAsIOE(g, toClose, e);
4471 Closeable toClose = (Closeable) value;
4478 ClassUtil.closeOnFailAndThrowAsIOE(null, toClose, e);
4481 toClose.close();
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java252 List<SSLSocket[]> toClose = new ArrayList<SSLSocket[]>(); in test_SSLSessionContext_setSessionCacheSize_dynamic() local
253 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
260 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
267 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
280 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
286 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
289 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
293 for (SSLSocket[] pair : toClose) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
DSSLSocketVersionCompatibilityTest.java1372 final Socket toClose = closeUnderlying ? underlying : clientWrapping; in test_SSLSocket_interrupt_case() local
1379 toClose.close(); in test_SSLSocket_interrupt_case()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java248 List<SSLSocket[]> toClose = new ArrayList<SSLSocket[]>(); in test_SSLSessionContext_setSessionCacheSize_dynamic() local
249 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
256 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
263 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
276 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
282 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
285 toClose.add( in test_SSLSessionContext_setSessionCacheSize_dynamic()
289 for (SSLSocket[] pair : toClose) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
DSSLSocketVersionCompatibilityTest.java1370 final Socket toClose = closeUnderlying ? underlying : clientWrapping; in test_SSLSocket_interrupt_case() local
1377 toClose.close(); in test_SSLSocket_interrupt_case()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DBindingsTestUtils.java95 Interface.Manager<I, P> manager, I impl, List<Closeable> toClose) { in newProxyOverPipe() argument
99 toClose.add(proxy); in newProxyOverPipe()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java63 private final Deque<DiskLruCache> toClose = new ArrayDeque<>(); field in DiskLruCacheTest
74 toClose.add(cache); in createNewCacheWithSize()
85 while (!toClose.isEmpty()) { in tearDown()
86 toClose.pop().close(); in tearDown()
1065 toClose.add(cache); in isClosed_uninitializedCache()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DClassUtil.java505 Closeable toClose, Exception fail) in closeOnFailAndThrowAsIOE() argument
516 if (toClose != null) { in closeOnFailAndThrowAsIOE()
518 toClose.close(); in closeOnFailAndThrowAsIOE()
/external/guava/guava/src/com/google/common/collect/
DStreams.java140 private static void closeAll(BaseStream<?, ?>[] toClose) { in closeAll() argument
141 for (BaseStream<?, ?> stream : toClose) { in closeAll()