/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFields.java | 32 // A slot is a field plus its value 88 * Build emulated slots that correspond to emulated fields. A slot is a 120 ObjectSlot slot = findSlot(name, null); 121 if (slot == null) { 124 return slot.defaulted; 134 * null}, no such compatibility checking is performed and the slot is 142 * corresponding slot is returned. 143 * @return the object slot, or {@code null} if there is no field with that 150 ObjectSlot slot = slotsToSerialize[i]; 151 if (slot [all...] |
H A D | EmulatedFieldsForDumping.java | 198 EmulatedFields.ObjectSlot slot = slots[i]; 199 Object fieldValue = slot.getFieldValue(); 200 Class<?> type = slot.getField().getType();
|
H A D | ObjectOutputStream.java | 1041 EmulatedFields.ObjectSlot slot = slots[i]; 1042 Object fieldValue = slot.getFieldValue(); 1043 Class<?> type = slot.getField().getType();
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | Field.java | 61 private int slot; field in class:Field 85 this(orig.declaringClass, orig.type, orig.name, orig.slot); 93 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { argument 97 this.slot = slot; 117 Object[] annotation = getSignatureAnnotation(declaringClass, slot); 129 native private Object[] getSignatureAnnotation(Class declaringClass, int slot); argument 138 int flags = getFieldModifiers(declaringClass, slot); 172 int flags = getFieldModifiers(declaringClass, slot); 196 return getDeclaredAnnotations(declaringClass, slot); 199 getDeclaredAnnotations(Class declaringClass, int slot) argument 469 getFieldModifiers(Class<?> declaringClass, int slot) argument 885 getField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck) argument 888 getDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 891 getIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 894 getJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 897 getZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 900 getFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 903 getCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 906 getSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 909 getBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no) argument 912 setField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, Object value) argument 915 setDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, double v) argument 918 setIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, int i) argument 921 setJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, long j) argument 924 setZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, boolean z) argument 927 setFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, float f) argument 930 setCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, char c) argument 933 setSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, short s) argument 936 setBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, int type_no, byte b) argument [all...] |
H A D | Method.java | 52 private int slot; field in class:Method 91 orig.returnType, orig.name, orig.slot); 99 private Method(Class<?> declaring, Class<?>[] paramTypes, Class<?>[] exceptTypes, Class<?> returnType, String name, int slot) argument 103 this.slot = slot; 116 Object[] annotation = getSignatureAnnotation(declaringClass, slot); 130 int slot); 248 return getDeclaredAnnotations(declaringClass, slot); 251 int slot); 278 = getParameterAnnotations(declaringClass, slot); 129 getSignatureAnnotation(Class declaringClass, int slot) argument 250 getDeclaredAnnotations(Class declaringClass, int slot) argument 285 getParameterAnnotations(Class declaringClass, int slot) argument 339 getDefaultValue(Class declaringClass, int slot) argument 403 getMethodModifiers(Class<?> decl_class, int slot) argument 524 invokeNative(Object obj, Object[] args, Class<?> declaringClass, Class<?>[] parameterTypes, Class<?> returnType, int slot, boolean noAccessCheck) argument [all...] |
H A D | Constructor.java | 79 int slot; field in class:Constructor 98 * @param slot 99 * the slot of the constructor inside the VM class structure 101 private Constructor (Class<T> declaringClass, Class<?>[] ptypes, Class<?>[] extypes, int slot){ argument 105 this.slot = slot; 109 Object[] annotation = getSignatureAnnotation(declaringClass, slot); 123 int slot); 219 return getDeclaredAnnotations(declaringClass, slot); 222 int slot); 122 getSignatureAnnotation(Class declaringClass, int slot) argument 221 getDeclaredAnnotations(Class declaringClass, int slot) argument 242 getParameterAnnotations(Class declaringClass, int slot) argument 334 getConstructorModifiers(Class<T> declaringClass, int slot) argument 449 constructNative(Object[] args, Class<T> declaringClass, Class<?>[] parameterTypes, int slot, boolean noAccessCheck) argument [all...] |
/dalvik/vm/native/ |
H A D | java_lang_reflect_Constructor.c | 25 * public int getConstructorModifiers(Class declaringClass, int slot) 32 int slot = args[2]; local 35 meth = dvmSlotToMethod(declaringClass, slot); 41 * Class[] parameterTypes, int slot, boolean noAccessCheck) 56 int slot = args[4]; local 81 meth = dvmSlotToMethod(declaringClass, slot); 90 * public Annotation[] getDeclaredAnnotations(Class declaringClass, int slot) 99 int slot = args[2]; local 102 meth = dvmSlotToMethod(declaringClass, slot); 111 * public Annotation[][] getParameterAnnotations(Class declaringClass, int slot) 120 int slot = args[2]; local 141 int slot = args[2]; local [all...] |
H A D | java_lang_reflect_Method.c | 25 * private int getMethodModifiers(Class decl_class, int slot) 35 int slot = args[2]; local 38 meth = dvmSlotToMethod(declaringClass, slot); 44 * Class[] parameterTypes, Class returnType, int slot, boolean noAccessCheck) 57 int slot = args[6]; local 66 meth = dvmSlotToMethod(declaringClass, slot); 117 * public Annotation[] getDeclaredAnnotations(Class declaringClass, int slot) 126 int slot = args[2]; local 129 meth = dvmSlotToMethod(declaringClass, slot); 138 * public Annotation[] getParameterAnnotations(Class declaringClass, int slot) 147 int slot = args[2]; local 169 int slot = args[2]; local 194 int slot = args[2]; local [all...] |
H A D | java_lang_reflect_Field.c | 60 int slot, bool isSetOperation, bool noAccessCheck) 65 field = dvmSlotToField(declaringClass, slot); 143 * public int getFieldModifiers(Class declaringClass, int slot) 150 int slot = args[2]; local 153 field = dvmSlotToField(declaringClass, slot); 159 * int slot, boolean noAccessCheck) 170 int slot = args[4]; local 179 fieldPtr = getFieldDataAddr(obj, declaringClass, slot, false,noAccessCheck); 199 * int slot, boolean noAccessCheck, Object value) 211 int slot local 59 getFieldDataAddr(Object* obj, ClassObject* declaringClass, int slot, bool isSetOperation, bool noAccessCheck) argument 270 int slot = args[4]; local 321 int slot = args[4]; local 371 int slot = args[2]; local 392 int slot = args[2]; local [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 80 * The basic idea is to maintain a "slot", which is a reference to 83 * slot is null, it CAS'es (compareAndSets) a Node there and waits 85 * sees that the slot is non-null, and so CASes it back to null, 88 * fail because a slot at first appears non-null but is null upon 94 * deteriorates due to CAS contention on the single slot when 100 * fails to CAS in its chosen slot, it picks an alternative slot 102 * CASes into a slot but no other thread arrives, it tries 103 * another, heading toward the zero slot, which always exists even 107 * Waiting: Slot zero is special in that it is the only slot tha 411 tryCancel(Node node, Slot slot) argument 430 spinWait(Node node, Slot slot) argument 460 await(Node node, Slot slot) argument 487 awaitNanos(Node node, Slot slot, long nanos) argument [all...] |
/dalvik/vm/reflect/ |
H A D | Reflect.c | 90 dvmFindFieldOffset(gDvm.classJavaLangReflectConstructor, "slot", "I"); 96 dvmFindFieldOffset(gDvm.classJavaLangReflectField, "slot", "I"); 102 dvmFindFieldOffset(gDvm.classJavaLangReflectMethod, "slot", "I"); 299 * Convert a field pointer to a slot number. 306 int slot; local 309 slot = (StaticField*)field - clazz->sfields; 310 assert(slot >= 0 && slot < clazz->sfieldCount); 311 slot = -(slot 323 dvmSlotToField(ClassObject* clazz, int slot) argument 351 int slot; local 373 fieldObj, &unused, clazz, type, nameObj, slot); local 470 int slot; local 487 dvmSlotToMethod(ClassObject* clazz, int slot) argument 517 int slot; local 552 consObj, &unused, meth->clazz, params, exceptions, slot); local 663 int slot; local 712 nameObj, slot); local 1174 int slot; local 1194 int slot; local [all...] |
H A D | Reflect.h | 60 * Convert slot numbers back to objects. 62 Field* dvmSlotToField(ClassObject* clazz, int slot); 63 Method* dvmSlotToMethod(ClassObject* clazz, int slot); 228 * references in the "l" union slot.
|
/dalvik/vm/interp/ |
H A D | Jit.c | 487 void setTraceConstruction(JitEntry *slot, bool value) argument 493 oldValue = slot->u; 496 } while (!ATOMIC_CMP_SWAP( &slot->u.infoWord, 500 void resetTracehead(InterpState* interpState, JitEntry *slot) argument 502 slot->codeAddress = gDvmJit.interpretTemplate; 503 setTraceConstruction(slot, false); 531 * slot in the chain. Possibly continue the chain walk in case 532 * some other thread allocated the slot we were looking 538 * At this point, if .dPC is NULL, then the slot we're 539 * looking at is the target slot fro 941 JitEntry *slot = lookupAndAdd(interpState->pc, false); local [all...] |
/dalvik/vm/ |
H A D | Debugger.c | 1377 * Eclipse appears to expect that the "this" reference is in slot zero. 1380 * all locals with nonzero slot numbers. 1382 * So, we remap the item in slot 0 to 1000, and remap "this" to zero. On 1385 static int tweakSlot(int slot, const char* name) argument 1387 int newSlot = slot; 1391 else if (slot == 0) // always remap slot 0 1394 LOGV("untweak: %d to %d\n", slot, newSlot); 1401 static int untweakSlot(int slot, const void* framePtr) argument 1403 int newSlot = slot; 2346 dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u1* buf, int expectedLen) argument 2437 dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u8 value, int width) argument [all...] |
H A D | IndirectRefTable.c | 113 * this slot. 115 static inline void updateSlotAdd(IndirectRefTable* pRef, Object* obj, int slot) argument 118 IndirectRefSlot* pSlot = &pRef->slotData[slot]; 120 //LOGI("+++ add [%d] slot %d (%p->%p), serial=%d\n", 121 // pRef->kind, slot, obj, iref, pSlot->serial); 129 static inline void updateSlotRemove(IndirectRefTable* pRef, int slot) argument 132 IndirectRefSlot* pSlot = &pRef->slotData[slot]; 133 //LOGI("+++ remove [%d] slot %d, serial now %d\n", 134 // pRef->kind, slot, pSlot->serial);
|
H A D | Debugger.h | 254 void dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot, 256 void dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot,
|
/dalvik/vm/jdwp/ |
H A D | JdwpHandler.c | 1796 u4 slot; local 1801 slot = read4BE(&buf); 1804 LOGV(" --> slot %d '%c'\n", slot, reqSigByte); 1808 dvmDbgGetLocalValue(threadId, frameId, slot, reqSigByte, ptr, width); 1833 u4 slot; local 1838 slot = read4BE(&buf); 1843 LOGV(" --> slot %d '%c' %llx\n", slot, sigByte, value); 1844 dvmDbgSetLocalValue(threadId, frameId, slot, sigByt [all...] |
/dalvik/dx/etc/ |
H A D | jasmin.jar | META-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ... |