/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | NativeThread.java | 36 // On systems that do not require this type of signalling, the current() method 46 static native long current(); method in class:NativeThread
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | CharacterIterator.java | 50 * 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...] |
H A D | BreakIterator.java | 50 * maintain a current position and scan over text 196 * int current = wb.next(); 197 * while (current != BreakIterator.DONE) { 198 * for (int p = last; p < current; p++) { 202 * last = current; 203 * current = wb.next(); 255 * Returns the first boundary. The iterator's current position is set 263 * Returns the last boundary. The iterator's current position is set 271 * Returns the nth boundary from the current boundary. If either 273 * <code>BreakIterator.DONE</code> and the current positio 407 public abstract int current(); method in class:BreakIterator [all...] |
H A D | IcuIteratorWrapper.java | 266 * Sets the current iteration position to the beginning of the text. 276 * Sets the current iteration position to the end of the text. 293 * the current one. 330 * @return The position of the first break after the current position. 347 // if we start by updating the current iteration position to the 370 * Returns the current iteration position. 372 * @return The current iteration position. 374 public int current() { method in class:IcuIteratorWrapper 375 return wrapped.current(); 396 * the current iteratio [all...] |
H A D | StringCharacterIterator.java | 129 return current(); 143 return current(); 155 return current(); 159 * Implements CharacterIterator.current() for String. 160 * @see CharacterIterator#current 162 public char current() method in class:StringCharacterIterator
|
H A D | AttributedString.java | 61 int runArraySize; // current size of the arrays 247 for (char c = text.current(); text.getIndex() < endIndex; c = text.next()) 684 buf.append(iterator.current()); 743 // the current index for our iteration 815 public char current() { method in class:AttributedString.AttributedStringIterator 945 // ??? would be nice to return null, but current spec doesn't allow it 955 // ??? would be nice to return null, but current spec doesn't allow it 994 // set the current index, update information about the current run if necessary, 995 // return the character at the current inde [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | StringTokenIterator.java | 58 public String current() { method in class:StringTokenIterator
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | AttributedStringTest.java | 108 public char current() { method in class:AttributedStringTest.testAttributedCharacterIterator
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldAttributedStringTest.java | 270 public char current() { method in class:OldAttributedStringTest.testAttributedCharacterIterator
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Statement.java | 37 * <code>Statement</code> interface implicitly close a statment's current 104 * closed, its current <code>ResultSet</code> object, if one exists, is 123 * @return the current column size limit for columns storing character and 158 * @return the current maximum number of rows for a <code>ResultSet</code> 204 * @return the current query timeout limit in seconds; zero means there is 292 * current row in the <code>ResultSet</code> object generated by this 349 * Retrieves the current result as a <code>ResultSet</code> object. 352 * @return the current result as a <code>ResultSet</code> object or 361 * Retrieves the current result as an update count; 365 * @return the current resul 690 getMoreResults(int current) argument [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipOutputStream.java | 56 private XEntry current; field in class:ZipOutputStream 167 * start of the entry data. Closes the current entry if still active. 169 * was specified for the entry, and the current time will be used if 177 if (current != null) { 220 current = new XEntry(e, written); 221 xentries.add(current); 222 writeLOC(current); 226 * Closes the current ZIP entry and positions the stream for writing 233 if (current != null) { 234 ZipEntry e = current [all...] |
/libcore/ojluni/src/main/native/ |
H A D | java_props_md.c | 99 char name[20], *value, *current; local 112 current = getenv(name); 113 if (current) { 114 if (! strstr(current, value)) { 115 /* value is not found in current environment, append it */ 116 char *temp = malloc(strlen(envstring) + strlen(current) + 2); 119 strcat(temp, current); 550 "Properties init: Could not determine current working directory.");
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentLinkedQueue.java | 53 * asynchronous nature of these queues, determining the current number 125 * that is, we update head/tail when the current pointer appears 393 * asynchronous nature of these queues, determining the current 789 Node<E> current; // current node; null until initialized field in class:ConcurrentLinkedQueue.CLQSpliterator 802 ((p = current) != null || (p = q.first()) != null) && 812 if ((current = p) == null) 830 ((p = current) != null || (p = q.first()) != null)) { 847 ((p = current) != null || (p = q.first()) != null)) { 854 if ((current [all...] |
H A D | LinkedBlockingQueue.java | 209 // * Tells whether both locks are held by current thread. 284 * less the current {@code size} of this queue. 734 private Node<E> current; field in class:LinkedBlockingQueue.Itr 741 current = head.next; 742 if (current != null) 743 currentElement = current.item; 750 return current != null; 756 if (current == null) 758 lastRet = current; 763 for (Node<E> p = current, 803 Node<E> current; // current node; null until initialized field in class:LinkedBlockingQueue.LBQSpliterator [all...] |
H A D | ThreadLocalRandom.java | 23 * A random number generator isolated to the current thread. Like the 35 * {@code ThreadLocalRandom.current().nextX(...)} (where 122 * Initialize Thread fields for the current thread. Called only 138 * Returns the current thread's {@code ThreadLocalRandom}. 140 * @return the current thread's {@code ThreadLocalRandom} 142 public static ThreadLocalRandom current() { method in class:ThreadLocalRandom 741 consumer.accept(ThreadLocalRandom.current().internalNextInt(origin, bound)); 754 ThreadLocalRandom rng = ThreadLocalRandom.current(); 796 consumer.accept(ThreadLocalRandom.current().internalNextLong(origin, bound)); 809 ThreadLocalRandom rng = ThreadLocalRandom.current(); [all...] |
H A D | ConcurrentLinkedDeque.java | 39 * asynchronous nature of these deques, determining the current number 1072 * asynchronous nature of these deques, determining the current 1414 Node<E> current; // current node; null until initialized field in class:ConcurrentLinkedDeque.CLDSpliterator 1427 ((p = current) != null || (p = q.first()) != null)) { 1429 current = p = q.first(); 1439 if ((current = p) == null) 1458 ((p = current) != null || (p = q.first()) != null)) { 1475 ((p = current) != null || (p = q.first()) != null)) { 1482 if ((current [all...] |
H A D | LinkedBlockingDeque.java | 680 * less the current {@code size} of this deque. 1104 Node<E> current; // current node; null until initialized field in class:LinkedBlockingDeque.LBDSpliterator 1121 ((h = current) != null || (h = q.first) != null) && 1126 Node<E> p = current; 1138 if ((current = p) == null) { 1161 Node<E> p = current; 1191 if (current == null) 1192 current = q.first; 1193 while (current ! [all...] |
H A D | LinkedTransferQueue.java | 34 * asynchronous nature of these queues, determining the current number 181 * path from the current "head" node to be closer to the currently 199 * pointer links to itself, it indicates that the current thread 202 * current tail starting from "tail" may also encounter 222 * current pointer appears to be two or more steps away from the 277 * Starting at current tail pointer, find the actual last node 287 * by continuing the traversal at current head. 294 * the current thread was interrupted or the wait timed out. On 298 * it tries to unsplice any nodes between the current "head" 658 * in any current call 994 Node current; // current node; null until initialized field in class:LinkedTransferQueue.LTQSpliterator [all...] |
H A D | ConcurrentSkipListMap.java | 65 * asynchronous nature of these maps, determining the current number 255 * requirement for a map is slightly less than for the current 261 * than the current level adds a level to the head index by 430 * actually called in any current code checking for markers 451 * @param f the assumed current successor of this node 494 * Creates and returns a new SimpleImmutableEntry holding current 566 * @param succ the expected current successor 580 * @param succ the expected current successor 673 * predecessor b's current successor, which means that 974 * unless current threa 3279 Node<K,V> current; // current traversal node; initialize at origin field in class:ConcurrentSkipListMap.CSLMSpliterator [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | ReentrantReadWriteLock.java | 267 * The number of reentrant read locks held by current thread. 322 * Returns true if the current thread, when trying to acquire 329 * Returns true if the current thread, when trying to acquire 365 Thread current = Thread.currentThread(); 370 if (w == 0 || current != getExclusiveOwnerThread()) 381 setExclusiveOwnerThread(current); 386 Thread current = Thread.currentThread(); 387 if (firstReader == current) { 395 if (rh == null || rh.tid != getThreadId(current)) 418 "attempt to unlock read lock, not locked by current threa 468 fullTryAcquireShared(Thread current) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | LinkedList.java | 1179 Node<E> current; // current node; null until initialized field in class:LinkedList.LLSpliterator 1198 current = lst.first; 1210 if (s > 1 && (p = current) != null) { 1219 current = p; 1230 if ((n = getEst()) > 0 && (p = current) != null) { 1231 current = null; 1246 if (getEst() > 0 && (p = current) != null) { 1249 current = p.next;
|
H A D | WeakHashMap.java | 457 * If current capacity is MAXIMUM_CAPACITY, this method does not 462 * must be greater than current capacity unless current 1040 WeakHashMap.Entry<K,V> current; // current node field in class:WeakHashMap.WeakHashMapSpliterator 1041 int index; // current index, modified on advance/split 1101 (i < (index = hi) || current != null)) { 1102 WeakHashMap.Entry<K,V> p = current; 1103 current = null; // exhaust 1128 while (current ! [all...] |
H A D | HashMap.java | 59 * current capacity, the hash table is <i>rehashed</i> (that is, internal data 494 * If current capacity is MAXIMUM_CAPACITY, this method does not 499 * must be greater than current capacity unless current 518 * Transfers all entries from current table to newTable. 833 int index; // current slot 834 HashMapEntry<K,V> current; // current entry field in class:HashMap.HashIterator 861 current = e; 866 if (current 900 HashMapEntry<K,V> current; // current entry field in class:HashMap.HashMapSpliterator [all...] |
H A D | TreeMap.java | 2565 * @param level the current level of tree. Initial call should be 0. 2586 * indices to pull out of the iterator or stream for current subtree. 2697 * right-hand splits replace the current fence with its left 2719 TreeMapEntry<K,V> current; // traverser; initially first node in range field in class:TreeMap.TreeMapSpliterator 2729 this.current = origin; 2740 current = (s == -1) ? t.getFirstEntry() : t.getLastEntry(); 2768 TreeMapEntry<K,V> e = current, f = fence, 2778 (tree, e, current = s, -1, est >>>= 1, expectedModCount); 2789 if ((e = current) != null && e != f) { 2790 current [all...] |
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 119 InternedString* current; local 120 while ((current = *(bucket++)) != NULL) { 122 env->DeleteGlobalRef(current->interned); 125 delete current; 164 * The JNI environment for the current thread. This should only be used 350 InternedString* current; local 351 while ((current = *(bucket++)) != NULL) { 352 if (current->hash != hash) continue; 353 if (!strcmp(s, current->bytes)) return current [all...] |