/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileLock.java | 121 private final boolean shared; field in FileLock 145 long position, long size, boolean shared) in FileLock() argument 156 this.shared = shared; in FileLock() 217 return shared; in isShared() 280 + " " + (shared ? "shared" : "exclusive") in toString()
|
D | FileChannel.java | 833 public abstract FileLock lock(long position, long size, boolean shared) in lock() argument 944 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() argument
|
/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()
|
D | FileDispatcherImpl.java | 96 boolean shared) throws IOException in lock() argument 99 return lock0(fd, blocking, pos, size, shared); in lock() 163 long size, boolean shared) throws IOException; in lock0() argument
|
D | FileChannelImpl.java | 1006 public FileLock lock(long position, long size, boolean shared) in lock() argument 1010 if (shared && !readable) in lock() 1012 if (!shared && !writable) in lock() 1014 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in lock() 1026 n = nd.lock(fd, true, position, size, shared); in lock() 1030 assert shared; in lock() local 1051 public FileLock tryLock(long position, long size, boolean shared) in tryLock() argument 1055 if (shared && !readable) in tryLock() 1057 if (!shared && !writable) in tryLock() 1059 FileLockImpl fli = new FileLockImpl(this, position, size, shared); in tryLock() [all …]
|
D | FileDispatcher.java | 44 boolean shared) throws IOException; in lock() argument
|
/libcore/ojluni/src/main/native/ |
D | FileSystemPreferences.c | 68 jclass thisclass, jstring java_fname, jint permission, jboolean shared) { in Java_java_util_prefs_FileSystemPreferences_lockFile0() argument 79 if (shared == JNI_TRUE) { in Java_java_util_prefs_FileSystemPreferences_lockFile0() 85 if (shared == JNI_TRUE) { in Java_java_util_prefs_FileSystemPreferences_lockFile0()
|
D | FileDispatcherImpl.c | 165 jboolean shared) in FileDispatcherImpl_lock0() argument 179 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 | 3127 public FileLock lock(long position, long size, boolean shared) in lock() argument 3131 if (0 == position && Long.MAX_VALUE == size && false == shared) { in lock() 3186 public FileLock tryLock(long position, long size, boolean shared) in tryLock() argument 3190 if (0 == position && Long.MAX_VALUE == size && false == shared) { in tryLock()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 2098 void setZoneShared(boolean shared) { in setZoneShared() argument 2099 sharedZone = shared; in setZoneShared()
|