Home
last modified time | relevance | path

Searched refs:protoIndex (Results 1 – 5 of 5) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DProtoIdItem.java70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
72 String protoString = asString(dexFile, protoIndex);
73 return String.format("proto_id_item[%d]: %s", protoIndex, protoString);
77 return String.format("proto_id_item[%d]", protoIndex);
81 public static String asString(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
82 int offset = dexFile.getProtoIdItemOffset(protoIndex);
DMethodIdItem.java60 int protoIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() local
61 … out.annotate(2, "proto_idx = %s", ProtoIdItem.getReferenceAnnotation(dexFile, protoIndex)); in makeAnnotator()
75 int protoIndex = dexFile.readUshort(methodOffset + PROTO_OFFSET);
76 String protoString = ProtoIdItem.asString(dexFile, protoIndex);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java175 public int getProtoIdItemOffset(int protoIndex) {
176 if (protoIndex < 0 || protoIndex >= protoCount) {
177 throw new InvalidItemIndex(protoIndex, "Proto index out of bounds: %d", protoIndex);
179 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;
DDexBackedMethod.java206 … int protoIndex = dexFile.readUshort(getMethodIdItemOffset() + MethodIdItem.PROTO_OFFSET);
207 protoIdItemOffset = dexFile.getProtoIdItemOffset(protoIndex);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedMethodProtoReference.java48 public DexBackedMethodProtoReference(@Nonnull DexBackedDexFile dexFile, int protoIndex) { in DexBackedMethodProtoReference() argument
50 this.protoIdItemOffset = dexFile.getProtoIdItemOffset(protoIndex); in DexBackedMethodProtoReference()