/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { argument 64 fl = fc.tryLock(0, fc.size(), shared); 66 fl = fc.lock(0, fc.size(), shared); 67 if (!shared) 70 if (shared) 80 public static void test2(boolean shared, boolean trylock) throws Exception { argument 87 fl = fc.tryLock(0, fc.size(), shared); 89 fl = fc.lock(0, fc.size(), shared); 90 if (shared) 93 if (!shared) 103 test3(boolean shared, boolean trylock) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | FileLock.java | 47 * <p> A file lock is either <i>exclusive</i> or <i>shared</i>. A shared lock 49 * exclusive lock, but does allow them to acquire overlapping shared locks. An 54 * <p> Whether a lock is exclusive or shared may be determined by invoking its 55 * {@link #isShared isShared} method. Some platforms do not support shared 56 * locks, in which case a request for a shared lock is automatically converted 124 private final boolean shared; field in class:FileLock 140 * @param shared 141 * <tt>true</tt> if this lock is shared, 148 long position, long size, boolean shared) 147 FileLock(FileChannel channel, long position, long size, boolean shared) argument 185 FileLock(AsynchronousFileChannel channel, long position, long size, boolean shared) argument [all...] |
H A D | AsynchronousFileChannel.java | 82 * a system-dependent default thread pool that may be shared with other 417 * <p> Some operating systems do not support shared locks, in which case a 418 * request for a shared lock is automatically converted into a request for 419 * an exclusive lock. Whether the newly-acquired lock is shared or 433 * @param shared 434 * {@code true} to request a shared lock, in which case this 450 * If {@code shared} is true but this channel was not opened for reading 452 * If {@code shared} is false but this channel was not opened for writing 456 boolean shared, 509 * @param shared 454 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument 527 lock(long position, long size, boolean shared) argument 601 tryLock(long position, long size, boolean shared) argument [all...] |
H A D | FileChannel.java | 949 * <p> Some operating systems do not support shared locks, in which case a 950 * request for a shared lock is automatically converted into a request for 951 * an exclusive lock. Whether the newly-acquired lock is shared or 967 * @param shared 968 * <tt>true</tt> to request a shared lock, in which case this 996 * If <tt>shared</tt> is <tt>true</tt> this channel was not 1000 * If <tt>shared</tt> is <tt>false</tt> but this channel was not 1010 public abstract FileLock lock(long position, long size, boolean shared) argument 1076 * <p> Some operating systems do not support shared locks, in which case a 1077 * request for a shared loc 1121 tryLock(long position, long size, boolean shared) argument [all...] |
/openjdk7/corba/make/common/ |
H A D | Defs-bsd.gmk | 40 # Get shared JDK settings 41 include $(BUILDDIR)/common/shared/Defs.gmk
|
H A D | Defs-linux.gmk | 31 # Get shared JDK settings 32 include $(BUILDDIR)/common/shared/Defs.gmk
|
H A D | Defs-solaris.gmk | 31 # Get shared JDK settings 32 include $(BUILDDIR)/common/shared/Defs.gmk
|
H A D | Defs-windows.gmk | 31 # Get shared JDK settings 32 include $(BUILDDIR)/common/shared/Defs.gmk
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileLockImpl.java | 36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) argument 38 super(channel, position, size, shared); 41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 43 super(channel, position, size, shared);
|
H A D | AsynchronousFileChannelImpl.java | 108 boolean shared, 115 boolean shared) 118 return implLock(position, size, shared, null, null); 124 boolean shared, 130 implLock(position, size, shared, attachment, handler); 162 protected final FileLockImpl addToFileLockTable(long position, long size, boolean shared) { argument 176 fli = new FileLockImpl(this, position, size, shared); 106 implLock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument 113 lock(long position, long size, boolean shared) argument 122 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
|
H A D | FileDispatcher.java | 44 boolean shared) throws IOException; 43 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
|
H A D | SimpleAsynchronousFileChannelImpl.java | 176 final boolean shared, 180 if (shared && !reading) 182 if (!shared && !writing) 186 final FileLockImpl fli = addToFileLockTable(position, size, shared); 207 n = nd.lock(fdObj, true, position, size, shared); 244 public FileLock tryLock(long position, long size, boolean shared) argument 247 if (shared && !reading) 249 if (!shared && !writing) 253 FileLockImpl fli = addToFileLockTable(position, size, shared); 263 n = nd.lock(fdObj, false, position, size, shared); 174 implLock(final long position, final long size, final boolean shared, final A attachment, final CompletionHandler<FileLock,? super A> handler) argument [all...] |
/openjdk7/jdk/src/share/transport/shmem/ |
H A D | shmemBase.c | 37 * This is the base shared memory transport implementation that is used 45 /* shared memory seg and prefix for other IPC */ 65 SHMEM_ASSERT((stream->shared->readOffset < SHARED_BUFFER_SIZE) \ 66 && (stream->shared->readOffset >= 0)); \ 67 SHMEM_ASSERT((stream->shared->writeOffset < SHARED_BUFFER_SIZE) \ 68 && (stream->shared->writeOffset >= 0)); \ 72 * Transports are duplex, so carve the shared memory into "streams", 91 SharedListener *shared; member in struct:SharedMemoryTransport 95 * Access must be syncronized. Holds one shared 109 * The two shared stream 126 SharedStream *shared; member in struct:Stream 147 SharedMemory *shared; member in struct:SharedMemoryConnection 941 SharedStream *shared = stream->shared; local 966 SharedStream *shared = stream->shared; local 991 SharedStream *shared = stream->shared; local 1063 SharedStream *shared = stream->shared; local [all...] |
/openjdk7/jdk/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/ |
H A D | SharedMemoryPixmapsTest.sh | 27 # @summary Verify that shared memory pixmaps are not broken 30 # Note that we force the use of shared memory pixmaps. 41 J2D_PIXMAPS=shared
|
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | CleanState.java | 57 Map<String,Object> shared = new HashMap<>(); 58 shared.put("javax.security.auth.login.name", name); 59 shared.put("javax.security.auth.login.password", badpassword); 73 }, shared, map);
|
H A D | LoginModuleOptions.java | 49 // All 4 works: keytab, shared state, callback, cache 63 // 2. keytab -> shared 68 // 3. shared -> callback 91 // 2. keytab preferred to shared. This test case is not exactly correct, 92 // because principal=dummy would shadow the PWD setting in the shared 95 // is picked first, or shared is tried first but fallback to keytab. 98 // 3. shared preferred to callback 140 Map<String, Object> shared = new HashMap<>(); 147 shared.put(key, value); 152 krb5.initialize(subject, callback, shared, ma [all...] |
/openjdk7/hotspot/test/runtime/7107135/ |
H A D | Test7107135.sh | 65 gcc -fPIC -shared -c -o test.o -I${TESTJAVA}${FS}include -I${TESTJAVA}${FS}include${FS}linux ${TESTSRC}${FS}test.c 66 ld -shared -z execstack -o libtest-rwx.so test.o 67 ld -shared -z noexecstack -o libtest-rw.so test.o
|
/openjdk7/jdk/test/sun/security/krb5/ |
H A D | IPv6.java | 83 Map<String, Object> shared = new HashMap<>(); 89 shared.put("javax.security.auth.login.name", "any"); 90 shared.put("javax.security.auth.login.password", "any".toCharArray()); 91 krb5.initialize(subject, null, shared, map);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/xml/util/ |
H A D | Naming.java | 136 byte[] shared = null; 140 if (shared == null) { 141 shared = new byte[256]; 143 shared[i] = (byte)type; 145 charTypeTable[min >> 8] = shared;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | ListBuffer.java | 67 public boolean shared; field in class:ListBuffer 79 shared = false; 115 shared = false; 130 if (shared) copy(); 166 shared = true;
|
/openjdk7/jdk/src/solaris/native/java/util/ |
H A D | FileSystemPreferences.c | 63 jclass thisclass, jstring java_fname, jint permission, jboolean shared) { 74 if (shared == JNI_TRUE) { 80 if (shared == JNI_TRUE) { 62 Java_java_util_prefs_FileSystemPreferences_lockFile0(JNIEnv *env, jclass thisclass, jstring java_fname, jint permission, jboolean shared) argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | FileDispatcherImpl.java | 88 boolean shared) throws IOException 90 return lock0(fd, blocking, pos, size, shared); 140 long size, boolean shared) throws IOException; 87 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument 139 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/parallelScavenge/ |
H A D | PSPermGen.java | 31 import sun.jvm.hotspot.gc_implementation.shared.*;
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | classLoadingService.cpp | 44 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared) \ 54 data, len, (clss)->class_loader(), (shared)); \ 61 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared) \ 71 data, len, (clss)->class_loader(), (shared)); \ 77 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared) 87 // counters for classes loaded from shared archive 139 // Classes that can be unloaded must be non-shared
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | FileDispatcherImpl.java | 100 boolean shared) throws IOException 102 return lock0(fd, blocking, pos, size, shared); 152 long size, boolean shared) throws IOException; 99 lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument 151 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
|