/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | Pipe.java | 149 public static Pipe open() throws IOException { method in class:Pipe
|
H A D | Selector.java | 37 * <p> A selector may be created by invoking the {@link #open open} method of 42 * method of a custom selector provider. A selector remains open until it is 160 * that the key is valid or that its channel is open. Application code should 226 public static Selector open() throws IOException { method in class:Selector 231 * Tells whether or not this selector is open. </p> 233 * @return <tt>true</tt> if, and only if, this selector is open
|
H A D | ServerSocketChannel.java | 38 * <p> A server-socket channel is created by invoking the {@link #open() open} 41 * open but not yet bound. An attempt to invoke the {@link #accept() accept} 104 public static ServerSocketChannel open() throws IOException { method in class:ServerSocketChannel
|
H A D | Channels.java | 216 private boolean open = true; field in class:Channels.ReadableByteChannelImpl 256 open = false; 285 private boolean open = true; field in class:Channels.WritableByteChannelImpl 316 open = false;
|
H A D | DatagramChannel.java | 40 * <p> A datagram channel is created by invoking one of the {@link #open open} methods 42 * pre-existing datagram socket. A newly-created datagram channel is open but not 136 * The {@link #open(ProtocolFamily) open} allows the protocol family to be 137 * selected when opening a datagram channel, and should be used to open 145 public static DatagramChannel open() throws IOException { method in class:DatagramChannel 178 public static DatagramChannel open(ProtocolFamily family) throws IOException { method in class:DatagramChannel 240 * is {@link #isOpen open} and connected
|
H A D | SocketChannel.java | 39 * <p> A socket channel is created by invoking one of the {@link #open open} 41 * pre-existing socket. A newly-created socket channel is open but not yet 141 public static SocketChannel open() throws IOException { method in class:SocketChannel 148 * <p> This convenience method works as if by invoking the {@link #open()} 179 public static SocketChannel open(SocketAddress remote) method in class:SocketChannel 182 SocketChannel sc = open(); 299 * is {@link #isOpen open} and connected
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
H A D | AbstractInterruptibleChannel.java | 93 private volatile boolean open = true; field in class:AbstractInterruptibleChannel 113 if (!open) 115 open = false; 139 return open; 161 if (!open) 163 open = false; 205 if (!completed && !open)
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | CloseGuard.java | 33 * guard.open("cleanup"); 70 * guard.open("cleanup"); 92 * When used in a constructor calls to {@code open} should occur at 96 * in a method, the call to {@code open} should occur just after 122 * #open(String)} can be used to set up the instance to warn on 162 * If CloseGuard is enabled, {@code open} initializes the instance 170 public void open(String closer) { method in class:CloseGuard
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | FileInputStream.java | 57 /* File Descriptor - handle to the open file */ 146 open(name); 147 guard.open("close"); 188 private native void open(String name) throws FileNotFoundException; method in class:FileInputStream 398 channel = FileChannelImpl.open(fd, path, true, false, this);
|
H A D | FileOutputStream.java | 44 * this class will fail if the file involved is already open. 221 open(name, append); 222 guard.open("close"); 274 private native void open(String name, boolean append) method in class:FileOutputStream 396 channel = FileChannelImpl.open(fd, path, false, true, append, this);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 139 return open(Scope.EMPTY_ARRAY, "["); 158 return open(Scope.EMPTY_OBJECT, "{"); 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { method in class:JSONStringer
|
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 104 * tries to open the filename and finds the file is currently in use by 169 private void open(File fname, boolean append) throws IOException { method in class:FileHandler 367 // Private method to open the set of output files, based on the 409 // We got an IOException while trying to open the file. 442 open(files[0], true); 501 // // we disallow attempts to open files relative to %h. 558 open(files[0], false);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | IoBridge.java | 436 public static FileDescriptor open(String path, int flags) throws FileNotFoundException { method in class:IoBridge 441 fd = Libcore.os.open(path, flags, mode); 442 // Posix open(2) fails with EISDIR only if you ask for write permission. 445 throw new ErrnoException("open", EISDIR);
|
H A D | BlockGuardOs.java | 182 @Override public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { method in class:BlockGuardOs 187 return os.open(path, flags, mode);
|
H A D | ForwardingOs.java | 119 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return os.open(path, flags, mode); } method in class:ForwardingOs
|
H A D | Os.java | 111 public FileDescriptor open(String path, int flags, int mode) throws ErrnoException; method in interface:Os
|
H A D | Posix.java | 113 public native FileDescriptor open(String path, int flags, int mode) throws ErrnoException; method in class:Posix
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipFile.java | 79 * Mode flag to open a zip file for reading. 84 * Mode flag to open a zip file and mark it for deletion. The file will be 218 jzfile = open(name, mode, file.lastModified(), usemmap); 230 guard.open("close"); 774 private static native long open(String name, int mode, long lastModified, method in class:ZipFile
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | FileChannelImpl.java | 92 public static FileChannel open(FileDescriptor fd, String path, method in class:FileChannelImpl 100 public static FileChannel open(FileDescriptor fd, String path, method in class:FileChannelImpl 874 throw new IOException("Channel not open for writing " + 933 // On Windows, and potentially other platforms, we need an open
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Dex.java | 186 public Section open(int position) { method in class:Dex 263 return open(offset).readTypeList(); 271 return open(offset).readClassData(); 279 return open(offset).readCode(); 328 open(SIGNATURE_OFFSET).write(computeSignature()); 329 open(CHECKSUM_OFFSET).writeInt(computeChecksum()); 454 * {@code open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt();} 662 Section triesSection = open(data.position()); 893 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM)) 924 return open(tableOfContent [all...] |
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 315 * See <a href="http://man7.org/linux/man-pages/man2/open.2.html">open(2)</a>. 317 public static FileDescriptor open(String path, int flags, int mode) throws ErrnoException { return Libcore.os.open(path, flags, mode); } method in class:Os
|