Home
last modified time | relevance | path

Searched refs:Closer (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java54 Closer closer = Closer.create(); in testCreate()
59 assertTrue(closer.suppressor instanceof Closer.LoggingSuppressor); in testCreate()
61 assertTrue(closer.suppressor instanceof Closer.SuppressingSuppressor); in testCreate()
66 Closer closer = new Closer(suppressor); in testNoExceptionsThrown()
86 Closer closer = new Closer(suppressor); in testExceptionThrown_fromTryBlock()
112 Closer closer = new Closer(suppressor); in testExceptionThrown_whenCreatingCloseables()
139 Closer closer = new Closer(suppressor); in testExceptionThrown_whileClosingLastCloseable()
160 Closer closer = new Closer(suppressor); in testExceptionThrown_whileClosingFirstCloseable()
181 Closer closer = new Closer(suppressor); in testCloseExceptionsSuppressed_whenExceptionThrownFromTryBlock()
212 Closer closer = new Closer(suppressor); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
[all …]
DFilesTest.java87 Closer closer = Closer.create(); in testReadFile_withCorrectSize()
102 Closer closer = Closer.create(); in testReadFile_withSmallerSize()
117 Closer closer = Closer.create(); in testReadFile_withLargerSize()
132 Closer closer = Closer.create(); in testReadFile_withSizeZero()
DCharSourceTest.java254 if (!Closer.SuppressingSuppressor.isAvailable()) { in testCopyExceptions()
DByteSourceTest.java330 if (!Closer.SuppressingSuppressor.isAvailable()) { in testCopyExceptions()
/external/guava/guava/src/com/google/common/io/
DCharSource.java107 Closer closer = Closer.create(); in copyTo()
127 Closer closer = Closer.create(); in copyTo()
145 Closer closer = Closer.create(); in read()
166 Closer closer = Closer.create(); in readFirstLine()
188 Closer closer = Closer.create(); in readLines()
222 Closer closer = Closer.create(); in readLines()
241 Closer closer = Closer.create(); in isEmpty()
DByteSource.java123 Closer closer = Closer.create(); in isEmpty()
150 Closer closer = Closer.create(); in size()
160 closer = Closer.create(); in size()
217 Closer closer = Closer.create(); in copyTo()
237 Closer closer = Closer.create(); in copyTo()
255 Closer closer = Closer.create(); in read()
279 Closer closer = Closer.create(); in read()
314 Closer closer = Closer.create(); in contentEquals()
459 Closer closer = Closer.create(); in sliceStream()
DCharSink.java93 Closer closer = Closer.create(); in write()
127 Closer closer = Closer.create(); in writeLines()
151 Closer closer = Closer.create(); in writeFrom()
DByteSink.java99 Closer closer = Closer.create(); in write()
121 Closer closer = Closer.create(); in writeFrom()
DCloser.java91 public final class Closer implements Closeable { class
103 public static Closer create() { in create()
104 return new Closer(SUPPRESSOR); in create()
113 @VisibleForTesting Closer(Suppressor suppressor) { in Closer() method in Closer
DFiles.java138 Closer closer = Closer.create(); in read()
672 Closer closer = Closer.create(); in map()
686 Closer closer = Closer.create(); in map()
/external/compiler-rt/test/tsan/
Ddlclose.cc27 struct Closer { struct
28 ~Closer() { in ~Closer() argument
33 static Closer c;
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DLoggingConfigLoader.java26 import com.google.common.io.Closer;
62 Closer closer = Closer.create(); in loadLoggingConfig()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DUtil.java24 import com.google.common.io.Closer;
71 Closer closer = Closer.create(); in loadProperties()
/external/desugar/java/com/google/devtools/build/android/desugar/
DDesugar.java23 import com.google.common.io.Closer;
204 try (Closer closer = Closer.create(); in main()
407 private static InputFileProvider toInputFileProvider(Closer closer, Path path) in toInputFileProvider()
417 Closer closer, List<Path> paths) throws IOException { in toInputFileProvider()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java25 import com.google.common.io.Closer;
437 Closer closer = Closer.create(); in writeSelfReferencingJarFile()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...