/external/guava/guava-tests/test/com/google/common/io/ |
D | CloserTest.java | 54 Closer closer = Closer.create(); in testCreate() local 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() local 68 TestCloseable c1 = closer.register(TestCloseable.normal()); in testNoExceptionsThrown() 69 TestCloseable c2 = closer.register(TestCloseable.normal()); in testNoExceptionsThrown() 70 TestCloseable c3 = closer.register(TestCloseable.normal()); in testNoExceptionsThrown() 76 closer.close(); in testNoExceptionsThrown() 86 Closer closer = new Closer(suppressor); in testExceptionThrown_fromTryBlock() local 88 TestCloseable c1 = closer.register(TestCloseable.normal()); in testExceptionThrown_fromTryBlock() [all …]
|
D | FilesTest.java | 87 Closer closer = Closer.create(); in testReadFile_withCorrectSize() local 89 InputStream in = closer.register(new FileInputStream(asciiFile)); in testReadFile_withCorrectSize() 93 throw closer.rethrow(e); in testReadFile_withCorrectSize() 95 closer.close(); in testReadFile_withCorrectSize() 102 Closer closer = Closer.create(); in testReadFile_withSmallerSize() local 104 InputStream in = closer.register(new FileInputStream(asciiFile)); in testReadFile_withSmallerSize() 108 throw closer.rethrow(e); in testReadFile_withSmallerSize() 110 closer.close(); in testReadFile_withSmallerSize() 117 Closer closer = Closer.create(); in testReadFile_withLargerSize() local 119 InputStream in = closer.register(new FileInputStream(asciiFile)); in testReadFile_withLargerSize() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | CharSource.java | 107 Closer closer = Closer.create(); in copyTo() local 109 Reader reader = closer.register(openStream()); in copyTo() 112 throw closer.rethrow(e); in copyTo() 114 closer.close(); in copyTo() 127 Closer closer = Closer.create(); in copyTo() local 129 Reader reader = closer.register(openStream()); in copyTo() 130 Writer writer = closer.register(sink.openStream()); in copyTo() 133 throw closer.rethrow(e); in copyTo() 135 closer.close(); in copyTo() 145 Closer closer = Closer.create(); in read() local [all …]
|
D | ByteSource.java | 123 Closer closer = Closer.create(); in isEmpty() local 125 InputStream in = closer.register(openStream()); in isEmpty() 128 throw closer.rethrow(e); in isEmpty() 130 closer.close(); in isEmpty() 150 Closer closer = Closer.create(); in size() local 152 InputStream in = closer.register(openStream()); in size() 157 closer.close(); in size() 160 closer = Closer.create(); in size() 162 InputStream in = closer.register(openStream()); in size() 165 throw closer.rethrow(e); in size() [all …]
|
D | CharSink.java | 93 Closer closer = Closer.create(); in write() local 95 Writer out = closer.register(openStream()); in write() 99 throw closer.rethrow(e); in write() 101 closer.close(); in write() 127 Closer closer = Closer.create(); in writeLines() local 129 Writer out = closer.register(openBufferedStream()); in writeLines() 135 throw closer.rethrow(e); in writeLines() 137 closer.close(); in writeLines() 151 Closer closer = Closer.create(); in writeFrom() local 153 Writer out = closer.register(openStream()); in writeFrom() [all …]
|
D | ByteSink.java | 99 Closer closer = Closer.create(); in write() local 101 OutputStream out = closer.register(openStream()); in write() 105 throw closer.rethrow(e); in write() 107 closer.close(); in write() 121 Closer closer = Closer.create(); in writeFrom() local 123 OutputStream out = closer.register(openStream()); in writeFrom() 128 throw closer.rethrow(e); in writeFrom() 130 closer.close(); in writeFrom()
|
D | Files.java | 138 Closer closer = Closer.create(); in read() local 140 FileInputStream in = closer.register(openStream()); in read() 143 throw closer.rethrow(e); in read() 145 closer.close(); in read() 672 Closer closer = Closer.create(); in map() local 674 RandomAccessFile raf = closer.register( in map() 678 throw closer.rethrow(e); in map() 680 closer.close(); in map() 686 Closer closer = Closer.create(); in map() local 688 FileChannel channel = closer.register(raf.getChannel()); in map() [all …]
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | Desugar.java | 204 try (Closer closer = Closer.create(); in main() argument 206 InputFileProvider appInputFiles = toInputFileProvider(closer, inputPath); in main() 208 toInputFileProvider(closer, options.classpath); in main() 215 toInputFileProvider(closer, options.bootclasspath), in main() 407 private static InputFileProvider toInputFileProvider(Closer closer, Path path) in toInputFileProvider() argument 410 return closer.register(new DirectoryInputFileProvider(path)); in toInputFileProvider() 412 return closer.register(new ZipInputFileProvider(path)); in toInputFileProvider() 417 Closer closer, List<Path> paths) throws IOException { in toInputFileProvider() argument 421 builder.add(closer.register(new ZipInputFileProvider(path))); in toInputFileProvider()
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
D | LoggingConfigLoader.java | 62 Closer closer = Closer.create(); in loadLoggingConfig() local 65 fis = closer.register(new FileInputStream(loggingPropertiesFile)); in loadLoggingConfig() 73 closer.close(); in loadLoggingConfig()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 78 private void assertCloser(String a, String closer, String further) { in assertCloser() argument 79 LocaleMatcher matcher = newLocaleMatcher(further + ", " + closer); in assertCloser() 80 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser() 81 matcher = newLocaleMatcher(closer + ", " + further); in assertCloser() 82 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 77 private void assertCloser(String a, String closer, String further) { in assertCloser() argument 78 LocaleMatcher matcher = newLocaleMatcher(further + ", " + closer); in assertCloser() 79 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser() 80 matcher = newLocaleMatcher(closer + ", " + further); in assertCloser() 81 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Util.java | 71 Closer closer = Closer.create(); in loadProperties() local 72 InputStream in = closer.register(is.openStream()); in loadProperties() 76 closer.close(); in loadProperties()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 437 Closer closer = Closer.create(); in writeSelfReferencingJarFile() local 439 FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile)); in writeSelfReferencingJarFile() 440 JarOutputStream jarOut = closer.register(new JarOutputStream(fileOut)); in writeSelfReferencingJarFile() 447 throw closer.rethrow(e); in writeSelfReferencingJarFile() 449 closer.close(); in writeSelfReferencingJarFile()
|
/external/selinux/python/sepolicy/sepolicy/help/ |
D | lockdown_unconfined.txt | 4 … them run also unconfined. By disabling the unconfined module moves you closer to what used to be…
|
/external/dagger2/lib/ |
D | auto-service-1.0-rc2.jar | ... HashSet serviceClasses
com.google.common.io.Closer closer
static void writeServiceFile (java.util.Collection ... |
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
D | ExtractEngine.cpp | 87 CProgressCloser closer(ExtractCallbackSpec->ProgressDialog); in Process() local
|
/external/libusb-compat/ |
D | README | 30 codes returned by libusb-0.1. Patches accepted to bring us closer to the
|
/external/google-breakpad/src/processor/ |
D | source_line_resolver_base.cc | 131 AutoFileCloser closer(f); in ReadSymbolFile() local
|
/external/protobuf/gtest/ |
D | CHANGES | 27 * New feature: the XML report format is closer to junitreport and can
|
/external/google-breakpad/src/testing/gtest/ |
D | CHANGES | 59 * New feature: the XML report format is closer to junitreport and can
|
/external/llvm/test/CodeGen/X86/ |
D | lea-opt.ll | 132 ; REG3's definition is closer to movl than REG2's, but the pass still chooses
|
/external/webrtc/webrtc/base/ |
D | socket_unittest.cc | 571 SocketCloser closer; in CloseInClosedCallbackInternal() local 578 client->SignalCloseEvent.connect(&closer, &SocketCloser::OnClose); in CloseInClosedCallbackInternal()
|
/external/v8/testing/gtest/ |
D | CHANGES | 86 * New feature: the XML report format is closer to junitreport and can
|
/external/libvpx/libvpx/third_party/googletest/src/ |
D | CHANGES | 86 * New feature: the XML report format is closer to junitreport and can
|
/external/googletest/googletest/ |
D | CHANGES | 86 * New feature: the XML report format is closer to junitreport and can
|