/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexProgramClass.java | 25 DexEncodedMethod[] directMethods, in DexProgramClass() argument 28 instanceFields, directMethods, virtualMethods, classAnnotations, origin); in DexProgramClass() 52 collectAll(indexedItems, directMethods); in collectIndexedItems() 69 collectAll(collector, directMethods); in addDependencies() 105 int numberOfMethods = directMethods().length + virtualMethods().length; in hasMethodsOrFields() 112 || hasAnnotations(directMethods) in hasAnnotations() 120 && !hasAnnotations(directMethods) in hasInternalizableAnnotation() 153 directMethods = Arrays.copyOf(directMethods, directMethods.length + 1); in addStaticMethod() 154 directMethods[directMethods.length - 1] = staticMethod; in addStaticMethod()
|
D | DexClass.java | 29 public DexEncodedMethod[] directMethods; field in DexClass 36 DexEncodedMethod[] directMethods, DexEncodedMethod[] virtualMethods, in DexClass() argument 46 this.directMethods = directMethods; in DexClass() 70 public DexEncodedMethod[] directMethods() { in directMethods() method in DexClass 71 return MoreObjects.firstNonNull(directMethods, NO_METHODS); in directMethods() 79 for (DexEncodedMethod method : directMethods()) { in forEachMethod() 89 int dLen = directMethods().length; in allMethodsSorted() 92 System.arraycopy(directMethods(), 0, result, vLen, dLen); in allMethodsSorted() 110 return findTarget(directMethods(), method); in findDirectTarget() 175 for (DexEncodedMethod method : directMethods()) { in getClassInitializer()
|
D | ClassKind.java | 18 DexEncodedMethod[] directMethods, DexEncodedMethod[] virtualMethods); in create() argument 33 DexEncodedMethod[] directMethods, DexEncodedMethod[] virtualMethods) { in create() argument 35 annotations, staticFields, instanceFields, directMethods, virtualMethods); in create()
|
D | DexClasspathClass.java | 17 DexEncodedMethod[] directMethods, DexEncodedMethod[] virtualMethods) { in DexClasspathClass() argument 19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexClasspathClass()
|
D | DexLibraryClass.java | 17 DexEncodedMethod[] directMethods, DexEncodedMethod[] virtualMethods) { in DexLibraryClass() argument 19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexLibraryClass()
|
D | DexAnnotationDirectory.java | 23 assert isSorted(clazz.directMethods()); in DexAnnotationDirectory() 26 new OrderedMergingIterator<>(clazz.directMethods(), clazz.virtualMethods()); in DexAnnotationDirectory()
|
D | ClassAndMemberPublicizer.java | 30 publicizeAllMethods(clazz.directMethods()); in run()
|
D | JarClassFileReader.java | 115 private final List<DexEncodedMethod> directMethods = new ArrayList<>(); field in JarClassFileReader.CreateDexClassVisitor 262 directMethods.toArray(new DexEncodedMethod[directMethods.size()]), in visitEnd() 549 parent.directMethods.add(dexMethod); in visitEnd()
|
D | DexApplication.java | 201 for (DexEncodedMethod method : clazz.directMethods()) { in disassemble() 276 for (DexEncodedMethod method : clazz.directMethods()) { in smali()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableClassDef.java | 61 @Nonnull protected final ImmutableSortedSet<? extends ImmutableMethod> directMethods; field in ImmutableClassDef 87 …this.directMethods = ImmutableMethod.immutableSetOf(Iterables.filter(methods, MethodUtil.METHOD_IS… in ImmutableClassDef() 99 @Nullable Iterable<? extends Method> directMethods, in ImmutableClassDef() argument 109 this.directMethods = ImmutableMethod.immutableSetOf(directMethods); in ImmutableClassDef() 121 @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods, in ImmutableClassDef() argument 131 this.directMethods = ImmutableUtils.nullToEmptySortedSet(directMethods); in ImmutableClassDef() 160 …verride public ImmutableSet<? extends ImmutableMethod> getDirectMethods() { return directMethods; } in getDirectMethods() 186 return Iterators.concat(directMethods.iterator(), virtualMethods.iterator()); 190 return directMethods.size() + virtualMethods.size();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | PoolClassDef.java | 49 @Nonnull final ImmutableSortedSet<PoolMethod> directMethods; field in PoolClassDef 62 directMethods = ImmutableSortedSet.copyOf( in PoolClassDef() 115 return directMethods; 126 ImmutableList.of(directMethods.iterator(), virtualMethods.iterator()), 131 return directMethods.size() + virtualMethods.size();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderClassDef.java | 55 @Nonnull final SortedSet<BuilderMethod> directMethods; field in BuilderClassDef 85 …this.directMethods = ImmutableSortedSet.copyOf(Iterables.filter(methods, MethodUtil.METHOD_IS_DIRE… in BuilderClassDef() 96 @Nonnull @Override public SortedSet<BuilderMethod> getDirectMethods() { return directMethods; } in getDirectMethods() 122 ImmutableList.of(directMethods.iterator(), virtualMethods.iterator()), 127 return directMethods.size() + virtualMethods.size();
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | ClassDefinition.java | 111 Set<String> directMethods = writeDirectMethods(writer); in writeTo() local 112 writeVirtualMethods(writer, directMethods); in writeTo() 252 Iterable<? extends Method> directMethods; in writeDirectMethods() local 254 directMethods = ((DexBackedClassDef)classDef).getDirectMethods(false); in writeDirectMethods() 256 directMethods = classDef.getDirectMethods(); in writeDirectMethods() 259 for (Method method: directMethods) { in writeDirectMethods() 287 …private void writeVirtualMethods(IndentingWriter writer, Set<String> directMethods) throws IOExcep… in writeVirtualMethods() argument 313 } else if (directMethods.contains(methodString)) { in writeVirtualMethods()
|
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
D | LambdaRewriter.java | 163 DexEncodedMethod[] directMethods = clazz.directMethods; in removeLambdaDeserializationMethods() local 164 if (directMethods != null) { in removeLambdaDeserializationMethods() 165 int methodCount = directMethods.length; in removeLambdaDeserializationMethods() 167 DexEncodedMethod encoded = directMethods[i]; in removeLambdaDeserializationMethods() 176 System.arraycopy(directMethods, 0, newMethods, 0, i); in removeLambdaDeserializationMethods() 177 System.arraycopy(directMethods, i + 1, newMethods, i, methodCount - i - 1); in removeLambdaDeserializationMethods() 178 clazz.directMethods = newMethods; in removeLambdaDeserializationMethods()
|
D | LambdaClass.java | 444 DexEncodedMethod[] directMethods = implMethodHolder.directMethods; in ensureAccessibility() local 445 for (int i = 0; i < directMethods.length; i++) { in ensureAccessibility() 446 DexEncodedMethod encodedMethod = directMethods[i]; in ensureAccessibility() 464 directMethods[i] = newMethod; in ensureAccessibility() 492 accessorClass.directMethods = appendMethod( in ensureAccessibility() 493 accessorClass.directMethods, accessorEncodedMethod); in ensureAccessibility()
|
D | InterfaceProcessor.java | 90 for (DexEncodedMethod direct : iface.directMethods) { in process() 109 if (remainingMethods.size() < iface.directMethods.length) { in process() 110 iface.directMethods = remainingMethods.toArray( in process()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
D | ReflectionClassDef.java | 177 Iterator<java.lang.reflect.Method> directMethods = Iterators.filter( 185 Iterator<Method> methodIterator = Iterators.transform(directMethods, 199 Iterator<java.lang.reflect.Method> directMethods = Iterators.filter( 207 return Iterators.transform(directMethods,
|
/external/r8/src/test/java/com/android/tools/r8/ |
D | R8UnreachableCodeTest.java | 42 assertEquals(4, clazz.directMethods().length); in UnreachableCode() 43 for (DexEncodedMethod method : clazz.directMethods()) { in UnreachableCode()
|
/external/r8/src/main/java/com/android/tools/r8/shaking/ |
D | TreePruner.java | 81 clazz.directMethods = reachableMethods(clazz.directMethods(), clazz); in getNewProgramClasses() 91 for (DexEncodedMethod method : clazz.directMethods()) { in hasDefaultConstructor()
|
D | SimpleClassMerger.java | 206 addAll(existingMethods, target.directMethods(), MethodSignatureEquivalence.get()); in merge() 209 Iterators.transform(Iterators.forArray(source.directMethods()), this::renameConstructors), in merge() 210 target.directMethods(), in merge() 260 target.directMethods = mergedDirectMethods in merge() 270 source.directMethods = null; in merge() 430 clazz.directMethods = substituteTypesIn(clazz.directMethods); in fixupTypeReferences()
|
D | DiscardedChecker.java | 30 processSubItems(clazz.directMethods()); in run()
|
/external/r8/src/main/java/com/android/tools/r8/optimize/ |
D | DebugStripper.java | 182 setIntialNameCounts(nameCounts, clazz.directMethods()); in processClass() 184 processMethods(clazz.directMethods(), naming, nameCounts); in processClass()
|
D | VisibilityBridgeRemover.java | 80 identifyBridgeMethods(clazz.directMethods());
|
/external/r8/src/main/java/com/android/tools/r8/naming/ |
D | MethodNameMinifier.java | 141 assignNamesToMethods(holder.directMethods(), state, doPrivates, renaming); in assignNamesToClassesMethods() 199 addStatesToGlobalMapForMethods(clazz.directMethods(), collectedStates, globalStateMap, in assignNamesToInterfaceMethods() 341 reserveNamesForMethods(holder.directMethods(), keepAll, state); in allocateNamingStateAndReserve()
|
/external/r8/src/test/java/com/android/tools/r8/maindexlist/ |
D | MainDexListTests.java | 404 DexEncodedMethod[] directMethods = new DexEncodedMethod[methodCount]; in generateApplication() local 424 directMethods[i] = method; in generateApplication() 437 directMethods, in generateApplication()
|