Searched refs:result (Results 1 - 25 of 1970) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/implicitThis/
H A DWhichImplicitThis9.java34 static int result; field in class:WhichImplicitThis9
36 result = 0;
38 if (result != 13658) throw new Error("" + result);
43 result = result*10 + 1;
47 { result = result*10 + 2 + i; }
49 result = result*1
[all...]
/openjdk7/langtools/test/tools/javac/
H A DUnreachableVar.java35 static String result = ""; field in class:UnreachableVar
44 result += i + " ";
46 result += args.getClass().getName();
47 if (!result.equals("2 [Ljava.lang.String;")) throw new Error(result);
/openjdk7/jdk/test/java/lang/String/
H A DIndexOfEmptyInEmpty.java31 int result = new String("").indexOf("");
32 if (result != 0) {
33 throw new Exception("new String(\"\").indexOf(\"\") must be 0, but got " + result);
/openjdk7/jdk/test/java/text/Bidi/
H A DBug8005277.java38 int result = bidi.getRunCount();
39 if (result != 1) {
40 System.err.println("Incorrect run count: " + result);
44 result = bidi.getRunStart(0);
45 if (result != 0) {
46 System.err.println("Incorrect run start: " + result);
50 result = bidi.getRunLimit(0);
51 if (result != 3) {
52 System.err.println("Incorrect run limit: " + result);
56 result
[all...]
/openjdk7/langtools/test/tools/javac/StringsInSwitch/
H A DStringSwitches.java53 int result = Integer.MAX_VALUE;
59 result = 1; break;
65 result = 3; break;
71 result = 5; break;
77 result = -1;
79 return result;
86 int result = zeroHashes(zero);
87 if (result != i) {
90 zero, result, i);
137 int result
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpScopedPduBulk.java93 SnmpScopedPduRequest result = new SnmpScopedPduRequest();
94 result.address = address ;
95 result.port = port ;
96 result.version = version ;
97 result.requestId = requestId;
98 result.msgId = msgId;
99 result.msgMaxSize = msgMaxSize;
100 result.msgFlags = msgFlags;
101 result.msgSecurityModel = msgSecurityModel;
102 result
[all...]
H A DSnmpScopedPduRequest.java78 SnmpScopedPduRequest result = new SnmpScopedPduRequest();
79 result.address = address ;
80 result.port = port ;
81 result.version = version ;
82 result.requestId = requestId;
83 result.msgId = msgId;
84 result.msgMaxSize = msgMaxSize;
85 result.msgFlags = msgFlags;
86 result.msgSecurityModel = msgSecurityModel;
87 result
[all...]
H A DSnmpPduRequest.java97 SnmpPduRequest result = new SnmpPduRequest();
98 result.address = address;
99 result.port = port;
100 result.version = version;
101 result.community = community;
102 result.type = SnmpDefinitions.pduGetResponsePdu;
103 result.requestId = requestId;
104 result.errorStatus = SnmpDefinitions.snmpRspNoError;
105 result.errorIndex = 0;
107 return result;
[all...]
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkInvariants.cpp30 int result = 0; local
33 result = MAX2(result, flow()->pre_order_at(i)->monitor_count());
36 return result;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/output/
H A DResultFactory.java51 * @param result the Result that will receive output from the XmlSerializer
54 public static XmlSerializer createSerializer(Result result) { argument
55 if (result instanceof SAXResult)
56 return new SaxSerializer((SAXResult) result);
57 if (result instanceof DOMResult)
58 return new DomSerializer((DOMResult) result);
59 if (result instanceof StreamResult)
60 return new StreamSerializer((StreamResult) result);
61 if (result instanceof TXWResult)
62 return new TXWSerializer(((TXWResult)result)
[all...]
/openjdk7/jdk/test/java/math/BigInteger/
H A DOperatorNpeTests.java40 BigInteger result;
42 result = bd.multiply(null);
43 throw new RuntimeException("Instead of NPE got " + result);
49 result = bd.divide(null);
50 throw new RuntimeException("Instead of NPE got " + result);
56 result = bd.add(null);
57 throw new RuntimeException("Instead of NPE got " + result);
63 result = bd.subtract(null);
64 throw new RuntimeException("Instead of NPE got " + result);
/openjdk7/jdk/src/windows/classes/sun/security/provider/
H A DNativeSeedGenerator.java54 private static native boolean nativeGenerateSeed(byte[] result); argument
57 void getSeedBytes(byte[] result) { argument
59 if (nativeGenerateSeed(result) == false) {
/openjdk7/jdk/test/java/util/Collections/
H A DBinarySearchNullComparator.java37 int result = Collections.binarySearch(list, "You", null);
38 if (result != 2)
39 throw new Exception("Result: " + result);
/openjdk7/jdk/src/solaris/bin/
H A Dergo.c56 jboolean result; local
63 result = ServerClassMachineImpl();
65 (result == JNI_TRUE ? "true" : "false"));
66 return result;
81 jboolean result = JNI_FALSE; local
91 result = JNI_TRUE;
95 (result == JNI_TRUE ? "JNI_TRUE" : "JNI_FALSE"));
96 return result;
105 const uint64_t result = pages * page_size; local
111 pages, page_size, result, resul
[all...]
/openjdk7/jdk/test/java/util/PluggableLocale/
H A DProviderTest.java33 void checkValidity(Locale target, Object jres, Object providers, Object result, boolean jresPreferred) { argument
35 if ((result==null && jres!=null) || !result.equals(jres)) {
37 "result do not match with jre's result. target: "+target+" result: "+result+" jre's: "+jres);
40 if (providers!=null && !result.equals(providers)) {
42 "result do not match with provider's result
[all...]
/openjdk7/jdk/test/java/lang/instrument/
H A DRedefineBigClass.sh60 result=$?
64 if [ "$result" = 0 ]; then
67 echo "FAIL: RedefineBigClassApp exited with status of $result"
68 exit "$result"
73 result=$?
74 if [ "$result" = 0 ]; then
76 result=1
79 result=0
82 exit $result
H A DRedefineClassWithNativeMethod.sh59 result=$?
63 if [ "$result" = 0 ]; then
66 echo "FAIL: RedefineClassWithNativeMethodApp exited with status of $result"
67 exit "$result"
72 result=$?
73 if [ "$result" = 0 ]; then
75 result=1
78 result=0
81 exit $result
H A DRetransformBigClass.sh61 result=$?
65 if [ "$result" = 0 ]; then
68 echo "FAIL: RetransformBigClassApp exited with status of $result"
69 exit "$result"
74 result=$?
75 if [ "$result" = 0 ]; then
77 result=1
80 result=0
83 exit $result
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DObjectWriter.java50 public String toString() { return result.toString() ; }
52 public void append( boolean arg ) { result.append( arg ) ; }
54 public void append( char arg ) { result.append( arg ) ; }
56 public void append( short arg ) { result.append( arg ) ; }
58 public void append( int arg ) { result.append( arg ) ; }
60 public void append( long arg ) { result.append( arg ) ; }
62 public void append( float arg ) { result.append( arg ) ; }
64 public void append( double arg ) { result.append( arg ) ; }
66 public void append( String arg ) { result.append( arg ) ; }
72 protected StringBuffer result ; field in class:ObjectWriter
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DDnDUtilities.m56 jint result = java_awt_dnd_DnDConstants_ACTION_NONE;
59 result = ((dragOperation & NSDragOperationMove) == 0) ? java_awt_dnd_DnDConstants_ACTION_COPY : java_awt_dnd_DnDConstants_ACTION_COPY_OR_MOVE;
62 result = java_awt_dnd_DnDConstants_ACTION_MOVE;
65 result = java_awt_dnd_DnDConstants_ACTION_LINK;
68 result = java_awt_dnd_DnDConstants_ACTION_MOVE;
72 // result = java_awt_dnd_DnDConstants_ACTION_COPY_OR_MOVE;
79 return result;
84 jint result = java_awt_dnd_DnDConstants_ACTION_NONE;
87 result |= java_awt_dnd_DnDConstants_ACTION_MOVE;
90 result |
[all...]
/openjdk7/jdk/test/java/lang/Math/
H A DTests.java29 * the test name, followed by the test arguments, the computed result,
30 * and finally the expected result.
53 boolean result, boolean expected) {
54 if (expected != result) {
58 "\tgot " + result + ").");
66 boolean result, boolean expected) {
67 if (expected != result) {
71 "\tgot " + result + ").");
79 boolean result, boolean expected) {
80 if (expected != result) {
52 test(String testName, float input, boolean result, boolean expected) argument
65 test(String testName, double input, boolean result, boolean expected) argument
78 test(String testName, float input1, float input2, boolean result, boolean expected) argument
91 test(String testName, double input1, double input2, boolean result, boolean expected) argument
104 test(String testName, float input, int result, int expected) argument
116 test(String testName, double input, int result, int expected) argument
129 test(String testName, float input, float result, float expected) argument
143 test(String testName, double input, double result, double expected) argument
156 test(String testName, float input1, double input2, float result, float expected) argument
171 test(String testName, double input1, double input2, double result, double expected) argument
186 test(String testName, float input1, int input2, float result, float expected) argument
201 test(String testName, double input1, int input2, double result, double expected) argument
216 testUlpCore(double result, double expected, double ulps) argument
243 testUlpDiff(String testName, double input, double result, double expected, double ulps) argument
257 testUlpDiff(String testName, double input1, double input2, double result, double expected, double ulps) argument
274 testUlpDiffWithAbsBound(String testName, double input, double result, double expected, double ulps, double absBound) argument
299 testUlpDiffWithLowerBound(String testName, double input, double result, double expected, double ulps, double lowerBound) argument
321 testTolerance(String testName, double input, double result, double expected, double tolerance) argument
[all...]
/openjdk7/jdk/test/sun/security/smartcardio/
H A DTestMultiplePresent.java71 List<CardTerminal> result;
73 result = terminals.list(CARD_PRESENT);
74 if (result.size() != 0) {
75 throw new Exception("List not empty: " + result);
84 result = terminals.list(CARD_PRESENT);
85 if (result.size() != 0) {
86 throw new Exception("List not empty: " + result);
92 result = terminals.list(CARD_INSERTION);
93 System.out.println(result);
94 if (result
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DRecursiveTask.java39 * A recursive result-bearing {@link ForkJoinTask}.
72 * The result of the computation.
74 V result; field in class:RecursiveTask
82 return result;
86 result = value;
93 result = compute();
/openjdk7/hotspot/src/os/linux/vm/
H A Ddecoder_linux.cpp32 char* result; local
38 if ((result = abi::__cxa_demangle(symbol, NULL, NULL, &status)) != NULL) {
39 jio_snprintf(buf, buflen, "%s", result);
41 ::free(result);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DAttributeValue.java36 AttributeValue result;
38 result = new AttributeValueTemplate(text, parser, parent);
41 result = new AttributeValueTemplate(text, parser, parent);
44 result = new SimpleAttributeValue(text);
45 result.setParser(parser);
46 result.setParent(parent);
48 return result;

Completed in 2749 milliseconds

1234567891011>>