Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidHashMapTest.java115 boolean[] slots = new boolean[4]; in testKeyIterator()
134 if (slots[slot]) { in testKeyIterator()
137 slots[slot] = true; in testKeyIterator()
141 assertTrue(slots[0]); in testKeyIterator()
142 assertTrue(slots[1]); in testKeyIterator()
143 assertTrue(slots[2]); in testKeyIterator()
144 assertTrue(slots[3]); in testKeyIterator()
150 boolean[] slots = new boolean[4]; in testValueIterator()
169 if (slots[slot]) { in testValueIterator()
172 slots[slot] = true; in testValueIterator()
[all …]
/libcore/ojluni/src/main/java/sun/invoke/util/
DWrapper.java81 static int format(int kind, int size, int slots) { in format() argument
88 assert((slots == 2) ? (size == 64) : in format()
89 (slots == 1) ? (size <= 32) : in format()
91 return kind | (size << SIZE_SHIFT) | (slots << SLOT_SHIFT); in format()
104 static int other(int slots) { return slots << SLOT_SHIFT; } in other() argument
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodType.java176 int slots = 0; in checkPtypes() local
180 slots++; in checkPtypes()
183 checkSlotCount(ptypes.length + slots); in checkPtypes()
184 return slots; in checkPtypes()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1211 ArrayList<ClassDataSlot> slots = new ArrayList<>(); in getClassDataLayout0() local
1241 slots.add(new ClassDataSlot( in getClassDataLayout0()
1248 slots.add(new ClassDataSlot(d.getVariantFor(match), true)); in getClassDataLayout0()
1253 slots.add(new ClassDataSlot( in getClassDataLayout0()
1258 Collections.reverse(slots); in getClassDataLayout0()
1259 return slots.toArray(new ClassDataSlot[slots.size()]); in getClassDataLayout0()
DObjectOutputStream.java1536 ObjectStreamClass.ClassDataSlot[] slots = desc.getClassDataLayout(); in writeSerialData() local
1537 for (int i = 0; i < slots.length; i++) { in writeSerialData()
1538 ObjectStreamClass slotDesc = slots[i].desc; in writeSerialData()
DObjectInputStream.java1994 ObjectStreamClass.ClassDataSlot[] slots = desc.getClassDataLayout(); in readSerialData() local
1995 for (int i = 0; i < slots.length; i++) { in readSerialData()
1996 ObjectStreamClass slotDesc = slots[i].desc; in readSerialData()
1998 if (slots[i].hasData) { in readSerialData()