/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 44 private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException { in tagSocket() 53 private void untagSocket(FileDescriptor fd) throws ErrnoException { in untagSocket() 61 …@Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws Er… in accept() 81 @Override public void close(FileDescriptor fd) throws ErrnoException { in close() 104 private static boolean isLingerSocket(FileDescriptor fd) throws ErrnoException { in isLingerSocket() 109 …@Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoExcept… in connect() 114 @Override public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { in fchmod() 119 @Override public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { in fchown() 126 @Override public void fdatasync(FileDescriptor fd) throws ErrnoException { in fdatasync() 131 @Override public StructStat fstat(FileDescriptor fd) throws ErrnoException { in fstat() [all …]
|
D | Os.java | 44 …public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoExcepti… in accept() 47 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 48 … public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; in bind() 51 public void close(FileDescriptor fd) throws ErrnoException; in close() 52 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 53 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() 59 public void fchmod(FileDescriptor fd, int mode) throws ErrnoException; in fchmod() 60 public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() 61 …public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, Interrup… in fcntlFlock() 62 public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() [all …]
|
D | ForwardingOs.java | 53 …public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoExcepti… in accept() 56 …public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketEx… in bind() 57 …public void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException … in bind() 60 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); } in close() 61 …public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, Socke… in connect() 62 …public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExcepti… in connect() 68 public void fchmod(FileDescriptor fd, int mode) throws ErrnoException { os.fchmod(fd, mode); } in fchmod() 69 …public void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { os.fchown(fd, uid,… in fchown() 70 …public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, Interrup… in fcntlFlock() 71 …public int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException { return os.fcntlIn… in fcntlInt() [all …]
|
D | Posix.java | 47 …public native FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws Errno… in accept() 50 …public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 51 …public native void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketExc… in bind() 54 public native void close(FileDescriptor fd) throws ErrnoException; in close() 55 …public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException… in connect() 56 …public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, Socket… in connect() 62 public native void fchmod(FileDescriptor fd, int mode) throws ErrnoException; in fchmod() 63 public native void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException; in fchown() 64 …public native int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws ErrnoException, I… in fcntlFlock() 65 public native int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException; in fcntlInt() [all …]
|
D | IoBridge.java | 55 public static int available(FileDescriptor fd) throws IOException { in available() 79 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind() 108 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect() 120 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() 134 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno() 193 public static void closeAndSignalBlockedThreads(FileDescriptor fd) throws IOException { in closeAndSignalBlockedThreads() 209 …public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, int timeou… in isConnected() 250 public static Object getSocketOption(FileDescriptor fd, int option) throws SocketException { in getSocketOption() 258 …private static Object getSocketOptionErrno(FileDescriptor fd, int option) throws ErrnoException, S… in getSocketOptionErrno() 317 …public static void setSocketOption(FileDescriptor fd, int option, Object value) throws SocketExcep… in setSocketOption() [all …]
|
D | IoUtils.java | 40 public static void close(FileDescriptor fd) throws IOException { in close() 67 public static void closeQuietly(FileDescriptor fd) { in closeQuietly() 89 public static void setBlocking(FileDescriptor fd, boolean blocking) throws IOException { in setBlocking() 163 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in canOpenReadOnly() local 193 private FileDescriptor fd; field in IoUtils.FileReader
|
D | AsynchronousCloseMonitor.java | 25 public static native void signalBlockedThreads(FileDescriptor fd); in signalBlockedThreads()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 43 …public static FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws Errno… in accept() 55 …public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, S… in bind() 57 …/** @hide */ public static void bind(FileDescriptor fd, SocketAddress address) throws ErrnoExcepti… in bind() 72 public static void close(FileDescriptor fd) throws ErrnoException { Libcore.os.close(fd); } in close() 77 …public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException… in connect() 79 …/** @hide */ public static void connect(FileDescriptor fd, SocketAddress address) throws ErrnoExce… in connect() 109 …public static void fchmod(FileDescriptor fd, int mode) throws ErrnoException { Libcore.os.fchmod(f… in fchmod() 114 …public static void fchown(FileDescriptor fd, int uid, int gid) throws ErrnoException { Libcore.os.… in fchown() 116 …/** @hide */ public static int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws Errn… in fcntlFlock() 117 …/** @hide */ public static int fcntlInt(FileDescriptor fd, int cmd, int arg) throws ErrnoException… in fcntlInt() [all …]
|
D | StructPollfd.java | 28 public FileDescriptor fd; field in StructPollfd
|
/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
|
D | SyncFailedExceptionTest.java | 36 FileDescriptor fd = fos.getFD(); in test_ConstructorLjava_lang_String() local
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 138 …private void checkSockName(FileDescriptor fd, boolean isAbstract, InetAddress address) throws Exce… in checkSockName() 152 private void checkNoPeerName(FileDescriptor fd) throws Exception { in checkNoPeerName() 156 private void checkNoSockName(FileDescriptor fd) throws Exception { in checkNoSockName() 167 FileDescriptor fd = fos.getFD(); in test_byteBufferPositions_write_pwrite() local 196 FileDescriptor fd = fis.getFD(); in test_byteBufferPositions_read_pread() local 299 FileDescriptor fd = Libcore.os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress() local 352 FileDescriptor fd = Libcore.os.socket(AF_INET6, SOCK_STREAM, 0); in test_socketFamilies() local 379 private static void checkSocketPing(FileDescriptor fd, InetAddress to, byte[] packet, in checkSocketPing() 413 FileDescriptor fd = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); in test_socketPing() local
|
/libcore/luni/src/main/java/java/io/ |
D | FileDescriptor.java | 104 public final void setInt$(int fd) { in setInt$() 115 private static native boolean isSocket(int fd); in isSocket()
|
D | FileInputStream.java | 56 private FileDescriptor fd; field in FileInputStream 89 public FileInputStream(FileDescriptor fd) { in FileInputStream()
|
D | FileReader.java | 53 public FileReader(FileDescriptor fd) { in FileReader()
|
D | FileOutputStream.java | 54 private FileDescriptor fd; field in FileOutputStream 97 public FileOutputStream(FileDescriptor fd) { in FileOutputStream()
|
D | FileWriter.java | 67 public FileWriter(FileDescriptor fd) { in FileWriter()
|
/libcore/luni/src/main/java/java/nio/ |
D | PipeImpl.java | 61 private final FileDescriptor fd; field in PipeImpl.PipeSourceChannel 64 …private PipeSourceChannel(SelectorProvider selectorProvider, FileDescriptor fd) throws IOException… in PipeSourceChannel() 96 private final FileDescriptor fd; field in PipeImpl.PipeSinkChannel 99 … private PipeSinkChannel(SelectorProvider selectorProvider, FileDescriptor fd) throws IOException { in PipeSinkChannel()
|
D | NioUtils.java | 50 public static FileChannel newFileChannel(Closeable ioObject, FileDescriptor fd, int mode) { in newFileChannel()
|
/libcore/luni/src/main/native/ |
D | AsynchronousCloseMonitor.cpp | 65 void AsynchronousCloseMonitor::signalBlockedThreads(int fd) { in signalBlockedThreads() 80 AsynchronousCloseMonitor::AsynchronousCloseMonitor(int fd) { in AsynchronousCloseMonitor()
|
D | libcore_io_AsynchronousCloseMonitor.cpp | 25 int fd = jniGetFDFromFileDescriptor(env, javaFd); in AsynchronousCloseMonitor_signalBlockedThreads() local
|
D | java_io_FileDescriptor.cpp | 24 static jboolean FileDescriptor_isSocket(JNIEnv*, jclass, jint fd) { in FileDescriptor_isSocket()
|
D | NetFd.h | 58 #define NET_FAILURE_RETRY(fd, exp) ({ \ argument
|
/libcore/luni/src/main/java/java/net/ |
D | PlainServerSocketImpl.java | 32 public PlainServerSocketImpl(FileDescriptor fd) { in PlainServerSocketImpl()
|
/libcore/luni/src/main/java/java/lang/ |
D | ProcessManager.java | 345 private FileDescriptor fd; field in ProcessManager.ProcessInputStream 347 private ProcessInputStream(FileDescriptor fd) { in ProcessInputStream() 371 private FileDescriptor fd; field in ProcessManager.ProcessOutputStream 373 private ProcessOutputStream(FileDescriptor fd) { in ProcessOutputStream()
|