Home
last modified time | relevance | path

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

123

/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/vm/analysis/
DRegisterMap.h55 u1 format; /* enum RegisterMapFormat; MUST be first entry */ member
70 return (RegisterMapFormat)(pMap->format & ~(kRegMapFormatOnHeap)); in dvmRegisterMapGetFormat()
76 INLINE void dvmRegisterMapSetFormat(RegisterMap* pMap, RegisterMapFormat format) in dvmRegisterMapSetFormat() argument
78 pMap->format &= kRegMapFormatOnHeap; in dvmRegisterMapSetFormat()
79 pMap->format |= format; in dvmRegisterMapSetFormat()
86 return (pMap->format & kRegMapFormatOnHeap) != 0; in dvmRegisterMapGetOnHeap()
108 pMap->format |= kRegMapFormatOnHeap; in dvmRegisterMapSetOnHeap()
110 pMap->format &= ~(kRegMapFormatOnHeap); in dvmRegisterMapSetOnHeap()
255 RegisterMapFormat format = dvmRegisterMapGetFormat(curMap); in dvmGetExpandedRegisterMap() local
256 if (format == kRegMapFormatCompact8 || format == kRegMapFormatCompact16) { in dvmGetExpandedRegisterMap()
DRegisterMap.cpp193 RegisterMapFormat format; in dvmGenerateRegisterMapV() local
214 format = kRegMapFormatCompact8; in dvmGenerateRegisterMapV()
217 format = kRegMapFormatCompact16; in dvmGenerateRegisterMapV()
249 dvmRegisterMapSetFormat(pMap, format); in dvmGenerateRegisterMapV()
261 if (format == kRegMapFormatCompact8) { in dvmGenerateRegisterMapV()
402 const RegisterMapFormat format = dvmRegisterMapGetFormat(pMap); in dumpRegisterMap() local
407 switch (format) { in dumpRegisterMap()
416 ALOGE("Can only dump Compact8 / Compact16 maps (not %d)", format); in dumpRegisterMap()
469 const RegisterMapFormat format = dvmRegisterMapGetFormat(pMap); in verifyMap() local
499 switch (format) { in verifyMap()
[all …]
DVerifySubs.cpp45 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) in dvmLogVerifyFailure() argument
57 va_start(ap, format); in dvmLogVerifyFailure()
58 LOG_PRI_VA(logLevel, LOG_TAG, format, ap); in dvmLogVerifyFailure()
DVerifySubs.h54 void dvmLogVerifyFailure(const Method* meth, const char* format, ...)
56 __attribute__ ((format(printf, 2, 3)))
/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/vm/
DInit.h66 int dvmFprintf(FILE* fp, const char* format, ...)
68 __attribute__ ((format(printf, 2, 3)))
DMisc.cpp171 void dvmPrintDebugMessage(const DebugOutputTarget* target, const char* format, in dvmPrintDebugMessage() argument
176 va_start(args, format); in dvmPrintDebugMessage()
181 format, args); in dvmPrintDebugMessage()
184 vfprintf(target->data.file.fp, format, args); in dvmPrintDebugMessage()
773 void StringAppendV(std::string* dst, const char* format, va_list ap) { in StringAppendV() argument
782 int result = vsnprintf(space, sizeof(space), format, backup_ap); in StringAppendV()
805 result = vsnprintf(buf, length, format, backup_ap); in StringAppendV()
827 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() argument
829 va_start(ap, format); in StringAppendF()
830 StringAppendV(dst, format, ap); in StringAppendF()
/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];
/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/tests/021-string2/src/junit/framework/
DComparisonFailure.java32 return Assert.format(super.getMessage(), fExpected, fActual); in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
/dalvik/tests/082-inline-execute/src/junit/framework/
DComparisonFailure.java32 return Assert.format(super.getMessage(), fExpected, fActual); in getMessage()
66 return Assert.format(super.getMessage(), expected, actual); in getMessage()

123