/dalvik/dx/src/com/android/dx/io/ |
D | ClassData.java | 22 private final Method[] directMethods; field in ClassData 26 Method[] directMethods, Method[] virtualMethods) { in ClassData() argument 29 this.directMethods = directMethods; in ClassData() 42 return directMethods; in getDirectMethods() 57 Method[] result = new Method[directMethods.length + virtualMethods.length]; in allMethods() 58 System.arraycopy(directMethods, 0, result, 0, directMethods.length); in allMethods() 59 System.arraycopy(virtualMethods, 0, result, directMethods.length, virtualMethods.length); in allMethods()
|
D | DexBuffer.java | 525 ClassData.Method[] directMethods = readMethods(directMethodsSize); 527 return new ClassData(staticFields, instanceFields, directMethods, virtualMethods);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDataItem.java | 54 private final ArrayList<EncodedMethod> directMethods; field in ClassDataItem 86 this.directMethods = new ArrayList<EncodedMethod>(20); in ClassDataItem() 111 && directMethods.isEmpty() && virtualMethods.isEmpty(); in isEmpty() 157 directMethods.add(method); in addDirectMethod() 181 int sz = directMethods.size() + virtualMethods.size(); in getMethods() 184 result.addAll(directMethods); in getMethods() 211 sz = directMethods.size(); in debugPrint() 214 directMethods.get(i).debugPrint(pw, verbose); in debugPrint() 241 if (!directMethods.isEmpty()) { in addContents() 242 Collections.sort(directMethods); in addContents() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | ClassDataItem.java | 57 private final ArrayList<EncodedMethod> directMethods; field in ClassDataItem 89 this.directMethods = new ArrayList<EncodedMethod>(20); in ClassDataItem() 114 && directMethods.isEmpty() && virtualMethods.isEmpty(); in isEmpty() 160 directMethods.add(method); in addDirectMethod() 184 int sz = directMethods.size() + virtualMethods.size(); in getMethods() 187 result.addAll(directMethods); in getMethods() 214 sz = directMethods.size(); in debugPrint() 217 directMethods.get(i).debugPrint(pw, verbose); in debugPrint() 244 if (!directMethods.isEmpty()) { in addContents() 245 Collections.sort(directMethods); in addContents() [all …]
|
/dalvik/libdex/ |
D | DexClass.cpp | 150 result->directMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData() 153 result->directMethods = NULL; in dexReadAndVerifyClassData() 177 &result->directMethods[i], &lastIndex); in dexReadAndVerifyClassData()
|
D | DexClass.h | 55 DexMethod* directMethods; member
|
D | DexSwapVerify.cpp | 1529 classData->directMethods, true); in verifyClassDataItem0() 1586 u4 methodIdx = classData->directMethods[0].methodIdx; in findFirstClassDataDefiner() 1622 const DexMethod* meth = &classData->directMethods[i]; in crossVerifyClassDataItem()
|
/dalvik/vm/reflect/ |
D | Reflect.cpp | 352 slot = meth - clazz->directMethods; in methodToSlot() 371 return &clazz->directMethods[slot]; in dvmSlotToMethod() 471 Method* meth = &clazz->directMethods[i]; in dvmGetDeclaredConstructors() 492 Method* meth = &clazz->directMethods[i]; in dvmGetDeclaredConstructors() 631 meth = clazz->directMethods; in dvmGetDeclaredMethods() 663 meth = clazz->directMethods; in dvmGetDeclaredMethods() 765 clazz->directMethods, name, targetDescriptor); in dvmGetDeclaredConstructorOrMethod()
|
D | Proxy.cpp | 128 newClass->directMethods = (Method*) dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass() 130 createConstructor(newClass, &newClass->directMethods[0]); in dvmGenerateProxyClass() 131 dvmLinearReadOnly(newClass->classLoader, newClass->directMethods); in dvmGenerateProxyClass()
|
/dalvik/vm/oo/ |
D | Class.cpp | 1893 newClass->directMethods = (Method*) dvmLinearAlloc(classLoader, in loadClassFromDex0() 1897 loadMethodFromDex(newClass, &method, &newClass->directMethods[i]); in loadClassFromDex0() 1901 newClass->directMethods[i].registerMap = pMap; in loadClassFromDex0() 1903 assert((newClass->directMethods[i].registersSize+7) / 8 == in loadClassFromDex0() 1904 newClass->directMethods[i].registerMap->regWidth); in loadClassFromDex0() 1908 dvmLinearReadOnly(classLoader, newClass->directMethods); in loadClassFromDex0() 2047 if (clazz->directMethods != NULL) { in dvmFreeClassInnards() 2048 Method *directMethods = clazz->directMethods; in dvmFreeClassInnards() local 2050 clazz->directMethods = NULL; in dvmFreeClassInnards() 2052 dvmLinearReadWrite(clazz->classLoader, directMethods); in dvmFreeClassInnards() [all …]
|
D | Object.cpp | 395 methods = clazz->directMethods; in findMethodInListByDescriptor() 444 Method* method = &clazz->directMethods[i]; in findMethodInListByProto()
|
D | Object.h | 412 Method* directMethods; member
|
/dalvik/dexlist/ |
D | DexList.cpp | 185 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i); in dumpClass()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | DexMerger.java | 753 ClassData.Method[] directMethods = classData.getDirectMethods(); in transformClassData() local 758 classDataOut.writeUleb128(directMethods.length); in transformClassData() 763 transformMethods(in, indexMap, directMethods); in transformClassData()
|
/dalvik/vm/ |
D | Native.cpp | 541 unregisterJNINativeMethods(clazz->directMethods, clazz->directMethodCount); in dvmUnregisterJNINativeMethods()
|
D | Profile.cpp | 324 meth = &clazz->directMethods[i]; in dumpMarkedMethods()
|
D | Debugger.cpp | 1230 meth = &clazz->directMethods[i]; in dvmDbgOutputAllMethods()
|
D | Jni.cpp | 701 dumpMethods(clazz->directMethods, clazz->directMethodCount, methodName); in dumpCandidateMethods()
|
/dalvik/vm/analysis/ |
D | RegisterMap.cpp | 669 const Method* meth = &clazz->directMethods[i]; in writeMapsAllMethods() 672 if (!writeMapForMethod(&clazz->directMethods[i], &ptr)) { in writeMapsAllMethods()
|
D | DexVerify.cpp | 50 if (!verifyMethod(&clazz->directMethods[i])) { in dvmVerifyClass()
|
D | Optimize.cpp | 125 optimizeMethod(&clazz->directMethods[i], essentialOnly); in dvmOptimizeClass()
|
/dalvik/dexdump/ |
D | DexDump.cpp | 1493 dumpMethod(pDexFile, &pClassData->directMethods[i], i); in dumpClass() 1713 dumpMethodMap(pDexFile, &pClassData->directMethods[i], i, &data); in dumpRegisterMaps()
|