Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidHashMapTest.java120 int slot = 0; in testKeyIterator() local
123 slot = 0; in testKeyIterator()
125 slot = 1; in testKeyIterator()
127 slot = 2; in testKeyIterator()
129 slot = 3; in testKeyIterator()
134 if (slots[slot]) { in testKeyIterator()
137 slots[slot] = true; in testKeyIterator()
155 int slot = 0; in testValueIterator() local
158 slot = 0; in testValueIterator()
160 slot = 1; in testValueIterator()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DShutdown.java97 public static void add(int slot, boolean registerShutdownInProgress, Runnable hook) { in add() argument
99 if (hooks[slot] != null) in add()
100 throw new InternalError("Shutdown hook at slot " + slot + " already registered"); in add()
106 if (state > HOOKS || (state == HOOKS && slot <= currentRunningHook)) in add()
110 hooks[slot] = hook; in add()
/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java310 private volatile Node slot; field in Exchanger
429 if ((q = slot) != null) { in slotExchange()
466 else if (slot != p) in slotExchange()
472 if (slot == p) in slotExchange()