Home
last modified time | relevance | path

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

12

/dalvik/dexgen/src/com/android/dexgen/dex/file/
DTypeIdsSection.java35 private final TreeMap<Type, TypeIdItem> typeIds; field in TypeIdsSection
45 typeIds = new TreeMap<Type, TypeIdItem>(); in TypeIdsSection()
51 return typeIds.values(); in items()
64 IndexedItem result = typeIds.get(type); in get()
81 int sz = typeIds.size(); in writeHeaderPart()
110 TypeIdItem result = typeIds.get(type); in intern()
114 typeIds.put(type, result); in intern()
134 TypeIdItem result = typeIds.get(typePerSe); in intern()
138 typeIds.put(typePerSe, result); in intern()
158 TypeIdItem item = typeIds.get(type); in indexOf()
DFieldIdItem.java45 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
46 typeIds.intern(getFieldRef().getType()); in addContents()
61 TypeIdsSection typeIds = file.getTypeIds(); in getTypoidIdx() local
62 return typeIds.indexOf(getFieldRef().getType()); in getTypoidIdx()
DTypeListItem.java67 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
71 typeIds.intern(list.getType(i)); in addContents()
93 TypeIdsSection typeIds = file.getTypeIds(); in writeTo0() local
101 int idx = typeIds.indexOf(one); in writeTo0()
110 out.writeShort(typeIds.indexOf(list.getType(i))); in writeTo0()
DIdItem.java48 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
49 typeIds.intern(type); in addContents()
DDexFile.java68 private final TypeIdsSection typeIds; field in DexFile
115 typeIds = new TypeIdsSection(this); in DexFile()
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile()
334 return typeIds; in getTypeIds()
428 typeIds.intern((CstType) cst); in internIfAppropriate()
457 return typeIds.get(cst); in findItemOrNull()
491 typeIds.prepare(); in toDex0()
DClassDefItem.java131 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
137 typeIds.intern(thisClass); in addContents()
151 typeIds.intern(superclass); in addContents()
175 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local
176 int classIdx = typeIds.indexOf(thisClass); in writeTo()
178 typeIds.indexOf(superclass); in writeTo()
DMemberIdItem.java64 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local
67 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo()
DValueEncoder.java312 TypeIdsSection typeIds = file.getTypeIds(); in writeAnnotation() local
315 int typeIdx = typeIds.indexOf(type); in writeAnnotation()
322 out.writeUnsignedLeb128(typeIds.indexOf(annotation.getType())); in writeAnnotation()
495 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
498 typeIds.intern(annotation.getType()); in addContents()
DProtoIdItem.java116 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
119 typeIds.intern(prototype.getReturnType()); in addContents()
DCatchStructs.java122 TypeIdsSection typeIds = file.getTypeIds(); in encode() local
167 typeIds.indexOf(entry.getExceptionType())); in encode()
DCodeItem.java118 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
127 typeIds.intern(type); in addContents()
/dalvik/dx/src/com/android/dx/dex/file/
DTypeIdsSection.java36 private final TreeMap<Type, TypeIdItem> typeIds; field in TypeIdsSection
46 typeIds = new TreeMap<Type, TypeIdItem>(); in TypeIdsSection()
52 return typeIds.values(); in items()
65 IndexedItem result = typeIds.get(type); in get()
82 int sz = typeIds.size(); in writeHeaderPart()
115 TypeIdItem result = typeIds.get(type); in intern()
119 typeIds.put(type, result); in intern()
139 TypeIdItem result = typeIds.get(typePerSe); in intern()
143 typeIds.put(typePerSe, result); in intern()
163 TypeIdItem item = typeIds.get(type); in indexOf()
DFieldIdItem.java45 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
46 typeIds.intern(getFieldRef().getType()); in addContents()
61 TypeIdsSection typeIds = file.getTypeIds(); in getTypoidIdx() local
62 return typeIds.indexOf(getFieldRef().getType()); in getTypoidIdx()
DTypeListItem.java67 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
71 typeIds.intern(list.getType(i)); in addContents()
93 TypeIdsSection typeIds = file.getTypeIds(); in writeTo0() local
101 int idx = typeIds.indexOf(one); in writeTo0()
110 out.writeShort(typeIds.indexOf(list.getType(i))); in writeTo0()
DIdItem.java48 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
49 typeIds.intern(type); in addContents()
DClassDefItem.java128 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
134 typeIds.intern(thisClass); in addContents()
148 typeIds.intern(superclass); in addContents()
172 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local
173 int classIdx = typeIds.indexOf(thisClass); in writeTo()
175 typeIds.indexOf(superclass); in writeTo()
DDexFile.java76 private final TypeIdsSection typeIds; field in DexFile
133 typeIds = new TypeIdsSection(this); in DexFile()
155 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
163 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
410 return typeIds; in getTypeIds()
532 typeIds.intern((CstType) cst); in internIfAppropriate()
561 return typeIds.get(cst); in findItemOrNull()
635 typeIds.prepare(); in toDex0()
DMemberIdItem.java62 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local
65 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo()
DValueEncoder.java333 TypeIdsSection typeIds = file.getTypeIds(); in writeAnnotation() local
336 int typeIdx = typeIds.indexOf(type); in writeAnnotation()
343 out.writeUleb128(typeIds.indexOf(annotation.getType())); in writeAnnotation()
413 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
416 typeIds.intern(annotation.getType()); in addContents()
DProtoIdItem.java113 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
116 typeIds.intern(prototype.getReturnType()); in addContents()
DCatchStructs.java119 TypeIdsSection typeIds = file.getTypeIds(); in encode() local
164 typeIds.indexOf(entry.getExceptionType())); in encode()
DCodeItem.java110 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local
119 typeIds.intern(type); in addContents()
/dalvik/dx/src/com/android/dex/
DTableOfContents.java34 public final Section typeIds = new Section(0x0002); field in TableOfContents
53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList, callSiteIds,
109 typeIds.size = headerIn.readInt(); in readHeader()
110 typeIds.off = headerIn.readInt(); in readHeader()
186 out.writeInt(typeIds.size); in writeHeader()
187 out.writeInt(typeIds.off); in writeHeader()
DDex.java64 private final TypeIndexToDescriptorIndexTable typeIds = new TypeIndexToDescriptorIndexTable(); field in Dex
220 public List<Integer> typeIds() { in typeIds() method in Dex
221 return typeIds; in typeIds()
322 checkBounds(typeIndex, tableOfContents.typeIds.size); in descriptorIndexFromTypeIndex()
323 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex()
734 return tableOfContents.typeIds.size; in size()
746 return tableOfContents.typeIds.size; in size()
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java64 public final short[] typeIds; field in IndexMap
80 this.typeIds = new short[tableOfContents.typeIds.size]; in IndexMap()
150 return (typeIndex == ClassDef.NO_INDEX) ? ClassDef.NO_INDEX : (typeIds[typeIndex] & 0xffff); in adjustType()

12