/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/ |
H A D | ClassCompare.java | 91 boolean result = true; 101 result = false; 103 return result; 125 boolean result = true; 132 if (result == true) { 133 result = pf; 139 result = compareClass0(jf1, jf2, je1, ignoreUnkAttrs, ignoreElements); 141 if (result == false) { 144 return result;
|
/openjdk7/jdk/test/java/util/Objects/ |
H A D | BasicObjectsTest.java | 56 boolean result = Objects.equals(a, b); 57 if (result != expected) { 60 a, b, result, expected); 85 boolean result = Objects.deepEquals(a, b); 86 if (result != expected) { 89 a, b, result, expected); 152 int result = Objects.compare(a, b, String.CASE_INSENSITIVE_ORDER); 153 if (Integer.signum(result) != Integer.signum(expected)) { 156 a, b, result, expected);
|
/openjdk7/jdk/test/javax/swing/JTextArea/4697612/ |
H A D | bug4697612.java | 143 final int[] result = new int[1]; 148 result[0] = text.getCaretPosition(); 152 return result[0]; 156 final int[] result = new int[1]; 164 result[0] = dotBounds.height; 171 return result[0]; 175 final int[] result = new int[1]; 180 result[0] = scroller.getViewport().getViewPosition().y; 184 return result[0];
|
/openjdk7/jdk/test/javax/swing/JTree/4330357/ |
H A D | bug4330357.java | 94 final Point[] result = new Point[1]; 104 result[0] = p; 108 return result[0]; 112 final Point[] result = new Point[1]; 120 result[0] = new Point(p.x + size.width / 2, p.y + size.height / 2); 123 return result[0]; 127 final boolean[] result = new boolean[1]; 133 result[0] = Util.findSubComponent(tree, cls.getName()) != null; 137 return result[0];
|
/openjdk7/jdk/test/javax/swing/regtesthelpers/ |
H A D | Util.java | 179 ArrayList<Integer> result = new ArrayList<>(); 181 result.add(KeyEvent.VK_CONTROL); 184 result.add(KeyEvent.VK_ALT); 187 result.add(KeyEvent.VK_SHIFT); 190 result.add(KeyEvent.VK_META); 192 return result; 211 * @return result of the <code>task</code> 214 final List<T> result = new ArrayList<>(1); 221 result.add(task.call()); 232 return result [all...] |
/openjdk7/jdk/src/share/classes/sun/management/snmp/util/ |
H A D | SnmpNamedListTableCache.java | 158 final SnmpOid result = 161 if ((context != null) && (key != null) && (result != null)) { 163 map.put(key,result); 165 log.debug("getIndex","key="+key+", index="+result); 166 return result; 179 final SnmpCachedData result = 182 return result; 208 * and cache the result in <var>userData</var> under <var>key</var>. 259 final SnmpCachedData result = 262 return result; [all...] |
/openjdk7/langtools/test/tools/javac/processing/filer/ |
H A D | TestGetResource2.java | 74 boolean result = task.call(); 75 System.err.println("javac result with single source dir: " + result); 76 expect(result, true); 93 boolean result = task.call(); 94 System.err.println("javac result with composite source path: " + result); 95 expect(result, true); 110 boolean result = task.call(); 111 System.err.println("javac result whe [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CDropTargetContextPeer.m | 66 jlong result = (jlong) 0L; 78 return result; 85 return result; 93 return result; 103 return result; 107 result = [dropTarget getDraggingSequenceNumber]; 110 return result;
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | FileChannelImpl.c | 130 jlong result = 0; local 133 result = lseek64(fd, 0, SEEK_CUR); 135 result = lseek64(fd, offset, SEEK_SET); 137 return handle(env, result, "Position failed"); 146 jlong result = close(fd); local 147 if (result < 0) { 177 jlong result; 184 result = sendfilev64(dstFD, &sfv, 1, &numBytes); 191 if (result < 0) { 203 return result; [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | Test.java | 85 Result result = new Result(this); 87 Object ctx = initTest(env, result); 88 result.setModifiers(env.getModifiers()); 90 runTestLoop(env, result, ctx); 92 result.setError(t); 97 if (result.getError() != null || result.getNumRuns() != 0) { 99 result.summarize(); 101 env.record(result); 104 result 109 initTest(TestEnvironment env, Result result) argument 113 runTestLoop(TestEnvironment env, Result result, Object ctx) argument [all...] |
/openjdk7/jdk/test/java/util/concurrent/CountDownLatch/ |
H A D | Basic.java | 39 private volatile Throwable result = null; field in class:Awaiter 40 protected void result(Throwable result) { this.result = result; } argument 41 public Throwable result() { return this.result; } method in class:Awaiter 63 catch (Throwable result) { result(result); }}}; [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/ |
H A D | SnmpSubBulkRequestHandler.java | 164 SnmpVarBind result) { 168 if (result.oid == null) { 172 if (element.value == SnmpVarBind.endOfMibView) return result; 174 if (result.value == SnmpVarBind.endOfMibView) return element; 176 final SnmpValue val = result.value; 178 int comp = element.oid.compareTo(result.oid); 182 " with result : " + result.oid); 185 " result : " + result 163 findVarBind(SnmpVarBind element, SnmpVarBind result) argument 262 updateResult(SnmpVarBind[] result) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/ |
H A D | Canonicalizer20010315.java | 60 final SortedSet result= new TreeSet(COMPARE); field in class:Canonicalizer20010315 169 // result will contain the attrs which have to be outputted 170 final SortedSet result = this.result; 171 result.clear(); 180 //It's not a namespace attr node. Add to the result and continue. 181 result.add(N); 197 result.add(n); 209 ns.getUnrenderedNodes(result); 211 xmlattrStack.getXmlnsAttr(result); [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | exceptions.hpp | 182 // Macro naming conventions: Macros that end with _ require a result value to be returned. They 183 // are for functions with non-void result type. The result value is usually ignored because of 187 // int result = this_function_may_trap(x_arg, y_arg, CHECK_0); 198 #define CHECK_(result) THREAD); if (HAS_PENDING_EXCEPTION) return result; (0 205 #define CHECK_AND_CLEAR_(result) THREAD); if (HAS_PENDING_EXCEPTION) { CLEAR_PENDING_EXCEPTION; return result; } (0 238 #define THROW_OOP_(e, result) \ 239 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; } [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/ |
H A D | ModelNode.java | 483 boolean result = true; 486 result = result && this.type.equals(that.type); 487 // result = result && ((this.parentNode == null) ? that.parentNode == null : this.parentNode.equals(that.parentNode)); 488 result = result && ((this.nodeData == null) ? that.nodeData == null : this.nodeData.equals(that.nodeData)); 489 result = result && ((this.children == null) ? that.children == null : this.children.equals(that.children)); 491 return result; [all...] |
/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | Supplementary.java | 158 // Additional input data & expected result for test3() 208 "appendCodePoint() produced a wrong result with input["+i+"]"); 229 int result = sb.codePointCount(j, length); 231 check(result != expected, "codePointCount(input["+i+"], "+j+", "+length+")", 232 result, expected); 235 int result = sb.codePointCount(0, j); 237 check(result != expected, "codePointCount(input["+i+"], 0, "+j+")", 238 result, expected); 263 int result = sb.offsetByCodePoints(j, nCodePoints); 264 check(result ! [all...] |
/openjdk7/jdk/test/java/lang/StringBuilder/ |
H A D | Supplementary.java | 158 // Additional input data & expected result for test3() 208 "appendCodePoint() produced a wrong result with input["+i+"]"); 229 int result = sb.codePointCount(j, length); 231 check(result != expected, "codePointCount(input["+i+"], "+j+", "+length+")", 232 result, expected); 235 int result = sb.codePointCount(0, j); 237 check(result != expected, "codePointCount(input["+i+"], 0, "+j+")", 238 result, expected); 263 int result = sb.offsetByCodePoints(j, nCodePoints); 264 check(result ! [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | RangeToken.java | 191 int[] result = new int[base]; 192 System.arraycopy(this.ranges, 0, result, 0, base); 193 this.ranges = result; 211 int[] result = new int[this.ranges.length+tok.ranges.length]; 214 result[k++] = tok.ranges[j++]; 215 result[k++] = tok.ranges[j++]; 217 result[k++] = this.ranges[i++]; 218 result[k++] = this.ranges[i++]; 221 result[k++] = tok.ranges[j++]; 222 result[ [all...] |
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | c1_LIRGenerator_sparc.cpp | 294 bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) { argument 295 assert(left != result, "should be different registers"); 297 __ shift_left(left, log2_intptr(c + 1), result); 298 __ sub(result, left, result); 301 __ shift_left(left, log2_intptr(c - 1), result); 302 __ add(result, left, result); 367 LIR_Address* array_addr = emit_array_address(array.result(), index.result(), 482 LIR_Opr result = call_runtime(x->x(), x->y(), entry, x->type(), NULL); local 526 LIR_Opr result = call_runtime(x->y(), x->x(), entry, x->type(), NULL); local 682 LIR_Opr result = rlock_result(x); local 745 LIR_Opr result = call_runtime(x->argument_at(0), runtime_entry, x->type(), NULL); local 752 LIR_Opr result = call_runtime(x->argument_at(0), x->argument_at(1), runtime_entry, x->type(), NULL); local 821 LIR_Opr result = call_runtime(x->value(), entry, x->type(), NULL); local 889 LIR_Opr result = rlock_result(x); local 915 LIR_Opr result = rlock_result(x); local 949 LIR_Opr result = rlock_result(x); local 1005 LIR_Opr result = rlock_result(x); local 1146 volatile_field_load(LIR_Address* address, LIR_Opr result, CodeEmitInfo* info) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/ |
H A D | StAXValidatorHelper.java | 66 public void validate(Source source, Result result) argument 69 if (result == null || result instanceof StAXResult) { 85 if( result!=null ) { 87 identityTransformer2.setResult(result); 103 new Object [] {source.getClass().getName(), result.getClass().getName()}));
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/ |
H A D | PrefixParserAction.java | 59 * and add the result to an Object[] 60 * which forms the result of apply. Returns null if there are no 82 Object result = getOperation().operate( data ) ; 83 matches.add( result ) ; 90 // An Object[] as a result does NOT work. Also report 93 Object result = null ; 95 result = Array.newInstance( componentType, size ) ; 108 Array.set( result, ctr, obj ) ; 118 return result ;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orb/ |
H A D | ParserImplBase.java | 80 Field result = null ; 84 result = cls.getDeclaredField( name ) ; 85 while (result == null) { 90 result = cls.getDeclaredField( name ) ; 96 if (result == null) 99 return result ;
|
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | TreePath.java | 188 Object[] result = new Object[i--]; 191 result[i--] = path.getLastPathComponent(); 193 return result; 211 int result = 0; 213 result++; 215 return result;
|
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/ |
H A D | DOMURIDereferencer.java | 99 XMLSignatureInput result = new XMLSignatureInput(refElem); 101 result.setExcludeComments(true); 104 result.setMIMEType("text/xml"); 106 result.setSourceURI(baseURI.concat(uriAttr.getNodeValue())); 108 result.setSourceURI(uriAttr.getNodeValue()); 110 return new ApacheNodeSetData(result);
|
/openjdk7/jdk/src/macosx/bundle/JavaAppLauncher/src/ |
H A D | main.m | 40 int32_t result; 42 result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, 1.0e20, false); 43 } while (result != kCFRunLoopRunFinished);
|