/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/ |
H A D | Utils.java | 46 String result; 49 result = "unknown status"; 52 result = "zombie"; 55 result = "running"; 58 result = "sleeping"; 61 result = "waiting to acquire a monitor lock"; 64 result = "waiting on a condition"; 67 result = "<invalid thread status>"; 70 result += " (suspended)"; 72 return result; [all...] |
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | UseCustomSocketFactory.java | 121 /* invoke remote method and print result*/ 125 byte[] result = echo[i].echoNot(data); 126 for (int j = 0; j < result.length; j++) 127 result[j] = (byte) ~result[j]; 128 System.err.println("Result: " + new String(result)); 158 byte[] result = echo[i].echoNot(data); 159 for (int j = 0; j < result.length; j++) 160 result[j] = (byte) ~result[ [all...] |
/openjdk7/jdk/test/javax/swing/JSlider/6587742/ |
H A D | bug6587742.java | 112 JSlider result = new JSlider(vertical ? SwingConstants.VERTICAL : SwingConstants.HORIZONTAL, 0, 100, 50); 114 result.setMajorTickSpacing(20); 115 result.setMinorTickSpacing(5); 116 result.setPaintTicks(true); 117 result.setPaintLabels(true); 118 result.setEnabled(enabled); 121 result.putClientProperty("JSlider.isFilled", filled); 124 result.setInverted(inverted); 125 result.setToolTipText("<html>vertical = " + vertical + "<br>enabled = " + enabled + "<br>filled = " + filled + 128 return result; [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/jar/jarbug/src/test/ |
H A D | JarTest.java | 93 File result = new File(tmpdir + File.separator + getClass().getName()); 94 result.delete(); 95 result.mkdirs(); 97 return result; 105 boolean result = true; 110 result = result && deleteRecursively(children[i]); 113 result = result && file.delete(); 115 return result; [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | Spans.java | 86 * The result of making this call is that 139 * single span. The result is a sorted, 321 int result; 324 result = -1; 326 result = 1; 328 result = 0; 331 return result; 365 int result; 374 result = -1; 381 result [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/ |
H A D | BuilderHandlerMessageScope.java | 74 * Multiple bound operations may refer to the same fault messages. This would result 89 boolean result = true; 91 result = result && ((this.policySubject == null) ? ((that.policySubject == null) ? true : false) :this.policySubject.equals(that.policySubject)); 92 result = result && ((this.scope == null) ? ((that.scope == null) ? true : false) :this.scope.equals(that.scope)); 93 result = result && ((this.message == null) ? ((that.message == null) ? true : false) :this.message.equals(that.message)); 95 result = result [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/subject/ |
H A D | WsdlBindingSubject.java | 170 int result = 23; 172 result = 31 * result + ((this.name == null) ? 0 : this.name.hashCode()); 173 result = 31 * result + this.messageType.hashCode(); 174 result = 31 * result + this.nameScope.hashCode(); 175 result = 31 * result + ((this.parent == null) ? 0 : this.parent.hashCode()); 177 return result; [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 152 InputStream result = null; 162 result = new JarURLInputStream (jarFile.getInputStream(jarEntry)); 164 return result; 168 long result = getContentLengthLong(); 169 if (result > Integer.MAX_VALUE) 171 return (int) result; 175 long result = -1; 180 result = jarFileURLConnection.getContentLengthLong(); 183 result = getJarEntry().getSize(); 187 return result; [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixPath.java | 151 // trim result to actual length if required 227 int[] result = new int[count]; 235 result[count++] = index++; 242 offsets = result; 287 byte[] result = new byte[len]; 288 System.arraycopy(path, lastOffset, result, 0, len); 289 return new UnixPath(getFileSystem(), result); 306 byte[] result = new byte[len]; 307 System.arraycopy(path, 0, result, 0, len); 308 return new UnixPath(getFileSystem(), result); [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream_1_1.java | 40 CDRInputStreamBase result = super.dup(); 42 ((CDRInputStream_1_1)result).fragmentOffset = this.fragmentOffset; 44 return result; 147 char[] result = getConvertedChars(2, getWCharConverter()); 156 return result[0]; 167 // IMPORTANT: Do not replace 'new String("")' with "", it may result 181 char[] result = getConvertedChars(len * 2, getWCharConverter()); 186 return new String(result, 0, getWCharConverter().getNumChars());
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | LimitDirectMemory.java | 86 int result = 1; 95 result = Integer.parseInt(size.substring(0, idx)); 100 case 'T': case 't': result *= K; // fall through 101 case 'G': case 'g': result *= K; // fall through 102 case 'M': case 'm': result *= K; // fall through 103 case 'K': case 'k': result *= K; 110 return result;
|
/openjdk7/langtools/test/tools/apt/mirror/util/ |
H A D | TypeCreation.java | 78 @Test(result="boolean") 83 @Test(result="void") 88 @Test(result="boolean[]") 94 @Test(result="TypeCreation.A[]") 99 @Test(result="? extends TypeCreation.A") 107 @Test(result="TypeCreation.O<java.lang.String>") 114 @Test(result="TypeCreation.O<java.lang.String>.I<java.lang.Number>")
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6238612.java | 64 String[] result = list.toArray(array); 66 if (result.length < list.size()) { 67 error("returned array is too small; expected: " + list.size() + ", found: " + result.length); 71 if (list.size() <= array.length && result != array) 76 check(result, i++, s); 78 if (i < result.length) 79 check(result, i, null);
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | WindowsAsynchronousFileChannelImpl.java | 214 * Task that initiates locking operation and handles completion result. 219 private final PendingFuture<FileLock,A> result; field in class:WindowsAsynchronousFileChannelImpl.LockTask 223 PendingFuture<FileLock,A> result) 227 this.result = result; 237 overlapped = ioCache.add(result); 239 // synchronize on result to avoid race with handler thread 241 synchronized (result) { 249 result.setResult(fli); 257 result 221 LockTask(long position, FileLockImpl fli, PendingFuture<FileLock,A> result) argument 383 private final PendingFuture<Integer,A> result; field in class:WindowsAsynchronousFileChannelImpl.ReadTask 388 ReadTask(ByteBuffer dst, int pos, int rem, long position, PendingFuture<Integer,A> result) argument 574 private final PendingFuture<Integer,A> result; field in class:WindowsAsynchronousFileChannelImpl.WriteTask 579 WriteTask(ByteBuffer src, int pos, int rem, long position, PendingFuture<Integer,A> result) argument [all...] |
H A D | WindowsAsynchronousServerSocketChannelImpl.java | 114 * Task to initiate accept operation and to handle result. 119 private final PendingFuture<AsynchronousSocketChannel,Object> result; field in class:WindowsAsynchronousServerSocketChannelImpl.AcceptTask 123 PendingFuture<AsynchronousSocketChannel,Object> result) 127 this.result = result; 182 synchronized (result) { 183 overlapped = ioCache.add(result); 193 // allow another accept before the result is set 195 result.setResult(channel); 211 result 121 AcceptTask(WindowsAsynchronousSocketChannelImpl channel, AccessControlContext acc, PendingFuture<AsynchronousSocketChannel,Object> result) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/reflect/annotation/ |
H A D | AnnotationParser.java | 83 Map<Class<? extends Annotation>, Annotation> result = 93 if (result.put(klass, a) != null) 98 return result; 145 Annotation[][] result = new Annotation[numParameters][]; 160 result[i] = annotations.toArray(EMPTY_ANNOTATIONS_ARRAY); 162 return result; 294 Object result = null; 300 result = parseClassValue(buf, constPool, container); 303 result = parseAnnotation(buf, constPool, container, true); 308 result [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | TreeWalkerImpl.java | 112 * If result is not null, set the current Node. 128 * If result is not null, set the current Node. 142 * If result is not null, set the current Node. 157 * If result is not null, set the current Node. 172 * If result is not null, set the current Node. 186 * If result is not null, set the current Node. 189 Node result; 194 result = getPreviousSibling(fCurrentNode); 195 if (result == null) { 196 result [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/ |
H A D | FileLocator.java | 95 NamedDataInputStream result; 112 result = locateInZipFile (path, classFileName, true, true); 113 if (result == null) 115 return (DataInputStream) result; 142 result = new NamedDataInputStream (new BufferedInputStream ( 145 return (DataInputStream) result; 148 result = new NamedDataInputStream (new BufferedInputStream ( 151 return (DataInputStream) result; 194 DataInputStream result = null; 207 result [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Scanner.java | 89 * MatchResult result = s.match(); 90 * for (int i=1; i<=result.groupCount(); i++) 91 * System.out.println(result.group(i)); 392 // Boolean indicating if a match result is available 808 private void cacheResult(String result) { argument 809 hasNextResult = result; 1130 * been closed will result in an {@link IllegalStateException}. 1318 * Returns the match result of the last scanning operation performed 1324 * make a match result available if they complete without throwing an 1333 * @return a match result fo [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/ |
H A D | GenerateCharacter.java | 88 The result is concatenated to the next k2 bits of the character code to index 283 * character code; as a result, the array passed as an argument to this method 311 long[] result; 313 result = new long[256]; 315 result = new long[1<<16]; 320 for (int j = 0; j < data.length && k < result.length; j++) { 322 result[k] = buildOne(codePoint, data[j], specialMaps); 329 while (codePoint < data[j].codePoint && k < result.length) { 330 result[k] = buildOne(codePoint, data[j], specialMaps); 337 while (codePoint < data[j].codePoint && k < result 988 appendEscapedStringFragment(StringBuffer result, char[] line, int length, boolean lastFragment) argument 1131 genTable(StringBuffer result, String name, long[] table, int extract, int bits, int size, boolean preshifted, int shift, boolean hexFormat, boolean properties, boolean hexComment) argument 1331 genCaseMapTableDeclaration(StringBuffer result) argument 1336 genCaseMapTable(StringBuffer result, SpecialCaseMap[] specialCaseMaps) argument 1367 propertiesComments(StringBuffer result, long val) argument [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | Collator.java | 237 Collator result = (Collator) cache.get(desiredLocale); 238 if (result != null) { 239 return (Collator)result.clone(); // make the world safe 268 result = new RuleBasedCollator( CollationRules.DEFAULTRULES + 276 result = new RuleBasedCollator( CollationRules.DEFAULTRULES ); 284 result.setDecomposition(NO_DECOMPOSITION); 286 cache.put(desiredLocale,result); 287 return (Collator)result.clone(); 540 Collator result = collatorProvider.getInstance(locale); 541 if (result ! [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | jniHandles.hpp | 48 // Resolve handle into oop, result guaranteed not to be null 74 // result guaranteed not to be NULL. 185 oop result = (handle == NULL ? (oop)NULL : *(oop*)handle); local 186 assert(result != NULL || (handle == NULL || !CheckJNICalls || is_weak_global_handle(handle)), "Invalid value read from jni handle"); 187 assert(result != badJNIHandle, "Pointing to zapped jni handle area"); 188 return result; 194 oop result = *(oop*)handle; 195 if (result == NULL || result == badJNIHandle) return NULL; 196 return result; 202 oop result = *(oop*)handle; local [all...] |
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/jar/ |
H A D | JarFileFactory.java | 86 JarFile result; 91 result = getCachedJarFile(url); 93 if (result == null) { 96 result = getCachedJarFile(url); 97 if (result == null) { 100 result = local_result; 109 result = URLJarFile.getJarFile(url, this); 111 if (result == null) 114 return result; 132 JarFile result [all...] |
/openjdk7/jdk/src/windows/native/sun/tools/attach/ |
H A D | WindowsAttachProvider.c | 45 jstring result = NULL; local 57 result = JNU_NewStringPlatform(env, bufP); 63 return result; 76 DWORD result = 0; local 90 result = flags; 96 return result; 111 jint result = 0; local 118 result = (jint)(bytesReturned / sizeof(DWORD)); 119 (*env)->SetIntArrayRegion(env, arr, 0, (jsize)result, (jint*)ptr); 123 return result; 140 jboolean result = JNI_FALSE; local [all...] |
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/ |
H A D | gui.js | 95 var result; 105 result = dialog.getSelectedFile(); 107 result = null; 116 return result; 129 var result; 139 result = res? res : color; 147 return result; 222 var result; 226 result = JOptionPane.showInputDialog(window, question, answer); 233 return result; [all...] |