Home
last modified time | relevance | path

Searched refs:Closer (Results 1 – 24 of 24) 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/test/java/com/google/devtools/build/android/desugar/
DDefaultMethodClassFixerTest.java21 import com.google.common.io.Closer;
57 private Closer closer;
61 closer = Closer.create(); in setup()
84 private static IndexedInputs toIndexedInputs(Closer closer, String stringPathList) in toIndexedInputs()
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DKeepScanner.java25 import com.google.common.io.Closer;
123 try (Closer closer = Closer.create()) { in main()
294 Closer closer, List<Path> paths) throws IOException { in toRegisteredInputFileProvider()
/external/syzkaller/pkg/symbolizer/
Dsymbolizer.go33 stdin io.Closer
34 stdout io.Closer
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp1294 FileDescriptorCloser Closer(FD); in createFileWithData() local
1309 Optional<FileDescriptorCloser> Closer; in TEST_F() local
1317 Closer.emplace(FD); in TEST_F()
1325 Closer.reset(); in TEST_F()
1333 Optional<FileDescriptorCloser> Closer; in TEST_F() local
1340 Closer.emplace(FD); in TEST_F()
1355 Closer.reset(); in TEST_F()
1362 Closer.emplace(FD); in TEST_F()
1411 Optional<FileDescriptorCloser> Closer; in TEST_F() local
1422 Closer.emplace(FD); in TEST_F()
[all …]
/external/syzkaller/vendor/google.golang.org/appengine/aetest/
Dinstance.go15 io.Closer
/external/syzkaller/vm/vmimpl/
Dvmimpl.go108 func Multiplex(cmd *exec.Cmd, merger *OutputMerger, console io.Closer, timeout time.Duration, argument
/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/desugar/java/com/google/devtools/build/android/desugar/
DDesugar.java27 import com.google.common.io.Closer;
359 try (Closer closer = Closer.create()) { in desugar()
995 Closer closer, List<Path> paths) throws IOException { in toRegisteredInputFileProvider()
/external/syzkaller/vendor/google.golang.org/grpc/
Dserver.go95 conns map[io.Closer]bool
348 conns: make(map[io.Closer]bool),
622 c := conn.(io.Closer)
773 func (s *Server) addConn(c io.Closer) bool {
789 func (s *Server) removeConn(c io.Closer) {
/external/syzkaller/pkg/rpctype/
Drpc.go115 c io.Closer
/external/syzkaller/vendor/golang.org/x/net/http2/
Dtransport.go1031 func (cs *clientStream) writeRequestBody(body io.Reader, bodyCloser io.Closer) (err error) {