Searched refs:typeIndex (Results 1 - 13 of 13) sorted by relevance

/dalvik/dx/src/com/android/dx/io/
H A DFieldId.java24 private final int typeIndex; field in class:FieldId
27 public FieldId(DexBuffer buffer, 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 buffer.typeNames().get(typeIndex)
[all...]
H A DClassDef.java26 private final int typeIndex; field in class:ClassDef
35 public ClassDef(DexBuffer 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 DAnnotation.java27 private final int typeIndex; field in class:Annotation
31 public Annotation(DexBuffer buffer, byte visibility, int typeIndex, int[] names, argument
35 this.typeIndex = typeIndex;
45 return typeIndex;
58 out.writeUleb128(typeIndex);
67 if (typeIndex != other.typeIndex) {
68 return Unsigned.compare(typeIndex, other.typeIndex);
[all...]
H A DEncodedValueReader.java64 int typeIndex = Leb128Utils.readUnsignedLeb128(in);
66 visitAnnotation(typeIndex, size);
121 protected void visitAnnotation(int typeIndex, int size) {} argument
H A DDexBuffer.java406 int typeIndex = readUnsignedShort();
408 return new FieldId(DexBuffer.this, declaringClassIndex, typeIndex, nameIndex);
555 int typeIndex = readUleb128();
563 return new Annotation(DexBuffer.this, visibility, typeIndex, names, values);
/dalvik/dx/src/com/android/dx/command/findusages/
H A DFindUsages.java71 int typeIndex = Collections.binarySearch(dex.typeIds(), typeStringIndex);
72 if (typeIndex < 0) {
75 methodIds.addAll(getMethodIds(dex, memberNameIndexes, typeIndex));
76 fieldIds.addAll(getFieldIds(dex, memberNameIndexes, typeIndex));
188 * Returns the set of types that can be assigned to {@code typeIndex}.
190 private Set<Integer> findAssignableTypes(DexBuffer dex, int typeIndex) { argument
192 assignableTypes.add(typeIndex);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DDebugInfoDecoder.java159 public int typeIndex; field in class:DebugInfoDecoder.LocalEntry
165 int typeIndex, int signatureIndex) {
170 this.typeIndex = typeIndex;
177 nameIndex, typeIndex, signatureIndex);
333 prevle.nameIndex, prevle.typeIndex, 0);
358 prevle.nameIndex, prevle.typeIndex,
164 LocalEntry(int address, boolean isStart, int reg, int nameIndex, int typeIndex, int signatureIndex) argument
/dalvik/dx/src/com/android/dx/dex/file/
H A DDebugInfoDecoder.java160 public int typeIndex; field in class:DebugInfoDecoder.LocalEntry
166 int typeIndex, int signatureIndex) {
171 this.typeIndex = typeIndex;
178 nameIndex, typeIndex, signatureIndex);
327 prevle.nameIndex, prevle.typeIndex, 0);
352 prevle.nameIndex, prevle.typeIndex,
165 LocalEntry(int address, boolean isStart, int reg, int nameIndex, int typeIndex, int signatureIndex) argument
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java115 public int adjustType(int typeIndex) { argument
116 return (typeIndex == ClassDef.NO_INDEX) ? ClassDef.NO_INDEX : (typeIds[typeIndex] & 0xffff);
234 protected void visitAnnotation(int typeIndex, int size) { argument
235 Leb128Utils.writeUnsignedLeb128(out, adjustType(typeIndex));
H A DDexMerger.java880 int typeIndex; // uleb128p1 type index. Needs indexMap adjustment.
907 typeIndex = in.readUleb128p1();
908 debugInfoOut.writeUleb128p1(indexMap.adjustType(typeIndex));
/dalvik/vm/reflect/
H A DReflect.cpp1065 PrimitiveType typeIndex = returnType->primitiveType; local
1068 if (typeIndex == PRIM_NOT) {
1075 classDescriptor = dexGetBoxedTypeDescriptor(typeIndex);
1094 if (typeIndex == PRIM_LONG || typeIndex == PRIM_DOUBLE)
1116 PrimitiveType typeIndex = returnType->primitiveType; local
1119 if (typeIndex == PRIM_NOT) {
1127 } else if (typeIndex == PRIM_VOID) {
1138 if (dvmConvertPrimitiveValue(valueIndex, typeIndex,
/dalvik/vm/oo/
H A DArray.cpp527 PrimitiveType typeIndex = dstElemClass->primitiveType; local
529 assert(typeIndex != PRIM_NOT);
548 switch (typeIndex) {
/dalvik/dx/src/com/android/dx/cf/direct/
H A DAnnotationParser.java246 int typeIndex = input.readUnsignedShort();
248 CstString typeString = (CstString) pool.get(typeIndex);

Completed in 80 milliseconds