Home
last modified time | relevance | path

Searched refs:methodIndex (Results 1 – 3 of 3) sorted by relevance

/libcore/dex/src/main/java/com/android/dex/
DClassData.java82 private final int methodIndex; field in ClassData.Method
86 public Method(int methodIndex, int accessFlags, int codeOffset) { in Method() argument
87 this.methodIndex = methodIndex; in Method()
93 return methodIndex; in getMethodIndex()
DDex.java388 public int declaringClassIndexFromMethodIndex(int methodIndex) { in declaringClassIndexFromMethodIndex() argument
389 checkBounds(methodIndex, tableOfContents.methodIds.size); in declaringClassIndexFromMethodIndex()
390 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in declaringClassIndexFromMethodIndex()
398 public int nameIndexFromMethodIndex(int methodIndex) { in nameIndexFromMethodIndex() argument
399 checkBounds(methodIndex, tableOfContents.methodIds.size); in nameIndexFromMethodIndex()
400 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in nameIndexFromMethodIndex()
410 public short[] parameterTypeIndicesFromMethodIndex(int methodIndex) { in parameterTypeIndicesFromMethodIndex() argument
411 checkBounds(methodIndex, tableOfContents.methodIds.size); in parameterTypeIndicesFromMethodIndex()
412 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); in parameterTypeIndicesFromMethodIndex()
441 public int returnTypeIndexFromMethodIndex(int methodIndex) { in returnTypeIndexFromMethodIndex() argument
[all …]
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java246 int methodIndex= element instanceof Method ? ((Method) element).getDexMethodIndex() in getAnnotationSetOffset() local
251 if (candidateMethodIndex == methodIndex) { in getAnnotationSetOffset()
594 private static AccessibleObject indexToMethod(Class<?> context, Dex dex, int methodIndex) { in indexToMethod() argument
596 context.getDexCacheType(dex, dex.declaringClassIndexFromMethodIndex(methodIndex)); in indexToMethod()
597 String name = context.getDexCacheString(dex, dex.nameIndexFromMethodIndex(methodIndex)); in indexToMethod()
598 short[] types = dex.parameterTypeIndicesFromMethodIndex(methodIndex); in indexToMethod()