/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | TypeIdsSection.java | 35 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()
|
D | FieldIdItem.java | 45 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()
|
D | TypeListItem.java | 67 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()
|
D | IdItem.java | 48 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 49 typeIds.intern(type); in addContents()
|
D | DexFile.java | 68 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()
|
D | ClassDefItem.java | 131 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()
|
D | MemberIdItem.java | 64 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local 67 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo()
|
D | ValueEncoder.java | 312 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()
|
D | ProtoIdItem.java | 116 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 119 typeIds.intern(prototype.getReturnType()); in addContents()
|
D | CatchStructs.java | 122 TypeIdsSection typeIds = file.getTypeIds(); in encode() local 167 typeIds.indexOf(entry.getExceptionType())); in encode()
|
D | CodeItem.java | 118 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 127 typeIds.intern(type); in addContents()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | TypeIdsSection.java | 36 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()
|
D | FieldIdItem.java | 45 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()
|
D | TypeListItem.java | 67 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()
|
D | IdItem.java | 48 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 49 typeIds.intern(type); in addContents()
|
D | ClassDefItem.java | 128 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()
|
D | DexFile.java | 76 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()
|
D | MemberIdItem.java | 62 TypeIdsSection typeIds = file.getTypeIds(); in writeTo() local 65 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo()
|
D | ValueEncoder.java | 333 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()
|
D | ProtoIdItem.java | 113 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 116 typeIds.intern(prototype.getReturnType()); in addContents()
|
D | CatchStructs.java | 119 TypeIdsSection typeIds = file.getTypeIds(); in encode() local 164 typeIds.indexOf(entry.getExceptionType())); in encode()
|
D | CodeItem.java | 110 TypeIdsSection typeIds = file.getTypeIds(); in addContents() local 119 typeIds.intern(type); in addContents()
|
/dalvik/dx/src/com/android/dex/ |
D | TableOfContents.java | 34 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()
|
D | Dex.java | 64 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/ |
D | IndexMap.java | 64 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()
|