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/Format/
InstructionMethodItemFactory.java 35 import org.jf.dexlib.CodeItem;
42 CodeItem codeItem,
46 return new OffsetInstructionFormatMethodItem(methodDefinition.getLabelCache(), codeItem, codeAddress,
52 return new ArrayDataMethodItem(codeItem, codeAddress,
55 return new PackedSwitchMethodItem(methodDefinition, codeItem, codeAddress,
58 return new SparseSwitchMethodItem(methodDefinition, codeItem, codeAddress,
61 return new UnresolvedOdexInstructionMethodItem(codeItem, codeAddress,
64 return new InstructionMethodItem(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 37 import org.jf.dexlib.CodeItem;
45 public OffsetInstructionFormatMethodItem(MethodDefinition.LabelCache labelCache, CodeItem codeItem, int codeAddress,
47 super(codeItem, codeAddress, instruction);
InstructionMethodItem.java 38 import org.jf.dexlib.CodeItem;
44 protected final CodeItem codeItem;
47 public InstructionMethodItem(CodeItem codeItem, int codeAddress, T instruction) {
49 this.codeItem = codeItem;
226 RegisterFormatter.writeTo(writer, codeItem, registerNumber);
294 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/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);
148 int totalRegisters = encodedMethod.codeItem.getRegisterCount();
167 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 109 directMethod.codeItem != null) {
110 for (Instruction instruction: directMethod.codeItem.getInstructions()) {
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
ClassDataItem.java 507 * The <code>CodeItem</code> containing the code for this method, or null if there is no code for this method
510 public final CodeItem codeItem;
516 * @param codeItem The <code>CodeItem</code> containing the code for this method, or null if there is no code
519 public EncodedMethod(MethodIdItem method, int accessFlags, CodeItem codeItem) {
522 this.codeItem = codeItem;
523 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 43 public class CodeItem extends Item<CodeItem> {
55 * Creates a new uninitialized <code>CodeItem</code>
58 public CodeItem(DexFile dexFile) {
63 * Creates a new <code>CodeItem</code> with the given values.
73 private CodeItem(DexFile dexFile,
97 * Returns a new <code>CodeItem</code> with the given values.
106 * @return a new <code>CodeItem</code> with the given values.
108 public static CodeItem internCodeItem(DexFile dexFile,
135 CodeItem codeItem = new CodeItem(dexFile, registerCount, inWords, outWords, debugInfo, instructionsArray
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
SyntheticAccessorResolver.java 76 Instruction[] instructions = encodedMethod.codeItem.getInstructions();
MethodAnalyzer.java 78 if (encodedMethod.codeItem == null || encodedMethod.codeItem.getInstructions().length == 0) {
91 startOfMethod = new AnalyzedInstruction(null, -1, encodedMethod.codeItem.getRegisterCount()) {
128 assert encodedMethod.codeItem != null;
135 CodeItem codeItem = encodedMethod.codeItem;
138 int totalRegisters = codeItem.getRegisterCount();
326 CodeItem codeItem = encodedMethod.codeItem
    [all...]
  /external/smali/smali/src/main/java/org/jf/smali/
main.java 35 import org.jf.dexlib.CodeItem;
263 for (CodeItem codeItem: dexFile.CodeItemsSection.getItems()) {
264 codeItem.fixInstructions(fixStringConst, fixGoto);
  /external/smali/smali/src/main/antlr3/org/jf/smali/
smaliTreeWalker.g 509 Pair<List<CodeItem.TryItem>, List<CodeItem.EncodedCatchHandler>> temp = $method::tryList.encodeTries();
510 List<CodeItem.TryItem> tries = temp.first;
511 List<CodeItem.EncodedCatchHandler> handlers = temp.second;
515 CodeItem codeItem;
558 codeItem = null;
584 codeItem = CodeItem.internCodeItem(dexFile,
594 $encodedMethod = new ClassDataItem.EncodedMethod(methodIdItem, accessFlags, codeItem);
    [all...]

Completed in 428 milliseconds