Home
last modified time | relevance | path

Searched refs:thisClass (Results 1 – 19 of 19) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DClassDefItem.java49 private final CstType thisClass; field in ClassDefItem
90 public ClassDefItem(CstType thisClass, int accessFlags, in ClassDefItem() argument
92 if (thisClass == null) { in ClassDefItem()
105 this.thisClass = thisClass; in ClassDefItem()
111 this.classData = new ClassDataItem(thisClass); in ClassDefItem()
137 typeIds.intern(thisClass); in addContents()
176 int classIdx = typeIds.indexOf(thisClass); in writeTo()
189 out.annotate(0, indexString() + ' ' + thisClass.toHuman()); in writeTo()
229 return thisClass; in getThisClass()
DClassDataItem.java45 private final CstType thisClass; field in ClassDataItem
78 public ClassDataItem(CstType thisClass) { in ClassDataItem() argument
81 if (thisClass == null) { in ClassDataItem()
85 this.thisClass = thisClass; in ClassDataItem()
350 thisClass.toHuman()); in encodeOutput()
/dalvik/vm/hprof/
DHprofHeap.c305 const ClassObject *thisClass = (const ClassObject *)obj; in hprofDumpHeapObject() local
311 hprofAddIdToRecord(rec, hprofLookupClassId(thisClass)); in hprofDumpHeapObject()
312 hprofAddU4ToRecord(rec, stackTraceSerialNumber(thisClass)); in hprofDumpHeapObject()
313 hprofAddIdToRecord(rec, hprofLookupClassId(thisClass->super)); in hprofDumpHeapObject()
314 hprofAddIdToRecord(rec, (hprof_object_id)thisClass->classLoader); in hprofDumpHeapObject()
322 hprofAddU4ToRecord(rec, thisClass->objectSize); // instance size in hprofDumpHeapObject()
329 n = thisClass->sfieldCount; in hprofDumpHeapObject()
332 const StaticField *f = &thisClass->sfields[i]; in hprofDumpHeapObject()
354 n = thisClass->ifieldCount; in hprofDumpHeapObject()
357 const InstField *f = &thisClass->ifields[i]; in hprofDumpHeapObject()
/dalvik/dx/src/com/android/dx/cf/direct/
DDirectClassFile.java107 private CstType thisClass; field in DirectClassFile
263 return thisClass; in getThisClass()
475 thisClass = (CstType) pool.get(cpi); in parse0()
484 observer.parsed(bytes, at + 2, 2, "this_class: " + thisClass); in parse0()
503 String thisClassName = thisClass.getClassType().getClassName(); in parse0()
521 new FieldListParser(this, thisClass, at, attributeFactory); in parse0()
527 new MethodListParser(this, thisClass, at, attributeFactory); in parse0()
/dalvik/dx/src/com/android/dx/dex/cf/
DAttributeTranslator.java117 CstType thisClass = cf.getThisClass(); in getClassAnnotations() local
124 translateInnerClasses(thisClass, attribs, in getClassAnnotations()
271 private static Annotations translateInnerClasses(CstType thisClass, in translateInnerClasses() argument
293 if (innerClass.equals(thisClass)) { in translateInnerClasses()
295 } else if (thisClass.equals(item.getOuterClass())) { in translateInnerClasses()
387 CstType thisClass = cf.getThisClass(); in translateAnnotationDefaults() local
391 new Annotation(thisClass, AnnotationVisibility.EMBEDDED); in translateAnnotationDefaults()
DCfTranslator.java116 CstType thisClass = cf.getThisClass(); in translate0() local
121 new ClassDefItem(thisClass, classAccessFlags, in translate0()
143 CstType thisClass = cf.getThisClass(); in processFields() local
150 CstFieldRef field = new CstFieldRef(thisClass, one.getNat()); in processFields()
222 CstType thisClass = cf.getThisClass(); in processMethods() local
229 CstMethodRef meth = new CstMethodRef(thisClass, one.getNat()); in processMethods()
259 = thisClass.getClassType().getDescriptor() in processMethods()
/dalvik/vm/interp/
DInterp.c564 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
597 for (i = 0; i < thisClass->iftableCount; i++) {
598 if (thisClass->iftable[i].clazz == absMethod->clazz)
601 if (i == thisClass->iftableCount) {
609 thisClass->iftable[i].clazz->virtualMethodCount);
612 thisClass->iftable[i].methodIndexArray[absMethod->methodIndex];
613 assert(vtableIndex >= 0 && vtableIndex < thisClass->vtableCount);
614 methodToCall = thisClass->vtable[vtableIndex];
DInterpDefs.h132 Method* dvmInterpFindInterfaceMethod(ClassObject* thisClass, u4 methodIdx,
/dalvik/vm/mterp/c/
Dheader.c322 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
326 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
329 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
DgotoTargets.c277 ClassObject* thisClass; in GOTO_TARGET() local
303 thisClass = thisPtr->clazz; in GOTO_TARGET()
309 methodToCall = dvmFindInterfaceMethodInCache(thisClass, ref, curMethod, in GOTO_TARGET()
/dalvik/libcore/luni/src/main/java/java/io/
DObjectOutputStream.java288 Class<?> thisClass = ObjectOutputStream.class; in ObjectOutputStream() local
289 if (implementationClass != thisClass) { in ObjectOutputStream()
294 mustCheck = method.getDeclaringClass() != thisClass; in ObjectOutputStream()
302 mustCheck = method.getDeclaringClass() != thisClass; in ObjectOutputStream()
DObjectInputStream.java401 final Class<?> thisClass = ObjectInputStream.class; in ObjectInputStream() local
403 if (sm != null && implementationClass != thisClass) { in ObjectInputStream()
412 if (method.getDeclaringClass() != thisClass) { in ObjectInputStream()
422 if (method.getDeclaringClass() != thisClass) { in ObjectInputStream()
/dalvik/vm/analysis/
DCodeVerify.c4702 ClassObject* thisClass; in verifyInstruction() local
4704 thisClass = regTypeReferenceToClass(thisType, uninitMap); in verifyInstruction()
4705 assert(thisClass != NULL); in verifyInstruction()
4708 if (calledMethod->clazz == thisClass->super) { in verifyInstruction()
4709 if (thisClass != meth->clazz) { in verifyInstruction()
4715 } else if (calledMethod->clazz != thisClass) { in verifyInstruction()
4794 ClassObject* thisClass; in verifyInstruction()
4796 thisClass = regTypeInitializedReferenceToClass(thisType); in verifyInstruction()
4797 if (thisClass == NULL) { in verifyInstruction()
4809 if (thisClass != absMethod->clazz && in verifyInstruction()
[all …]
/dalvik/vm/mterp/out/
DInterpC-x86.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
1452 ClassObject* thisClass; in GOTO_TARGET() local
1478 thisClass = thisPtr->clazz; in GOTO_TARGET()
1484 methodToCall = dvmFindInterfaceMethodInCache(thisClass, ref, curMethod, in GOTO_TARGET()
DInterpC-armv4t.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
DInterpC-armv5te.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
DInterpC-allstubs.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
3302 ClassObject* thisClass; in GOTO_TARGET() local
3328 thisClass = thisPtr->clazz; in GOTO_TARGET()
3334 methodToCall = dvmFindInterfaceMethodInCache(thisClass, ref, curMethod, in GOTO_TARGET()
DInterpC-portstd.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
3283 ClassObject* thisClass; in INTERP_FUNC_NAME() local
3309 thisClass = thisPtr->clazz; in INTERP_FUNC_NAME()
3315 methodToCall = dvmFindInterfaceMethodInCache(thisClass, ref, curMethod, in INTERP_FUNC_NAME()
DInterpC-portdbg.c329 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, in dvmFindInterfaceMethodInCache() argument
333 dvmInterpFindInterfaceMethod(thisClass, methodIdx, method, methodClassDex) in dvmFindInterfaceMethodInCache()
336 DEX_INTERFACE_CACHE_SIZE, thisClass, methodIdx); in dvmFindInterfaceMethodInCache()
3563 ClassObject* thisClass; in INTERP_FUNC_NAME() local
3589 thisClass = thisPtr->clazz; in INTERP_FUNC_NAME()
3595 methodToCall = dvmFindInterfaceMethodInCache(thisClass, ref, curMethod, in INTERP_FUNC_NAME()