HomeSort by relevance Sort by last modified time
    Searched refs:codeItem (Results 1 - 20 of 20) sorted by null

  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
RegisterFormatter.java 33 import org.jf.dexlib.CodeItem;
49 * @param codeItem the <code>CodeItem</code> that the register is from
53 public static void writeRegisterRange(IndentingWriter writer, CodeItem codeItem, int startRegister,
58 int parameterRegisterCount = codeItem.getParent().method.getPrototype().getParameterRegisterCount()
59 + (((codeItem.getParent().accessFlags & AccessFlags.STATIC.getValue())==0)?1:0);
60 int registerCount = codeItem.getRegisterCount();
86 * @param codeItem the <code>CodeItem</code> that the register is fro
    [all...]
DebugMethodItem.java 33 import org.jf.dexlib.CodeItem;
64 protected static void writeStartLocal(IndentingWriter writer, CodeItem codeItem, int register,
68 RegisterFormatter.writeTo(writer, codeItem, register);
80 protected static void writeEndLocal(IndentingWriter writer, CodeItem codeItem, int register, StringIdItem name,
83 RegisterFormatter.writeTo(writer, codeItem, register);
99 protected static void writeRestartLocal(IndentingWriter writer, CodeItem codeItem, int register,
103 RegisterFormatter.writeTo(writer, codeItem, register)
    [all...]
MethodDefinition.java 70 if (encodedMethod.codeItem != null) {
71 Instruction[] instructions = encodedMethod.codeItem.getInstructions();
108 final CodeItem codeItem = encodedMethod.codeItem;
117 if (codeItem != null) {
125 writeParameters(writer, codeItem, parameterAnnotations);
138 writeParameters(writer, codeItem, parameterAnnotations);
149 int totalRegisters = encodedMethod.codeItem.getRegisterCount();
168 private static void writeParameters(IndentingWriter writer, CodeItem codeItem
    [all...]
PostInstructionRegisterInfoMethodItem.java 99 RegisterFormatter.writeTo(writer, encodedMethod.codeItem, registerNum);
PreInstructionRegisterInfoMethodItem.java 203 RegisterFormatter.writeTo(writer, encodedMethod.codeItem, registerNum);
253 RegisterFormatter.writeTo(writer, encodedMethod.codeItem, registerNum);
ClassDefinition.java 75 directMethod.codeItem != null) {
76 for (Instruction instruction: directMethod.codeItem.getInstructions()) {
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
InstructionMethodItemFactory.java 35 import org.jf.dexlib.CodeItem;
42 MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress, Instruction instruction) {
44 return new OffsetInstructionFormatMethodItem(methodDefinition.getLabelCache(), codeItem,
50 return new ArrayDataMethodItem(codeItem, codeAddress,
53 return new PackedSwitchMethodItem(methodDefinition, codeItem, codeAddress,
56 return new SparseSwitchMethodItem(methodDefinition, codeItem, codeAddress,
59 return new UnresolvedOdexInstructionMethodItem(codeItem, codeAddress,
62 return new InstructionMethodItem<Instruction>(codeItem, codeAddress, instruction);
UnresolvedOdexInstructionMethodItem.java 33 import org.jf.dexlib.CodeItem;
38 public UnresolvedOdexInstructionMethodItem(CodeItem codeItem, int codeAddress, UnresolvedOdexInstruction instruction) {
39 super(codeItem, codeAddress, instruction);
ArrayDataMethodItem.java 34 import org.jf.dexlib.CodeItem;
40 public ArrayDataMethodItem(CodeItem codeItem, int codeAddress, ArrayDataPseudoInstruction instruction) {
41 super(codeItem, codeAddress, instruction);
OffsetInstructionFormatMethodItem.java 36 import org.jf.dexlib.CodeItem;
43 public OffsetInstructionFormatMethodItem(MethodDefinition.LabelCache labelCache, CodeItem codeItem, int codeAddress,
45 super(codeItem, codeAddress, instruction);
InstructionMethodItem.java 39 import org.jf.dexlib.CodeItem;
45 protected final CodeItem codeItem;
48 public InstructionMethodItem(CodeItem codeItem, int codeAddress, T instruction) {
50 this.codeItem = codeItem;
248 RegisterFormatter.writeTo(writer, codeItem, registerNumber);
316 RegisterFormatter.writeRegisterRange(writer, codeItem, startRegister, startRegister+regCount-1);
PackedSwitchMethodItem.java 36 import org.jf.dexlib.CodeItem;
46 public PackedSwitchMethodItem(MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress,
48 super(codeItem, codeAddress, instruction);
SparseSwitchMethodItem.java 36 import org.jf.dexlib.CodeItem;
46 public SparseSwitchMethodItem(MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress,
48 super(codeItem, codeAddress, instruction);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
ClassDataItem.java 721 * The <code>CodeItem</code> containing the code for this method, or null if there is no code for this method
724 public final CodeItem codeItem;
730 * @param codeItem The <code>CodeItem</code> containing the code for this method, or null if there is no code
733 public EncodedMethod(MethodIdItem method, int accessFlags, CodeItem codeItem) {
736 this.codeItem = codeItem;
737 if (codeItem != null)
    [all...]
DebugInfoItem.java 47 private CodeItem parent = null;
585 * Set the <code>CodeItem</code> that this <code>DebugInfoItem</code> is associated with
586 * @param codeItem the <code>CodeItem</code> that this <code>DebugInfoItem</code> is associated with
588 protected void setParent(CodeItem codeItem) {
589 this.parent = codeItem;
CodeItem.java 40 public class CodeItem extends Item<CodeItem> {
52 * Creates a new uninitialized <code>CodeItem</code>
55 public CodeItem(DexFile dexFile) {
60 * Creates a new <code>CodeItem</code> with the given values.
70 private CodeItem(DexFile dexFile,
94 * Returns a new <code>CodeItem</code> with the given values.
103 * @return a new <code>CodeItem</code> with the given values.
105 public static CodeItem internCodeItem(DexFile dexFile,
132 CodeItem codeItem = new CodeItem(dexFile, registerCount, inWords, outWords, debugInfo, instructionsArray
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
SyntheticAccessorResolver.java 81 Instruction[] instructions = encodedMethod.codeItem.getInstructions();
MethodAnalyzer.java 79 if (encodedMethod.codeItem == null || encodedMethod.codeItem.getInstructions().length == 0) {
96 startOfMethod = new AnalyzedInstruction(null, -1, encodedMethod.codeItem.getRegisterCount()) {
133 assert encodedMethod.codeItem != null;
140 CodeItem codeItem = encodedMethod.codeItem;
143 int totalRegisters = codeItem.getRegisterCount();
353 CodeItem codeItem = encodedMethod.codeItem
    [all...]
  /external/smali/smali/src/main/java/org/jf/smali/
main.java 36 import org.jf.dexlib.CodeItem;
270 for (CodeItem codeItem: dexFile.CodeItemsSection.getItems()) {
271 codeItem.fixInstructions(fixJumbo, fixGoto);
  /external/smali/smali/src/main/antlr3/
smaliTreeWalker.g 481 Pair<List<CodeItem.TryItem>, List<CodeItem.EncodedCatchHandler>> temp = $method::tryList.encodeTries();
482 List<CodeItem.TryItem> tries = temp.first;
483 List<CodeItem.EncodedCatchHandler> handlers = temp.second;
487 CodeItem codeItem;
530 codeItem = null;
556 codeItem = CodeItem.internCodeItem(dexFile,
566 $encodedMethod = new ClassDataItem.EncodedMethod(methodIdItem, accessFlags, codeItem);
    [all...]

Completed in 188 milliseconds