Home
last modified time | relevance | path

Searched refs:stringIds (Results 1 – 13 of 13) sorted by relevance

/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java34 private final Set<Integer> stringIds; field in Grep
46 stringIds = getStringIds(dex, pattern); in Grep()
69 if (stringIds.contains(index)) { in encounterString()
120 Set<Integer> stringIds = new HashSet<Integer>(); in getStringIds() local
124 stringIds.add(stringIndex); in getStringIds()
128 return stringIds; in getStringIds()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DMemberIdItem.java57 StringIdsSection stringIds = file.getStringIds(); in addContents() local
58 stringIds.intern(getRef().getNat().getName()); in addContents()
65 StringIdsSection stringIds = file.getStringIds(); in writeTo() local
68 int nameIdx = stringIds.indexOf(nat.getName()); in writeTo()
DDexFile.java65 private final StringIdsSection stringIds; field in DexFile
114 stringIds = new StringIdsSection(this); in DexFile()
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile()
295 return stringIds; in getStringIds()
424 stringIds.intern((CstString) cst); in internIfAppropriate()
426 stringIds.intern((CstUtf8) cst); in internIfAppropriate()
455 return stringIds.get(cst); in findItemOrNull()
492 stringIds.prepare(); in toDex0()
DProtoIdItem.java115 StringIdsSection stringIds = file.getStringIds(); in addContents() local
120 stringIds.intern(shortForm); in addContents()
DValueEncoder.java311 StringIdsSection stringIds = file.getStringIds(); in writeAnnotation() local
336 int nameIdx = stringIds.indexOf(name); in writeAnnotation()
496 StringIdsSection stringIds = file.getStringIds(); in addContents() local
501 stringIds.intern(pair.getName()); in addContents()
DClassDefItem.java135 StringIdsSection stringIds = file.getStringIds(); in addContents() local
159 stringIds.intern(sourceFile); in addContents()
/dalvik/dx/src/com/android/dx/dex/file/
DMemberIdItem.java55 StringIdsSection stringIds = file.getStringIds(); in addContents() local
56 stringIds.intern(getRef().getNat().getName()); in addContents()
63 StringIdsSection stringIds = file.getStringIds(); in writeTo() local
66 int nameIdx = stringIds.indexOf(nat.getName()); in writeTo()
DDexFile.java68 private final StringIdsSection stringIds; field in DexFile
119 stringIds = new StringIdsSection(this); in DexFile()
132 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile()
314 return stringIds; in getStringIds()
443 stringIds.intern((CstString) cst); in internIfAppropriate()
472 return stringIds.get(cst); in findItemOrNull()
509 stringIds.prepare(); in toDex0()
DProtoIdItem.java112 StringIdsSection stringIds = file.getStringIds(); in addContents() local
117 stringIds.intern(shortForm); in addContents()
DValueEncoder.java310 StringIdsSection stringIds = file.getStringIds(); in writeAnnotation() local
335 int nameIdx = stringIds.indexOf(name); in writeAnnotation()
392 StringIdsSection stringIds = file.getStringIds(); in addContents() local
397 stringIds.intern(pair.getName()); in addContents()
DClassDefItem.java133 StringIdsSection stringIds = file.getStringIds(); in addContents() local
157 stringIds.intern(sourceFile); in addContents()
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java59 public final int[] stringIds; field in IndexMap
73 this.stringIds = new int[tableOfContents.stringIds.size]; in IndexMap()
138 return stringIndex == ClassDef.NO_INDEX ? ClassDef.NO_INDEX : stringIds[stringIndex]; in adjustString()
DDexMerger.java381 return tableOfContents.stringIds; in mergeStringIds()
389 indexMap.stringIds[oldIndex] = newIndex; in mergeStringIds()
1048 idsDefs += contents.stringIds.size * SizeOf.STRING_ID_ITEM in plus()