/dalvik/dx/src/com/android/dx/io/ |
D | ClassData.java | 23 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()
|
D | DexBuffer.java | 486 ClassData.Method[] virtualMethods = readMethods(virtualMethodsSize); 487 return new ClassData(staticFields, instanceFields, directMethods, virtualMethods);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDataItem.java | 57 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/ |
D | ClassDataItem.java | 60 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/ |
D | DexClass.cpp | 157 result->virtualMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData() 159 result->virtualMethods = NULL; in dexReadAndVerifyClassData() 183 &result->virtualMethods[i], &lastIndex); in dexReadAndVerifyClassData()
|
D | DexClass.h | 56 DexMethod* virtualMethods; member
|
D | DexSwapVerify.cpp | 1537 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/ |
D | Class.cpp | 1917 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 …]
|
D | Object.cpp | 392 methods = clazz->virtualMethods; in findMethodInListByDescriptor() 436 Method* method = &clazz->virtualMethods[i]; in findMethodInListByProto() 492 Method* methods = clazz->virtualMethods; in dvmFindVirtualMethodByName()
|
D | Object.h | 416 Method* virtualMethods; member
|
/dalvik/vm/reflect/ |
D | Proxy.cpp | 147 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()
|
D | Reflect.cpp | 356 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/ |
D | DexList.cpp | 189 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i); in dumpClass()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 737 ClassData.Method[] virtualMethods = classData.getVirtualMethods(); in transformClassData() local 742 classDataOut.writeUleb128(virtualMethods.length); in transformClassData() 747 transformMethods(in, indexMap, virtualMethods); in transformClassData()
|
/dalvik/vm/ |
D | Native.cpp | 541 unregisterJNINativeMethods(clazz->virtualMethods, clazz->virtualMethodCount); in dvmUnregisterJNINativeMethods()
|
D | Profile.cpp | 312 meth = &clazz->virtualMethods[i]; in dumpMarkedMethods()
|
D | Debugger.cpp | 1244 meth = &clazz->virtualMethods[i]; in dvmDbgOutputAllMethods()
|
D | Jni.cpp | 732 dumpMethods(clazz->virtualMethods, clazz->virtualMethodCount, methodName); in dumpCandidateMethods()
|
/dalvik/vm/analysis/ |
D | RegisterMap.cpp | 680 const Method* meth = &clazz->virtualMethods[i]; in writeMapsAllMethods() 683 if (!writeMapForMethod(&clazz->virtualMethods[i], &ptr)) { in writeMapsAllMethods()
|
D | DexVerify.cpp | 56 if (!verifyMethod(&clazz->virtualMethods[i])) { in dvmVerifyClass()
|
D | Optimize.cpp | 133 optimizeMethod(&clazz->virtualMethods[i], essentialOnly); in dvmOptimizeClass()
|
/dalvik/dexdump/ |
D | DexDump.cpp | 1502 dumpMethod(pDexFile, &pClassData->virtualMethods[i], i); in dumpClass() 1722 dumpMethodMap(pDexFile, &pClassData->virtualMethods[i], i, &data); in dumpRegisterMaps()
|