/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 | 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()
|
D | EPollPort.java | 172 void startPoll(int fd, int events) { in startPoll() 205 int fd = getDescriptor(eventAddress); in poll() local 314 private static native void interrupt(int fd) throws IOException; in interrupt() 316 private static native void drain1(int fd) throws IOException; in drain1() 318 private static native void close0(int fd); in close0()
|
D | FileKey.java | 41 public static FileKey create(FileDescriptor fd) { in create() 69 private native void init(FileDescriptor fd) throws IOException; in init()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 52 private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException { in tagSocket() 61 …@Override public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoE… in accept() 91 @Override public void close(FileDescriptor fd) throws ErrnoException { in close() 113 private static boolean isInetSocket(FileDescriptor fd) throws ErrnoException{ in isInetSocket() 121 private static boolean isLingerSocket(FileDescriptor fd) throws ErrnoException { in isLingerSocket() 126 private static boolean isUdpSocket(FileDescriptor fd) throws ErrnoException { in isUdpSocket() 130 @Override public void connect(FileDescriptor fd, InetAddress address, int port) in connect() 141 @Override public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, in connect() 153 @Override public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { in fchmod() 159 @Override public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { in fchown() [all …]
|
D | IoBridge.java | 62 public static int available(FileDescriptor fd) throws IOException { in available() 86 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind() 120 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect() 132 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() 153 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno() 199 private static String createMessageForException(FileDescriptor fd, InetAddress inetAddress, in createMessageForException() 244 public static void closeAndSignalBlockedThreads(FileDescriptor fd) throws IOException { in closeAndSignalBlockedThreads() 259 public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, in isConnected() 300 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption() 308 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno() [all …]
|
D | Os.java | 50 …public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, … in accept() 53 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 54 … public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in bind() 62 public void close(FileDescriptor fd) throws ErrnoException; in close() 63 …public void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long newOwne… in android_fdsan_exchange_owner_tag() 64 public long android_fdsan_get_owner_tag(FileDescriptor fd); in android_fdsan_get_owner_tag() 69 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 70 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() 76 public void fchmod(FileDescriptor fd, int mode) throws ErrnoException; in fchmod() 77 public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() [all …]
|
D | ForwardingOs.java | 69 …public FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, … in accept() 74 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 75 …public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException … in bind() 88 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); } in close() 89 …public void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long newOwne… in android_fdsan_exchange_owner_tag() 90 …public long android_fdsan_get_owner_tag(FileDescriptor fd) { return os.android_fdsan_get_owner_tag… in android_fdsan_get_owner_tag() 94 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 95 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() 101 public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { os.fchmod(fd, mode); } in fchmod() 102 …public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { os.fchown(fd, uid,… in fchown() [all …]
|
D | Linux.java | 50 …public native FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoExce… in accept() 53 …public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 54 …public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExc… in bind() 63 public native void close(FileDescriptor fd) throws ErrnoException; in close() 64 …public native void android_fdsan_exchange_owner_tag(FileDescriptor fd, long previousOwnerId, long … in android_fdsan_exchange_owner_tag() 65 public native long android_fdsan_get_owner_tag(FileDescriptor fd); in android_fdsan_get_owner_tag() 69 …public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException… in connect() 70 …public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, Socket… in connect() 76 public native void fchmod(FileDescriptor fd, int mode) throws ErrnoException; in fchmod() 77 public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() [all …]
|
D | IoUtils.java | 59 public static int acquireRawFd(@NonNull FileDescriptor fd) { in acquireRawFd() 135 public static void setFdOwner(@NonNull FileDescriptor fd, @NonNull Object owner) { in setFdOwner() 157 public static void close(FileDescriptor fd) throws IOException { in close() 182 public static void closeQuietly(FileDescriptor fd) { in closeQuietly() 208 public static void setBlocking(FileDescriptor fd, boolean blocking) throws IOException { in setBlocking() 275 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in canOpenReadOnly() local 305 private FileDescriptor fd; field in IoUtils.FileReader
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 47 …public static FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws Errno… in accept() 53 …public static FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoExce… in accept() 66 …public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 71 …ull SocketAddress address) throws ErrnoException, SocketException { Libcore.os.bind(fd, address); } in bind() 107 public static void close(FileDescriptor fd) throws ErrnoException { Libcore.os.close(fd); } in close() 112 …public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException… in connect() 117 … SocketAddress address) throws ErrnoException, SocketException { Libcore.os.connect(fd, address); } in connect() 147 …public static void fchmod(FileDescriptor fd, int mode) throws ErrnoException { Libcore.os.fchmod(f… in fchmod() 152 …public static void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.… in fchown() 157 …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() local 79 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() local 96 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() local 45 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/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 | 91 void AsynchronousCloseMonitorImpl::signalBlockedThreads(int fd) { in signalBlockedThreads() 106 AsynchronousCloseMonitorImpl::AsynchronousCloseMonitorImpl(int fd) { in AsynchronousCloseMonitorImpl() 145 void async_close_monitor_signal_blocked_threads(int fd) { in async_close_monitor_signal_blocked_threads() 149 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileDescriptorTest.java | 43 FileDescriptor fd = fos.getFD(); in test_sync() local 79 FileDescriptor fd = fos.getFD(); in test_valid() local
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 91 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_udpSocket() local 108 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_invalidCmd() local 141 final FileDescriptor fd = Os.socket(AF_UNIX, SOCK_STREAM, 0); in testUnixDomainSocket_unnamed() local 203 private static void checkSockName(FileDescriptor fd, boolean isAbstract, in checkSockName() 216 private void checkNoPeerName(FileDescriptor fd) throws Exception { in checkNoPeerName() 220 private void checkNoSockName(FileDescriptor fd) throws Exception { in checkNoSockName() 231 FileDescriptor fd = fos.getFD(); in test_byteBufferPositions_write_pwrite() local 261 FileDescriptor fd = fis.getFD(); in test_byteBufferPositions_read_pread() local 602 FileDescriptor fd = Os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress() local 707 FileDescriptor fd = Os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies() local [all …]
|