/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 432 Entry[] tab = table; in getEntryAfterMiss() local 433 int len = tab.length; in getEntryAfterMiss() 443 e = tab[i]; in getEntryAfterMiss() 461 Entry[] tab = table; in set() local 462 int len = tab.length; in set() 465 for (Entry e = tab[i]; in set() 467 e = tab[i = nextIndex(i, len)]) { in set() 481 tab[i] = new Entry(key, value); in set() 491 Entry[] tab = table; in remove() local 492 int len = tab.length; in remove() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | IdentityHashMap.java | 326 Object[] tab = table; in get() local 327 int len = tab.length; in get() 330 Object item = tab[i]; in get() 332 return (V) tab[i + 1]; in get() 350 Object[] tab = table; in containsKey() local 351 int len = tab.length; in containsKey() 354 Object item = tab[i]; in containsKey() 373 Object[] tab = table; in containsValue() local 374 for (int i = 1; i < tab.length; i += 2) in containsValue() 375 if (tab[i] == value && tab[i - 1] != null) in containsValue() [all …]
|
D | Hashtable.java | 298 HashtableEntry<?,?> tab[] = table; in contains() local 299 for (int i = tab.length ; i-- > 0 ;) { in contains() 300 for (HashtableEntry<?,?> e = tab[i] ; e != null ; e = e.next) { in contains() 336 HashtableEntry<?,?> tab[] = table; in containsKey() local 338 int index = (hash & 0x7FFFFFFF) % tab.length; in containsKey() 339 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { in containsKey() 364 HashtableEntry<?,?> tab[] = table; in get() local 366 int index = (hash & 0x7FFFFFFF) % tab.length; in get() 367 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { in get() 424 HashtableEntry<?,?> tab[] = table; in addEntry() local [all …]
|
D | HashMap.java | 567 Node<K,V>[] tab; Node<K,V> first, e; int n; K k; in getNode() local 568 if ((tab = table) != null && (n = tab.length) > 0 && in getNode() 569 (first = tab[(n - 1) & hash]) != null) { in getNode() 626 Node<K,V>[] tab; Node<K,V> p; int n, i; in putVal() local 627 if ((tab = table) == null || (n = tab.length) == 0) in putVal() 628 n = (tab = resize()).length; in putVal() 629 if ((p = tab[i = (n - 1) & hash]) == null) in putVal() 630 tab[i] = newNode(hash, key, value, null); in putVal() 637 e = ((TreeNode<K,V>)p).putTreeVal(this, tab, hash, key, value); in putVal() 643 treeifyBin(tab, hash); in putVal() [all …]
|
D | WeakHashMap.java | 397 Entry<K,V>[] tab = getTable(); in get() local 398 int index = indexFor(h, tab.length); in get() 399 Entry<K,V> e = tab[index]; in get() 427 Entry<K,V>[] tab = getTable(); in getEntry() local 428 int index = indexFor(h, tab.length); in getEntry() 429 Entry<K,V> e = tab[index]; in getEntry() 450 Entry<K,V>[] tab = getTable(); in put() local 451 int i = indexFor(h, tab.length); in put() 453 for (Entry<K,V> e = tab[i]; e != null; e = e.next) { in put() 463 Entry<K,V> e = tab[i]; in put() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 762 static final <K,V> Node<K,V> tabAt(Node<K,V>[] tab, int i) { in tabAt() argument 763 return (Node<K,V>)U.getObjectVolatile(tab, ((long)i << ASHIFT) + ABASE); in tabAt() 766 static final <K,V> boolean casTabAt(Node<K,V>[] tab, int i, in casTabAt() argument 768 return U.compareAndSwapObject(tab, ((long)i << ASHIFT) + ABASE, c, v); in casTabAt() 771 static final <K,V> void setTabAt(Node<K,V>[] tab, int i, Node<K,V> v) { in setTabAt() argument 772 U.putObjectVolatile(tab, ((long)i << ASHIFT) + ABASE, v); in setTabAt() 943 Node<K,V>[] tab; Node<K,V> e, p; int n, eh; K ek; in get() local 945 if ((tab = table) != null && (n = tab.length) > 0 && in get() 946 (e = tabAt(tab, (n - 1) & h)) != null) { in get() 1022 for (Node<K,V>[] tab = table;;) { in putVal() [all …]
|
/libcore/luni/src/test/resources/out_hb/ |
D | staff.out | 13 This is an adjacent CDATASection with a reference to a tab &tab;
|
/libcore/luni/src/test/resources/out_dh/ |
D | staff.out | 13 This is an adjacent CDATASection with a reference to a tab &tab;
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | HashMap.java | 102 final void treeifyBin(java.util.HashMap.Node<K, V>[] tab, int hash) { in treeifyBin() argument 561 java.util.HashMap.Node<K, V>[] tab, java.util.HashMap.TreeNode<K, V> root) { in moveRootToFront() argument 577 void treeify(java.util.HashMap.Node<K, V>[] tab) { in treeify() argument 586 java.util.HashMap<K, V> map, java.util.HashMap.Node<K, V>[] tab, int h, K k, V v) { in putTreeVal() argument 591 java.util.HashMap<K, V> map, java.util.HashMap.Node<K, V>[] tab, boolean movable) { in removeTreeNode() argument 597 java.util.HashMap.Node<K, V>[] tab, in split() argument
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | GroupByOpTest.java | 134 Collector<Integer, ?, Map<Object, List<Integer>>> tab = Collectors.groupingBy(md.m); in testOps() local 137 .terminal(s -> s, s -> s.collect(tab)) in testOps()
|
/libcore/ojluni/ |
D | NOTICE | 48 * tab size: 8 (not used)
|