Home
last modified time | relevance | path

Searched refs:closeable (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava/src/com/google/common/io/
DCloseables.java74 public static void close(@Nullable Closeable closeable, in close() argument
76 if (closeable == null) { in close()
80 closeable.close(); in close()
97 public static void closeQuietly(@Nullable Closeable closeable) { in closeQuietly() argument
99 close(closeable, true); in closeQuietly()
/external/guava/guava-tests/test/com/google/common/io/
DCloseablesTest.java147 private void doClose(Closeable closeable, boolean swallowException) { in doClose() argument
148 doClose(closeable, swallowException, !swallowException); in doClose()
154 private void doClose(Closeable closeable, boolean swallowException, in doClose() argument
157 Closeables.close(closeable, swallowException); in doClose()
166 verify(closeable); in doClose()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
DStreamUtil.java19 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument
20 if (closeable == null) return; in closeQuietly()
23 closeable.close(); in closeQuietly()
/external/chromium/chrome/browser/chromeos/
Dtab_closeable_state_watcher.cc213 void TabCloseableStateWatcher::SetCloseableState(bool closeable) { in SetCloseableState() argument
214 if (can_close_tab_ == closeable) // No change in state. in SetCloseableState()
217 can_close_tab_ = closeable; in SetCloseableState()
Dtab_closeable_state_watcher.h84 void SetCloseableState(bool closeable);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertBlacklist.java112 private static void closeQuietly(Closeable closeable) { in closeQuietly() argument
113 if (closeable != null) { in closeQuietly()
115 closeable.close(); in closeQuietly()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java107 public static void closeQuietly(Closeable closeable) { in closeQuietly() argument
108 if (closeable != null) { in closeQuietly()
110 closeable.close(); in closeQuietly()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DTabbedPane.js675 WebInspector.TabbedPaneTab = function(tabbedPane, id, title, closeable, view, tooltip) argument
677 this._closeable = closeable;
/external/bouncycastle/patches/
Dbcprov.patch6893 + private static void closeQuietly(Closeable closeable) {
6894 + if (closeable != null) {
6896 + closeable.close();