Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/io/
DClassData.java22 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()
DDexBuffer.java525 ClassData.Method[] directMethods = readMethods(directMethodsSize);
527 return new ClassData(staticFields, instanceFields, directMethods, virtualMethods);
/dalvik/dx/src/com/android/dx/dex/file/
DClassDataItem.java54 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/
DClassDataItem.java57 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/
DDexClass.cpp150 result->directMethods = (DexMethod*) ptr; in dexReadAndVerifyClassData()
153 result->directMethods = NULL; in dexReadAndVerifyClassData()
177 &result->directMethods[i], &lastIndex); in dexReadAndVerifyClassData()
DDexClass.h55 DexMethod* directMethods; member
DDexSwapVerify.cpp1529 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/
DReflect.cpp352 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()
DProxy.cpp128 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/
DClass.cpp1893 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 …]
DObject.cpp395 methods = clazz->directMethods; in findMethodInListByDescriptor()
444 Method* method = &clazz->directMethods[i]; in findMethodInListByProto()
DObject.h412 Method* directMethods; member
/dalvik/dexlist/
DDexList.cpp185 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i); in dumpClass()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java753 ClassData.Method[] directMethods = classData.getDirectMethods(); in transformClassData() local
758 classDataOut.writeUleb128(directMethods.length); in transformClassData()
763 transformMethods(in, indexMap, directMethods); in transformClassData()
/dalvik/vm/
DNative.cpp541 unregisterJNINativeMethods(clazz->directMethods, clazz->directMethodCount); in dvmUnregisterJNINativeMethods()
DProfile.cpp324 meth = &clazz->directMethods[i]; in dumpMarkedMethods()
DDebugger.cpp1230 meth = &clazz->directMethods[i]; in dvmDbgOutputAllMethods()
DJni.cpp701 dumpMethods(clazz->directMethods, clazz->directMethodCount, methodName); in dumpCandidateMethods()
/dalvik/vm/analysis/
DRegisterMap.cpp669 const Method* meth = &clazz->directMethods[i]; in writeMapsAllMethods()
672 if (!writeMapForMethod(&clazz->directMethods[i], &ptr)) { in writeMapsAllMethods()
DDexVerify.cpp50 if (!verifyMethod(&clazz->directMethods[i])) { in dvmVerifyClass()
DOptimize.cpp125 optimizeMethod(&clazz->directMethods[i], essentialOnly); in dvmOptimizeClass()
/dalvik/dexdump/
DDexDump.cpp1493 dumpMethod(pDexFile, &pClassData->directMethods[i], i); in dumpClass()
1713 dumpMethodMap(pDexFile, &pClassData->directMethods[i], i, &data); in dumpRegisterMaps()