Home
last modified time | relevance | path

Searched refs:fli (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousFileChannelImpl.java150 FileLockImpl fli = (FileLockImpl)fl; in invalidateAllLocks() local
151 implRelease(fli); in invalidateAllLocks()
152 fli.invalidate(); in invalidateAllLocks()
163 final FileLockImpl fli; in addToFileLockTable() local
176 fli = new FileLockImpl(this, position, size, shared); in addToFileLockTable()
178 fileLockTable.add(fli); in addToFileLockTable()
182 return fli; in addToFileLockTable()
185 protected final void removeFromFileLockTable(FileLockImpl fli) { in removeFromFileLockTable() argument
186 fileLockTable.remove(fli); in removeFromFileLockTable()
192 protected abstract void implRelease(FileLockImpl fli) throws IOException; in implRelease() argument
[all …]
DSimpleAsynchronousFileChannelImpl.java185 final FileLockImpl fli = addToFileLockTable(position, size, shared); in implLock() local
186 if (fli == null) { in implLock()
212 removeFromFileLockTable(fli); in implLock()
223 result.setResult(fli, exc); in implLock()
225 Invoker.invokeUnchecked(handler, attachment, fli, exc); in implLock()
236 removeFromFileLockTable(fli); in implLock()
252 FileLockImpl fli = addToFileLockTable(position, size, shared); in tryLock() local
253 if (fli == null) in tryLock()
266 return fli; // lock acquired in tryLock()
276 removeFromFileLockTable(fli); in tryLock()
[all …]
DFileChannelImpl.java1127 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in lock() local
1129 flt.add(fli); in lock()
1146 flt.replace(fli, fli2); in lock()
1147 fli = fli2; in lock()
1153 flt.remove(fli); in lock()
1161 return fli; in lock()
1172 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in tryLock() local
1174 flt.add(fli); in tryLock()
1183 flt.remove(fli); in tryLock()
1187 flt.remove(fli); in tryLock()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DFileChannelImpl.java204 void release(sun.nio.ch.FileLockImpl fli) throws java.io.IOException { in release() argument