Searched defs:current (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/java/java/security/
H A DDomainCombiner.java30 * @param current
31 * the protection domains of the current execution thread
37 ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned); argument
/libcore/luni/src/main/java/java/lang/
H A DInheritableThreadLocal.java54 Values values(Thread current) { argument
55 return current.inheritableValues;
59 Values initializeValues(Thread current) { argument
60 return current.inheritableValues = new Values();
H A DThreadLocal.java43 * Returns the value of this variable for the current thread. If an entry
48 * @return the current value of the variable for the calling thread.
69 * Provides the initial value of this variable for the current thread.
79 * Sets the value of this variable for the current thread. If set to
95 * Removes the entry for this variable in the current thread. If this call
113 Values initializeValues(Thread current) { argument
114 return current.localValues = new Values();
120 Values values(Thread current) { argument
121 return current.localValues;
/libcore/luni/src/main/java/java/text/
H A DCharacterIterator.java28 * A constant which indicates that there is no character at the current
43 * Returns the character at the current index.
45 * @return the current character, or {@code DONE} if the current index is
48 public char current(); method in interface:CharacterIterator
51 * Sets the current position to the begin index and returns the character at
73 * Returns the current index.
75 * @return the current index.
80 * Sets the current position to the end index - 1 and returns the character
88 * Increments the current inde
[all...]
H A DBreakIterator.java57 * the name), meaning it has a concept of a "current position" and methods like
59 * update the current position. All {@code BreakIterator}s uphold the following
64 * <li>The current position of the iterator is always a boundary position
69 * {@code DONE} is only returned when the current position is the end of the
70 * text and the user calls {@code next()}, or when the current position is the
195 * int current = wb.next();
196 * while (current != BreakIterator.DONE) {
197 * for (int p = last; p &lt; current; p++) {
201 * last = current;
202 * current
380 public abstract int current(); method in class:BreakIterator
[all...]
H A DRuleBasedBreakIterator.java25 * and we don't have Java implementations of those methods (other than the current ones, which
34 @Override public int current() { method in class:RuleBasedBreakIterator
35 return wrapped.current();
82 newText.current();
H A DStringCharacterIterator.java31 * The begin and current indices are set to the beginning of the string, the
45 * with the current index set to the specified value. The begin index is set
52 * the current index.
69 * with the begin, end and current index set to the specified values.
78 * the current index.
97 * string, begin, end, and current index as this iterator.
112 * Returns the character at the current index in the source string.
114 * @return the current character, or {@code DONE} if the current index is
117 public char current() { method in class:StringCharacterIterator
[all...]
H A DAttributedString.java92 * begin, end, and current index as this attributed iterator.
112 public char current() { method in class:AttributedString.AttributedIterator
146 * Returns the current index in the source String.
148 * @return the current index.
394 buffer.append(iterator.current());
410 while (iterator.current() != CharacterIterator.DONE) {
436 buffer.append(iterator.current());
/libcore/luni/src/main/java/java/sql/
H A DSQLException.java237 private SQLException current; field in class:SQLException.InternalIterator
240 current = e;
244 return current != null;
248 if (current == null) {
251 SQLException ret = current;
252 current = current.next;
H A DStatement.java46 * Passing this constant to {@link #getMoreResults} implies that the current
58 * Passing this constant to <i>getMoreResults</i> implies that the current
107 * Clears the current list of SQL commands for this statement.
404 * @return the current size limit, where {@code 0} means that there is no
416 * @return the current row limit, where {@code 0} means that there is no
425 * {@code ResultSet}. Any current {@code ResultSet} objects previously
440 * result is a {@code ResultSet}. Any current {@code ResultSet} objects
444 * @param current
458 public boolean getMoreResults(int current) throws SQLException; argument
465 * @return the current quer
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAttributedStringTest.java108 public char current() { method in class:AttributedStringTest.testAttributedCharacterIterator
/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java12 * A random number generator isolated to the current thread. Like the
24 * {@code ThreadLocalRandom.current().nextX(...)} (where
79 * Returns the current thread's {@code ThreadLocalRandom}.
81 * @return the current thread's {@code ThreadLocalRandom}
83 public static ThreadLocalRandom current() { method in class:ThreadLocalRandom
H A DLinkedBlockingQueue.java206 // * Tells whether both locks are held by current thread.
281 * less the current {@code size} of this queue.
757 private Node<E> current; field in class:LinkedBlockingQueue.Itr
764 current = head.next;
765 if (current != null)
766 currentElement = current.item;
773 return current != null;
797 if (current == null)
800 lastRet = current;
801 current
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeBreakIterator.java80 public int current() { method in class:NativeBreakIterator
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedStringTest.java270 public char current() { method in class:OldAttributedStringTest.testAttributedCharacterIterator
/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DReentrantReadWriteLock.java266 * The number of reentrant read locks held by current thread.
321 * Returns true if the current thread, when trying to acquire
328 * Returns true if the current thread, when trying to acquire
364 Thread current = Thread.currentThread();
369 if (w == 0 || current != getExclusiveOwnerThread())
380 setExclusiveOwnerThread(current);
385 Thread current = Thread.currentThread();
386 if (firstReader == current) {
394 if (rh == null || rh.tid != current.getId())
417 "attempt to unlock read lock, not locked by current threa
467 fullTryAcquireShared(Thread current) argument
[all...]
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp118 InternedString* current; local
119 while ((current = *(bucket++)) != NULL) {
121 env->DeleteGlobalRef(current->interned);
124 delete current;
163 * The JNI environment for the current thread. This should only be used
349 InternedString* current; local
350 while ((current = *(bucket++)) != NULL) {
351 if (current->hash != hash) continue;
352 if (!strcmp(s, current->bytes)) return current
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 2559 milliseconds