Searched defs:typeIndex (Results 1 - 5 of 5) sorted by relevance

/libcore/dex/src/main/java/com/android/dex/
H A DFieldId.java24 private final int typeIndex; field in class:FieldId
27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { argument
30 this.typeIndex = typeIndex;
39 return typeIndex;
53 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0
58 out.writeUnsignedShort(typeIndex);
64 return declaringClassIndex + " " + typeIndex + " " + nameIndex;
66 return dex.typeNames().get(typeIndex)
[all...]
H A DClassDef.java26 private final int typeIndex; field in class:ClassDef
35 public ClassDef(Dex buffer, int offset, int typeIndex, int accessFlags, argument
40 this.typeIndex = typeIndex;
55 return typeIndex;
92 return typeIndex + " " + supertypeIndex;
96 result.append(buffer.typeNames().get(typeIndex));
H A DDex.java340 position += SizeOf.USHORT; // typeIndex
360 public int findClassDefIndexFromTypeIndex(int typeIndex) { argument
361 checkBounds(typeIndex, tableOfContents.typeIds.size);
366 if (typeIndexFromClassDefIndex(i) == typeIndex) {
381 return data.getShort(position) & 0xFFFF; // typeIndex
456 public int descriptorIndexFromTypeIndex(int typeIndex) { argument
457 checkBounds(typeIndex, tableOfContents.typeIds.size);
458 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex);
608 int typeIndex = readUnsignedShort();
610 return new FieldId(Dex.this, declaringClassIndex, typeIndex, nameInde
[all...]
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationAccess.java271 int typeIndex = getTypeIndex(dex, type);
273 FieldId fieldId = new FieldId(dex, declaringClassIndex, typeIndex, nameIndex);
548 int typeIndex = dex.findTypeIndex(InternalNames.getInternalName(c));
549 if (typeIndex < 0) {
550 typeIndex = -1;
552 return typeIndex;
609 int typeIndex) {
613 (Class<? extends Annotation>) context.getDexCacheType(dex, typeIndex);
608 getAnnotationClass(Class<?> context, Dex dex, int typeIndex) argument
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java1323 public Class<?> getDexCacheType(Dex dex, int typeIndex) { argument
1324 String internalName = dex.typeNames().get(typeIndex);

Completed in 3664 milliseconds