Home
last modified time | relevance | path

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

/libcore/dex/src/main/java/com/android/dex/
DFieldId.java25 private final int nameIndex; field in FieldId
27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { in FieldId() argument
31 this.nameIndex = nameIndex; in FieldId()
43 return nameIndex; in getNameIndex()
50 if (nameIndex != other.nameIndex) { in compareTo()
51 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo()
59 out.writeInt(nameIndex); in writeTo()
64 return declaringClassIndex + " " + typeIndex + " " + nameIndex; in toString()
66 return dex.typeNames().get(typeIndex) + "." + dex.strings().get(nameIndex); in toString()
DMethodId.java25 private final int nameIndex; field in MethodId
27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { in MethodId() argument
31 this.nameIndex = nameIndex; in MethodId()
43 return nameIndex; in getNameIndex()
50 if (nameIndex != other.nameIndex) { in compareTo()
51 return Unsigned.compare(nameIndex, other.nameIndex); in compareTo()
59 out.writeInt(nameIndex); in writeTo()
64 return declaringClassIndex + " " + protoIndex + " " + nameIndex; in toString()
67 + "." + dex.strings().get(nameIndex) in toString()
DDex.java609 int nameIndex = readInt(); in readFieldId() local
610 return new FieldId(Dex.this, declaringClassIndex, typeIndex, nameIndex); in readFieldId()
616 int nameIndex = readInt(); in readMethodId() local
617 return new MethodId(Dex.this, declaringClassIndex, protoIndex, nameIndex); in readMethodId()
/libcore/libart/src/main/java/java/lang/reflect/
DMethod.java134 int nameIndex = dex.nameIndexFromMethodIndex(dexMethodIndex); in getName() local
135 return declaringClassOfOverriddenMethod.getDexCacheString(dex, nameIndex); in getName()
DField.java127 int nameIndex = dex.nameIndexFromFieldIndex(dexFieldIndex); in getName() local
128 return declaringClass.getDexCacheString(dex, nameIndex); in getName()