Searched defs:result (Results 26 - 50 of 605) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DCompletionService.java82 * @param result the result to return upon successful completion
85 * result value upon completion
90 Future<V> submit(Runnable task, V result); argument
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/share/vm/ci/
H A DciInstance.cpp68 ciConstant result; local
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DparallelScavengeHeap.inline.hpp62 bool result = ((HeapWord*)p) >= young_gen()->reserved().start(); local
63 assert(result == young_gen()->is_in_reserved(p),
64 err_msg("incorrect test - result=%d, p=" PTR_FORMAT, result, (void*)p));
65 return result;
/openjdk7/hotspot/src/share/vm/memory/
H A DblockOffsetTable.inline.hpp55 size_t result = delta >> LogN; local
56 assert(result < _vs.committed_size(), "bad index from address");
57 return result;
62 HeapWord* result = _reserved.start() + (index << LogN_words);
63 assert(result >= _reserved.start() && result < _reserved.end(),
65 return result;
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dvm_version_sparc.cpp341 unsigned int result; local
345 result = nof_parallel_worker_threads(5, 16, 8);
347 result = nof_parallel_worker_threads(5, 16, 8);
349 result = nof_parallel_worker_threads(5, 8, 8);
351 return result;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DContextAction.java42 private Lookup.Result<T> result = null; field in class:ContextAction
54 result = context.lookupResult(contextClass());
55 result.addLookupListener(this);
60 if (result.allItems().size() != 0) {
61 update(result.allInstances().iterator().next());
69 final T t = result.allInstances().iterator().next();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/actions/
H A DExportAction.java50 private final Lookup.Result<ExportCookie> result; field in class:ExportAction
56 result = lookup.lookup(new Lookup.Template<ExportCookie>(ExportCookie.class));
57 result.addLookupListener(this);
62 super.setEnabled(result.allInstances().size() > 0);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCodeBuffer.hpp58 // is installed, so you can't inline the result in code.
62 void *result = masm()->pc(); local
64 return result;
/openjdk7/hotspot/test/compiler/6378821/
H A DTest6378821.java47 static void check(int i, int expected, int result) { argument
48 if (result != expected) {
49 throw new InternalError("Wrong population count for " + i + ": " + result + " != " + expected);
53 static void check(long l, int expected, int result) { argument
54 if (result != expected) {
55 throw new InternalError("Wrong population count for " + l + ": " + result + " != " + expected);
/openjdk7/jaxp/src/org/w3c/dom/xpath/
H A DXPathEvaluator.java77 * within the expression will result in <code>DOMException</code>
108 * Evaluates an XPath expression string and returns a result of the
126 * within the expression will result in <code>DOMException</code>
129 * result will be returned as the corresponding type.For XPath 1.0
132 * @param result The <code>result</code> specifies a specific result
135 * the specified result, a new result object will be constructed and
138 * @return The result o
155 evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) argument
[all...]
/openjdk7/jdk/src/solaris/native/java/lang/
H A DProcessEnvironment_md.c51 jobjectArray result; local
60 result = (*env)->NewObjectArray(env, 2*count, byteArrCls, 0);
61 if (result == NULL) return NULL;
79 (*env)->SetObjectArrayElement(env, result, 2*j , var);
80 (*env)->SetObjectArrayElement(env, result, 2*j+1, val);
87 return result;
/openjdk7/jdk/src/solaris/native/java/nio/
H A DMappedByteBuffer.c40 int result = 0; local
54 result = mincore(a, (size_t)len, vec);
55 if (result == -1) {
77 int result = madvise((caddr_t)a, (size_t)len, MADV_WILLNEED); local
78 if (result == -1) {
89 int result = msync(a, (size_t)len, MS_SYNC); local
90 if (result == -1) {
/openjdk7/jdk/src/solaris/native/java/util/
H A DFileSystemPreferences.c42 int result; local
43 result = chmod(fname, permission);
44 if (result != 0)
45 result = errno;
47 return (jint) result;
58 * The result is a cookie that can be used later to unlock the file.
59 * On failure the result is zero.
66 int result[2]; local
85 result[1] = errno;
90 result[
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DDatagramDispatcher.c48 int result = recv(fd, buf, len, 0); local
49 if (result < 0 && errno == ECONNREFUSED) {
53 return convertReturnVal(env, result, JNI_TRUE);
62 ssize_t result = 0; local
74 result = recvmsg(fd, &m, 0);
75 if (result < 0 && errno == ECONNREFUSED) {
79 return convertLongReturnVal(env, (jlong)result, JNI_TRUE);
88 int result = send(fd, buf, len, 0); local
89 if (result < 0 && errno == ECONNREFUSED) {
93 return convertReturnVal(env, result, JNI_FALS
103 ssize_t result = 0; local
[all...]
H A DSocketChannelImpl.c56 int result = 0; local
64 result = poll(&poller, 1, block ? -1 : 0);
65 if (result < 0) {
69 if (!block && (result == 0))
75 result = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &n);
76 if (result < 0) {
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DMacOSXNativeDispatcher.c41 jcharArray result = NULL; local
55 result = (*env)->NewCharArray(env, len);
56 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)&chars_buf);
64 return result;
67 result = (*env)->NewCharArray(env, len);
68 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)chars);
75 return result;
/openjdk7/jdk/src/windows/native/java/nio/
H A DMappedByteBuffer.c41 int result = VirtualQuery(a, &info, (DWORD)len);
58 BOOL result; local
68 result = FlushViewOfFile(a, (DWORD)len);
69 if ((result != 0) || (GetLastError() != ERROR_LOCK_VIOLATION))
78 if (result != 0) {
91 result = FlushFileBuffers(h);
92 if (result == 0 && GetLastError() == ERROR_ACCESS_DENIED) {
94 result = 1;
98 if (result == 0) {
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileKey.c51 BOOL result; local
54 result = GetFileInformationByHandle(fileHandle, &fileInfo);
55 if (result) {
/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DRegistryFileTypeDetector.c43 jstring result = NULL; local
55 result = (*env)->NewString(env, (const jchar*)&data, len);
61 return result;
/openjdk7/jdk/test/java/lang/Double/
H A DParseHexFloatingPoint.java43 double result, double expected) {
46 if (Double.compare(result, expected) != 0 ) {
50 " got " + result + ".");
89 double result = Double.parseDouble(s5);
91 s5, result, (signs[n].equals("-") ?
339 * right result since:
418 float result = Float.parseFloat(resultIn);
420 if( Float.compare(expected, result) != 0) {
424 System.err.println("Rounded = " + Float.toHexString(result));
42 test(String testName, String input, double result, double expected) argument
/openjdk7/jdk/src/share/instrument/
H A DReentrancy.c108 jboolean result = JNI_FALSE; local
121 result = JNI_FALSE;
135 result = JNI_FALSE;
138 result = JNI_TRUE;
142 return result;
/openjdk7/jdk/src/share/native/java/lang/reflect/
H A DProxy.c56 jclass result = 0; local
102 result = (*env)->DefineClass(env, utfName, loader, body, length);
109 return result;
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DDeviceTables.cpp50 le_int16 result = 0; local
61 result = field;
64 result |= ~ fieldMasks[format];
68 return result;
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantLock/
H A DSimpleReentrantLockLoops.java76 private volatile int result = 17; field in class:SimpleReentrantLockLoops.ReentrantLockLoop
99 int r = result;
101 System.out.println("useless result: " + r);
129 result += sum;

Completed in 45 milliseconds

1234567891011>>