| /libcore/ojluni/src/main/java/sun/nio/ch/ | 
| D | FileDispatcherImpl.java | 50     int read(FileDescriptor fd, long address, int len) throws IOException {  in read()56     int pread(FileDescriptor fd, long address, int len, long position)  in pread()
 64     long readv(FileDescriptor fd, long address, int len) throws IOException {  in readv()
 70     int write(FileDescriptor fd, long address, int len) throws IOException {  in write()
 76     int pwrite(FileDescriptor fd, long address, int len, long position)  in pwrite()
 84     long writev(FileDescriptor fd, long address, int len)  in writev()
 92     int force(FileDescriptor fd, boolean metaData) throws IOException {  in force()
 98     int truncate(FileDescriptor fd, long size) throws IOException {  in truncate()
 104     long size(FileDescriptor fd) throws IOException {  in size()
 110     int lock(FileDescriptor fd, boolean blocking, long pos, long size,  in lock()
 [all …]
 
 | 
| D | DatagramDispatcher.java | 45     int read(FileDescriptor fd, long address, int len) throws IOException {  in read()51     long readv(FileDescriptor fd, long address, int len) throws IOException {  in readv()
 57     int write(FileDescriptor fd, long address, int len) throws IOException {  in write()
 63     long writev(FileDescriptor fd, long address, int len) throws IOException {  in writev()
 69     void close(FileDescriptor fd) throws IOException {  in close()
 73     void preClose(FileDescriptor fd) throws IOException {  in preClose()
 77     static native int read0(FileDescriptor fd, long address, int len)  in read0()
 80     static native long readv0(FileDescriptor fd, long address, int len)  in readv0()
 83     static native int write0(FileDescriptor fd, long address, int len)  in write0()
 86     static native long writev0(FileDescriptor fd, long address, int len)  in writev0()
 
 | 
| D | NativeDispatcher.java | 38     abstract int read(FileDescriptor fd, long address, int len)  in read()49     int pread(FileDescriptor fd, long address, int len, long position)  in pread()
 55     abstract long readv(FileDescriptor fd, long address, int len)  in readv()
 58     abstract int write(FileDescriptor fd, long address, int len)  in write()
 61     int pwrite(FileDescriptor fd, long address, int len, long position)  in pwrite()
 67     abstract long writev(FileDescriptor fd, long address, int len)  in writev()
 70     abstract void close(FileDescriptor fd) throws IOException;  in close()
 76     void preClose(FileDescriptor fd) throws IOException {  in preClose()
 
 | 
| D | SocketDispatcher.java | 40     int read(FileDescriptor fd, long address, int len) throws IOException {  in read()46     long readv(FileDescriptor fd, long address, int len) throws IOException {  in readv()
 52     int write(FileDescriptor fd, long address, int len) throws IOException {  in write()
 58     long writev(FileDescriptor fd, long address, int len) throws IOException {  in writev()
 64     void close(FileDescriptor fd) throws IOException {  in close()
 68     void preClose(FileDescriptor fd) throws IOException {  in preClose()
 
 | 
| D | FileDispatcher.java | 39     abstract int force(FileDescriptor fd, boolean metaData) throws IOException;  in force()41     abstract int truncate(FileDescriptor fd, long size) throws IOException;  in truncate()
 43     abstract long size(FileDescriptor fd) throws IOException;  in size()
 45     abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size,  in lock()
 48     abstract void release(FileDescriptor fd, long pos, long size)  in release()
 56     abstract FileDescriptor duplicateForMapping(FileDescriptor fd)  in duplicateForMapping()
 
 | 
| D | UnixDomainSockets.java | 82     static UnixDomainSocketAddress localAddress(FileDescriptor fd) throws IOException {  in localAddress()87     private static native byte[] localAddress0(FileDescriptor fd) throws IOException;  in localAddress0()
 111     static void bind(FileDescriptor fd, Path addr) throws IOException {  in bind()
 146     static int connect(FileDescriptor fd, SocketAddress sa) throws IOException {  in connect()
 150     static int connect(FileDescriptor fd, Path path) throws IOException {  in connect()
 154     static int accept(FileDescriptor fd, FileDescriptor newfd, String[] paths)  in accept()
 170     private static native void bind0(FileDescriptor fd, byte[] path)  in bind0()
 173     private static native int connect0(FileDescriptor fd, byte[] path)  in connect0()
 176     private static native int accept0(FileDescriptor fd, FileDescriptor newfd, Object[] array)  in accept0()
 
 | 
| D | IOUtil.java | 46     static int write(FileDescriptor fd, ByteBuffer src, long position,  in write()76     private static int writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb,  in writeFromNativeBuffer()
 100     static long write(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd)  in write()
 106     static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,  in write()
 185     static int read(FileDescriptor fd, ByteBuffer dst, long position,  in read()
 207     private static int readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb,  in readIntoNativeBuffer()
 230     static long read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd)  in read()
 236     static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length,  in read()
 320         FileDescriptor fd = new FileDescriptor();  in newFD()  local
 334     static native boolean drain(int fd) throws IOException;  in drain()
 [all …]
 
 | 
| D | Port.java | 64     final void register(int fd, PollableChannel ch) {  in register()79     protected void preUnregister(int fd) {  in preUnregister()
 86     final void unregister(int fd) {  in unregister()
 114     abstract void startPoll(int fd, int events);  in startPoll()
 127     final Object attachForeignChannel(final Channel channel, FileDescriptor fd) {  in attachForeignChannel()
 
 | 
| /libcore/ojluni/src/main/java/jdk/net/ | 
| D | ExtendedSocketOptions.java | 193         sun.net.ext.ExtendedSocketOptions.register(  in sun.net.ext.ExtendedSocketOptions.register()194                 new sun.net.ext.ExtendedSocketOptions(extendedOptions) {  in sun.net.ext.ExtendedSocketOptions.register()
 212                     setFlowOption(fd, flow);  in sun.net.ext.ExtendedSocketOptions.register()
 270     private static void setFlowOption(FileDescriptor fd, SocketFlow f)  in setFlowOption()
 279     private static void getFlowOption(FileDescriptor fd, SocketFlow f)  in getFlowOption()
 285     private static void setQuickAckOption(FileDescriptor fd, boolean enable)  in setQuickAckOption()
 290     private static Object getQuickAckOption(FileDescriptor fd)  in getQuickAckOption()
 295     private static void setTcpkeepAliveProbes(FileDescriptor fd, int value)  in setTcpkeepAliveProbes()
 300     private static void setTcpKeepAliveTime(FileDescriptor fd, int value)  in setTcpKeepAliveTime()
 305     private static void setTcpKeepAliveIntvl(FileDescriptor fd, int value)  in setTcpKeepAliveIntvl()
 [all …]
 
 | 
| /libcore/luni/src/main/java/libcore/io/ | 
| D | BlockGuardOs.java | 53     private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException {  in tagSocket()62 …@Override public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoE…  in accept()
 94     @Override public void close(FileDescriptor fd) throws ErrnoException {  in close()
 116     public static boolean isNonBlockingFile(FileDescriptor fd) throws ErrnoException {  in isNonBlockingFile()
 124     public static boolean isUnixSocket(FileDescriptor fd) throws ErrnoException {  in isUnixSocket()
 132     private static boolean isInetSocket(FileDescriptor fd) throws ErrnoException{  in isInetSocket()
 141     private static boolean isLingerSocket(FileDescriptor fd) throws ErrnoException {  in isLingerSocket()
 146     private static boolean isUdpSocket(FileDescriptor fd) throws ErrnoException {  in isUdpSocket()
 150     @Override public void connect(FileDescriptor fd, InetAddress address, int port)  in connect()
 161     @Override public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException,  in connect()
 [all …]
 
 | 
| D | ForwardingOs.java | 91 …public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, …  in accept()138 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx…  in bind()
 143 …public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException …  in bind()
 176     public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); }  in close()
 181 …public void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long newOwne…  in android_fdsan_exchange_owner_tag()
 186 …public long android_fdsan_get_owner_tag(FileDescriptor fd) { return os.android_fdsan_get_owner_tag…  in android_fdsan_get_owner_tag()
 201 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke…  in connect()
 206 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti…  in connect()
 236     public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { os.fchmod(fd, mode); }  in fchmod()
 241 …public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { os.fchown(fd, uid,…  in fchown()
 [all …]
 
 | 
| D | Os.java | 67 …public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, …  in accept()82 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx…  in bind()
 87 … public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException;  in bind()
 114     public void close(FileDescriptor fd) throws ErrnoException;  in close()
 119 …public void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long newOwne…  in android_fdsan_exchange_owner_tag()
 124     public long android_fdsan_get_owner_tag(FileDescriptor fd);  in android_fdsan_get_owner_tag()
 141 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke…  in connect()
 146 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti…  in connect()
 176     public void fchmod(FileDescriptor fd, int mode) throws ErrnoException;  in fchmod()
 181     public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException;  in fchown()
 [all …]
 
 | 
| D | Linux.java | 51 …public native FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoExce…  in accept()54 …public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S…  in bind()
 55 …public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExc…  in bind()
 64     public native void close(FileDescriptor fd) throws ErrnoException;  in close()
 65 …public native void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long …  in android_fdsan_exchange_owner_tag()
 66     public native long android_fdsan_get_owner_tag(FileDescriptor fd);  in android_fdsan_get_owner_tag()
 70 …public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException…  in connect()
 71 …public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, Socket…  in connect()
 77     public native void fchmod(FileDescriptor fd, int mode) throws ErrnoException;  in fchmod()
 78     public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException;  in fchown()
 [all …]
 
 | 
| D | IoBridge.java | 104     public static int available(FileDescriptor fd) throws IOException {  in available()127 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException {  in bind()
 163 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce…  in connect()
 177 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th…  in connect()
 198 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout…  in connectErrno()
 246     private static String createMessageForException(FileDescriptor fd, InetAddress inetAddress,  in createMessageForException()
 296     public static void closeAndSignalBlockedThreads(@NonNull FileDescriptor fd) throws IOException {  in closeAndSignalBlockedThreads()
 319     public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port,  in isConnected()
 365     public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException {  in getSocketOption()
 374 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S…  in getSocketOptionErrno()
 [all …]
 
 | 
| D | IoUtils.java | 67     public static int acquireRawFd(@NonNull FileDescriptor fd) {  in acquireRawFd()152     public static void setFdOwner(@NonNull FileDescriptor fd, @NonNull Object owner) {  in setFdOwner()
 179     public static void close(@Nullable FileDescriptor fd) throws IOException {  in close()
 212     public static void closeQuietly(@Nullable FileDescriptor fd) {  in closeQuietly()
 250 …  public static void setBlocking(@NonNull FileDescriptor fd, boolean blocking) throws IOException {  in setBlocking()
 331             FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0);  in canOpenReadOnly()  local
 364         private FileDescriptor fd;  field in IoUtils.FileReader
 
 | 
| /libcore/luni/src/main/java/android/system/ | 
| D | Os.java | 51 …public static FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws Errno…  in accept()57 …public static FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoExce…  in accept()
 70 …public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S…  in bind()
 75 …ull SocketAddress address) throws ErrnoException, SocketException { Libcore.os.bind(fd, address); }  in bind()
 129     public static void close(FileDescriptor fd) throws ErrnoException { Libcore.os.close(fd); }  in close()
 134 …public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException…  in connect()
 139 … SocketAddress address) throws ErrnoException, SocketException { Libcore.os.connect(fd, address); }  in connect()
 169 …public static void fchmod(FileDescriptor fd, int mode) throws ErrnoException { Libcore.os.fchmod(f…  in fchmod()
 174 …public static void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.…  in fchown()
 179 …escriptor fd, int cmd, int arg) throws ErrnoException { return Libcore.os.fcntlInt(fd, cmd, arg); }  in fcntlInt()
 [all …]
 
 | 
| /libcore/ojluni/src/main/native/ | 
| D | FileDispatcherImpl.c | 69     jint fd = fdval(env, fdo);  in FileDispatcherImpl_read0()  local79     jint fd = fdval(env, fdo);  in FileDispatcherImpl_pread0()  local
 89     jint fd = fdval(env, fdo);  in FileDispatcherImpl_readv0()  local
 98     jint fd = fdval(env, fdo);  in FileDispatcherImpl_write0()  local
 108     jint fd = fdval(env, fdo);  in FileDispatcherImpl_pwrite0()  local
 118     jint fd = fdval(env, fdo);  in FileDispatcherImpl_writev0()  local
 138     jint fd = fdval(env, fdo);  in FileDispatcherImpl_force0()  local
 174     jint fd = fdval(env, fdo);  in FileDispatcherImpl_size0()  local
 197     jint fd = fdval(env, fdo);  in FileDispatcherImpl_lock0()  local
 234     jint fd = fdval(env, fdo);  in FileDispatcherImpl_release0()  local
 [all …]
 
 | 
| D | EPollPort.c | 52 Java_sun_nio_ch_EPollPort_interrupt(JNIEnv *env, jclass c, jint fd) {  in Java_sun_nio_ch_EPollPort_interrupt()63 Java_sun_nio_ch_EPollPort_drain1(JNIEnv *env, jclass cl, jint fd) {  in Java_sun_nio_ch_EPollPort_drain1()
 73 Java_sun_nio_ch_EPollPort_close0(JNIEnv *env, jclass c, jint fd) {  in Java_sun_nio_ch_EPollPort_close0()
 
 | 
| D | FileInputStream.c | 79     FD fd = GET_FD(this, fis_fd);  in FileInputStream_skip0()  local96 static int available(int fd, jlong *bytes) {  in available()
 133     FD fd = GET_FD(this, fis_fd);  in FileInputStream_available0()  local
 
 | 
| /libcore/luni/src/test/java/libcore/libcore/io/ | 
| D | FdsanTest.java | 35             FileDescriptor fd = fis.getFD();  in testFileInputStream()  local45             FileDescriptor fd = fis.getFD();  in testFileOutputStream()  local
 55             FileDescriptor fd = fis.getFD();  in testRandomAccessFile()  local
 79             FileDescriptor fd = (FileDescriptor)pfdMethodGetFileDescriptor.invoke(pfd);  in testParcelFileDescriptor()  local
 90             FileDescriptor fd = socket.getFileDescriptor$();  in testDatagramSocket()  local
 101     public void assertFdOwnedBySocket(FileDescriptor fd) throws Exception {  in assertFdOwnedBySocket()
 
 | 
| /libcore/ojluni/src/main/java/sun/net/ext/ | 
| D | ExtendedSocketOptions.java | 82     public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value)  in setOption()86     public abstract Object getOption(FileDescriptor fd, SocketOption<?> option)  in getOption()
 123         public void setOption(FileDescriptor fd, SocketOption<?> option, Object value)  in setOption()
 131         public Object getOption(FileDescriptor fd, SocketOption<?> option)  in getOption()
 
 | 
| /libcore/luni/src/main/native/ | 
| D | AsynchronousCloseMonitor.h | 54     explicit AsynchronousCloseMonitor(int fd) {  in AsynchronousCloseMonitor()68     static void signalBlockedThreads(int fd) {  in signalBlockedThreads()
 
 | 
| D | AsynchronousCloseMonitor.cpp | 93 void AsynchronousCloseMonitorImpl::signalBlockedThreads(int fd) {  in signalBlockedThreads()108 AsynchronousCloseMonitorImpl::AsynchronousCloseMonitorImpl(int fd) {  in AsynchronousCloseMonitorImpl()
 147 void async_close_monitor_signal_blocked_threads(int fd) {  in async_close_monitor_signal_blocked_threads()
 151 void* async_close_monitor_create(int fd) {  in async_close_monitor_create()
 
 | 
| /libcore/ojluni/src/main/java/sun/misc/ | 
| D | JavaIOFileDescriptorAccess.java | 34     public void set(FileDescriptor obj, int fd);  in set()35     public int get(FileDescriptor fd);  in get()
 
 | 
| /libcore/ojluni/src/main/java/jdk/internal/misc/ | 
| D | JavaIOFileDescriptorAccess.java | 34     public void set(FileDescriptor obj, int fd);  in set()35     public int get(FileDescriptor fd);  in get()
 
 |