Home
last modified time | relevance | path

Searched refs:typeSection (Results 1 – 4 of 4) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DEncodedValueWriter.java49 @Nonnull private final TypeSection<?, TypeKey, ?> typeSection; field in EncodedValueWriter
57 @Nonnull TypeSection<?, TypeKey, ?> typeSection, in EncodedValueWriter() argument
63 this.typeSection = typeSection; in EncodedValueWriter()
74 writer.writeUleb128(typeSection.getItemIndex(annotationType)); in writeAnnotation()
147 writer.writeEncodedUint(ValueType.TYPE, typeSection.getItemIndex(value)); in writeType()
DDebugWriter.java43 @Nonnull private final TypeSection<StringKey, TypeKey, ?> typeSection; field in DebugWriter
49 @Nonnull TypeSection<StringKey, TypeKey, ?> typeSection, in DebugWriter() argument
52 this.typeSection = typeSection; in DebugWriter()
66 int typeIndex = typeSection.getNullableItemIndex(type); in writeStartLocal()
DDexWriter.java127 protected final TypeSection<StringKey, TypeKey, TypeRef> typeSection; field in DexWriter
140 TypeSection<StringKey, TypeKey, TypeRef> typeSection, in DexWriter() argument
153 this.typeSection = typeSection; in DexWriter()
184 … super(writer, stringSection, typeSection, fieldSection, methodSection, annotationSection);
195 typeSection.getItems().size() * TypeIdItem.ITEM_SIZE +
223 for (Entry<? extends TypeKey, Integer> typeReference: typeSection.getItems()) {
337 …List<Map.Entry<? extends TypeKey, Integer>> typeEntries = Lists.newArrayList(typeSection.getItems(…
342 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
357 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
372 writer.writeUshort(typeSection.getItemIndex(fieldSection.getDefiningClass(key)));
[all …]
DInstructionWriter.java58 @Nonnull private final TypeSection<?, ?, TypeRef> typeSection; field in InstructionWriter
68 @Nonnull TypeSection<?, ?, TypeRef> typeSection, in makeInstructionWriter() argument
72 opcodes, writer, stringSection, typeSection, fieldSection, methodSection); in makeInstructionWriter()
78 @Nonnull TypeSection<?, ?, TypeRef> typeSection, in InstructionWriter() argument
84 this.typeSection = typeSection; in InstructionWriter()
463 return typeSection.getItemIndex((TypeRef)referenceInstruction.getReference()); in getReferenceIndex()