/libcore/ojluni/src/main/java/java/lang/ |
AutoCloseable.java | 42 * declare concrete implementations of the {@code close} method to 44 * if the close operation cannot fail. 47 * to not have the {@code close} method throw {@link 56 * exception to be suppressed, the {@code AutoCloseable.close} 59 * <p>Note that unlike the {@link java.io.Closeable#close close} 60 * method of {@link java.io.Closeable}, this {@code close} method 62 * calling this {@code close} method more than once may have some 63 * visible side effect, unlike {@code Closeable.close} which is 67 * to make their {@code close} methods idempotent 71 void close() throws Exception; method in interface:AutoCloseable [all...] |
/external/curl/tests/libtest/ |
test307.pl | 17 close CURL;
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
IImsStreamMediaSession.aidl | 24 void close();
|
/external/libdrm/tests/ |
openclose.c | 35 close(fd);
|
/external/strace/tests/ |
pipe.c | 39 (void) close(0); 40 (void) close(1); 46 (void) close(0); 47 (void) close(1);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
AutoCloseable.java | 31 void close() throws Exception; method in interface:AutoCloseable
|
/packages/apps/Camera2/src/com/android/camera/async/ |
SafeCloseable.java | 20 * An {@link AutoCloseable} which should not throw in {@link #close}. 24 * Implementations must tolerate multiple calls to close(). 27 public void close(); method in interface:SafeCloseable
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
MaybeNull.java | 37 * Close the underlying {@link AutoCloseable}, if it's not {@code null}. 40 * @throws Exception If {@link AutoCloseable#close} fails. 42 public static <T extends AutoCloseable> void close(T closeable) throws Exception { method in class:MaybeNull 44 closeable.close(); 49 * Close the underlying {@link UncheckedCloseable}, if it's not {@code null}. 56 public static <T extends UncheckedCloseable> void close(T closeable) { method in class:MaybeNull 58 closeable.close(); 63 * Close the underlying {@link Closeable}, if it's not {@code null}. 66 * @throws Exception If {@link Closeable#close} fails. 68 public static <T extends Closeable> void close(T closeable) throws IOException method in class:MaybeNull [all...] |
UncheckedCloseable.java | 21 * are not used any longer; calling the {@code close} method releases resources 35 * foo.close(); 47 void close(); method in interface:UncheckedCloseable
|
/prebuilts/go/darwin-x86/src/hash/ |
test_gen.awk | 12 close(cmd);
|
/prebuilts/go/linux-x86/src/hash/ |
test_gen.awk | 12 close(cmd);
|
/frameworks/base/core/java/android/content/ |
EntityIterator.java | 24 * resetting the iterator back to the beginning and provides for an explicit {@link #close()} 38 public void close(); method in interface:EntityIterator
|
/libcore/ojluni/src/main/java/java/io/ |
Closeable.java | 32 * The close method is invoked to release resources that the object is 47 public void close() throws IOException; method in interface:Closeable
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
InterruptibleChannel.java | 40 * #close close} method. This will cause the blocked thread to receive an 76 * Channel#close Channel} interface. </p> 80 public void close() throws IOException; method in interface:InterruptibleChannel
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
NamedTaskExecutor.java | 42 void close(); method in interface:NamedTaskExecutor
|
QuietlyCloseable.java | 22 * Interface for closeable objects whose close method doesn't throw IOExceptions. 26 void close(); method in interface:QuietlyCloseable
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
DataOutputStreamTest.java | 53 dis.close(); 62 os.close(); 66 dis.close(); 75 os.close(); 79 dis.close(); 89 os.close(); 92 dis.close(); 101 os.close(); 104 dis.close(); 113 os.close(); [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/ |
HTMLElementTest.java | 44 root.close(); 53 root.close(); 62 root.close(); 69 root.close(); 76 root.close(); 83 root.close(); 90 root.close(); 97 root.close(); 105 root.close(); 112 root.close(); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
AutoCloseInputStream.java | 61 public void close() throws IOException { method in class:AutoCloseInputStream 62 in.close(); 68 * If the underlying stream returns -1, the {@link #close()} method is 69 * called to automatically close and discard the stream. 77 close(); method 84 * buffer. If the underlying stream returns -1, the {@link #close()} method 85 * i called to automatically close and discard the stream. 94 close(); method 101 * buffer. If the underlying stream returns -1, the {@link #close()} method 102 * i called to automatically close and discard the stream 113 close(); method 125 close(); method [all...] |
/external/bison/lib/ |
close.c | 0 /* close replacement. 27 #undef close macro 37 result = close (fd); 49 # define close_nothrow close 52 /* Override close() to call into other gnulib modules. */
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
closed-fds.cc | 20 close(STDIN_FILENO); 21 close(STDOUT_FILENO); 22 close(STDERR_FILENO);
|
/external/proguard/src/proguard/ |
LineWordReader.java | 65 public void close() throws IOException method in class:LineWordReader 67 super.close(); 71 reader.close();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.device/ |
ctor.pass.cpp | 35 ec = close(STDIN_FILENO); 37 ec = close(STDOUT_FILENO); 39 ec = close(STDERR_FILENO);
|
/packages/apps/Email/src/com/android/email/data/ |
ClosingMatrixCursor.java | 25 * {@link MatrixCursor} which takes an extra {@link Cursor} to the constructor, and close 37 public void close() { method in class:ClosingMatrixCursor 39 mInnerCursor.close(); 41 super.close();
|
/bionic/libc/bionic/ |
close.cpp | 34 int close(int fd) { function 37 // POSIX says that if close returns with EINTR, the fd must not be closed. 40 // with the state after EINTR being undefined, and EINPROGRESS for the case where close 43 // that close only returns -1 if it failed. Unlike other system calls, I have real 44 // difficulty even imagining a caller that would need to know that close was interrupted 50 // Since callers don't know ahead of time whether close will legitimately fail, they need
|