Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 45) sorted by relevance

12

/dalvik/dx/src/com/android/dx/io/instructions/
DFillArrayDataPayloadDecodedInstruction.java38 private FillArrayDataPayloadDecodedInstruction(InstructionCodec format, in FillArrayDataPayloadDecodedInstruction() argument
40 super(format, opcode, 0, null, 0, 0L); in FillArrayDataPayloadDecodedInstruction()
50 public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, in FillArrayDataPayloadDecodedInstruction() argument
52 this(format, opcode, data, data.length, 1); in FillArrayDataPayloadDecodedInstruction()
58 public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, in FillArrayDataPayloadDecodedInstruction() argument
60 this(format, opcode, data, data.length, 2); in FillArrayDataPayloadDecodedInstruction()
66 public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, in FillArrayDataPayloadDecodedInstruction() argument
68 this(format, opcode, data, data.length, 4); in FillArrayDataPayloadDecodedInstruction()
74 public FillArrayDataPayloadDecodedInstruction(InstructionCodec format, in FillArrayDataPayloadDecodedInstruction() argument
76 this(format, opcode, data, data.length, 8); in FillArrayDataPayloadDecodedInstruction()
DDecodedInstruction.java41 private final InstructionCodec format; field in DecodedInstruction
72 InstructionCodec format = OpcodeInfo.getFormat(opcode); in decode() local
74 return format.decode(opcodeUnit, in); in decode()
101 public DecodedInstruction(InstructionCodec format, int opcode, in DecodedInstruction() argument
103 if (format == null) { in DecodedInstruction()
111 this.format = format; in DecodedInstruction()
120 return format; in getFormat()
470 format.encode(this, out); in encode()
DPackedSwitchPayloadDecodedInstruction.java37 public PackedSwitchPayloadDecodedInstruction(InstructionCodec format, in PackedSwitchPayloadDecodedInstruction() argument
39 super(format, opcode, 0, null, 0, 0L); in PackedSwitchPayloadDecodedInstruction()
DSparseSwitchPayloadDecodedInstruction.java37 public SparseSwitchPayloadDecodedInstruction(InstructionCodec format, in SparseSwitchPayloadDecodedInstruction() argument
39 super(format, opcode, 0, null, 0, 0L); in SparseSwitchPayloadDecodedInstruction()
DZeroRegisterDecodedInstruction.java28 public ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, in ZeroRegisterDecodedInstruction() argument
30 super(format, opcode, index, indexType, target, literal); in ZeroRegisterDecodedInstruction()
DOneRegisterDecodedInstruction.java31 public OneRegisterDecodedInstruction(InstructionCodec format, int opcode, in OneRegisterDecodedInstruction() argument
34 super(format, opcode, index, indexType, target, literal); in OneRegisterDecodedInstruction()
DRegisterRangeDecodedInstruction.java35 public RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, in RegisterRangeDecodedInstruction() argument
38 super(format, opcode, index, indexType, target, literal); in RegisterRangeDecodedInstruction()
DTwoRegisterDecodedInstruction.java34 public TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, in TwoRegisterDecodedInstruction() argument
37 super(format, opcode, index, indexType, target, literal); in TwoRegisterDecodedInstruction()
DThreeRegisterDecodedInstruction.java37 public ThreeRegisterDecodedInstruction(InstructionCodec format, int opcode, in ThreeRegisterDecodedInstruction() argument
40 super(format, opcode, index, indexType, target, literal); in ThreeRegisterDecodedInstruction()
DFourRegisterDecodedInstruction.java40 public FourRegisterDecodedInstruction(InstructionCodec format, int opcode, in FourRegisterDecodedInstruction() argument
43 super(format, opcode, index, indexType, target, literal); in FourRegisterDecodedInstruction()
DFiveRegisterDecodedInstruction.java43 public FiveRegisterDecodedInstruction(InstructionCodec format, int opcode, in FiveRegisterDecodedInstruction() argument
46 super(format, opcode, index, indexType, target, literal); in FiveRegisterDecodedInstruction()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDop.java30 private final InsnFormat format; field in Dop
49 public Dop(int opcode, int family, InsnFormat format, in Dop() argument
59 if (format == null) { in Dop()
69 this.format = format; in Dop()
105 return format; in getFormat()
DOutputFinisher.java485 private InsnFormat findFormatForInsn(DalvInsn insn, InsnFormat format) { in findFormatForInsn() argument
486 if (format == null) { in findFormatForInsn()
488 return format; in findFormatForInsn()
491 if (format.isCompatible(insn)) { in findFormatForInsn()
493 return format; in findFormatForInsn()
500 format = format.nextUp(); in findFormatForInsn()
501 if ((format == null) || in findFormatForInsn()
502 (format.isCompatible(insn) && in findFormatForInsn()
503 (Dops.getOrNull(family, format) != null))) { in findFormatForInsn()
508 return format; in findFormatForInsn()
[all …]
/dalvik/dx/src/com/android/dx/dex/code/
DDop.java41 private final InsnFormat format; field in Dop
60 public Dop(int opcode, int family, int nextOpcode, InsnFormat format, in Dop() argument
74 if (format == null) { in Dop()
81 this.format = format; in Dop()
116 return format; in getFormat()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DOutput.java33 private static void generateHeader0(String fileName, String format) { in generateHeader0() argument
34 if (format.equals("brief")) { in generateHeader0()
38 } else if (format.equals("xml")) { in generateHeader0()
50 public static void generateFirstHeader(String fileName, String format) { in generateFirstHeader() argument
51 generateHeader0(fileName, format); in generateFirstHeader()
54 public static void generateHeader(String fileName, String format) { in generateHeader() argument
56 generateHeader0(fileName, format); in generateHeader()
59 public static void generateFooter(String format) { in generateFooter() argument
60 if (format.equals("brief")) { in generateFooter()
62 } else if (format.equals("xml")) { in generateFooter()
[all …]
/dalvik/opcode-gen/
Dopcode-gen.awk101 constName[i], constName[i], family[i], nextOp, format[i],
118 constName[i], constName[i], name[i], toupper(format[i]), itype);
296 format[idx] = parts[3];
312 split(format[idx], parts, ""); # Width is the first format char.
316 familyFormat[family[idx],format[idx]] = idx;
320 if (nextFormat[format[idx]] == "") {
321 printf("unknown format: %s\n", format[idx]) >"/dev/stderr";
383 fmt = format[idx];
388 for (fmt = nextFormat[format[idx]]; fmt != "none"; fmt = nextFormat[fmt]) {
415 packedFormat[i] = format[op];
Dbytecode.txt19 # One line per instruction format family. Each line consists of a
31 format 10t 20t 30t
32 format 10x
33 format 11n 21s 21h 31i 51l
34 format 11x
35 format 12x 22x 23x 32x # See note, above.
36 format 21c 31c
37 format 21t 31t
38 format 22b 22s
39 format 22c
[all …]
/dalvik/dx/tests/074-dex-form35c-edge-case/
Dinfo.txt2 an edge case of instruction format 35c works, where a reference
4 the instruction has to be rewritten to use a different format.
/dalvik/dx/src/com/android/dx/dex/file/
DMemberIdsSection.java75 formatter.format("Too many %s references: %d; max is %d.%n" + in getTooManyMembersMessage()
80 formatter.format("%n%6d %s", entry.getValue().get(), entry.getKey()); in getTooManyMembersMessage()
DDebugInfoEncoder.java211 annotate(1, String.format("%04x: prologue end",address)); in convert0()
418 String.format("parameters_size: %04x", szParamTypes)); in emitHeader()
629 String.format("%04x: +local restart %s", in emitLocalRestart()
708 String.format("%04x: +local %s", address, in emitLocalStart()
738 String.format("%04x: +localx %s", address, in emitLocalStartExtended()
763 String.format("%04x: -local %s", address, in emitLocalEnd()
824 String.format("%04x: line %d", address, line)); in emitPosition()
867 String.format("line = %d", line)); in emitAdvanceLine()
891 String.format("%04x: advance pc", address)); in emitAdvancePc()
/dalvik/tools/dexdeps/
DREADME.txt19 --format={brief,xml}
21 Specifies the output format.
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoEncoder.java203 annotate(1, String.format("%04x: prologue end",address)); in convert0()
410 String.format("parameters_size: %04x", szParamTypes)); in emitHeader()
621 String.format("%04x: +local restart %s", in emitLocalRestart()
700 String.format("%04x: +local %s", address, in emitLocalStart()
730 String.format("%04x: +localx %s", address, in emitLocalStartExtended()
755 String.format("%04x: -local %s", address, in emitLocalEnd()
816 String.format("%04x: line %d", address, line)); in emitPosition()
859 String.format("line = %d", line)); in emitAdvanceLine()
883 String.format("%04x: advance pc", address)); in emitAdvancePc()
DMemberIdItem.java74 out.annotate(2, String.format(" %-10s %s", getTypoidName() + ':', in writeTo()
/dalvik/hit/src/com/android/hit/
DRootObj.java109 return String.format("%s@0x08x", mType.getName(), mId); in toString()
DClassObj.java77 root.mComment = String.format( in resolveReferences()
86 root.mComment = String.format( in resolveReferences()

12