Home
last modified time | relevance | path

Searched refs:virtualMethods (Results 1 – 21 of 21) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DClassDataItem.java56 private final ArrayList<EncodedMethod> virtualMethods; field in ClassDataItem
86 this.virtualMethods = new ArrayList<EncodedMethod>(20); in ClassDataItem()
110 && directMethods.isEmpty() && virtualMethods.isEmpty(); in isEmpty()
169 virtualMethods.add(method); in addVirtualMethod()
180 int sz = directMethods.size() + virtualMethods.size(); in getMethods()
184 result.addAll(virtualMethods); in getMethods()
216 sz = virtualMethods.size(); in debugPrint()
219 virtualMethods.get(i).debugPrint(pw, verbose); in debugPrint()
247 if (!virtualMethods.isEmpty()) { in addContents()
248 Collections.sort(virtualMethods); in addContents()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DClassDataItem.java60 private final ArrayList<EncodedMethod> virtualMethods; field in ClassDataItem
90 this.virtualMethods = new ArrayList<EncodedMethod>(20); in ClassDataItem()
114 && directMethods.isEmpty() && virtualMethods.isEmpty(); in isEmpty()
173 virtualMethods.add(method); in addVirtualMethod()
184 int sz = directMethods.size() + virtualMethods.size(); in getMethods()
188 result.addAll(virtualMethods); in getMethods()
220 sz = virtualMethods.size(); in debugPrint()
223 virtualMethods.get(i).debugPrint(pw, verbose); in debugPrint()
251 if (!virtualMethods.isEmpty()) { in addContents()
252 Collections.sort(virtualMethods); in addContents()
[all …]
/dalvik/libdex/
DDexClass.cpp157 result->virtualMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData()
159 result->virtualMethods = NULL; in dexReadAndVerifyClassData()
183 &result->virtualMethods[i], &lastIndex); in dexReadAndVerifyClassData()
DDexClass.h56 DexMethod* virtualMethods; member
DDexSwapVerify.cpp1549 classData->virtualMethods, false); in verifyClassDataItem0()
1604 u4 methodIdx = classData->virtualMethods[0].methodIdx; in findFirstClassDataDefiner()
1642 const DexMethod* meth = &classData->virtualMethods[i]; in crossVerifyClassDataItem()
/dalvik/vm/oo/
DClass.cpp1920 newClass->virtualMethods = (Method*) dvmLinearAlloc(classLoader, in loadClassFromDex0()
1924 loadMethodFromDex(newClass, &method, &newClass->virtualMethods[i]); in loadClassFromDex0()
1928 newClass->virtualMethods[i].registerMap = pMap; in loadClassFromDex0()
1930 assert((newClass->virtualMethods[i].registersSize+7) / 8 == in loadClassFromDex0()
1931 newClass->virtualMethods[i].registerMap->regWidth); in loadClassFromDex0()
1935 dvmLinearReadOnly(classLoader, newClass->virtualMethods); in loadClassFromDex0()
2062 if (clazz->virtualMethods != NULL) { in dvmFreeClassInnards()
2063 Method *virtualMethods = clazz->virtualMethods; in dvmFreeClassInnards() local
2066 clazz->virtualMethods = NULL; in dvmFreeClassInnards()
2067 dvmLinearReadWrite(clazz->classLoader, virtualMethods); in dvmFreeClassInnards()
[all …]
DObject.cpp392 methods = clazz->virtualMethods; in findMethodInListByDescriptor()
436 Method* method = &clazz->virtualMethods[i]; in findMethodInListByProto()
492 Method* methods = clazz->virtualMethods; in dvmFindVirtualMethodByName()
DObject.h414 Method* virtualMethods; member
/dalvik/vm/reflect/
DProxy.cpp147 newClass->virtualMethods = in dvmGenerateProxyClass()
150 createHandlerMethod(newClass, &newClass->virtualMethods[i], methods[i]); in dvmGenerateProxyClass()
153 dvmLinearReadOnly(newClass->classLoader, newClass->virtualMethods); in dvmGenerateProxyClass()
299 allMethods[allCount++] = &clazz->virtualMethods[j]; in gatherMethods()
307 allMethods[allCount++] = &iclass->virtualMethods[k]; in gatherMethods()
1005 int methodIndex = method - method->clazz->virtualMethods; in mustWrapException()
DReflect.cpp357 slot = meth - clazz->virtualMethods; in methodToSlot()
375 return &clazz->virtualMethods[slot]; in dvmSlotToMethod()
626 Method* meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
652 meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
771 clazz->virtualMethods, name, targetDescriptor); in dvmGetDeclaredConstructorOrMethod()
/dalvik/dexlist/
DDexList.cpp189 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i); in dumpClass()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java774 ClassData.Method[] virtualMethods = classData.getVirtualMethods(); in transformClassData() local
779 classDataOut.writeUleb128(virtualMethods.length); in transformClassData()
784 transformMethods(in, indexMap, virtualMethods); in transformClassData()
/dalvik/vm/
DNative.cpp544 unregisterJNINativeMethods(clazz->virtualMethods, clazz->virtualMethodCount); in dvmUnregisterJNINativeMethods()
DProfile.cpp454 meth = &clazz->virtualMethods[i]; in dumpMarkedMethods()
DDebugger.cpp1244 meth = &clazz->virtualMethods[i]; in dvmDbgOutputAllMethods()
DJni.cpp697 dumpMethods(clazz->virtualMethods, clazz->virtualMethodCount, methodName); in dumpCandidateMethods()
/dalvik/vm/native/
Ddalvik_system_VMRuntime.cpp526 const DexMethod* pDexMethod = &pClassData->virtualMethods[methodIndex]; in Dalvik_dalvik_system_VMRuntime_preloadDexCaches()
/dalvik/vm/analysis/
DRegisterMap.cpp682 const Method* meth = &clazz->virtualMethods[i]; in writeMapsAllMethods()
685 if (!writeMapForMethod(&clazz->virtualMethods[i], &ptr)) { in writeMapsAllMethods()
DDexVerify.cpp56 if (!verifyMethod(&clazz->virtualMethods[i])) { in dvmVerifyClass()
DOptimize.cpp129 optimizeMethod(&clazz->virtualMethods[i], essentialOnly); in dvmOptimizeClass()
/dalvik/dexdump/
DDexDump.cpp1504 dumpMethod(pDexFile, &pClassData->virtualMethods[i], i); in dumpClass()
1724 dumpMethodMap(pDexFile, &pClassData->virtualMethods[i], i, &data); in dumpRegisterMaps()