/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/test/java/com/google/devtools/build/android/desugar/ |
D | DefaultMethodClassFixerTest.java | 54 private Closer closer; field in DefaultMethodClassFixerTest 58 closer = Closer.create(); in setup() 62 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.input")); in setup() 64 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.classpath")); in setup() 66 toIndexedInputs(closer, System.getProperty("DefaultMethodClassFixerTest.bootclasspath")); in setup() 78 closer.close(); in teardown() 81 private static IndexedInputs toIndexedInputs(Closer closer, String stringPathList) in toIndexedInputs() argument 84 return new IndexedInputs(Desugar.toRegisteredInputFileProvider(closer, pathList)); in toIndexedInputs()
|
/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/python/cpython3/Tools/scripts/ |
D | highlight.py | 93 opener, closer = colors.get(kind, ('', '')) 94 result += [opener, text, closer] 99 def html_highlight(classified_text,opener='<pre class="python">\n', closer='</pre>\n'): argument 108 result.append(closer)
|
/external/python/cpython3/Lib/idlelib/ |
D | parenmatch.py | 104 closer = self.text.get("insert-1c") 105 if closer not in _openers: 110 indices = hp.get_surrounding_brackets(_openers[closer], True)
|
/external/python/cpython2/Lib/idlelib/ |
D | ParenMatch.py | 104 closer = self.text.get("insert-1c") 105 if closer not in _openers: 110 indices = hp.get_surrounding_brackets(_openers[closer], True)
|
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 83 private void assertCloser(String a, String closer, String further) { in assertCloser() argument 84 LocaleMatcher matcher = newLocaleMatcher(further + ", " + closer); in assertCloser() 85 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser() 86 matcher = newLocaleMatcher(closer + ", " + further); in assertCloser() 87 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleMatcherTest.java | 86 private void assertCloser(String a, String closer, String further) { in assertCloser() argument 87 LocaleMatcher matcher = newLocaleMatcher(further + ", " + closer); in assertCloser() 88 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser() 89 matcher = newLocaleMatcher(closer + ", " + further); in assertCloser() 90 …assertEquals("test " + a + " is closer to " + closer + " than to " + further, new ULocale(closer),… in assertCloser()
|
/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/autotest/server/site_tests/enterprise_CFM_LowLevelPeripheralTest/ |
D | README.md | 4 The devices are tested closer to the operating system.
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | Desugar.java | 300 try (Closer closer = Closer.create()) { in desugar() argument 302 new IndexedInputs(toRegisteredInputFileProvider(closer, options.bootclasspath)); in desugar() 310 new IndexedInputs(toRegisteredInputFileProvider(closer, options.classpath)); in desugar() 874 Closer closer, List<Path> paths) throws IOException { in toRegisteredInputFileProvider() argument 877 builder.add(closer.register(toInputFileProvider(path))); in toRegisteredInputFileProvider()
|
/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/lzma/CPP/7zip/Bundles/SFXSetup/ |
D | ExtractEngine.cpp | 86 CProgressCloser closer(ExtractCallbackSpec->ProgressDialog); in Process() local
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/data/ |
D | localeDistanceTest.txt | 18 # fallback languages get closer distances, between script (40) and region (4)
|
D | localeMatcherTest.txt | 122 # verify that en-AU is closer to en-GB than to en (which is en-US) 131 # HK and MO are closer to each other for Hant than to TW 149 zh, zh-Hant ; und-TW ; zh-Hant # und-TW should be closer to zh-Hant than to zh 150 en-Hant-TW, und-TW ; zh-Hant ; und-TW # zh-Hant should be closer to und-TW than to en-Hant-TW 151 en-Hant-TW, und-TW ; zh ; und-TW # zh should be closer to und-TW than to en-Hant-TW 206 # "en" is a better match since its distance to "en-US" is closer than the distance
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/data/ |
D | localeDistanceTest.txt | 18 # fallback languages get closer distances, between script (40) and region (4)
|
D | localeMatcherTest.txt | 122 # verify that en-AU is closer to en-GB than to en (which is en-US) 131 # HK and MO are closer to each other for Hant than to TW 149 zh, zh-Hant ; und-TW ; zh-Hant # und-TW should be closer to zh-Hant than to zh 150 en-Hant-TW, und-TW ; zh-Hant ; und-TW # zh-Hant should be closer to und-TW than to en-Hant-TW 151 en-Hant-TW, und-TW ; zh ; und-TW # zh should be closer to und-TW than to en-Hant-TW 206 # "en" is a better match since its distance to "en-US" is closer than the distance
|
/external/cn-cbor/ |
D | README.md | 20 changes, in order to get even closer to 0.5 KiB, but I ran out of
|