Searched defs:fmt (Results 1 - 25 of 28) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DOpcodeInfo.java35 public OpcodeInfo(Opcode opcode, String name, int opcodeValue, AbstractFormat fmt) { argument
39 this.format = fmt;
H A DInstruction.java309 int opcodeValue, AbstractFormat fmt) {
310 OpcodeInfo info = new OpcodeInfo(opcode, name, opcodeValue, fmt);
308 addOpcodeInfo(Opcode opcode, String name, int opcodeValue, AbstractFormat fmt) argument
/art/runtime/base/
H A Dstringprintf.cc65 std::string StringPrintf(const char* fmt, ...) { argument
67 va_start(ap, fmt);
69 StringAppendV(&result, fmt, ap);
/art/disassembler/
H A Ddisassembler_mips.cc365 case 'f': // Floating point "fmt".
367 size_t fmt = (instruction >> 21) & 0x7; // TODO: other fmts? local
368 switch (fmt) {
/art/runtime/
H A Dparsed_options.cc555 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { argument
556 hook_vfprintf_(stream, fmt, ap);
559 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { argument
561 va_start(ap, fmt);
562 UsageMessageV(stream, fmt, ap);
566 void ParsedOptions::Usage(const char* fmt, ...) { argument
567 bool error = (fmt != nullptr);
570 if (fmt != nullptr) {
572 va_start(ap, fmt);
573 UsageMessageV(stream, fmt, a
[all...]
H A Dcommon_throws.cc48 mirror::Class* referrer, const char* fmt, va_list* args = nullptr)
53 StringAppendV(&vmsg, fmt, *args);
56 msg << fmt; local
64 mirror::Class* referrer, const char* fmt, va_list* args = nullptr)
69 StringAppendV(&vmsg, fmt, *args);
72 msg << fmt; local
132 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) { argument
134 va_start(args, fmt);
135 ThrowException("Ljava/lang/ClassFormatError;", referrer, fmt, &args);
180 void ThrowIllegalAccessError(mirror::Class* referrer, const char* fmt, argument
238 ThrowIncompatibleClassChangeError(mirror::Class* referrer, const char* fmt, ...) argument
247 ThrowIOException(const char* fmt, ...) argument
254 ThrowWrappedIOException(const char* fmt, ...) argument
263 ThrowLinkageError(mirror::Class* referrer, const char* fmt, ...) argument
270 ThrowWrappedLinkageError(mirror::Class* referrer, const char* fmt, ...) argument
509 ThrowRuntimeException(const char* fmt, ...) argument
518 ThrowVerifyError(mirror::Class* referrer, const char* fmt, ...) argument
[all...]
H A Djava_vm_ext.cc415 void JavaVMExt::JniAbortV(const char* jni_function_name, const char* fmt, va_list ap) { argument
417 StringAppendV(&msg, fmt, ap);
421 void JavaVMExt::JniAbortF(const char* jni_function_name, const char* fmt, ...) { argument
423 va_start(args, fmt);
424 JniAbortV(jni_function_name, fmt, args);
H A Ddex_file_verifier.cc121 #define LOAD_FIELD(var, idx, fmt, error_stmt) \
122 const DexFile::FieldId* var = CheckLoadFieldId(idx, fmt); \
2133 void DexFileVerifier::ErrorStringPrintf(const char* fmt, ...) { argument
2135 va_start(ap, fmt);
2138 StringAppendV(&failure_reason_, fmt, ap);
H A Dcheck_jni.cc345 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args)
360 for (size_t i = 0; fmt[i] != '\0'; ++i) {
361 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg);
362 if (fmt[i + 1] != '\0') {
385 for (size_t i = 0; fmt[i] != '\0'; ++i) {
386 if (!CheckPossibleHeapValue(soa, fmt[i], args[i])) {
394 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { argument
408 for (size_t i = 0; fmt[i] != '\0'; ++i) {
409 TraceNonHeapValue(fmt[i], args[i], &msg);
410 if (fmt[
743 CheckNonHeapValue(char fmt, JniValueType arg) argument
841 TraceNonHeapValue(char fmt, JniValueType arg, std::string* msg) argument
940 LOG(FATAL) << function_name_ << ": unknown trace format specifier: '" << fmt << "'"; local
1160 AbortF(const char* fmt, ...) argument
1323 AbortF(const char* jni_function_name, const char* fmt, ...) argument
[all...]
H A Dthread.cc1853 void Thread::ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...) { argument
1855 va_start(args, fmt);
1856 ThrowNewExceptionV(exception_class_descriptor, fmt, args);
1861 const char* fmt, va_list ap) {
1863 StringAppendV(&msg, fmt, ap);
1860 ThrowNewExceptionV(const char* exception_class_descriptor, const char* fmt, va_list ap) argument
/art/compiler/utils/arm/
H A Dassembler_arm32_test.cc285 void ExecuteAndPrint(std::function<void()> f, std::string fmt, std::ostringstream& oss) { argument
291 oss << fmt; local
298 std::string fmt, std::ostringstream& oss) {
301 std::string after_reg = fmt;
316 bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) {
318 std::string after_shift = fmt;
331 bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) {
333 std::string after_cond = fmt;
346 std::string fmt, std::ostringstream& oss) {
349 std::string after_reg = fmt;
296 TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, bool without_pc, std::string fmt, std::ostringstream& oss) argument
315 TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) argument
330 TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, bool without_pc ATTRIBUTE_UNUSED, std::string fmt, std::ostringstream& oss) argument
345 TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
366 TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
384 TemplateHelper(std::function<void(arm::Condition, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument
423 GenericTemplateHelper(std::function<void(Args...)> f, bool without_pc, std::string fmt, std::string test_name) argument
438 T2Helper(void (arm::Arm32Assembler::*f)(Args...), bool without_pc, std::string fmt, std::string test_name) argument
440 GenericTemplateHelper(GetBoundFunction2(f), without_pc, fmt, test_name); local
444 T3Helper(void (arm::Arm32Assembler::*f)(Args...), bool without_pc, std::string fmt, std::string test_name) argument
446 GenericTemplateHelper(GetBoundFunction3(f), without_pc, fmt, test_name); local
450 T4Helper(void (arm::Arm32Assembler::*f)(Args...), bool without_pc, std::string fmt, std::string test_name) argument
452 GenericTemplateHelper(GetBoundFunction4(f), without_pc, fmt, test_name); local
456 T5Helper(void (arm::Arm32Assembler::*f)(Args...), bool without_pc, std::string fmt, std::string test_name) argument
458 GenericTemplateHelper(GetBoundFunction5(f), without_pc, fmt, test_name); local
[all...]
H A Dassembler_arm_test.h63 std::string fmt) {
68 fmt);
79 std::string fmt) {
93 std::string after_cond = fmt;
161 std::string fmt) {
165 immediates, fmt);
175 std::string fmt) {
184 std::string after_cond = fmt;
250 std::string RepeatRRC(void (Ass::*f)(Reg, Reg, Cond), std::string fmt) { argument
254 fmt);
60 RepeatRRIIC(void (Ass::*f)(Reg, Reg, Imm, Imm, Cond), int64_t imm1_min, int64_t imm1_max, int64_t imm2_min, int64_t imm2_max, std::string fmt) argument
72 RepeatTemplatedRRIIC(void (Ass::*f)(Reg1, Reg2, Imm, Imm, Cond), const std::vector<Reg1*> reg1_registers, const std::vector<Reg2*> reg2_registers, std::string (AssemblerArmTest::*GetName1)(const Reg1&), std::string (AssemblerArmTest::*GetName2)(const Reg2&), int64_t imm1_min, int64_t imm1_max, int64_t imm2_min, int64_t imm2_max, std::string fmt) argument
159 RepeatRRiiC(void (Ass::*f)(Reg, Reg, Imm, Imm, Cond), std::vector<std::pair<Imm, Imm>>& immediates, std::string fmt) argument
169 RepeatTemplatedRRiiC(void (Ass::*f)(Reg1, Reg2, Imm, Imm, Cond), const std::vector<Reg1*> reg1_registers, const std::vector<Reg2*> reg2_registers, std::string (AssemblerArmTest::*GetName1)(const Reg1&), std::string (AssemblerArmTest::*GetName2)(const Reg2&), std::vector<std::pair<Imm, Imm>>& immediates, std::string fmt) argument
258 RepeatTemplatedRRC(void (Ass::*f)(Reg1, Reg2, Cond), const std::vector<Reg1*>& reg1_registers, const std::vector<Reg2*>& reg2_registers, const std::vector<Cond>& cond, std::string (AssemblerArmTest::*GetName1)(const Reg1&), std::string (AssemblerArmTest::*GetName2)(const Reg2&), std::string fmt) argument
312 RepeatRRRC(void (Ass::*f)(Reg, Reg, Reg, Cond), std::string fmt) argument
321 RepeatTemplatedRRRC(void (Ass::*f)(Reg1, Reg2, Reg3, Cond), const std::vector<Reg1*>& reg1_registers, const std::vector<Reg2*>& reg2_registers, const std::vector<Reg3*>& reg3_registers, const std::vector<Cond>& cond, std::string (AssemblerArmTest::*GetName1)(const Reg1&), std::string (AssemblerArmTest::*GetName2)(const Reg2&), std::string (AssemblerArmTest::*GetName3)(const Reg3&), std::string fmt) argument
389 RepeatTemplatedRSC(void (Ass::*f)(RegT, SOp, Cond), const std::vector<RegT*>& registers, const std::vector<SOp>& shifts, const std::vector<Cond>& cond, std::string (AssemblerArmTest::*GetName)(const RegT&), std::string fmt) argument
443 RepeatTemplatedRRSC(void (Ass::*f)(Reg1, Reg2, const SOp&, Cond), const std::vector<Reg1*>& reg1_registers, const std::vector<Reg2*>& reg2_registers, const std::vector<SOp>& shifts, const std::vector<Cond>& cond, std::string (AssemblerArmTest::*GetName1)(const Reg1&), std::string (AssemblerArmTest::*GetName2)(const Reg2&), std::string fmt) argument
[all...]
/art/compiler/utils/
H A Dassembler_test.h63 std::string RepeatR(void (Ass::*f)(Reg), std::string fmt) { argument
67 fmt);
70 std::string Repeatr(void (Ass::*f)(Reg), std::string fmt) { argument
74 fmt);
77 std::string RepeatRR(void (Ass::*f)(Reg, Reg), std::string fmt) { argument
83 fmt);
86 std::string Repeatrr(void (Ass::*f)(Reg, Reg), std::string fmt) { argument
92 fmt);
95 std::string Repeatrb(void (Ass::*f)(Reg, Reg), std::string fmt) { argument
101 fmt);
104 RepeatRr(void (Ass::*f)(Reg, Reg), std::string fmt) argument
113 RepeatRI(void (Ass::*f)(Reg, const Imm&), size_t imm_bytes, std::string fmt) argument
117 Repeatri(void (Ass::*f)(Reg, const Imm&), size_t imm_bytes, std::string fmt) argument
121 RepeatFF(void (Ass::*f)(FPReg, FPReg), std::string fmt) argument
130 RepeatFFI(void (Ass::*f)(FPReg, FPReg, const Imm&), size_t imm_bytes, std::string fmt) argument
140 RepeatFR(void (Ass::*f)(FPReg, Reg), std::string fmt) argument
149 RepeatFr(void (Ass::*f)(FPReg, Reg), std::string fmt) argument
158 RepeatRF(void (Ass::*f)(Reg, FPReg), std::string fmt) argument
167 RepeatrF(void (Ass::*f)(Reg, FPReg), std::string fmt) argument
176 RepeatI(void (Ass::*f)(const Imm&), size_t imm_bytes, std::string fmt, bool as_uint = false) argument
346 RepeatTemplatedRegister(void (Ass::*f)(RegType), const std::vector<RegType*> registers, std::string (AssemblerTest::*GetName)(const RegType&), std::string fmt) argument
372 RepeatTemplatedRegisters(void (Ass::*f)(Reg1, Reg2), const std::vector<Reg1*> reg1_registers, const std::vector<Reg2*> reg2_registers, std::string (AssemblerTest::*GetName1)(const Reg1&), std::string (AssemblerTest::*GetName2)(const Reg2&), std::string fmt) argument
410 RepeatTemplatedRegistersImm(void (Ass::*f)(Reg1, Reg2, const Imm&), const std::vector<Reg1*> reg1_registers, const std::vector<Reg2*> reg2_registers, std::string (AssemblerTest::*GetName1)(const Reg1&), std::string (AssemblerTest::*GetName2)(const Reg2&), size_t imm_bytes, std::string fmt) argument
507 RepeatRegisterImm(void (Ass::*f)(Reg, const Imm&), size_t imm_bytes, std::string fmt) argument
[all...]
/art/runtime/interpreter/
H A Dinterpreter_common.cc464 void AbortTransactionF(Thread* self, const char* fmt, ...) { argument
466 va_start(args, fmt);
467 AbortTransactionV(self, fmt, args);
471 void AbortTransactionV(Thread* self, const char* fmt, va_list args) { argument
475 StringAppendV(&abort_msg, fmt, args);
H A Dunstarted_runtime.cc47 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...)
51 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...) { argument
54 va_start(args, fmt);
55 AbortTransactionV(self, fmt, args);
58 va_start(args, fmt);
60 StringAppendV(&msg, fmt, args);
/art/compiler/dex/quick/arm/
H A Dtarget_arm.cc354 std::string ArmMir2Lir::BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr) { argument
357 const char* fmt_end = &fmt[strlen(fmt)];
361 while (fmt < fmt_end) {
363 if (*fmt == '!') {
364 fmt++;
365 DCHECK_LT(fmt, fmt_end);
366 nc = *fmt++;
370 DCHECK_LT(fmt, fmt_end);
373 switch (*fmt
[all...]
H A Darm_lir.h598 const char* fmt; member in struct:art::ArmEncodingMap
/art/compiler/dex/quick/arm64/
H A Dtarget_arm64.cc340 std::string Arm64Mir2Lir::BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr) { argument
342 const char* fmt_end = &fmt[strlen(fmt)];
346 while (fmt < fmt_end) {
348 if (*fmt == '!') {
349 fmt++;
350 DCHECK_LT(fmt, fmt_end);
351 nc = *fmt++;
355 DCHECK_LT(fmt, fmt_end);
358 switch (*fmt
[all...]
H A Darm64_lir.h398 // These are grouped together, for fast handling (e.g. "if (LIKELY(fmt <= kFmtBitBlt)) ...").
432 const char* fmt; member in struct:art::A64EncodingMap
/art/compiler/dex/quick/mips/
H A Dtarget_mips.cc368 std::string MipsMir2Lir::BuildInsnString(const char *fmt, LIR *lir, unsigned char* base_addr) { argument
371 const char *fmt_end = &fmt[strlen(fmt)];
374 while (fmt < fmt_end) {
376 if (*fmt == '!') {
377 fmt++;
378 DCHECK_LT(fmt, fmt_end);
379 nc = *fmt++;
383 DCHECK_LT(fmt, fmt_end);
386 switch (*fmt
[all...]
/art/patchoat/
H A Dpatchoat.cc795 static void UsageErrorV(const char* fmt, va_list ap) { argument
797 StringAppendV(&error, fmt, ap);
801 static void UsageError(const char* fmt, ...) { argument
803 va_start(ap, fmt);
804 UsageErrorV(fmt, ap);
808 NO_RETURN static void Usage(const char *fmt, ...) { argument
810 va_start(ap, fmt);
811 UsageErrorV(fmt, ap);
/art/compiler/utils/mips/
H A Dassembler_mips.cc71 void MipsAssembler::EmitFR(int opcode, int fmt, FRegister ft, FRegister fs, FRegister fd, int funct) { argument
76 fmt << kFmtShift |
84 void MipsAssembler::EmitFI(int opcode, int fmt, FRegister rt, uint16_t imm) { argument
87 fmt << kFmtShift |
/art/compiler/utils/mips64/
H A Dassembler_mips64.cc71 void Mips64Assembler::EmitFR(int opcode, int fmt, FpuRegister ft, FpuRegister fs, FpuRegister fd, argument
77 fmt << kFmtShift |
85 void Mips64Assembler::EmitFI(int opcode, int fmt, FpuRegister ft, uint16_t imm) { argument
88 fmt << kFmtShift |
/art/dex2oat/
H A Ddex2oat.cc149 static void UsageErrorV(const char* fmt, va_list ap) { argument
151 StringAppendV(&error, fmt, ap);
155 static void UsageError(const char* fmt, ...) { argument
157 va_start(ap, fmt);
158 UsageErrorV(fmt, ap);
162 NO_RETURN static void Usage(const char* fmt, ...) { argument
164 va_start(ap, fmt);
165 UsageErrorV(fmt, ap);
/art/compiler/dex/quick/x86/
H A Dtarget_x86.cc357 std::string X86Mir2Lir::BuildInsnString(const char *fmt, LIR *lir, unsigned char* base_addr) { argument
360 size_t fmt_len = strlen(fmt);
362 if (fmt[i] != '!') {
363 buf += fmt[i];
368 char operand_number_ch = fmt[i];
377 switch (fmt[i]) {
412 buf += StringPrintf("DecodeError '%c'", fmt[i]);
895 return X86Mir2Lir::EncodingMap[opcode].fmt;

Completed in 1416 milliseconds

12