/dalvik/dx/src/com/android/dx/dex/file/ |
D | FieldIdsSection.java | 34 private final TreeMap<CstFieldRef, FieldIdItem> fieldIds; field in FieldIdsSection 44 fieldIds = new TreeMap<CstFieldRef, FieldIdItem>(); in FieldIdsSection() 50 return fieldIds.values(); in items() 62 IndexedItem result = fieldIds.get((CstFieldRef) cst); in get() 79 int sz = fieldIds.size(); in writeHeaderPart() 104 FieldIdItem result = fieldIds.get(field); in intern() 108 fieldIds.put(field, result); in intern() 128 FieldIdItem item = fieldIds.get(ref); in indexOf()
|
D | DexFile.java | 82 private final FieldIdsSection fieldIds; field in DexFile 135 fieldIds = new FieldIdsSection(this); in DexFile() 155 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile() 163 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile() 436 return fieldIds; in getFieldIds() 536 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate() 538 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate() 565 return fieldIds.get(cst); in findItemOrNull() 567 return fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in findItemOrNull() 632 fieldIds.prepare(); in toDex0()
|
D | FieldAnnotationStruct.java | 80 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local 83 fieldIds.intern(field); in addContents()
|
D | MethodHandleItem.java | 92 FieldIdsSection fieldIds = file.getFieldIds(); in getTargetIndex() local 93 return fieldIds.indexOf((CstFieldRef) ref); in getTargetIndex()
|
D | EncodedField.java | 102 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local 103 fieldIds.intern(field); in addContents()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | FieldIdsSection.java | 35 private final TreeMap<CstFieldRef, FieldIdItem> fieldIds; field in FieldIdsSection 45 fieldIds = new TreeMap<CstFieldRef, FieldIdItem>(); in FieldIdsSection() 51 return fieldIds.values(); in items() 63 IndexedItem result = fieldIds.get((CstFieldRef) cst); in get() 80 int sz = fieldIds.size(); in writeHeaderPart() 105 FieldIdItem result = fieldIds.get(field); in intern() 109 fieldIds.put(field, result); in intern() 129 FieldIdItem item = fieldIds.get(ref); in indexOf()
|
D | DexFile.java | 74 private final FieldIdsSection fieldIds; field in DexFile 117 fieldIds = new FieldIdsSection(this); in DexFile() 127 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile() 360 return fieldIds; in getFieldIds() 432 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate() 434 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate() 461 return fieldIds.get(cst); in findItemOrNull() 488 fieldIds.prepare(); in toDex0()
|
D | FieldAnnotationStruct.java | 77 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local 80 fieldIds.intern(field); in addContents()
|
D | EncodedField.java | 100 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local 101 fieldIds.intern(field); in addContents()
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
D | FindUsages.java | 37 private final Set<Integer> fieldIds; field in FindUsages 63 methodIds = fieldIds = null; in FindUsages() 68 fieldIds = new HashSet<Integer>(); in FindUsages() 75 fieldIds.addAll(getFieldIds(dex, memberNameIndexes, typeIndex)); in FindUsages() 83 if (fieldIds.contains(fieldId)) { in FindUsages() 84 out.println(location() + ": field reference " + dex.fieldIds().get(fieldId) in FindUsages() 116 if (fieldIds == null || methodIds == null) { in findUsages() 131 if (fieldIds.contains(fieldIndex)) { in findUsages() 132 out.println(location() + " field declared " + dex.fieldIds().get(fieldIndex)); in findUsages() 159 for (FieldId fieldId : dex.fieldIds()) { in getFieldIds()
|
/dalvik/dx/src/com/android/dex/ |
D | TableOfContents.java | 36 public final Section fieldIds = new Section(0x0004); field in TableOfContents 53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList, callSiteIds, 113 fieldIds.size = headerIn.readInt(); in readHeader() 114 fieldIds.off = headerIn.readInt(); in readHeader() 190 out.writeInt(fieldIds.size); in writeHeader() 191 out.writeInt(fieldIds.off); in writeHeader()
|
D | Dex.java | 67 private final FieldIdTable fieldIds = new FieldIdTable(); field in Dex 232 public List<FieldId> fieldIds() { in fieldIds() method in Dex 233 return fieldIds; in fieldIds() 766 checkBounds(index, tableOfContents.fieldIds.size); in get() 767 return open(tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get() 772 return tableOfContents.fieldIds.size; in size()
|
D | MethodHandle.java | 129 ? dex.fieldIds().get(fieldOrMethodId) in toString()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 66 public final short[] fieldIds; field in IndexMap 82 this.fieldIds = new short[tableOfContents.fieldIds.size]; in IndexMap() 169 return fieldIds[fieldIndex] & 0xffff; in adjustField()
|
D | DexMerger.java | 532 return tableOfContents.fieldIds; in mergeFieldIds() 543 indexMap.fieldIds[oldIndex] = (short) newIndex; in mergeFieldIds() 1116 + contents.fieldIds.size * SizeOf.MEMBER_ID_ITEM in plus()
|
/dalvik/dx/junit-tests/com/android/dx/merge/ |
D | DexMergerTest.java | 61 assertEquals(0, merged.getTableOfContents().fieldIds.off); in test_merge_dexesWithEmptyFieldsSection()
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 77 for (FieldId fieldId : dex.fieldIds()) { in printFieldIds()
|