Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/io/
DClassData.java23 private final Method[] virtualMethods; field in ClassData
26 Method[] directMethods, Method[] virtualMethods) { in ClassData() argument
30 this.virtualMethods = virtualMethods; in ClassData()
46 return virtualMethods; in getVirtualMethods()
57 Method[] result = new Method[directMethods.length + virtualMethods.length]; in allMethods()
59 System.arraycopy(virtualMethods, 0, result, directMethods.length, virtualMethods.length); in allMethods()
DDexBuffer.java486 ClassData.Method[] virtualMethods = readMethods(virtualMethodsSize);
487 return new ClassData(staticFields, instanceFields, directMethods, virtualMethods);
/dalvik/dx/src/com/android/dx/dex/file/
DClassDataItem.java57 private final ArrayList<EncodedMethod> virtualMethods; field in ClassDataItem
87 this.virtualMethods = new ArrayList<EncodedMethod>(20); in ClassDataItem()
111 && directMethods.isEmpty() && virtualMethods.isEmpty(); in isEmpty()
170 virtualMethods.add(method); in addVirtualMethod()
181 int sz = directMethods.size() + virtualMethods.size(); in getMethods()
185 result.addAll(virtualMethods); in getMethods()
217 sz = virtualMethods.size(); in debugPrint()
220 virtualMethods.get(i).debugPrint(pw, verbose); in debugPrint()
248 if (!virtualMethods.isEmpty()) { in addContents()
249 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.cpp1537 classData->virtualMethods, false); in verifyClassDataItem0()
1592 u4 methodIdx = classData->virtualMethods[0].methodIdx; in findFirstClassDataDefiner()
1630 const DexMethod* meth = &classData->virtualMethods[i]; in crossVerifyClassDataItem()
/dalvik/vm/oo/
DClass.cpp1917 newClass->virtualMethods = (Method*) dvmLinearAlloc(classLoader, in loadClassFromDex0()
1921 loadMethodFromDex(newClass, &method, &newClass->virtualMethods[i]); in loadClassFromDex0()
1925 newClass->virtualMethods[i].registerMap = pMap; in loadClassFromDex0()
1927 assert((newClass->virtualMethods[i].registersSize+7) / 8 == in loadClassFromDex0()
1928 newClass->virtualMethods[i].registerMap->regWidth); in loadClassFromDex0()
1932 dvmLinearReadOnly(classLoader, newClass->virtualMethods); in loadClassFromDex0()
2059 if (clazz->virtualMethods != NULL) { in dvmFreeClassInnards()
2060 Method *virtualMethods = clazz->virtualMethods; in dvmFreeClassInnards() local
2063 clazz->virtualMethods = NULL; in dvmFreeClassInnards()
2064 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.h416 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()
300 allMethods[allCount++] = &clazz->virtualMethods[j]; in gatherMethods()
308 allMethods[allCount++] = &iclass->virtualMethods[k]; in gatherMethods()
1006 int methodIndex = method - method->clazz->virtualMethods; in mustWrapException()
DReflect.cpp356 slot = meth - clazz->virtualMethods; in methodToSlot()
374 return &clazz->virtualMethods[slot]; in dvmSlotToMethod()
623 Method* meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
649 meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
768 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.java737 ClassData.Method[] virtualMethods = classData.getVirtualMethods(); in transformClassData() local
742 classDataOut.writeUleb128(virtualMethods.length); in transformClassData()
747 transformMethods(in, indexMap, virtualMethods); in transformClassData()
/dalvik/vm/
DNative.cpp541 unregisterJNINativeMethods(clazz->virtualMethods, clazz->virtualMethodCount); in dvmUnregisterJNINativeMethods()
DProfile.cpp312 meth = &clazz->virtualMethods[i]; in dumpMarkedMethods()
DDebugger.cpp1244 meth = &clazz->virtualMethods[i]; in dvmDbgOutputAllMethods()
DJni.cpp732 dumpMethods(clazz->virtualMethods, clazz->virtualMethodCount, methodName); in dumpCandidateMethods()
/dalvik/vm/analysis/
DRegisterMap.cpp680 const Method* meth = &clazz->virtualMethods[i]; in writeMapsAllMethods()
683 if (!writeMapForMethod(&clazz->virtualMethods[i], &ptr)) { in writeMapsAllMethods()
DDexVerify.cpp56 if (!verifyMethod(&clazz->virtualMethods[i])) { in dvmVerifyClass()
DOptimize.cpp133 optimizeMethod(&clazz->virtualMethods[i], essentialOnly); in dvmOptimizeClass()
/dalvik/dexdump/
DDexDump.cpp1502 dumpMethod(pDexFile, &pClassData->virtualMethods[i], i); in dumpClass()
1722 dumpMethodMap(pDexFile, &pClassData->virtualMethods[i], i, &data); in dumpRegisterMaps()