Searched refs:current (Results 1 - 25 of 571) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/tools/jcmd/
H A Djcmd_Output1.awk3 totallines=0; matched=0; current=0
8 current=1;
15 current=1;
20 current=1;
25 current=1;
28 { totallines++; matched+=current; current=0; print $0 }
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicInteger.java84 * Gets the current value.
86 * @return the current value
119 int current = get();
120 if (compareAndSet(current, newValue))
121 return current;
127 * if the current value {@code ==} the expected value.
140 * if the current value {@code ==} the expected value.
155 * Atomically increments by one the current value.
161 int current = get();
162 int next = current
[all...]
H A DAtomicLong.java98 * Gets the current value.
100 * @return the current value
133 long current = get();
134 if (compareAndSet(current, newValue))
135 return current;
141 * if the current value {@code ==} the expected value.
154 * if the current value {@code ==} the expected value.
169 * Atomically increments by one the current value.
175 long current = get();
176 long next = current
[all...]
H A DAtomicMarkableReference.java78 * Returns the current value of the reference.
80 * @return the current value of the reference
87 * Returns the current value of the mark.
89 * @return the current value of the mark
96 * Returns the current values of both the reference and the mark.
101 * @return the current value of the reference
112 * current reference is {@code ==} to the expected reference
113 * and the current mark is equal to the expected mark.
136 * current reference is {@code ==} to the expected reference
137 * and the current mar
[all...]
H A DAtomicStampedReference.java78 * Returns the current value of the reference.
80 * @return the current value of the reference
87 * Returns the current value of the stamp.
89 * @return the current value of the stamp
96 * Returns the current values of both the reference and the stamp.
101 * @return the current value of the reference
112 * current reference is {@code ==} to the expected reference
113 * and the current stamp is equal to the expected stamp.
136 * current reference is {@code ==} to the expected reference
137 * and the current stam
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DNativeThread.java34 static long current() { method in class:NativeThread
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMDefaultBaseTraversers.java207 * Traverse to the next node after the current node.
210 * @param current The current node of the iteration.
214 public int next(int context, int current) argument
216 return getParent(current);
220 * Traverse to the next node after the current node that is matched
224 * @param current The current node of the iteration.
229 public int next(int context, int current, int expandedTypeID) argument
232 current
297 next(int context, int current) argument
313 next(int context, int current, int expandedTypeID) argument
463 next(int context, int current) argument
478 next(int context, int current, int expandedTypeID) argument
704 next(int context, int current) argument
733 next(int context, int current, int expandedTypeID) argument
808 next(int context, int current) argument
929 next(int context, int current) argument
961 next(int context, int current, int expandedTypeID) argument
997 next(int context, int current) argument
1012 next(int context, int current, int expandedTypeID) argument
1039 next(int context, int current) argument
1057 next(int context, int current, int expandedTypeID) argument
1090 next(int context, int current) argument
1108 next(int context, int current, int expandedTypeID) argument
1163 first(int current, int expandedTypeID) argument
1186 next(int context, int current) argument
1204 next(int context, int current, int expandedTypeID) argument
1248 next(int context, int current) argument
1277 next(int context, int current, int expandedTypeID) argument
1312 next(int context, int current) argument
1340 next(int context, int current, int expandedTypeID) argument
1373 next(int context, int current) argument
1388 next(int context, int current, int expandedTypeID) argument
1446 next(int context, int current) argument
1461 next(int context, int current, int expandedTypeID) argument
1507 next(int context, int current) argument
1533 next(int context, int current, int expandedTypeID) argument
1582 next(int context, int current) argument
1597 next(int context, int current, int expandedTypeID) argument
[all...]
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DResetPeakThreadCount.java72 long current;
75 current = startThreads(0, DAEMON_THREADS_1, EXPECTED_PEAK_DELTA_1);
77 checkThreadCount(previous, current, DAEMON_THREADS_1);
78 previous = current;
81 current = terminateThreads(0, TERMINATE_1);
83 checkThreadCount(previous, current, TERMINATE_1 * -1);
85 previous = current;
89 current = startThreads(DAEMON_THREADS_1, DAEMON_THREADS_2,
92 checkThreadCount(previous, current, DAEMON_THREADS_2);
93 previous = current;
224 checkThreadCount(long previous, long current, int expectedDelta) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDeepNodeListImpl.java40 * current state of the document tree. To put it another way, the
55 * getElementsByTagName case. The current solution is for Nodes to
166 protected Node nextMatchingElementAfter(Node current) { argument
169 while (current != null) {
171 if (current.hasChildNodes()) {
172 current = (current.getFirstChild());
176 else if (current != rootNode && null != (next = current.getNextSibling())) {
177 current
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DChunkInputStream.java38 Chunk current; field in class:ChunkInputStream
46 this.current = startPos;
47 len = current.data.size();
48 buf = current.data.read();
68 * Gets to the next chunk if we are done with the current one.
72 if (current == null) {
76 while(!part.parsed && current.next == null) {
79 current = current.next;
81 if (current
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DNativeThread.java36 // On systems that do not require this type of signalling, the current() method
46 static native long current(); method in class:NativeThread
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/interceptors/
H A DThreadCurrentStack.sjava62 void putPICurrent( PICurrent current ) {
64 // this current to the pool.
68 pool.add(currentIndex , current);
103 ThreadCurrentStack( ORB piOrb, PICurrent current ) {
108 currentContainer.add( currentIndex, current );
122 PICurrent current = currentPool.getPICurrent( );
123 if( current == null ) {
126 current = new PICurrent( piOrb, currentTemp.getSlotSize( ));
128 currentContainer.add( currentIndex, current );
151 PICurrent current
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTMAxisTraverser.java86 * Traverse to the next node after the current node.
90 * @param current The current node of the traversal. This is the last known
93 * should be set equal to current. Note that in order to test whether
99 public abstract int next(int context, int current); argument
102 * Traverse to the next node after the current node that is matched
107 * @param current The current node of the traversal. This is the last known
110 * should be set equal to current. Note that in order to test whether
117 public abstract int next(int context, int current, in argument
[all...]
/openjdk7/jdk/test/sun/net/www/protocol/jar/
H A Dcopyin.sh26 echo current directory is `pwd`
/openjdk7/hotspot/src/share/vm/runtime/
H A Djava.hpp113 // Returns true if the the current version has only been partially initialized
133 // Returns the current running JDK version
134 static JDK_Version current() { return _current; } function in class:VALUE_OBJ_CLASS_SPEC
200 // Convenience methods for queries on the current major/minor version
202 return current().compare_major(2) == 0;
206 return current().compare_major(3) == 0;
210 return current().compare_major(4) == 0;
214 return current().compare_major(5) == 0;
218 return current().compare_major(6) == 0;
222 return current()
[all...]
H A DjniHandles.cpp54 Thread* thread = Thread::current();
93 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
109 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
184 // Determine if the handle is somewhere in the current thread's stack.
289 assert(thread == NULL || thread == Thread::current(), "sanity check");
336 assert(thread == NULL || thread == Thread::current(), "sanity check");
385 for (JNIHandleBlock* current = current_chain; current != NULL;
386 current = current
[all...]
/openjdk7/jdk/src/share/classes/sun/reflect/generics/parser/
H A DSignatureParser.java51 // is an assertion that the current input is a particular
55 // assert(current() != x);
56 // if (current != x {error("expected an x");
83 // returns current element of the input and advances the input
91 // returns current element of the input
92 private char current(){ method in class:SignatureParser
105 // For debugging, prints current character to the end of the input.
195 // utilities current(), getNext() and/or advance().
197 // it expects the current input to be the first character it should parse
220 if (current()
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DJMXSubjectDomainCombiner.java52 public ProtectionDomain[] combine(ProtectionDomain[] current, argument
56 // 'current' protections domains, i.e. the ones that will be augmented
61 if (current == null || current.length == 0) {
65 newCurrent = new ProtectionDomain[current.length + 1];
66 for (int i = 0; i < current.length; i++) {
67 newCurrent[i] = current[i];
69 newCurrent[current.length] = pdNoPerms;
87 * Get the current AccessControlContext combined with the supplied subject.
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DSemaphore.java194 int current = getState();
195 int next = current + releases;
196 if (next < current) // overflow
198 if (compareAndSetState(current, next))
205 int current = getState();
206 int next = current - reductions;
207 if (next > current) // underflow
209 if (compareAndSetState(current, next))
216 int current = getState();
217 if (current
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/ior/
H A DIdentifiableContainerBase.java46 * The current implementation uses an ArrayList.
60 Object current = advance() ;
75 return current != null ;
80 Object result = current ;
81 current = advance() ;
/openjdk7/jdk/src/share/classes/java/text/
H A DCharacterIterator.java50 * Iterators maintain a current character index, whose valid range is from
53 * The current index can be retrieved by calling getIndex() and set directly
59 * also returned by other methods to indicate that the current index is
132 * Gets the character at the current position (as returned by getIndex()).
133 * @return the character at the current position or DONE if the current
137 public char current(); method in interface:CharacterIterator
142 * to getEndIndex(), the current index is reset to getEndIndex() and
151 * at the new index. If the current index is getBeginIndex(), the index
153 * @return the character at the new position or DONE if the current
[all...]
/openjdk7/jdk/test/sun/util/resources/Locale/
H A DBug4965260.java58 String current;
61 current = dutch.getDisplayLanguage(locale);
62 if (!current.equals(expectedNames[i])) {
67 message.append(current);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DSeqNumber.java37 public int current(); method in interface:SeqNumber
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunDisplayChanger.java126 DisplayChangedListener current =
130 log.finest("displayChanged for listener: " + current);
132 current.displayChanged();
139 listeners.remove(current);
172 DisplayChangedListener current =
176 log.finest("paletteChanged for listener: " + current);
178 current.paletteChanged();
185 listeners.remove(current);
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestListeners.java40 private static int current; field in class:TestListeners
50 current = 0;
52 if (current != 4)
53 throw new Error("Expected 4 listeners, but called " + current);
55 current = 0;
57 if (current != 2)
58 throw new Error("Expected 2 listeners, but called " + current);
102 if (this.index != current++)

Completed in 110 milliseconds

1234567891011>>