Home
last modified time | relevance | path

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

/libcore/dex/src/main/java/com/android/dex/
DMethodId.java24 private final int protoIndex; field in MethodId
27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { in MethodId() argument
30 this.protoIndex = protoIndex; in MethodId()
39 return protoIndex; in getProtoIndex()
53 return Unsigned.compare(protoIndex, other.protoIndex); in compareTo()
58 out.writeUnsignedShort(protoIndex); in writeTo()
64 return declaringClassIndex + " " + protoIndex + " " + nameIndex; in toString()
68 + dex.readTypeList(dex.protoIds().get(protoIndex).getParametersOffset()); in toString()
DDex.java414 int protoIndex = data.getShort(position) & 0xFFFF; in parameterTypeIndicesFromMethodIndex() local
415 checkBounds(protoIndex, tableOfContents.protoIds.size); in parameterTypeIndicesFromMethodIndex()
416 position = tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * protoIndex); in parameterTypeIndicesFromMethodIndex()
445 int protoIndex = data.getShort(position) & 0xFFFF; in returnTypeIndexFromMethodIndex() local
446 checkBounds(protoIndex, tableOfContents.protoIds.size); in returnTypeIndexFromMethodIndex()
447 position = tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * protoIndex); in returnTypeIndexFromMethodIndex()
615 int protoIndex = readUnsignedShort(); in readMethodId() local
617 return new MethodId(Dex.this, declaringClassIndex, protoIndex, nameIndex); in readMethodId()