Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 40) sorted by relevance

12

/art/runtime/
Dcommon_throws.cc47 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowException() argument
52 StringAppendV(&vmsg, fmt, *args); in ThrowException()
55 msg << fmt; in ThrowException()
69 mirror::Class* referrer, const char* fmt, va_list* args = NULL) in ThrowWrappedException() argument
74 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException()
77 msg << fmt; in ThrowWrappedException()
142 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...) { in ThrowClassFormatError() argument
144 va_start(args, fmt); in ThrowClassFormatError()
145 ThrowException(NULL, "Ljava/lang/ClassFormatError;", referrer, fmt, &args); in ThrowClassFormatError()
191 void ThrowIllegalAccessError(mirror::Class* referrer, const char* fmt, ...) { in ThrowIllegalAccessError() argument
[all …]
Dcommon_throws.h68 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...)
91 void ThrowIllegalAccessError(mirror::Class* referrer, const char* fmt, ...)
120 void ThrowIncompatibleClassChangeError(mirror::Class* referrer, const char* fmt, ...)
126 void ThrowIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
129 void ThrowWrappedIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
134 void ThrowLinkageError(mirror::Class* referrer, const char* fmt, ...)
187 void ThrowRuntimeException(const char* fmt, ...)
193 void ThrowVerifyError(mirror::Class* referrer, const char* fmt, ...)
Dparsed_options.h112 void Usage(const char* fmt, ...);
113 void UsageMessage(FILE* stream, const char* fmt, ...);
114 void UsageMessageV(FILE* stream, const char* fmt, va_list ap);
Dparsed_options.cc717 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { in UsageMessageV() argument
718 hook_vfprintf_(stderr, fmt, ap); in UsageMessageV()
721 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { in UsageMessage() argument
723 va_start(ap, fmt); in UsageMessage()
724 UsageMessageV(stream, fmt, ap); in UsageMessage()
728 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() argument
729 bool error = (fmt != nullptr); in Usage()
732 if (fmt != nullptr) { in Usage()
734 va_start(ap, fmt); in Usage()
735 UsageMessageV(stream, fmt, ap); in Usage()
Dcheck_jni.cc70 static void JniAbortV(const char* jni_function_name, const char* fmt, va_list ap) { in JniAbortV() argument
72 StringAppendV(&msg, fmt, ap); in JniAbortV()
76 void JniAbortF(const char* jni_function_name, const char* fmt, ...) { in JniAbortF() argument
78 va_start(args, fmt); in JniAbortF()
79 JniAbortV(jni_function_name, fmt, args); in JniAbortF()
417 for (const char* fmt = fmt0; *fmt;) { in Check() local
418 char ch = *fmt++; in Check()
527 if (*fmt) { in Check()
552 for (const char* fmt = fmt0; *fmt; ++fmt) { in Check() local
553 char ch = *fmt; in Check()
Ddex_file_verifier.h111 void ErrorStringPrintf(const char* fmt, ...)
Djni_internal.h52 void JniAbortF(const char* jni_function_name, const char* fmt, ...)
Dmonitor.cc294 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...)
297 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...) in ThrowIllegalMonitorStateExceptionF() argument
300 va_start(args, fmt); in ThrowIllegalMonitorStateExceptionF()
303 self->ThrowNewExceptionV(throw_location, "Ljava/lang/IllegalMonitorStateException;", fmt, args); in ThrowIllegalMonitorStateExceptionF()
Ddex_file_verifier.cc121 #define LOAD_FIELD(var, idx, fmt, error_stmt) \ argument
122 const DexFile::FieldId* var = CheckLoadFieldId(idx, fmt); \
2106 void DexFileVerifier::ErrorStringPrintf(const char* fmt, ...) { in ErrorStringPrintf() argument
2108 va_start(ap, fmt); in ErrorStringPrintf()
2111 StringAppendV(&failure_reason_, fmt, ap); in ErrorStringPrintf()
/art/test/092-locale/src/
DMain.java74 DateFormat fmt = DateFormat.getDateInstance(DateFormat.FULL, usa); in testCalendar() local
75 fmt.setTimeZone(tz); // defaults to local TZ; force GMT in testCalendar()
76 System.out.println("USA(" + fmt.getTimeZone().getID() + "): " in testCalendar()
77 + fmt.format(when)); in testCalendar()
90 fmt = DateFormat.getDateInstance(DateFormat.FULL, usa); in testCalendar()
91 fmt.setTimeZone(tz); // defaults to local TZ; force GMT in testCalendar()
92 System.out.println("France(" + fmt.getTimeZone().getID() + "): " in testCalendar()
93 + fmt.format(when)); in testCalendar()
/art/runtime/base/
Dstringprintf.cc65 std::string StringPrintf(const char* fmt, ...) { in StringPrintf() argument
67 va_start(ap, fmt); in StringPrintf()
69 StringAppendV(&result, fmt, ap); in StringPrintf()
Dstringprintf.h26 std::string StringPrintf(const char* fmt, ...)
30 void StringAppendF(std::string* dst, const char* fmt, ...)
/art/compiler/dex/quick/mips/
Dtarget_mips.cc194 std::string MipsMir2Lir::BuildInsnString(const char *fmt, LIR *lir, unsigned char* base_addr) { in BuildInsnString() argument
197 const char *fmt_end = &fmt[strlen(fmt)]; in BuildInsnString()
200 while (fmt < fmt_end) { in BuildInsnString()
202 if (*fmt == '!') { in BuildInsnString()
203 fmt++; in BuildInsnString()
204 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
205 nc = *fmt++; in BuildInsnString()
209 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
212 switch (*fmt++) { in BuildInsnString()
280 buf += *fmt++; in BuildInsnString()
[all …]
Dassemble_mips.cc42 k3, k3s, k3e, flags, name, fmt, size) \ argument
44 {k3, k3s, k3e}}, opcode, flags, name, fmt, size}
/art/compiler/dex/quick/arm/
Dtarget_arm.cc353 std::string ArmMir2Lir::BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr) { in BuildInsnString() argument
356 const char* fmt_end = &fmt[strlen(fmt)]; in BuildInsnString()
360 while (fmt < fmt_end) { in BuildInsnString()
362 if (*fmt == '!') { in BuildInsnString()
363 fmt++; in BuildInsnString()
364 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
365 nc = *fmt++; in BuildInsnString()
369 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
372 switch (*fmt++) { in BuildInsnString()
485 buf += *fmt++; in BuildInsnString()
[all …]
/art/compiler/utils/
Dassembler_test.h55 std::string RepeatR(void (Ass::*f)(Reg), std::string fmt) { in RepeatR() argument
60 std::string base = fmt; in RepeatR()
80 std::string RepeatRR(void (Ass::*f)(Reg, Reg), std::string fmt) { in RepeatRR() argument
86 std::string base = fmt; in RepeatRR()
115 std::string RepeatRI(void (Ass::*f)(Reg, const Imm&), size_t imm_bytes, std::string fmt) { in RepeatRI() argument
124 std::string base = fmt; in RepeatRI()
153 std::string RepeatI(void (Ass::*f)(const Imm&), size_t imm_bytes, std::string fmt) { in RepeatI() argument
160 std::string base = fmt; in RepeatI()
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc335 std::string Arm64Mir2Lir::BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr) { in BuildInsnString() argument
337 const char* fmt_end = &fmt[strlen(fmt)]; in BuildInsnString()
341 while (fmt < fmt_end) { in BuildInsnString()
343 if (*fmt == '!') { in BuildInsnString()
344 fmt++; in BuildInsnString()
345 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
346 nc = *fmt++; in BuildInsnString()
350 DCHECK_LT(fmt, fmt_end); in BuildInsnString()
353 switch (*fmt++) { in BuildInsnString()
514 buf += *fmt++; in BuildInsnString()
[all …]
Darm64_lir.h434 const char* fmt; member
446 const char* fmt;
Dassemble_arm64.cc61 a3k, a3s, a3e, flags, name, fmt, fixup) \ argument
63 {a3k, a3s, a3e}}, opcode, flags, name, fmt, 4, fixup}
750 << "(" << UNWIDE(encoder->opcode) << ", " << encoder->fmt << ")" in EncodeLIRs()
/art/disassembler/
Ddisassembler_mips.cc208 size_t fmt = (instruction >> 21) & 0x7; // TODO: other fmts? in Dump() local
209 switch (fmt) { in Dump()
/art/patchoat/
Dpatchoat.cc772 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
774 StringAppendV(&error, fmt, ap); in UsageErrorV()
778 static void UsageError(const char* fmt, ...) { in UsageError() argument
780 va_start(ap, fmt); in UsageError()
781 UsageErrorV(fmt, ap); in UsageError()
785 static void Usage(const char *fmt, ...) { in Usage() argument
787 va_start(ap, fmt); in Usage()
788 UsageErrorV(fmt, ap); in Usage()
/art/dex2oat/
Ddex2oat.cc82 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
84 StringAppendV(&error, fmt, ap); in UsageErrorV()
88 static void UsageError(const char* fmt, ...) { in UsageError() argument
90 va_start(ap, fmt); in UsageError()
91 UsageErrorV(fmt, ap); in UsageError()
95 static void Usage(const char* fmt, ...) { in Usage() argument
97 va_start(ap, fmt); in Usage()
98 UsageErrorV(fmt, ap); in Usage()
/art/compiler/utils/mips/
Dassembler_mips.h274 void EmitFR(int opcode, int fmt, FRegister ft, FRegister fs, FRegister fd, int funct);
275 void EmitFI(int opcode, int fmt, FRegister rt, uint16_t imm);
Dassembler_mips.cc70 void MipsAssembler::EmitFR(int opcode, int fmt, FRegister ft, FRegister fs, FRegister fd, int funct… in EmitFR() argument
75 fmt << kFmtShift | in EmitFR()
83 void MipsAssembler::EmitFI(int opcode, int fmt, FRegister rt, uint16_t imm) { in EmitFI() argument
86 fmt << kFmtShift | in EmitFI()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc333 std::string X86Mir2Lir::BuildInsnString(const char *fmt, LIR *lir, unsigned char* base_addr) { in BuildInsnString() argument
336 size_t fmt_len = strlen(fmt); in BuildInsnString()
338 if (fmt[i] != '!') { in BuildInsnString()
339 buf += fmt[i]; in BuildInsnString()
344 char operand_number_ch = fmt[i]; in BuildInsnString()
353 switch (fmt[i]) { in BuildInsnString()
387 buf += StringPrintf("DecodeError '%c'", fmt[i]); in BuildInsnString()
906 return X86Mir2Lir::EncodingMap[opcode].fmt; in GetTargetInstFmt()

12