Searched defs:protoIndex (Results 1 - 2 of 2) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DProtoIdItem.java70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int protoIndex) { argument
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) { argument
82 int offset = dexFile.getProtoIdItemOffset(protoIndex);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DDexBackedDexFile.java192 public int getProtoIdItemOffset(int protoIndex) { argument
193 if (protoIndex < 0 || protoIndex >= protoCount) {
194 throw new InvalidItemIndex(protoIndex, "Proto index out of bounds: %d", protoIndex);
196 return protoStartOffset + protoIndex*ProtoIdItem.ITEM_SIZE;

Completed in 197 milliseconds