Home
last modified time | relevance | path

Searched refs:methodImpl (Results 1 – 11 of 11) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java63 @Nonnull DexBackedMethodImplementation methodImpl) { in newOrEmpty() argument
67 return new DebugInfoImpl(dexFile, debugInfoOffset, methodImpl); in newOrEmpty()
86 @Nonnull private final DexBackedMethodImplementation methodImpl; field in DebugInfo.DebugInfoImpl
90 @Nonnull DexBackedMethodImplementation methodImpl) { in DebugInfoImpl() argument
93 this.methodImpl = methodImpl; in DebugInfoImpl()
107 int registerCount = methodImpl.getRegisterCount(); in iterator()
113 DexBackedMethod method = methodImpl.method; in iterator()
126 if (!AccessFlags.STATIC.isSet(methodImpl.method.getAccessFlags())) { in iterator()
130 … @Override public String getType() { return methodImpl.method.getDefiningClass(); } in iterator()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java64 …ImmutableMethodImplementation methodImpl = new ImmutableMethodImplementation(1, instructions, null… in testCustomMethodInlineTable_Virtual() local
66 methodImpl); in testCustomMethodInlineTable_Virtual()
93 …ImmutableMethodImplementation methodImpl = new ImmutableMethodImplementation(1, instructions, null… in testCustomMethodInlineTable_Static() local
95 methodImpl); in testCustomMethodInlineTable_Static()
122 …ImmutableMethodImplementation methodImpl = new ImmutableMethodImplementation(1, instructions, null… in testCustomMethodInlineTable_Direct() local
124 methodImpl); in testCustomMethodInlineTable_Direct()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java70 @Nonnull public final MethodImplementation methodImpl; field in MethodDefinition
84 @Nonnull MethodImplementation methodImpl) { in MethodDefinition() argument
87 this.methodImpl = methodImpl; in MethodDefinition()
92 instructions = ImmutableList.copyOf(methodImpl.getInstructions()); in MethodDefinition()
217 writer.printSignedIntAsDec(methodImpl.getRegisterCount() - parameterRegisterCount); in writeTo()
220 writer.printSignedIntAsDec(methodImpl.getRegisterCount()); in writeTo()
226 … registerFormatter = new RegisterFormatter(classDef.options, methodImpl.getRegisterCount(), in writeTo()
395 for (Instruction instruction: methodImpl.getInstructions()) { in needsAnalyzed()
529 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = methodImpl.getTryBlocks(); in addTries()
577 for (DebugItem debugItem: methodImpl.getDebugItems()) { in addDebugInfo()
DClassDefinition.java276 MethodImplementation methodImpl = method.getImplementation(); in writeDirectMethods() local
277 if (methodImpl == null) { in writeDirectMethods()
280 MethodDefinition methodDefinition = new MethodDefinition(this, method, methodImpl); in writeDirectMethods()
321 MethodImplementation methodImpl = method.getImplementation(); in writeVirtualMethods() local
322 if (methodImpl == null) { in writeVirtualMethods()
325 MethodDefinition methodDefinition = new MethodDefinition(this, method, methodImpl); in writeVirtualMethods()
/external/smali/smali/src/test/java/org/jf/smali/
DImplicitReferenceTest.java82 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitMethodReference() local
83 Assert.assertNotNull(methodImpl); in testImplicitMethodReference()
85 List<Instruction> instructions = Lists.newArrayList(methodImpl.getInstructions()); in testImplicitMethodReference()
177 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitFieldReference() local
178 Assert.assertNotNull(methodImpl); in testImplicitFieldReference()
180 List<Instruction> instructions = Lists.newArrayList(methodImpl.getInstructions()); in testImplicitFieldReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java123 MethodImplementation methodImpl = method.getImplementation(); in internCode() local
124 if (methodImpl != null) { in internCode()
125 for (Instruction instruction: methodImpl.getInstructions()) { in internCode()
149 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks(); in internCode()
155 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) { in internCode()
171 MethodImplementation methodImpl = method.getImplementation(); in internDebug() local
172 if (methodImpl != null) { in internDebug()
173 for (DebugItem debugItem: methodImpl.getDebugItems()) { in internDebug()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DSyntheticAccessorResolver.java109 MethodImplementation methodImpl = method.getImplementation(); in getAccessedMember() local
110 if (methodImpl != null) { in getAccessedMember()
113 matchedMethodImpl = methodImpl; in getAccessedMember()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/
DAccessorTest.java110 MethodImplementation methodImpl = method.getImplementation(); in testAccessors() local
111 Assert.assertNotNull(methodImpl); in testAccessors()
113 for (Instruction instruction: methodImpl.getInstructions()) { in testAccessors()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedMethod.java151 DexBackedMethodImplementation methodImpl = getImplementation();
152 if (methodImpl != null) {
153 return methodImpl.getParameterNames(null);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java75 @Nonnull private final MethodImplementation methodImpl; field in MethodAnalyzer
107 MethodImplementation methodImpl = method.getImplementation(); in MethodAnalyzer() local
108 if (methodImpl == null) { in MethodAnalyzer()
112 this.methodImpl = methodImpl; in MethodAnalyzer()
116 …AnalyzedInstruction(this, new ImmutableInstruction10x(Opcode.NOP), -1, methodImpl.getRegisterCount… in MethodAnalyzer()
141 MethodImplementation methodImpl = this.methodImpl; in analyze() local
143 int totalRegisters = methodImpl.getRegisterCount(); in analyze()
433 int registerCount = methodImpl.getRegisterCount();
435 … ImmutableList<Instruction> instructions = ImmutableList.copyOf(methodImpl.getInstructions());
452 List<? extends TryBlock<? extends ExceptionHandler>> tries = methodImpl.getTryBlocks();
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DJumboStringConversionTest.java153 MethodImplementation methodImpl = new MethodImplementation() { in testJumboStringConversion_NonMethodBuilder() local
187 methodImpl))); in testJumboStringConversion_NonMethodBuilder()