Home
last modified time | relevance | path

Searched refs:getItemIndex (Results 1 – 19 of 19) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DEncodedValueWriter.java74 writer.writeUleb128(typeSection.getItemIndex(annotationType)); in writeAnnotation()
81 … writer.writeUleb128(stringSection.getItemIndex(annotationSection.getElementName(element))); in writeAnnotation()
111 writer.writeEncodedUint(ValueType.ENUM, fieldSection.getItemIndex(value)); in writeEnum()
115 writer.writeEncodedUint(ValueType.FIELD, fieldSection.getItemIndex(value)); in writeField()
131 writer.writeEncodedUint(ValueType.METHOD, methodSection.getItemIndex(value)); in writeMethod()
143 writer.writeEncodedUint(ValueType.STRING, stringSection.getItemIndex(value)); in writeString()
147 writer.writeEncodedUint(ValueType.TYPE, typeSection.getItemIndex(value)); in writeType()
DDexWriter.java342 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
356 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
357 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
372 writer.writeUshort(typeSection.getItemIndex(fieldSection.getDefiningClass(key)));
373 writer.writeUshort(typeSection.getItemIndex(fieldSection.getFieldType(key)));
374 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
388 writer.writeUshort(typeSection.getItemIndex(methodSection.getDefiningClass(key)));
389 writer.writeUshort(protoSection.getItemIndex(methodSection.getPrototype(key)));
390 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
448 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
[all …]
DStringSection.java39 int getItemIndex(@Nonnull StringRef key); in getItemIndex() method
DIndexSection.java39 int getItemIndex(@Nonnull Key key); in getItemIndex() method
DTypeSection.java40 int getItemIndex(@Nonnull TypeRef key); in getItemIndex() method
DInstructionWriter.java457 return fieldSection.getItemIndex((FieldRefKey)referenceInstruction.getReference()); in getReferenceIndex()
459 … return methodSection.getItemIndex((MethodRefKey)referenceInstruction.getReference()); in getReferenceIndex()
461 return stringSection.getItemIndex((StringRef)referenceInstruction.getReference()); in getReferenceIndex()
463 return typeSection.getItemIndex((TypeRef)referenceInstruction.getReference()); in getReferenceIndex()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DTypePool.java62 @Override public int getItemIndex(@Nonnull TypeReference key) { in getItemIndex() method in TypePool
63 return getItemIndex(key.getType()); in getItemIndex()
DStringTypeBasePool.java51 @Override public int getItemIndex(@Nonnull CharSequence key) { in getItemIndex() method in StringTypeBasePool
63 return getItemIndex(key); in getNullableItemIndex()
DStringPool.java52 @Override public int getItemIndex(@Nonnull StringReference key) { in getItemIndex() method in StringPool
DBaseIndexPool.java49 @Override public int getItemIndex(@Nonnull Key key) { in getItemIndex() method in BaseIndexPool
DFieldPool.java72 return getItemIndex(field); in getFieldIndex()
DMethodPool.java78 return getItemIndex(poolMethod); in getMethodIndex()
DClassPool.java516 @Override public int getItemIndex(@Nonnull PoolClassDef classDef) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderStringPool.java68 @Override public int getItemIndex(@Nonnull BuilderStringReference key) { in getItemIndex() method in BuilderStringPool
DBuilderTypePool.java78 @Override public int getItemIndex(@Nonnull BuilderTypeReference key) { in getItemIndex() method in BuilderTypePool
DBuilderFieldPool.java90 @Override public int getItemIndex(@Nonnull BuilderFieldReference key) { in getItemIndex() method in BuilderFieldPool
DBuilderMethodPool.java97 @Override public int getItemIndex(@Nonnull BuilderMethodReference key) { in getItemIndex() method in BuilderMethodPool
DBuilderProtoPool.java89 @Override public int getItemIndex(@Nonnull BuilderProtoReference key) { in getItemIndex() method in BuilderProtoPool
DBuilderClassPool.java427 @Override public int getItemIndex(@Nonnull BuilderClassDef builderClassDef) {