Searched refs:candidate (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/hotspot/src/os/solaris/vm/
H A Dthread_solaris.inline.hpp56 Thread* candidate = ThreadLocalStorage::_get_thread_cache[ix]; local
57 if (candidate->self_raw_id() == raw) {
59 return candidate;
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DPerfDataFile.java119 File candidate = new File(dir, name);
120 return ((candidate.isDirectory() || candidate.isFile())
121 && candidate.canRead());
130 File candidate = null;
139 candidate = new File(f.getName(), name);
146 candidate = f;
150 candidate = f;
153 if (candidate.exists() && candidate
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Dforte.cpp270 frame candidate = *fr; local
284 if (!candidate.safe_for_sender(thread)) return false;
285 candidate = candidate.sender(&map);
286 if (candidate.cb() != NULL) break;
288 if (candidate.cb() == NULL) return false;
299 if (candidate.is_first_frame()) {
305 if (candidate.is_interpreted_frame()) {
306 if (is_decipherable_interpreted_frame(thread, &candidate, method_p, bci_p)) {
307 *initial_frame_p = candidate;
[all...]
/openjdk7/jdk/src/share/classes/java/math/
H A DBitSieve.java201 BigInteger candidate = initValue.add(
203 if (candidate.primeToCertainty(certainty, random))
204 return candidate;
H A DBigInteger.java586 // Construct a candidate
631 BigInteger candidate = searchSieve.retrieve(p, certainty, rnd);
633 while ((candidate == null) || (candidate.bitLength() != bitLength)) {
639 candidate = searchSieve.retrieve(p, certainty, rnd);
641 return candidate;
706 BigInteger candidate = searchSieve.retrieve(result,
708 if (candidate != null)
709 return candidate;
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DMethodSet.java164 MemberDefinition candidate;
167 candidate = (MemberDefinition) matches.next();
168 if (candidate.getType().equalArguments(type)) {
169 return candidate;
/openjdk7/hotspot/test/compiler/6865031/
H A DTest.java291 V candidate = e.get();
292 if (e.hash == h && eq(key, candidate))
294 return candidate;
337 V candidate = e.get();
338 if (h == e.hash && eq(key, candidate))
340 return candidate;
451 V candidate = e.get();
452 if (h == e.hash && eq(key, candidate))
463 return candidate;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DClassTypeImpl.java123 Method candidate = (Method)iter.next();
124 if (candidate.name().equals(name) &&
125 candidate.signature().equals(signature) &&
126 !candidate.isAbstract()) {
128 method = candidate;
H A DReferenceTypeImpl.java486 Method candidate = (Method)iter.next();
487 if (candidate.name().equals(name)) {
488 retList.add(candidate);
501 Method candidate = (Method)iter.next();
502 if (candidate.name().equals(name) &&
503 candidate.signature().equals(signature)) {
504 retList.add(candidate);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DMethodBreakpointSpec.java311 for (Method candidate : clazz.methods()) {
312 if (candidate.name().equals(methodName())) {
317 firstMatch = candidate;
320 // If argument types were specified, check against candidate
322 && compareArgTypes(candidate, argTypeNames) == true) {
323 exactMatch = candidate;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DBreakpointSpec.java356 for (Method candidate : refType.methods()) {
357 if (candidate.name().equals(methodName())) {
362 firstMatch = candidate;
365 // If argument types were specified, check against candidate
367 && compareArgTypes(candidate, argTypeNames) == true) {
368 exactMatch = candidate;
H A DEnv.java181 SourceCode candidate = iter.next();
182 if (candidate.fileName().equals(fileName)) {
183 code = candidate;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceManager.java154 SourceModel candidate = iter.next();
155 if (candidate.fileName().equals(path)) {
156 sm = candidate;
/openjdk7/jdk/src/solaris/classes/sun/net/sdp/
H A DSdpProvider.java145 byte[] candidate = address.getAddress();
147 if (candidate.length != addressAsBytes.length)
151 if (candidate[i] != addressAsBytes[i])
156 ((candidate[prefixByteCount] & mask) !=
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DClassTypeImpl.java302 for (Method candidate : visibleMethods()) {
303 if (candidate.name().equals(name) &&
304 candidate.signature().equals(signature) &&
305 !candidate.isAbstract()) {
307 method = candidate;
H A DReferenceTypeImpl.java544 for (Method candidate : methods) {
545 if (candidate.name().equals(name)) {
546 retList.add(candidate);
556 for (Method candidate : methods) {
557 if (candidate.name().equals(name) &&
558 candidate.signature().equals(signature)) {
559 retList.add(candidate);
/openjdk7/jdk/src/share/classes/java/util/
H A DCollections.java628 T candidate = i.next();
632 if (next.compareTo(candidate) < 0)
633 candidate = next;
635 return candidate;
665 T candidate = i.next();
669 if (comp.compare(next, candidate) < 0)
670 candidate = next;
672 return candidate;
698 T candidate = i.next();
702 if (next.compareTo(candidate) >
[all...]
H A DWeakHashMap.java1038 Entry<K,V> candidate = getEntry(e.getKey());
1039 return candidate != null && candidate.equals(e);
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DArrayNotificationBuffer.java364 NamedNotification candidate;
399 candidate = notificationAt(nextSeq);
404 candidate.getObjectName(),"addNotificationListener");
407 logger.debug("fetchNotifications", "candidate: " + candidate + " skipped. exception " + e);
415 logger.debug("fetchNotifications", "candidate: " +
416 candidate);
455 /* We have a candidate notification. See if it matches
460 ObjectName name = candidate.getObjectName();
461 Notification notif = candidate
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodManager.java525 InputMethodLocator candidate = javaInputMethodLocatorList.get(i);
526 String name = candidate.getActionCommandString();
528 locator = candidate;
582 InputMethodLocator candidate = javaInputMethodLocatorList.get(i);
583 if (candidate.isLocaleAvailable(locale)) {
584 return candidate.deriveLocator(locale);
/openjdk7/jdk/test/javax/management/MBeanInfo/
H A DNotificationInfoTest.java94 for (String candidate : candidates) {
95 File file = new File(javaHome + candidate);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMDefaultBase.java1357 int candidate=m_namespaceDeclSetElements.elementAt(-- wouldBeAt);
1360 // Special case: if the candidate is before the given node, and
1363 if (wouldBeAt == 0 && candidate < ancestor) {
1375 if (candidate == uppermostNSCandidateID) {
1382 if (candidate==ancestor) {
1385 } else if (candidate<ancestor) {
1389 } while (candidate < ancestor);
1392 candidate=m_namespaceDeclSetElements.elementAt(--wouldBeAt);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DQNameMap.java439 Entry<V> candidate = getEntry(e.nsUri,e.localName);
440 return candidate != null && candidate.equals(e);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DQNameMap.java452 Entry<V> candidate = getEntry(e.nsUri,e.localName);
453 return candidate != null && candidate.equals(e);
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompilerOracle.cpp56 static bool match(Symbol* candidate, Symbol* match, Mode match_mode);
139 bool MethodMatcher::match(Symbol* candidate, Symbol* match, Mode match_mode) { argument
145 return candidate == match;
149 const char * candidate_string = candidate->as_C_string();

Completed in 189 milliseconds

12