Searched defs:result (Results 1 - 25 of 605) sorted by relevance

1234567891011>>

/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/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/CipherSuite/
H A DSSL_NULL.java38 private static volatile Boolean result; field in class:SSL_NULL
56 result = Boolean.TRUE;
63 if (result == null) {
64 result = Boolean.FALSE;
83 // wait for other thread to set result
84 while (result == null) {
87 if (result.booleanValue()) {
/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/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/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/jdk/src/solaris/native/sun/nio/ch/
H A DUnixAsynchronousSocketChannelImpl.c44 int result; local
46 result = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &arglen);
47 if (result < 0) {
/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/lang/Math/
H A DMinMax.java34 static void go(String what, float result, float correctResult) { argument
35 String v = what + ": got " + result + ", expected " + correctResult;
36 if (!(Float.toString(result).equals(Float.toString(correctResult))))
41 static void go(String what, double result, double correctResult) { argument
42 String v = what + ": got " + result + ", expected " + correctResult;
43 if (!(Double.toString(result).equals(Double.toString(correctResult))))
/openjdk7/jdk/test/java/security/CodeSource/
H A DImplies.java48 private static void testImplies(URL thisURL, URL thatURL, boolean result) argument
56 if (thisCs.implies(thatCs) != result) {
/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/src/share/classes/java/nio/channels/
H A DCompletionHandler.java29 * A handler for consuming the result of an asynchronous I/O operation.
32 * handler to be specified to consume the result of an asynchronous operation.
39 * @param <V> The result type of the I/O operation
50 * @param result
51 * The result of the I/O operation.
55 void completed(V result, A attachment); argument
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1AllocRegion.inline.hpp62 HeapWord* result = par_allocate(alloc_region, word_size, bot_updates); local
63 if (result != NULL) {
64 trace("alloc", word_size, result);
65 return result;
76 HeapWord* result = attempt_allocation(word_size, bot_updates); local
77 if (result != NULL) {
78 return result;
82 result = new_alloc_region_and_allocate(word_size, false /* force */);
83 if (result != NULL) {
84 trace("alloc locked (second attempt)", word_size, result);
97 HeapWord* result = new_alloc_region_and_allocate(word_size, true /* force */); local
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DvmPSOperations.hpp45 HeapWord* result() const { return _result; } function in class:VM_ParallelGCFailedAllocation
61 HeapWord* result() const { return _result; } function in class:VM_ParallelGCFailedPermanentAllocation
/openjdk7/hotspot/test/compiler/6916644/
H A DTest6916644.java34 static int result; field in class:Test6916644
39 result = (d <= 0.0D) ? i1 : i2;
/openjdk7/jaxp/src/org/w3c/dom/xpath/
H A DXPathExpression.java55 * Evaluates this XPath expression and returns a result.
68 * result will be coerced to return the specified type relying on
71 * @param result The <code>result</code> specifies a specific result
74 * the specified result, a new result object will be constructed and
77 * @return The result of the evaluation of the XPath expression.For XPath
80 * TYPE_ERR: Raised if the result cannot be converted to return the
92 Object result)
90 evaluate(Node contextNode, short type, Object result) argument
[all...]
/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/src/windows/native/sun/security/provider/
H A DWinCAPISeedGenerator.c48 jboolean result = JNI_FALSE; local
56 return result;
63 result = JNI_TRUE;
69 return result;
/openjdk7/jdk/test/java/lang/StrictMath/
H A DTests.java36 double result,
38 if (Double.compare(expected, result ) != 0) {
42 "\tgot " + result + "\t(" + Double.toHexString(result) + ").");
50 double result, double expected) {
51 if (Double.compare(expected, result ) != 0) {
56 "\tgot " + result + "\t(" + Double.toHexString(result) + ").");
34 test(String testName, double input, double result, double expected) argument
49 test(String testName, double input1, double input2, double result, double expected) argument
/openjdk7/jdk/test/sun/security/util/PropertyExpander/
H A DExpandAndEncode.java52 private static boolean checkAnswer(String result, int i) { argument
53 if (result.equals(answers[i])) {
57 System.out.println("Test#" + i + ": got " + result);
72 String result = PropertyExpander.expand(tests[i], true);
73 status &= checkAnswer(result, i);
/openjdk7/langtools/test/tools/apt/lib/
H A DTestProcessor.java32 * Invokes each method so annotated, and verifies the result.
60 boolean failed = false; // true if a test returns wrong result
68 Object result;
70 result = m.invoke(tester);
74 boolean ok = true; // result of this test
76 ok = verifyResults((Collection) result,
77 anno.result(), anno.ordered());
79 ok = verifyResult(result, anno.result());
83 System.out.println(">>> Got: " + result);
103 verifyResult(Object result, String[] expected) argument
113 verifyResults(Collection result, String[] expected, boolean ordered) argument
[all...]
/openjdk7/langtools/test/tools/javac/unit/
H A DT6198196.java37 static void test(String pathname, String filename, boolean result) { argument
40 if (result != fo.isNameCompatible(filename, JavaFileObject.Kind.SOURCE))
42 + filename + ") != " + result);
43 System.out.format("OK: endsWith(%s, %s) = %s%n", pathname, filename, result);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DValidatorHelper.java32 * specific source and result types.</p>
38 public void validate(Source source, Result result) argument
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/domapi/
H A DXPathExpressionImpl.java87 * <p>Evaluates this XPath expression and returns a result.</p>
100 * result will be coerced to return the specified type relying on
103 * @param result The <code>result</code> specifies a specific result
106 * the specified result, a new result object will be constructed and
109 * @return The result of the evaluation of the XPath expression.For XPath
112 * TYPE_ERR: Raised if the result cannot be converted to return the
127 Object result)
124 evaluate( Node contextNode, short type, Object result) argument
[all...]
/openjdk7/jaxp/src/javax/xml/transform/sax/
H A DTransformerHandler.java47 * @param result A <code>Result</code> instance, should not be
50 * @throws IllegalArgumentException if result is invalid for some reason.
52 public void setResult(Result result) throws IllegalArgumentException; argument
/openjdk7/corba/src/share/classes/org/omg/CORBA/
H A DServerRequest.java44 * well as methods for setting the result of the request either as a
58 * for either the expected result or for an exception, so the methods
59 * <code>result</code> and <code>except</code> take an <code>Any</code>
123 * will result in a <code>BAD_INV_ORDER</code> system exception.
155 * will result in a <code>BAD_INV_ORDER</code> system exception.
187 * has a non-void result type, the method <code>set_result</code>
189 * If the operation has a void result type, the method
195 * called will result in a BAD_INV_ORDER exception. Calling the method
199 * describe all parameters passed by the client, may result in a MARSHAL
206 public void result(An method in class:ServerRequest
[all...]

Completed in 1034 milliseconds

1234567891011>>