Home
last modified time | relevance | path

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

/external/dexmaker/src/dx/java/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 …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DClassDataItem.java44 private EncodedMethod[] directMethods = null; field in ClassDataItem
65 … @Nullable EncodedField[] instanceFields, @Nullable EncodedMethod[] directMethods, in ClassDataItem() argument
70 this.directMethods = directMethods; in ClassDataItem()
85 @Nullable List<EncodedMethod> directMethods, in internClassDataItem() argument
124 if (directMethods != null && directMethods.size() > 0) { in internClassDataItem()
125 for (EncodedMethod directMethod: directMethods) { in internClassDataItem()
197 directMethods = new EncodedMethod[directMethodsCount]; in readItem()
201directMethods[i] = previousEncodedMethod = new EncodedMethod(dexFile, readContext, in, in readItem()
246 if (directMethods != null) { in placeItem()
248 for (EncodedMethod encodedMethod: directMethods) { in placeItem()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DClassPath.java707 if (classInfo.directMethods != null) { in ClassDef()
708 directMethodCount = classInfo.directMethods.length; in ClassDef()
715 for (int i=0; i<classInfo.directMethods.length; i++) { in ClassDef()
717 methodLookup.put(classInfo.directMethods[i], StaticMethod); in ClassDef()
719 methodLookup.put(classInfo.directMethods[i], DirectMethod); in ClassDef()
1240 public final String[] directMethods; field in ClassPath.UnresolvedClassInfo
1264 directMethods = loadDirectMethods(classDataItem, _staticMethods); in UnresolvedClassInfo()
1270 directMethods = null; in UnresolvedClassInfo()
1295 String[] directMethods = new String[encodedMethods.size()]; in loadDirectMethods() local
1303 directMethods[i] = encodedMethod.method.getShortMethodString(); in loadDirectMethods()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DClassDefinition.java287 List<ClassDataItem.EncodedMethod> directMethods = classDataItem.getDirectMethods(); in writeDirectMethods() local
288 if (directMethods.size() == 0) { in writeDirectMethods()
294 writeMethods(writer, directMethods); in writeDirectMethods()
/external/smali/smali/src/main/antlr3/
DsmaliTreeWalker.g140 $methods.directMethods.size() != 0 || $methods.virtualMethods.size()!= 0) {
142 $methods.directMethods, $methods.virtualMethods);
250 methods returns[List<ClassDataItem.EncodedMethod> directMethods,
256 $directMethods = new LinkedList<ClassDataItem.EncodedMethod>();
263 $directMethods.add($method.encodedMethod);