Searched refs:typeIds (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DFieldIdItem.java45 TypeIdsSection typeIds = file.getTypeIds();
46 typeIds.intern(getFieldRef().getType());
61 TypeIdsSection typeIds = file.getTypeIds();
62 return typeIds.indexOf(getFieldRef().getType());
H A DIdItem.java48 TypeIdsSection typeIds = file.getTypeIds();
49 typeIds.intern(type);
H A DTypeIdsSection.java35 private final TreeMap<Type, TypeIdItem> typeIds; field in class:TypeIdsSection
45 typeIds = new TreeMap<Type, TypeIdItem>();
51 return typeIds.values();
64 IndexedItem result = typeIds.get(type);
81 int sz = typeIds.size();
110 TypeIdItem result = typeIds.get(type);
114 typeIds.put(type, result);
134 TypeIdItem result = typeIds.get(typePerSe);
138 typeIds.put(typePerSe, result);
158 TypeIdItem item = typeIds
[all...]
H A DTypeListItem.java67 TypeIdsSection typeIds = file.getTypeIds();
71 typeIds.intern(list.getType(i));
93 TypeIdsSection typeIds = file.getTypeIds();
101 int idx = typeIds.indexOf(one);
110 out.writeShort(typeIds.indexOf(list.getType(i)));
H A DMemberIdItem.java64 TypeIdsSection typeIds = file.getTypeIds();
67 int classIdx = typeIds.indexOf(getDefiningClass());
H A DDexFile.java68 private final TypeIdsSection typeIds; field in class:DexFile
115 typeIds = new TypeIdsSection(this);
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds,
334 return typeIds;
428 typeIds.intern((CstType) cst);
457 return typeIds.get(cst);
491 typeIds.prepare();
H A DClassDefItem.java131 TypeIdsSection typeIds = file.getTypeIds();
137 typeIds.intern(thisClass);
151 typeIds.intern(superclass);
175 TypeIdsSection typeIds = file.getTypeIds();
176 int classIdx = typeIds.indexOf(thisClass);
178 typeIds.indexOf(superclass);
H A DProtoIdItem.java116 TypeIdsSection typeIds = file.getTypeIds();
119 typeIds.intern(prototype.getReturnType());
H A DValueEncoder.java312 TypeIdsSection typeIds = file.getTypeIds();
315 int typeIdx = typeIds.indexOf(type);
322 out.writeUnsignedLeb128(typeIds.indexOf(annotation.getType()));
495 TypeIdsSection typeIds = file.getTypeIds();
498 typeIds.intern(annotation.getType());
H A DCatchStructs.java122 TypeIdsSection typeIds = file.getTypeIds();
167 typeIds.indexOf(entry.getExceptionType()));
H A DCodeItem.java118 TypeIdsSection typeIds = file.getTypeIds();
127 typeIds.intern(type);
/dalvik/dx/src/com/android/dx/dex/file/
H A DFieldIdItem.java45 TypeIdsSection typeIds = file.getTypeIds();
46 typeIds.intern(getFieldRef().getType());
61 TypeIdsSection typeIds = file.getTypeIds();
62 return typeIds.indexOf(getFieldRef().getType());
H A DIdItem.java48 TypeIdsSection typeIds = file.getTypeIds();
49 typeIds.intern(type);
H A DTypeIdsSection.java35 private final TreeMap<Type, TypeIdItem> typeIds; field in class:TypeIdsSection
45 typeIds = new TreeMap<Type, TypeIdItem>();
51 return typeIds.values();
64 IndexedItem result = typeIds.get(type);
81 int sz = typeIds.size();
110 TypeIdItem result = typeIds.get(type);
114 typeIds.put(type, result);
134 TypeIdItem result = typeIds.get(typePerSe);
138 typeIds.put(typePerSe, result);
158 TypeIdItem item = typeIds
[all...]
H A DTypeListItem.java67 TypeIdsSection typeIds = file.getTypeIds();
71 typeIds.intern(list.getType(i));
93 TypeIdsSection typeIds = file.getTypeIds();
101 int idx = typeIds.indexOf(one);
110 out.writeShort(typeIds.indexOf(list.getType(i)));
H A DMemberIdItem.java62 TypeIdsSection typeIds = file.getTypeIds();
65 int classIdx = typeIds.indexOf(getDefiningClass());
H A DDexFile.java73 private final TypeIdsSection typeIds; field in class:DexFile
122 typeIds = new TypeIdsSection(this);
134 header, stringIds, typeIds, protoIds, fieldIds, methodIds,
355 return typeIds;
447 typeIds.intern((CstType) cst);
476 return typeIds.get(cst);
510 typeIds.prepare();
H A DClassDefItem.java129 TypeIdsSection typeIds = file.getTypeIds();
135 typeIds.intern(thisClass);
149 typeIds.intern(superclass);
173 TypeIdsSection typeIds = file.getTypeIds();
174 int classIdx = typeIds.indexOf(thisClass);
176 typeIds.indexOf(superclass);
H A DValueEncoder.java310 TypeIdsSection typeIds = file.getTypeIds();
313 int typeIdx = typeIds.indexOf(type);
320 out.writeUleb128(typeIds.indexOf(annotation.getType()));
493 TypeIdsSection typeIds = file.getTypeIds();
496 typeIds.intern(annotation.getType());
H A DProtoIdItem.java113 TypeIdsSection typeIds = file.getTypeIds();
116 typeIds.intern(prototype.getReturnType());
H A DCatchStructs.java120 TypeIdsSection typeIds = file.getTypeIds();
165 typeIds.indexOf(entry.getExceptionType()));
/dalvik/dx/src/com/android/dx/dex/
H A DTableOfContents.java36 public final Section typeIds = new Section(0x0002); field in class:TableOfContents
53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList,
103 typeIds.size = headerIn.readInt();
104 typeIds.off = headerIn.readInt();
180 out.writeInt(typeIds.size);
181 out.writeInt(typeIds.off);
/dalvik/dx/src/com/android/dx/io/
H A DDexBuffer.java68 private final List<Integer> typeIds = new AbstractList<Integer>() { field in class:DexBuffer
70 checkBounds(index, tableOfContents.typeIds.size);
71 return open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt();
74 return tableOfContents.typeIds.size;
80 checkBounds(index, tableOfContents.typeIds.size);
81 return strings.get(typeIds.get(index));
84 return tableOfContents.typeIds.size;
234 public List<Integer> typeIds() { method in class:DexBuffer
235 return typeIds;
H A DDexIndexPrinter.java56 for (Integer type : dexBuffer.typeIds()) {
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java43 public final short[] typeIds; field in class:IndexMap
56 this.typeIds = new short[tableOfContents.typeIds.size];
116 return (typeIndex == ClassDef.NO_INDEX) ? ClassDef.NO_INDEX : (typeIds[typeIndex] & 0xffff);

Completed in 251 milliseconds

12