Home
last modified time | relevance | path

Searched refs:fieldIds (Results 1 – 17 of 17) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DFieldIdsSection.java34 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()
DDexFile.java82 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()
DFieldAnnotationStruct.java80 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local
83 fieldIds.intern(field); in addContents()
DMethodHandleItem.java92 FieldIdsSection fieldIds = file.getFieldIds(); in getTargetIndex() local
93 return fieldIds.indexOf((CstFieldRef) ref); in getTargetIndex()
DEncodedField.java102 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local
103 fieldIds.intern(field); in addContents()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DFieldIdsSection.java35 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()
DDexFile.java74 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()
DFieldAnnotationStruct.java77 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local
80 fieldIds.intern(field); in addContents()
DEncodedField.java100 FieldIdsSection fieldIds = file.getFieldIds(); in addContents() local
101 fieldIds.intern(field); in addContents()
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java37 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/
DTableOfContents.java36 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()
DDex.java67 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()
DMethodHandle.java129 ? dex.fieldIds().get(fieldOrMethodId) in toString()
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java66 public final short[] fieldIds; field in IndexMap
82 this.fieldIds = new short[tableOfContents.fieldIds.size]; in IndexMap()
169 return fieldIds[fieldIndex] & 0xffff; in adjustField()
DDexMerger.java532 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/
DDexMergerTest.java61 assertEquals(0, merged.getTableOfContents().fieldIds.off); in test_merge_dexesWithEmptyFieldsSection()
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java77 for (FieldId fieldId : dex.fieldIds()) { in printFieldIds()