Searched refs:result (Results 126 - 150 of 1970) sorted by relevance

1234567891011>>

/openjdk7/hotspot/test/compiler/7052494/
H A DTest7052494.java37 int result = 0;
39 if (result >= limit)
41 result = i*2;
43 return result;
47 int result = 0;
49 if (result <= limit)
51 result = i*2;
53 return result;
77 int result = 0;
79 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...]
/openjdk7/jdk/test/java/util/Currency/
H A DPropertiesTest.sh54 result=$?
56 if [ $result -eq 0 ]
89 result=$?
91 if [ $result -eq 0 ]
104 result=$?
106 if [ $result -eq 0 ]
122 exit $result
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXObjectFactory.java48 XObject result;
52 result = (XObject) val;
56 result = new XString((String) val);
60 result = new XBoolean((Boolean)val);
64 result = new XNumber(((Double) val));
68 result = new XObject(val);
71 return result;
87 XObject result;
91 result = (XObject) val;
95 result
[all...]
/openjdk7/jdk/test/java/lang/management/OperatingSystemMXBean/
H A DPlatformMXBeanTest.java59 List<T> result = ManagementFactory.getPlatformMXBeans(c);
60 if (result.isEmpty()) {
62 } else if (result.size() == 1) {
63 return result.get(0);
66 result.size() + " number of instances");
/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/com/sun/javadoc/testLegacyTaglet/
H A DToDoTaglet.java167 String result = "\n<DT><B>" + HEADER + "</B><DD>";
168 result += "<table cellpadding=2 cellspacing=0><tr><td bgcolor=\"yellow\">";
171 result += ", ";
173 result += tags[i].text();
175 return result + "</td></tr></table></DD>\n";
/openjdk7/jdk/test/javax/management/MustBeValidMBeanInfo/
H A DMustBeValidCommand.java111 final MBeanAttributeInfo[] result =
113 for (int i=0;i<result.length;i++) {
119 result[i]=item;
121 return result;
125 final MBeanParameterInfo[] result =
127 for (int i=0;i<result.length;i++) {
132 result[i]=item;
134 return result;
138 final MBeanOperationInfo[] result =
141 for (int i=0;i<result
[all...]
/openjdk7/jdk/src/share/classes/sun/io/
H A DCharToBytePCK.java65 int result = 0;
76 if ((result = super.getNative(ch)) != 0) {
77 return result;
91 result = ((((c1 + 1 ) >> 1) + rowOffset) << 8) | (c2 + cellOffset);
94 return result;
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DMangle.java69 StringBuffer result = new StringBuffer(100);
75 result.append(ch);
78 result.append('_');
81 result.append('_');
82 result.append('_');
84 result.append('_');
86 result.append('_');
98 result.append(esc);
100 result.append(mangleChar(ch));
104 result
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeTranslator.java47 /** Visitor result field: a tree
49 protected JCTree result; field in class:TreeTranslator
59 JCTree result = this.result;
60 this.result = null;
61 return (T)result; // XXX cast
121 result = tree;
126 result = tree;
135 result = tree;
145 result
[all...]
/openjdk7/jdk/test/java/lang/instrument/
H A DRedefineMethodAddInvoke.sh73 result=$?
74 if [ "$result" = 0 ]; then
76 result=1
79 result=0
82 exit $result
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/
H A DMessages.java233 String result = m.getProperty (msgkey, msgkey);
235 int i = result.indexOf ("%1");
237 if ((i+2) < result.length ())
238 ending = result.substring (i+2);
239 result = result.substring (0, i) + parm1 + ending;
241 result += " " + parm1;
242 i = result.indexOf ("%2");
245 if ((i+2) < result.length ())
246 ending = result
[all...]
/openjdk7/jdk/src/windows/native/sun/net/dns/
H A DResolverConfigurationImpl.c94 char result[MAX_STR_LEN]; local
107 dwLen = sizeof(result);
109 (LPBYTE)&result, &dwLen);
112 if (strlen(result) > 0) {
113 strappend(sl, result);
165 result[0] = '\0';
166 dwLen = sizeof(result);
168 (LPBYTE)&result, &dwLen);
169 if (((ret != ERROR_SUCCESS) || (strlen(result) == 0)) &&
171 dwLen = sizeof(result);
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DjfieldIDWorkaround.hpp88 uintptr_t result = (uintptr_t) id >> address_shift; local
90 result &= small_offset_mask; // cut off the hash bits
92 return (intptr_t)result;
115 jfieldID result = (jfieldID) as_uint; local
121 verify_instance_jfieldID(k, result);
123 assert(raw_instance_offset(result) == (offset & large_offset_mask), "extract right offset");
124 return result;
140 jfieldID result = (jfieldID) id; local
141 assert(from_static_jfieldID(result) == id, "must produce the same static id");
142 return result;
148 JNIid* result = (JNIid*) id; local
[all...]
/openjdk7/jdk/test/java/lang/String/
H A DSplit.java40 String[] result = source.split(Integer.toString(x), limit);
45 if (result.length != 1)
47 if (!result[0].equals("012345678")) {
51 if (result.length != expectedLength) {
54 if (!result[0].equals(source.substring(0,x))) {
59 if (!result[0].equals(source.substring(0,10))) {
66 if (!result[1].equals(source.substring(x+1,10)))
74 String[] result = source.split("e", limit);
75 if (result.length != 1)
77 if (!result[
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dsecitem.c73 SECItem *result = NULL; local
82 result = PORT_ArenaZAlloc(arena, sizeof(SECItem), kmflag);
84 result = PORT_ZAlloc(sizeof(SECItem), kmflag);
86 if (result == NULL) {
91 result = item;
94 result->len = len;
97 result->data = PORT_ArenaAlloc(arena, len, kmflag);
99 result->data = PORT_Alloc(len, kmflag);
101 if (result->data == NULL) {
105 result
[all...]
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/jar/
H A DJarFileFactory.java76 JarFile result;
81 result = getCachedJarFile(url);
83 if (result == null) {
86 result = getCachedJarFile(url);
87 if (result == null) {
90 result = local_result;
99 result = URLJarFile.getJarFile(url, this);
101 if (result == null)
104 return result;
122 JarFile result
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUtility.java110 int result = 0;
155 result = dig;
166 result = (result << bitsPerDigit) | dig;
179 if (result < 0 || result >= 0x110000) {
187 UTF16.isLeadSurrogate((char) result)) {
197 result = UCharacterProperty.getRawSupplementary(
198 (char) result, (char) c);
202 return result;
282 recursiveAppendNumber(StringBuffer result, int n, int radix, int minDigits) argument
307 appendNumber(StringBuffer result, int n, int radix, int minDigits) argument
343 escapeUnprintable(StringBuffer result, int c) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousSocketChannelImpl.java180 * consume the result when the connection is established (or fails).
184 private final PendingFuture<Void,A> result; field in class:WindowsAsynchronousSocketChannelImpl.ConnectTask
186 ConnectTask(InetSocketAddress remote, PendingFuture<Void,A> result) { argument
188 this.result = result;
227 // synchronize on result to allow this thread handle the case
229 synchronized (result) {
230 overlapped = ioCache.add(result);
241 result.setResult(null);
253 result
376 private final PendingFuture<V,A> result; field in class:WindowsAsynchronousSocketChannelImpl.ReadTask
381 ReadTask(ByteBuffer[] bufs, boolean scatteringRead, PendingFuture<V,A> result) argument
650 private final PendingFuture<V,A> result; field in class:WindowsAsynchronousSocketChannelImpl.WriteTask
655 WriteTask(ByteBuffer[] bufs, boolean gatheringWrite, PendingFuture<V,A> result) argument
[all...]
/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/jdk/src/share/classes/java/awt/
H A DComponentOrientation.java179 ComponentOrientation result = null;
182 result = (ComponentOrientation)bdl.getObject("Orientation");
187 if (result == null) {
188 result = getOrientation(bdl.getLocale());
190 if (result == null) {
191 result = getOrientation(Locale.getDefault());
193 return result;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DTeeInputStream.java50 int result = source.read();
51 copySink.write(result);
52 return result;
72 int result = source.read(b, off, len);
74 return result;
78 int result = source.read(b);
80 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/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;

Completed in 603 milliseconds

1234567891011>>