Home
last modified time | relevance | path

Searched refs:fdObj (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DSimpleAsynchronousFileChannelImpl.java57 SimpleAsynchronousFileChannelImpl(FileDescriptor fdObj, in SimpleAsynchronousFileChannelImpl() argument
62 super(fdObj, reading, writing, executor); in SimpleAsynchronousFileChannelImpl()
79 synchronized (fdObj) { in close()
102 nd.close(fdObj); in close()
113 n = nd.size(fdObj); in size()
136 n = nd.size(fdObj); in truncate()
142 n = nd.truncate(fdObj, size); in truncate()
162 n = nd.force(fdObj, metaData); in force()
206 n = nd.lock(fdObj, true, position, size, shared); in implLock()
262 n = nd.lock(fdObj, false, position, size, shared); in tryLock()
[all …]
DAsynchronousFileChannelImpl.java48 protected final FileDescriptor fdObj; field in AsynchronousFileChannelImpl
57 protected AsynchronousFileChannelImpl(FileDescriptor fdObj, in AsynchronousFileChannelImpl() argument
62 this.fdObj = fdObj; in AsynchronousFileChannelImpl()
139 fileLockTable = FileLockTable.newSharedFileLockTable(this, fdObj); in ensureFileLockTableInitialized()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java104 FileDescriptor fdObj = new FileDescriptor(); in newFileChannel() local
105 fdAccess.set(fdObj, fd); in newFileChannel()
106 return FileChannelImpl.open(fdObj, path, reading, writing, null); in newFileChannel()
136 FileDescriptor fdObj = open(dfd, path, pathForPermissionCheck, flags, mode); in newFileChannel() local
137 … return FileChannelImpl.open(fdObj, path.toString(), flags.read, flags.write, flags.append, null); in newFileChannel()
172 FileDescriptor fdObj = open(-1, path, null, flags, mode); in newAsynchronousFileChannel() local
173 return SimpleAsynchronousFileChannelImpl.open(fdObj, flags.read, flags.write, pool); in newAsynchronousFileChannel()
289 FileDescriptor fdObj = new FileDescriptor(); in open() local
290 fdAccess.set(fdObj, fd); in open()
291 return fdObj; in open()
/libcore/ojluni/src/main/java/java/io/
DFileInputStream.java200 public FileInputStream(FileDescriptor fdObj) { in FileInputStream() argument
202 this(fdObj, false /* isFdOwner */); in FileInputStream()
208 public FileInputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileInputStream() argument
209 if (fdObj == null) { in FileInputStream()
213 fd = fdObj; in FileInputStream()
DFileOutputStream.java276 public FileOutputStream(FileDescriptor fdObj) { in FileOutputStream() argument
278 this(fdObj, false /* isOwner */); in FileOutputStream()
289 public FileOutputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileOutputStream() argument
290 if (fdObj == null) { in FileOutputStream()
295 this.fd = fdObj; in FileOutputStream()
/libcore/ojluni/src/main/java/sun/net/
DNetHooks.java85 public static void beforeTcpBind(FileDescriptor fdObj, in beforeTcpBind() argument
97 public static void beforeTcpConnect(FileDescriptor fdObj, in beforeTcpConnect() argument
/libcore/ojluni/src/main/native/
DSocketOutputStream.c56 jobject fdObj, in SocketOutputStream_socketWrite0() argument
64 if (IS_NULL(fdObj)) { in SocketOutputStream_socketWrite0()
68 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); in SocketOutputStream_socketWrite0()
DSocketInputStream.c55 jobject fdObj, jbyteArray data, in SocketInputStream_socketRead0() argument
62 if (IS_NULL(fdObj)) { in SocketInputStream_socketRead0()
68 fd = (*env)->GetIntField(env, fdObj, IO_fd_fdID); in SocketInputStream_socketRead0()
/libcore/ojluni/annotations/mmodule/java/io/
DFileInputStream.annotated.java39 public FileInputStream(java.io.FileDescriptor fdObj) { throw new RuntimeException("Stub!"); } in FileInputStream() argument
42 public FileInputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { throw new RuntimeExceptio… in FileInputStream() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileOutputStream.java52 public FileOutputStream(java.io.FileDescriptor fdObj) { in FileOutputStream() argument
56 public FileOutputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { in FileOutputStream() argument
DFileInputStream.java42 public FileInputStream(java.io.FileDescriptor fdObj) { in FileInputStream() argument
46 public FileInputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { in FileInputStream() argument