/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockImpl.java | 36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) in FileLockImpl() argument 38 super(channel, position, size, shared); in FileLockImpl() 41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) in FileLockImpl() argument 43 super(channel, position, size, shared); in FileLockImpl()
|
D | AsynchronousFileChannelImpl.java | 108 boolean shared, in implLock() argument 115 boolean shared) in lock() argument 118 return implLock(position, size, shared, null, null); in lock() 124 boolean shared, in lock() argument 130 implLock(position, size, shared, attachment, handler); in lock() 162 protected final FileLockImpl addToFileLockTable(long position, long size, boolean shared) { in addToFileLockTable() argument 176 fli = new FileLockImpl(this, position, size, shared); in addToFileLockTable()
|
D | SimpleAsynchronousFileChannelImpl.java | 175 final boolean shared, in implLock() argument 179 if (shared && !reading) in implLock() 181 if (!shared && !writing) in implLock() 185 final FileLockImpl fli = addToFileLockTable(position, size, shared); in implLock() 206 n = nd.lock(fdObj, true, position, size, shared); in implLock() 243 public FileLock tryLock(long position, long size, boolean shared) in tryLock() argument 246 if (shared && !reading) in tryLock() 248 if (!shared && !writing) in tryLock() 252 FileLockImpl fli = addToFileLockTable(position, size, shared); in tryLock() 262 n = nd.lock(fdObj, false, position, size, shared); in tryLock()
|
D | FileDispatcherImpl.java | 111 boolean shared) throws IOException in lock() argument 115 return lock0(fd, blocking, pos, size, shared); in lock() 175 long size, boolean shared) throws IOException; in lock0() argument
|
D | FileChannelImpl.java | 1119 public FileLock lock(long position, long size, boolean shared) in lock() argument 1123 if (shared && !readable) in lock() 1125 if (!shared && !writable) in lock() 1127 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in lock() 1139 n = nd.lock(fd, true, position, size, shared); in lock() 1143 assert shared; in lock() local 1164 public FileLock tryLock(long position, long size, boolean shared) in tryLock() argument 1168 if (shared && !readable) in tryLock() 1170 if (!shared && !writable) in tryLock() 1172 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in tryLock() [all …]
|
D | FileDispatcher.java | 46 boolean shared) throws IOException; in lock() argument
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousFileChannel.java | 459 boolean shared, in lock() argument 532 public abstract Future<FileLock> lock(long position, long size, boolean shared); in lock() argument 606 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() argument
|
D | FileChannel.java | 1011 public abstract FileLock lock(long position, long size, boolean shared) in lock() argument 1122 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() argument
|
/libcore/ojluni/src/main/native/ |
D | FileSystemPreferences.c | 70 jclass thisclass, jstring java_fname, jint permission, jboolean shared) { in Java_java_util_prefs_FileSystemPreferences_lockFile0() argument 81 if (shared == JNI_TRUE) { in Java_java_util_prefs_FileSystemPreferences_lockFile0() 87 if (shared == JNI_TRUE) { in Java_java_util_prefs_FileSystemPreferences_lockFile0()
|
D | FileDispatcherImpl.c | 195 jboolean shared) in FileDispatcherImpl_lock0() argument 209 if (shared == JNI_TRUE) { in FileDispatcherImpl_lock0()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | FileSystemPreferences.java | 718 boolean shared; 721 shared = false; /* use exclusive lock for user prefs */ 725 shared = !isSystemRootWritable; 728 if (!lockFile(shared)) 883 private boolean lockFile(boolean shared) throws SecurityException{ 892 result = lockFile0(lockFile.getCanonicalPath(), perm, shared); 941 lockFile0(String fileName, int permission, boolean shared);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 43 boolean shared) { in MockFileLock() argument 44 super(channel, position, size, shared); in MockFileLock()
|
D | FileChannelTest.java | 3128 public FileLock lock(long position, long size, boolean shared) in lock() argument 3132 if (0 == position && Long.MAX_VALUE == size && false == shared) { in lock() 3187 public FileLock tryLock(long position, long size, boolean shared) in tryLock() argument 3191 if (0 == position && Long.MAX_VALUE == size && false == shared) { in tryLock()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 290 void setZoneShared(boolean shared) { in setZoneShared() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 2904 void setZoneShared(boolean shared) { in setZoneShared() argument 2905 sharedZone = shared; in setZoneShared()
|