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

/libcore/luni/src/test/java/libcore/java/util/
H A DOldAndroidHashMapTest.java115 boolean[] slots = new boolean[4];
134 if (slots[slot]) {
137 slots[slot] = true;
141 assertTrue(slots[0]);
142 assertTrue(slots[1]);
143 assertTrue(slots[2]);
144 assertTrue(slots[3]);
150 boolean[] slots = new boolean[4];
169 if (slots[slot]) {
172 slots[slo
[all...]
/libcore/ojluni/src/main/java/sun/invoke/util/
H A DWrapper.java81 static int format(int kind, int size, int slots) { argument
88 assert((slots == 2) ? (size == 64) :
89 (slots == 1) ? (size <= 32) :
91 return kind | (size << SIZE_SHIFT) | (slots << SLOT_SHIFT);
104 static int other(int slots) { return slots << SLOT_SHIFT; } argument
111 /** How many JVM stack slots occupied by the wrapped value? Returns 0 for VOID. */
115 /** Does the wrapped value occupy two JVM stack slots? */
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DMethodType.java136 * is the maximum number of <em>slots</em>
157 * which are the slots occupied by invoke method handle, and the
173 /** Return number of extra slots (count of long/double args). */
175 int slots = 0;
179 slots++;
182 checkSlotCount(ptypes.length + slots);
183 return slots;
389 * or if the resulting method type would have more than 255 parameter slots
412 * or if the resulting method type would have more than 255 parameter slots
427 * or if the resulting method type would have more than 255 parameter slots
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamClass.java1212 ArrayList<ClassDataSlot> slots = new ArrayList<>();
1242 slots.add(new ClassDataSlot(
1249 slots.add(new ClassDataSlot(d.getVariantFor(match), true));
1254 slots.add(new ClassDataSlot(
1258 // order slots from superclass -> subclass
1259 Collections.reverse(slots);
1260 return slots.toArray(new ClassDataSlot[slots.size()]);
H A DObjectOutputStream.java1536 ObjectStreamClass.ClassDataSlot[] slots = desc.getClassDataLayout();
1537 for (int i = 0; i < slots.length; i++) {
1538 ObjectStreamClass slotDesc = slots[i].desc;
H A DObjectInputStream.java1887 ObjectStreamClass.ClassDataSlot[] slots = desc.getClassDataLayout();
1888 for (int i = 0; i < slots.length; i++) {
1889 ObjectStreamClass slotDesc = slots[i].desc;
1891 if (slots[i].hasData) {

Completed in 90 milliseconds