Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java289 public void transform(EncodedValueReader reader) { in transform() argument
291 switch (reader.peek()) { in transform()
293 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_BYTE, reader.readByte()); in transform()
296 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_SHORT, reader.readShort()); in transform()
299 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_INT, reader.readInt()); in transform()
302 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_LONG, reader.readLong()); in transform()
305 EncodedValueCodec.writeUnsignedIntegralValue(out, ENCODED_CHAR, reader.readChar()); in transform()
309 long longBits = ((long) Float.floatToIntBits(reader.readFloat())) << 32; in transform()
314 out, ENCODED_DOUBLE, Double.doubleToLongBits(reader.readDouble())); in transform()
318 out, ENCODED_METHOD_TYPE, adjustProto(reader.readMethodType())); in transform()
[all …]
DInstructionTransformer.java27 private final CodeReader reader; field in InstructionTransformer
34 this.reader = new CodeReader(); in InstructionTransformer()
35 this.reader.setAllVisitors(new GenericVisitor()); in InstructionTransformer()
36 this.reader.setStringVisitor(new StringVisitor()); in InstructionTransformer()
37 this.reader.setTypeVisitor(new TypeVisitor()); in InstructionTransformer()
38 this.reader.setFieldVisitor(new FieldVisitor()); in InstructionTransformer()
39 this.reader.setMethodVisitor(new MethodVisitor()); in InstructionTransformer()
40 this.reader.setMethodAndProtoVisitor(new MethodAndProtoVisitor()); in InstructionTransformer()
41 this.reader.setCallSiteVisitor(new CallSiteVisitor()); in InstructionTransformer()
52 reader.visitAll(decodedInstructions); in transform()
/dalvik/dx/src/com/android/dex/
DAnnotation.java44 EncodedValueReader reader = getReader(); in getTypeIndex() local
45 reader.readAnnotation(); in getTypeIndex()
46 return reader.getAnnotationType(); in getTypeIndex()
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java56 private void readArray(EncodedValueReader reader) { in readArray() argument
57 for (int i = 0, size = reader.readArray(); i < size; i++) { in readArray()
58 switch (reader.peek()) { in readArray()
60 encounterString(reader.readString()); in readArray()
63 readArray(reader); in readArray()