/external/compiler-rt/test/tsan/ |
dlclose.cc | 27 struct Closer { 28 ~Closer() { 33 static Closer c;
|
/external/guava/guava/src/com/google/common/io/ |
CharSink.java | 93 Closer closer = Closer.create(); local 95 Writer out = closer.register(openStream()); 99 throw closer.rethrow(e); 101 closer.close(); 127 Closer closer = Closer.create(); local 129 Writer out = closer.register(openBufferedStream()) 151 Closer closer = Closer.create(); local [all...] |
CharSource.java | 107 Closer closer = Closer.create(); local 109 Reader reader = closer.register(openStream()); 112 throw closer.rethrow(e); 114 closer.close(); 127 Closer closer = Closer.create(); local 129 Reader reader = closer.register(openStream()) 145 Closer closer = Closer.create(); local 166 Closer closer = Closer.create(); local 188 Closer closer = Closer.create(); local 222 Closer closer = Closer.create(); local 241 Closer closer = Closer.create(); local [all...] |
ByteSink.java | 99 Closer closer = Closer.create(); local 101 OutputStream out = closer.register(openStream()); 105 throw closer.rethrow(e); 107 closer.close(); 121 Closer closer = Closer.create(); local 123 OutputStream out = closer.register(openStream()) [all...] |
ByteSource.java | 123 Closer closer = Closer.create(); local 125 InputStream in = closer.register(openStream()); 128 throw closer.rethrow(e); 130 closer.close(); 150 Closer closer = Closer.create(); local 152 InputStream in = closer.register(openStream()) 217 Closer closer = Closer.create(); local 237 Closer closer = Closer.create(); local 255 Closer closer = Closer.create(); local 279 Closer closer = Closer.create(); local 314 Closer closer = Closer.create(); local 459 Closer closer = Closer.create(); local [all...] |
Closer.java | 46 * Closer closer = Closer.create(); 48 * InputStream in = closer.register(openInputStream()); 49 * OutputStream out = closer.register(openOutputStream()); 53 * // provided here, e.g. throw closer.rethrow(e, CheckedException.class); 54 * throw closer.rethrow(e); 56 * closer.close(); 89 // Coffee's for {@link Closer closers} only. 91 public final class Closer implements Closeable [all...] |
Files.java | 138 Closer closer = Closer.create(); local 140 FileInputStream in = closer.register(openStream()); 143 throw closer.rethrow(e); 145 closer.close(); 672 Closer closer = Closer.create(); local 674 RandomAccessFile raf = closer.register 686 Closer closer = Closer.create(); local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CloserTest.java | 40 * Tests for {@link Closer}. 54 Closer closer = Closer.create(); local 59 assertTrue(closer.suppressor instanceof Closer.LoggingSuppressor); 61 assertTrue(closer.suppressor instanceof Closer.SuppressingSuppressor); 66 Closer closer = new Closer(suppressor) local 86 Closer closer = new Closer(suppressor); local 112 Closer closer = new Closer(suppressor); local 139 Closer closer = new Closer(suppressor); local 160 Closer closer = new Closer(suppressor); local 181 Closer closer = new Closer(suppressor); local 212 Closer closer = new Closer(suppressor); local 238 Closer closer = new Closer(suppressor); local 268 Closer closer = new Closer(suppressor); local 298 Closer closer = new Closer(new Closer.LoggingSuppressor()); local 328 Closer closer = new Closer(new Closer.SuppressingSuppressor()); local 359 Closer closer = Closer.create(); local [all...] |
FilesTest.java | 87 Closer closer = Closer.create(); local 89 InputStream in = closer.register(new FileInputStream(asciiFile)); 93 throw closer.rethrow(e); 95 closer.close(); 102 Closer closer = Closer.create(); local 104 InputStream in = closer.register(new FileInputStream(asciiFile)) 117 Closer closer = Closer.create(); local 132 Closer closer = Closer.create(); local [all...] |
ByteSourceTest.java | 330 if (!Closer.SuppressingSuppressor.isAvailable()) {
|
CharSourceTest.java | 254 if (!Closer.SuppressingSuppressor.isAvailable()) {
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
LoggingConfigLoader.java | 26 import com.google.common.io.Closer; 62 Closer closer = Closer.create(); local 65 fis = closer.register(new FileInputStream(loggingPropertiesFile)); 73 closer.close();
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
Util.java | 24 import com.google.common.io.Closer; 71 Closer closer = Closer.create(); local 72 InputStream in = closer.register(is.openStream()); 76 closer.close();
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
DefaultMethodClassFixerTest.java | 21 import com.google.common.io.Closer; 57 private Closer closer; field in class:DefaultMethodClassFixerTest 61 closer = Closer.create(); 65 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.input")); 67 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.classpath")); 69 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.bootclasspath")); 81 closer.close(); 84 private static IndexedInputs toIndexedInputs(Closer closer, String stringPathList [all...] |
/external/desugar/java/com/google/devtools/build/android/desugar/scan/ |
KeepScanner.java | 25 import com.google.common.io.Closer; 123 try (Closer closer = Closer.create()) { 126 new IndexedInputs(toRegisteredInputFileProvider(closer, options.classpath)); 128 new IndexedInputs(toRegisteredInputFileProvider(closer, options.bootclasspath)); 290 * closer. 294 Closer closer, List<Path> paths) throws IOException { 297 builder.add(closer.register(InputFileProvider.open(path))) [all...] |
/external/syzkaller/vendor/google.golang.org/appengine/aetest/ |
instance.go | 15 io.Closer
|
/external/syzkaller/pkg/symbolizer/ |
symbolizer.go | 33 stdin io.Closer 34 stdout io.Closer
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
Path.cpp | [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ClassPathTest.java | 25 import com.google.common.io.Closer; 437 Closer closer = Closer.create(); local 439 FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile)); 440 JarOutputStream jarOut = closer.register(new JarOutputStream(fileOut)); 447 throw closer.rethrow(e); 449 closer.close();
|
/external/syzkaller/pkg/rpctype/ |
rpc.go | 115 c io.Closer
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
Desugar.java | 27 import com.google.common.io.Closer; 359 try (Closer closer = Closer.create()) { 361 new IndexedInputs(toRegisteredInputFileProvider(closer, options.bootclasspath)); 369 new IndexedInputs(toRegisteredInputFileProvider(closer, options.classpath)); [all...] |
/external/brotli/go/cbrotli/ |
reader.go | 73 // Close implements io.Closer. Close MUST be invoked to free native resources.
|
/external/syzkaller/vm/vmimpl/ |
vmimpl.go | 108 func Multiplex(cmd *exec.Cmd, merger *OutputMerger, console io.Closer, timeout time.Duration,
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
server.go | 95 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) { [all...] |
/build/blueprint/pathtools/ |
fs.go | 85 io.Closer 231 io.Closer
|