Searched refs:raw (Results 1 - 25 of 40) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
H A DRawInsnHelper.java25 * Read a signed byte from the idx into the raw array.
27 public static long getSignedByteFromByte(byte[] raw, int idx) { argument
28 return (long) raw[idx];
32 * Read an unsigned byte from the idx into the raw array.
34 public static long getUnsignedByteFromByte(byte[] raw, int idx) { argument
35 return ((long) raw[idx]) & 0xff;
39 * Read an unsigned lower 4 bits from the idx into the raw array.
41 public static long getUnsignedLowNibbleFromByte(byte[] raw, int idx) { argument
42 return ((long) raw[idx]) & 0xf;
46 * Read an unsigned higher 4 bits from the idx into the raw arra
48 getUnsignedHighNibbleFromByte(byte[] raw, int idx) argument
55 getUnsignedShortFromTwoBytes(byte[] raw, int idx) argument
63 getSignedShortFromTwoBytes(byte[] raw, int idx) argument
71 getUnsignedIntFromFourBytes(byte[] raw, int idx) argument
81 getSignedIntFromFourBytes(byte[] raw, int idx) argument
91 getSignedLongFromEightBytes(byte[] raw, int idx) argument
105 writeUnsignedIntToFourBytes(byte[] raw, int idx, int value) argument
115 writeUnsignedShortToTwoBytes(byte[] raw, int idx, int value) argument
[all...]
H A DAbstractFormat.java27 * to read the vregs from an Instruction's raw bytes.
56 public abstract long getA(byte[] raw) throws IOException; argument
61 public abstract long getB(byte[] raw) throws IOException; argument
66 public abstract long getC(byte[] raw) throws IOException; argument
H A DFormat12x.java33 public long getA(byte[] raw) throws IOException { argument
34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1);
38 public long getB(byte[] raw) throws IOException { argument
39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
43 public long getC(byte[] raw) throws IOException { argument
H A DFormat20bc.java38 public long getA(byte[] raw) throws IOException { argument
39 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
43 public long getB(byte[] raw) throws IOException { argument
44 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 1);
48 public long getC(byte[] raw) throws IOException { argument
H A DFormat22x.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
44 public long getC(byte[] raw) throws IOException { argument
H A DFormat22b.java35 public long getA(byte[] raw) throws IOException { argument
36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
40 public long getB(byte[] raw) throws IOException { argument
41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2);
45 public long getC(byte[] raw) throws IOException { argument
46 return RawInsnHelper.getSignedByteFromByte(raw, 3);
H A DFormat22cs.java37 public long getA(byte[] raw) throws IOException { argument
38 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1);
42 public long getB(byte[] raw) throws IOException { argument
43 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
47 public long getC(byte[] raw) throws IOException { argument
48 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
H A DFormat22s.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
44 public long getC(byte[] raw) throws IOException { argument
45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2);
H A DFormat22t.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
44 public long getC(byte[] raw) throws IOException { argument
45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2);
H A DFormat23x.java35 public long getA(byte[] raw) throws IOException { argument
36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
40 public long getB(byte[] raw) throws IOException { argument
41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2);
45 public long getC(byte[] raw) throws IOException { argument
46 return RawInsnHelper.getUnsignedByteFromByte(raw, 3);
H A DFormat35mi.java37 public long getA(byte[] raw) throws IOException { argument
38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
42 public long getB(byte[] raw) throws IOException { argument
43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
47 public long getC(byte[] raw) throws IOException { argument
48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4);
H A DFormat35ms.java37 public long getA(byte[] raw) throws IOException { argument
38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
42 public long getB(byte[] raw) throws IOException { argument
43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
47 public long getC(byte[] raw) throws IOException { argument
48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4);
H A DFormat3rmi.java35 public long getA(byte[] raw) throws IOException { argument
36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
40 public long getB(byte[] raw) throws IOException { argument
41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
45 public long getC(byte[] raw) throws IOException { argument
46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4);
H A DFormat3rms.java35 public long getA(byte[] raw) throws IOException { argument
36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
40 public long getB(byte[] raw) throws IOException { argument
41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2);
45 public long getC(byte[] raw) throws IOException { argument
46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4);
H A DFormat00x.java36 public long getA(byte[] raw) throws IOException { argument
41 public long getB(byte[] raw) throws IOException { argument
46 public long getC(byte[] raw) throws IOException { argument
H A DFormat1.java36 public long getA(byte[] raw) throws IOException { argument
41 public long getB(byte[] raw) throws IOException { argument
46 public long getC(byte[] raw) throws IOException { argument
H A DFormat10x.java33 public long getA(byte[] raw) throws IOException { argument
38 public long getB(byte[] raw) throws IOException { argument
43 public long getC(byte[] raw) throws IOException { argument
H A DFormat2.java36 public long getA(byte[] raw) throws IOException { argument
41 public long getB(byte[] raw) throws IOException { argument
46 public long getC(byte[] raw) throws IOException { argument
H A DFormat3.java36 public long getA(byte[] raw) throws IOException { argument
41 public long getB(byte[] raw) throws IOException { argument
46 public long getC(byte[] raw) throws IOException { argument
H A DFormat5.java36 public long getA(byte[] raw) throws IOException { argument
41 public long getB(byte[] raw) throws IOException { argument
46 public long getC(byte[] raw) throws IOException { argument
H A DFormat11x.java33 public long getA(byte[] raw) throws IOException { argument
34 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
38 public long getB(byte[] raw) throws IOException { argument
43 public long getC(byte[] raw) throws IOException { argument
H A DFormat11n.java33 public long getA(byte[] raw) throws IOException { argument
34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1);
38 public long getB(byte[] raw) throws IOException { argument
39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1);
43 public long getC(byte[] raw) throws IOException { argument
H A DFormat21h.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2);
44 public long getC(byte[] raw) throws IOException { argument
H A DFormat21s.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2);
44 public long getC(byte[] raw) throws IOException { argument
H A DFormat21t.java34 public long getA(byte[] raw) throws IOException { argument
35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1);
39 public long getB(byte[] raw) throws IOException { argument
40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2);
44 public long getC(byte[] raw) throws IOException { argument

Completed in 160 milliseconds

12