Home
last modified time | relevance | path

Searched refs:Closeable (Results 1 – 25 of 60) sorted by relevance

123

/external/guava/guava/src/com/google/common/io/
DCloser.java25 import java.io.Closeable;
91 public final class Closer implements Closeable {
110 private final Deque<Closeable> stack = new ArrayDeque<Closeable>(4);
124 public <C extends Closeable> C register(@Nullable C closeable) { in register()
212 Closeable closeable = stack.removeFirst(); in close()
239 void suppress(Closeable closeable, Throwable thrown, Throwable suppressed); in suppress()
250 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress()
280 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress()
DCloseables.java22 import java.io.Closeable;
73 public static void close(@Nullable Closeable closeable, in close()
108 public static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly()
DAppendableWriter.java21 import java.io.Closeable;
71 if (target instanceof Closeable) { in close()
72 ((Closeable) target).close(); in close()
DLegacyCloseables.java19 import java.io.Closeable;
62 public static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly()
DCharStreams.java24 import java.io.Closeable;
283 if (readable instanceof Closeable) { in asReader()
284 ((Closeable) readable).close(); in asReader()
/external/guava/guava-tests/test/com/google/common/io/
DCloseablesTest.java28 import java.io.Closeable;
44 private Closeable mockCloseable;
97 mockCloseable = createStrictMock(Closeable.class); in setUp()
116 private void doClose(Closeable closeable, boolean swallowException) { in doClose()
123 private void doClose(Closeable closeable, boolean swallowException, in doClose()
DAppendableWriterTest.java19 import java.io.Closeable;
32 private static class SpyAppendable implements Appendable, Flushable, Closeable {
/external/caliper/caliper/src/main/java/com/google/caliper/api/
DResultProcessor.java21 import java.io.Closeable;
29 public interface ResultProcessor extends Closeable {
/external/okhttp/okio/okio/src/main/java/okio/
DSource.java18 import java.io.Closeable;
62 public interface Source extends Closeable {
DSink.java18 import java.io.Closeable;
51 public interface Sink extends Closeable, Flushable {
/external/jsilver/src/org/clearsilver/
DCS.java19 import java.io.Closeable;
22 public interface CS extends Closeable {
DHDF.java19 import java.io.Closeable;
28 public interface HDF extends Closeable {
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlStreamRenderer.java32 import java.io.Closeable;
73 if (output instanceof Closeable) { in create()
391 implements Closeable {
392 private final Closeable closeable;
399 this.closeable = (Closeable) output; in CloseableHtmlStreamRenderer()
/external/vogar/src/vogar/util/
DIoUtils.java19 import java.io.Closeable;
41 public static void closeQuietly(Closeable c) { in closeQuietly()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DPartiallyUncompressingPipe.java17 import java.io.Closeable;
26 public class PartiallyUncompressingPipe implements Closeable {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFrameWriter.java19 import java.io.Closeable;
25 public interface FrameWriter extends Closeable {
DFrameReader.java19 import java.io.Closeable;
26 public interface FrameReader extends Closeable {
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DUtil.java19 import java.io.Closeable;
67 static void closeQuietly(/*Auto*/Closeable closeable) { in closeQuietly()
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java19 import java.io.Closeable;
81 public static final class Reader implements Closeable {
107 public static final class Writer implements Closeable, Flushable {
/external/jacoco/org.jacoco.agent/src/org/jacoco/agent/
DAgentJar.java14 import java.io.Closeable;
116 private static void safeClose(Closeable closeable) { in safeClose()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java20 import java.io.Closeable;
68 public static void closeQuietly(Closeable closeable) { in closeQuietly()
115 public static void closeAll(Closeable a, Closeable b) throws IOException { in closeAll()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DTrialOutputLogger.java23 import java.io.Closeable;
35 @TrialScoped final class TrialOutputLogger implements Closeable {
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DWorkerEventLog.java28 import java.io.Closeable;
33 final class WorkerEventLog implements Closeable {
/external/vogar/src/vogar/monitor/
DInterleavedReader.java27 import java.io.Closeable;
35 public final class InterleavedReader implements Closeable {
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DAudioStream.java36 import java.io.Closeable;
50 public class AudioStream extends AudioData implements Closeable{

123