Searched refs:dexFile (Results 26 - 50 of 121) sorted by relevance

12345

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
H A DDexBackedInstruction21s.java41 public DexBackedInstruction21s(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public int getNarrowLiteral() { return dexFile.readShort(instructionStart + 2); }
H A DDexBackedInstruction21t.java41 public DexBackedInstruction21t(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); }
H A DDexBackedInstruction22x.java41 public DexBackedInstruction22x(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public int getRegisterB() { return dexFile.readUshort(instructionStart + 2); }
H A DDexBackedInstruction31i.java41 public DexBackedInstruction31i(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public int getNarrowLiteral() { return dexFile.readInt(instructionStart + 2); }
H A DDexBackedInstruction31t.java41 public DexBackedInstruction31t(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public int getCodeOffset() { return dexFile.readInt(instructionStart + 2); }
H A DDexBackedInstruction32x.java41 public DexBackedInstruction32x(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUshort(instructionStart + 2); }
48 @Override public int getRegisterB() { return dexFile.readUshort(instructionStart + 4); }
H A DDexBackedInstruction35mi.java42 public DexBackedInstruction35mi(@Nonnull DexBackedDexFile dexFile, argument
45 super(dexFile, opcode, instructionStart);
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1));
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4));
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4));
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5));
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5));
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1));
79 return dexFile.readUshort(instructionStart + 2);
H A DDexBackedInstruction35ms.java42 public DexBackedInstruction35ms(@Nonnull DexBackedDexFile dexFile, argument
45 super(dexFile, opcode, instructionStart);
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1));
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4));
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4));
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5));
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5));
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1));
79 return dexFile.readUshort(instructionStart + 2);
H A DDexBackedInstruction51l.java41 public DexBackedInstruction51l(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
48 @Override public long getWideLiteral() { return dexFile.readLong(instructionStart + 2); }
H A DDexBackedUnknownInstruction.java41 public DexBackedUnknownInstruction(@Nonnull DexBackedDexFile dexFile, argument
43 super(dexFile, Opcode.NOP, instructionStart);
47 int opcode = dexFile.readUbyte(instructionStart);
49 opcode = dexFile.readUshort(instructionStart);
H A DDexBackedInstruction4rcc.java43 public DexBackedInstruction4rcc(@Nonnull DexBackedDexFile dexFile, argument
46 super(dexFile, opcode, instructionStart);
50 return dexFile.readUbyte(instructionStart + 1);
55 return dexFile.readUshort(instructionStart + 4);
61 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
62 dexFile.readUshort(instructionStart + 2));
72 return DexBackedReference.makeReference(dexFile, opcode.referenceType2,
73 dexFile.readUshort(instructionStart + 3));
H A DDexBackedInstruction21c.java43 public DexBackedInstruction21c(@Nonnull DexBackedDexFile dexFile, argument
46 super(dexFile, opcode, instructionStart);
49 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instructionStart + 2));
H A DDexBackedInstruction22cs.java42 public DexBackedInstruction22cs(@Nonnull DexBackedDexFile dexFile, argument
45 super(dexFile, opcode, instructionStart);
50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1));
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1));
60 return dexFile.readUshort(instructionStart + 2);
H A DDexBackedInstruction22s.java42 public DexBackedInstruction22s(@Nonnull DexBackedDexFile dexFile, argument
45 super(dexFile, opcode, instructionStart);
50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1));
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1));
58 @Override public int getNarrowLiteral() { return dexFile.readShort(instructionStart + 2); }
H A DDexBackedInstruction22t.java42 public DexBackedInstruction22t(@Nonnull DexBackedDexFile dexFile, argument
45 super(dexFile, opcode, instructionStart);
50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1));
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1));
58 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); }
H A DDexBackedInstruction31c.java43 public DexBackedInstruction31c(@Nonnull DexBackedDexFile dexFile, argument
46 super(dexFile, opcode, instructionStart);
49 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
54 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
55 dexFile.readSmallUint(instructionStart + 2));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
H A DAnnotationsDirectory.java59 public static AnnotationsDirectory newOrEmpty(@Nonnull DexBackedDexFile dexFile, argument
64 return new AnnotationsDirectoryImpl(dexFile, directoryAnnotationsOffset);
99 public static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull final DexBackedDexFile dexFile, argument
102 final int size = dexFile.readSmallUint(annotationSetOffset);
107 int annotationOffset = dexFile.readSmallUint(annotationSetOffset + 4 + (4*index));
108 return new DexBackedAnnotation(dexFile, annotationOffset);
120 @Nonnull final DexBackedDexFile dexFile, final int annotationSetListOffset) {
122 final int size = dexFile.readSmallUint(annotationSetListOffset);
128 int annotationSetOffset = dexFile.readSmallUint(annotationSetListOffset + 4 + index * 4);
129 return getAnnotations(dexFile, annotationSetOffse
119 getParameterAnnotations( @onnull final DexBackedDexFile dexFile, final int annotationSetListOffset) argument
139 @Nonnull public final DexBackedDexFile dexFile; field in class:AnnotationsDirectory.AnnotationsDirectoryImpl
152 AnnotationsDirectoryImpl(@onnull DexBackedDexFile dexFile, int directoryOffset) argument
[all...]
H A DVariableSizeCollection.java41 @Nonnull private final DexBackedDexFile dexFile; field in class:VariableSizeCollection
45 public VariableSizeCollection(@Nonnull DexBackedDexFile dexFile, int offset, int size) { argument
46 this.dexFile = dexFile;
56 return new VariableSizeIterator<T>(dexFile, offset, size) {
H A DVariableSizeSet.java41 @Nonnull private final DexBackedDexFile dexFile; field in class:VariableSizeSet
45 public VariableSizeSet(@Nonnull DexBackedDexFile dexFile, int offset, int size) { argument
46 this.dexFile = dexFile;
56 return new VariableSizeIterator<T>(dexFile, offset, size) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DMapItem.java48 private final DexBackedDexFile dexFile; field in class:MapItem
51 public MapItem(DexBackedDexFile dexFile, int offset) { argument
52 this.dexFile = dexFile;
57 return dexFile.readUshort(offset + TYPE_OFFSET);
66 return dexFile.readSmallUint(offset + SIZE_OFFSET);
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET);
82 int itemType = dexFile.readUshort(out.getCursor());
87 int size = dexFile.readSmallUint(out.getCursor());
90 int offset = dexFile
[all...]
H A DClassDefItem.java71 int classIndex = dexFile.readSmallUint(out.getCursor());
72 out.annotate(4, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex));
74 int accessFlags = dexFile.readInt(out.getCursor());
78 int superclassIndex = dexFile.readOptionalUint(out.getCursor());
80 TypeIdItem.getOptionalReferenceAnnotation(dexFile, superclassIndex));
82 int interfacesOffset = dexFile.readSmallUint(out.getCursor());
83 out.annotate(4, "interfaces_off = %s", TypeListItem.getReferenceAnnotation(dexFile, interfacesOffset));
85 int sourceFileIdx = dexFile.readOptionalUint(out.getCursor());
86 out.annotate(4, "source_file_idx = %s", StringIdItem.getOptionalReferenceAnnotation(dexFile,
89 int annotationsOffset = dexFile
121 asString(@onnull DexBackedDexFile dexFile, int classIndex) argument
127 getClasses(@onnull RawDexFile dexFile) argument
[all...]
H A DStringIdItem.java54 int stringDataOffset = dexFile.readSmallUint(out.getCursor());
56 String stringValue = dexFile.getString(itemIndex);
72 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) { argument
73 return getReferenceAnnotation(dexFile, stringIndex, false);
77 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, boolean quote) { argument
79 String string = dexFile.getString(stringIndex);
92 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) { argument
93 return getOptionalReferenceAnnotation(dexFile, stringIndex, false);
97 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, argument
102 return getReferenceAnnotation(dexFile, stringInde
105 getStrings(@onnull RawDexFile dexFile) argument
[all...]
H A DTypeIdItem.java53 int stringIndex = dexFile.readSmallUint(out.getCursor());
54 out.annotate(4, StringIdItem.getReferenceAnnotation(dexFile, stringIndex));
60 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) { argument
62 String typeString = dexFile.getType(typeIndex);
71 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) { argument
75 return getReferenceAnnotation(dexFile, typeIndex);
78 public static String[] getTypes(@Nonnull RawDexFile dexFile) { argument
79 MapItem mapItem = dexFile.getMapItemForSection(ItemType.TYPE_ID_ITEM);
87 ret[i] = dexFile.getType(i);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DDexBackedAnnotation.java41 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedAnnotation
47 public DexBackedAnnotation(@Nonnull DexBackedDexFile dexFile, argument
49 this.dexFile = dexFile;
51 DexReader reader = dexFile.readerAt(annotationOffset);
58 @Nonnull @Override public String getType() { return dexFile.getType(typeIndex); }
63 DexReader reader = dexFile.readerAt(elementsOffset);
66 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, reader.getOffset(), size) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DDexClassProvider.java42 private final DexFile dexFile; field in class:DexClassProvider
45 public DexClassProvider(DexFile dexFile) { argument
46 this.dexFile = dexFile;
48 for (ClassDef classDef: dexFile.getClasses()) {

Completed in 1026 milliseconds

12345