Searched defs:closeable (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
H A DStreamUtil.java17 * @param closeable The Closeable to be closed.
19 public static void closeQuietly(Closeable closeable) { argument
20 if (closeable == null) return;
23 closeable.close();
/external/guava/guava/src/com/google/common/io/
H A DCloseables.java67 * @param closeable the {@code Closeable} object to be closed, or null,
74 public static void close(@Nullable Closeable closeable, argument
76 if (closeable == null) {
80 closeable.close();
92 * Equivalent to calling {@code close(closeable, true)}, but with no
94 * @param closeable the {@code Closeable} object to be closed, or null, in
97 public static void closeQuietly(@Nullable Closeable closeable) { argument
99 close(closeable, true);
/external/guava/guava-tests/test/com/google/common/io/
H A DCloseablesTest.java125 // Set up a closeable to expect to be closed, and optionally to throw an
147 private void doClose(Closeable closeable, boolean swallowException) { argument
148 doClose(closeable, swallowException, !swallowException);
151 // Close the closeable using the Closeables, passing in the swallowException
154 private void doClose(Closeable closeable, boolean swallowException, argument
157 Closeables.close(closeable, swallowException);
166 verify(closeable);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DCertBlacklist.java112 private static void closeQuietly(Closeable closeable) { argument
113 if (closeable != null) {
115 closeable.close();
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlStreamRenderer.java392 private final Closeable closeable; field in class:HtmlStreamRenderer.CloseableHtmlStreamRenderer
399 this.closeable = (Closeable) output;
404 closeable.close();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DUtil.java91 * Closes {@code closeable}, ignoring any checked exceptions. Does nothing
92 * if {@code closeable} is null.
94 public static void closeQuietly(Closeable closeable) { argument
95 if (closeable != null) {
97 closeable.close();
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
H A DNanoHTTPD.java121 private static final void safeClose(Closeable closeable) { argument
122 if (closeable != null) {
124 closeable.close();
130 private static final void safeClose(Socket closeable) { argument
131 if (closeable != null) {
133 closeable.close();
139 private static final void safeClose(ServerSocket closeable) { argument
140 if (closeable != null) {
142 closeable.close();
/external/glide/third_party/disklrucache/
H A Ddisklrucache-2.0.2.jar ... java.lang.Object implements java.io.Closeable { private final String key private final long sequenceNumber private final ...
/external/glide/gradle/wrapper/
H A Dgradle-wrapper.jar ... FileChannel channel private static void maybeCloseQuietly (java.io.Closeable) Exception ignore java.io.Closeable closeable } org/gradle ...
/external/owasp/sanitizer/distrib/lib/
H A Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/owasp/html/ org/owasp/html/AbstractTokenStream ...
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1170 milliseconds