Home
last modified time | relevance | path

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

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java70 @Nonnull DexBackedMethodImplementation methodImpl) { in newOrEmpty() argument
74 return new DebugInfoImpl(dexFile, debugInfoOffset, methodImpl); in newOrEmpty()
98 @Nonnull private final DexBackedMethodImplementation methodImpl; field in DebugInfo.DebugInfoImpl
102 @Nonnull DexBackedMethodImplementation methodImpl) { in DebugInfoImpl() argument
105 this.methodImpl = methodImpl; in DebugInfoImpl()
119 int registerCount = methodImpl.getRegisterCount(); in iterator()
125 DexBackedMethod method = methodImpl.method; in iterator()
138 if (!AccessFlags.STATIC.isSet(methodImpl.method.getAccessFlags())) { in iterator()
142 … @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/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DLocationImpl.java125 MethodImpl methodImpl = (MethodImpl)method(); in getBaseLineInfo() local
126 lineInfo = methodImpl.codeIndexToLineInfo(stratum, in getBaseLineInfo()
161 MethodImpl methodImpl = (MethodImpl)method(); in getLineInfo() local
162 lineInfo = methodImpl.codeIndexToLineInfo(stratum, in getLineInfo()
/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.java83 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitMethodReference() local
84 Assert.assertNotNull(methodImpl); in testImplicitMethodReference()
86 List<Instruction> instructions = Lists.newArrayList(methodImpl.getInstructions()); in testImplicitMethodReference()
178 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitFieldReference() local
179 Assert.assertNotNull(methodImpl); in testImplicitFieldReference()
181 List<Instruction> instructions = Lists.newArrayList(methodImpl.getInstructions()); in testImplicitFieldReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java129 MethodImplementation methodImpl = method.getImplementation(); in internCode() local
130 if (methodImpl != null) { in internCode()
131 for (Instruction instruction: methodImpl.getInstructions()) { in internCode()
158 List<? extends TryBlock> tryBlocks = methodImpl.getTryBlocks(); in internCode()
164 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImpl.getTryBlocks()) { in internCode()
180 MethodImplementation methodImpl = method.getImplementation(); in internDebug() local
181 if (methodImpl != null) { in internDebug()
182 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.java156 DexBackedMethodImplementation methodImpl = getImplementation();
157 if (methodImpl != null) {
158 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()