Searched refs:slot (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/io/
H A DEmulatedFields.java32 // A slot is a field plus its value
86 * Build emulated slots that correspond to emulated fields. A slot is a
118 ObjectSlot slot = findSlot(name, null);
119 if (slot == null) {
122 return slot.defaulted;
132 * null}, no such compatibility checking is performed and the slot is
140 * corresponding slot is returned.
141 * @return the object slot, or {@code null} if there is no field with that
147 ObjectSlot slot = slotsToSerialize[i];
148 if (slot
[all...]
H A DEmulatedFieldsForDumping.java200 for (EmulatedFields.ObjectSlot slot : emulatedFields.slots()) {
201 Object fieldValue = slot.getFieldValue();
202 Class<?> type = slot.getField().getType();
H A DObjectOutputStream.java905 for (EmulatedFields.ObjectSlot slot : accessibleSimulatedFields.slots()) {
906 Object fieldValue = slot.getFieldValue();
907 Class<?> type = slot.getField().getType();
/libcore/luni/src/main/java/java/lang/reflect/
H A DField.java74 private int slot; field in class:Field
98 this(orig.declaringClass, orig.type, orig.name, orig.slot);
106 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { argument
110 this.slot = slot;
130 Object[] annotation = getSignatureAnnotation(declaringClass, slot);
142 native private Object[] getSignatureAnnotation(Class declaringClass, int slot); argument
150 int flags = getFieldModifiers(declaringClass, slot);
182 int flags = getFieldModifiers(declaringClass, slot);
204 return getDeclaredAnnotations(declaringClass, slot);
206 getDeclaredAnnotations(Class declaringClass, int slot) argument
214 getAnnotation( Class<?> declaringClass, int slot, Class<A> annotationType) argument
223 isAnnotationPresent( Class<?> declaringClass, int slot, Class<? extends Annotation> annotationType) argument
482 getFieldModifiers(Class<?> declaringClass, int slot) argument
880 getField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck) argument
883 getDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
886 getIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
889 getJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
892 getZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
895 getFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
898 getCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
901 getSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
904 getBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
907 setField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, Object value) argument
910 setDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, double v) argument
913 setIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, int i) argument
916 setJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, long j) argument
919 setZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, boolean z) argument
922 setFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, float f) argument
925 setCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, char c) argument
928 setSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, short s) argument
931 setBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, byte b) argument
[all...]
H A DMethod.java80 private int slot; field in class:Method
119 orig.returnType, orig.name, orig.slot);
127 private Method(Class<?> declaring, Class<?>[] paramTypes, Class<?>[] exceptTypes, Class<?> returnType, String name, int slot) argument
131 this.slot = slot;
144 Object[] annotation = getSignatureAnnotation(declaringClass, slot);
157 static native Object[] getSignatureAnnotation(Class declaringClass, int slot); argument
267 return getDeclaredAnnotations(declaringClass, slot);
269 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot); argument
275 return getAnnotation(declaringClass, slot, annotationTyp
277 getAnnotation( Class<?> declaringClass, int slot, Class<A> annotationType) argument
286 isAnnotationPresent( Class<?> declaringClass, int slot, Class<? extends Annotation> annotationType) argument
319 getParameterAnnotations(Class declaringClass, int slot) argument
364 getDefaultValue(Class declaringClass, int slot) argument
419 getMethodModifiers(Class<?> declaringClass, int slot) argument
514 invokeNative(Object obj, Object[] args, Class<?> declaringClass, Class<?>[] parameterTypes, Class<?> returnType, int slot, boolean noAccessCheck) argument
[all...]
H A DConstructor.java75 int slot; field in class:Constructor
94 * @param slot
95 * the slot of the constructor inside the VM class structure
97 private Constructor (Class<T> declaringClass, Class<?>[] ptypes, Class<?>[] extypes, int slot){ argument
101 this.slot = slot;
105 Object[] annotation = Method.getSignatureAnnotation(declaringClass, slot);
203 return Method.getDeclaredAnnotations(declaringClass, slot);
210 return Method.getAnnotation(declaringClass, slot, annotationType);
217 return Method.isAnnotationPresent(declaringClass, slot, annotationTyp
420 constructNative(Object[] args, Class<T> declaringClass, Class<?>[] parameterTypes, int slot, boolean noAccessCheck) argument
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DExchanger.java79 * The basic idea is to maintain a "slot", which is a reference to
82 * slot is null, it CAS'es (compareAndSets) a Node there and waits
84 * sees that the slot is non-null, and so CASes it back to null,
87 * fail because a slot at first appears non-null but is null upon
93 * deteriorates due to CAS contention on the single slot when
99 * fails to CAS in its chosen slot, it picks an alternative slot
101 * CASes into a slot but no other thread arrives, it tries
102 * another, heading toward the zero slot, which always exists even
106 * Waiting: Slot zero is special in that it is the only slot tha
414 tryCancel(Node node, Slot slot) argument
433 spinWait(Node node, Slot slot) argument
463 await(Node node, Slot slot) argument
490 awaitNanos(Node node, Slot slot, long nanos) argument
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldAndroidHashMapTest.java120 int slot = 0;
123 slot = 0;
125 slot = 1;
127 slot = 2;
129 slot = 3;
134 if (slots[slot]) {
137 slots[slot] = true;
155 int slot = 0;
158 slot = 0;
160 slot
[all...]

Completed in 140 milliseconds