Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java257 public void transform(EncodedValueReader reader) { in transform() argument
259 switch (reader.peek()) { in transform()
261 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_BYTE, reader.readByte()); in transform()
264 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_SHORT, reader.readShort()); in transform()
267 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_INT, reader.readInt()); in transform()
270 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_LONG, reader.readLong()); in transform()
273 EncodedValueCodec.writeUnsignedIntegralValue(out, ENCODED_CHAR, reader.readChar()); in transform()
277 long longBits = ((long) Float.floatToIntBits(reader.readFloat())) << 32; in transform()
282 out, ENCODED_DOUBLE, Double.doubleToLongBits(reader.readDouble())); in transform()
286 out, ENCODED_STRING, adjustString(reader.readString())); in transform()
[all …]
DInstructionTransformer.java28 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()
49 reader.visitAll(decodedInstructions); in transform()
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java55 private void readArray(EncodedValueReader reader) { in readArray() argument
56 for (int i = 0, size = reader.readArray(); i < size; i++) { in readArray()
57 switch (reader.peek()) { in readArray()
59 encounterString(reader.readString()); in readArray()
62 readArray(reader); in readArray()