Home
last modified time | relevance | path

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

/art/compiler/utils/
Dassembler_test.h77 std::string RepeatR(void (Ass::*f)(Reg), const std::string& fmt) { in RepeatR() argument
81 fmt); in RepeatR()
84 std::string Repeatr(void (Ass::*f)(Reg), const std::string& fmt) { in Repeatr() argument
88 fmt); in Repeatr()
91 std::string RepeatRR(void (Ass::*f)(Reg, Reg), const std::string& fmt) { in RepeatRR() argument
97 fmt); in RepeatRR()
100 std::string RepeatRRNoDupes(void (Ass::*f)(Reg, Reg), const std::string& fmt) { in RepeatRRNoDupes() argument
106 fmt); in RepeatRRNoDupes()
109 std::string Repeatrr(void (Ass::*f)(Reg, Reg), const std::string& fmt) { in Repeatrr() argument
115 fmt); in Repeatrr()
[all …]
/art/runtime/
Dcommon_throws.cc63 const char* fmt, in ThrowException() argument
69 StringAppendV(&vmsg, fmt, *args); in ThrowException()
72 msg << fmt; in ThrowException()
81 const char* fmt, in ThrowWrappedException() argument
87 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException()
90 msg << fmt; in ThrowWrappedException()
137 void ThrowBootstrapMethodError(const char* fmt, ...) { in ThrowBootstrapMethodError() argument
139 va_start(args, fmt); in ThrowBootstrapMethodError()
140 ThrowException("Ljava/lang/BootstrapMethodError;", nullptr, fmt, &args); in ThrowBootstrapMethodError()
144 void ThrowWrappedBootstrapMethodError(const char* fmt, ...) { in ThrowWrappedBootstrapMethodError() argument
[all …]
Dcommon_throws.h62 void ThrowBootstrapMethodError(const char* fmt, ...)
65 void ThrowWrappedBootstrapMethodError(const char* fmt, ...)
73 void ThrowClassCircularityError(ObjPtr<mirror::Class> c, const char* fmt, ...)
86 void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
110 void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
153 void ThrowIncompatibleClassChangeError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
167 void ThrowInternalError(const char* fmt, ...)
173 void ThrowIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
176 void ThrowWrappedIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
181 void ThrowLinkageError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
[all …]
Dparsed_options.h70 void Usage(const char* fmt, ...);
71 void UsageMessage(FILE* stream, const char* fmt, ...);
72 void UsageMessageV(FILE* stream, const char* fmt, va_list ap);
Dparsed_options.cc685 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { in UsageMessageV() argument
686 hook_vfprintf_(stream, fmt, ap); in UsageMessageV()
689 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { in UsageMessage() argument
691 va_start(ap, fmt); in UsageMessage()
692 UsageMessageV(stream, fmt, ap); in UsageMessage()
696 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() argument
697 bool error = (fmt != nullptr); in Usage()
700 if (fmt != nullptr) { in Usage()
702 va_start(ap, fmt); in Usage()
703 UsageMessageV(stream, fmt, ap); in Usage()
Dmonitor.cc646 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...)
649 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...) in ThrowIllegalMonitorStateExceptionF() argument
652 va_start(args, fmt); in ThrowIllegalMonitorStateExceptionF()
654 self->ThrowNewExceptionV("Ljava/lang/IllegalMonitorStateException;", fmt, args); in ThrowIllegalMonitorStateExceptionF()
Dthread.h539 void ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...)
543 void ThrowNewExceptionV(const char* exception_class_descriptor, const char* fmt, va_list ap)
/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/tools/dexfuzz/src/dexfuzz/rawdex/
DOpcodeInfo.java35 public OpcodeInfo(Opcode opcode, String name, int opcodeValue, AbstractFormat fmt) { in OpcodeInfo() argument
39 this.format = fmt; in OpcodeInfo()
DInstruction.java309 int opcodeValue, AbstractFormat fmt) { in addOpcodeInfo() argument
310 OpcodeInfo info = new OpcodeInfo(opcode, name, opcodeValue, fmt); in addOpcodeInfo()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DRandomInstructionGenerator.java155 AbstractFormat fmt = newOpcodeInfo.format; in generateMutation() local
157 if (fmt instanceof ContainsConst) { in generateMutation()
159 mutation.constValue = rng.nextLong() % ((ContainsConst)fmt).getConstRange(); in generateMutation()
161 if (fmt instanceof ContainsPoolIndex) { in generateMutation()
163 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) fmt; in generateMutation()
175 if (fmt instanceof ContainsVRegs) { in generateMutation()
177 ContainsVRegs containsVregs = (ContainsVRegs) fmt; in generateMutation()
224 AbstractFormat fmt = newInsn.insn.info.format; in applyMutation() local
227 ContainsConst containsConst = (ContainsConst) fmt; in applyMutation()
231 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) fmt; in applyMutation()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc70 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
72 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
76 static void UsageError(const char* fmt, ...) { in UsageError() argument
78 va_start(ap, fmt); in UsageError()
79 UsageErrorV(fmt, ap); in UsageError()
83 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
85 va_start(ap, fmt); in Usage()
86 UsageErrorV(fmt, ap); in Usage()
/art/openjdkjvm/
DOpenjdkJvm.cc180 JNIEXPORT int jio_fprintf(FILE* fp, const char* fmt, ...) { in jio_fprintf() argument
183 va_start(args, fmt); in jio_fprintf()
184 int len = jio_vfprintf(fp, fmt, args); in jio_fprintf()
190 JNIEXPORT int jio_vfprintf(FILE* fp, const char* fmt, va_list args) { in jio_vfprintf() argument
192 return vfprintf(fp, fmt, args); in jio_vfprintf()
220 int jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args) { in jio_vsnprintf() argument
222 return vsnprintf(str, count, fmt, args); in jio_vsnprintf()
225 int jio_snprintf(char *str, size_t count, const char *fmt, ...) { in jio_snprintf() argument
228 va_start(args, fmt); in jio_snprintf()
229 len = jio_vsnprintf(str, count, fmt, args); in jio_snprintf()
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java827 String fmt = "["; in valueToString() local
831 fmt += valueToString(arrayElement); in valueToString()
834 fmt += ","; in valueToString()
837 fmt += "]"; in valueToString()
839 return fmt; in valueToString()
/art/build/
Dart.go130 fmt.Sprintf("-Wframe-larger-than=%d", deviceFrameSizeLimit),
131 fmt.Sprintf("-DART_FRAME_SIZE_LIMIT=%d", deviceFrameSizeLimit),
157 fmt.Sprintf("-Wframe-larger-than=%d", hostFrameSizeLimit),
158 fmt.Sprintf("-DART_FRAME_SIZE_LIMIT=%d", hostFrameSizeLimit),
/art/tools/hiddenapi/
Dhiddenapi.cc55 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
57 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
61 static void UsageError(const char* fmt, ...) { in UsageError() argument
63 va_start(ap, fmt); in UsageError()
64 UsageErrorV(fmt, ap); in UsageError()
68 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() argument
70 va_start(ap, fmt); in Usage()
71 UsageErrorV(fmt, ap); in Usage()
/art/runtime/jni/
Djava_vm_ext.h83 void JniAbortV(const char* jni_function_name, const char* fmt, va_list ap);
85 void JniAbortF(const char* jni_function_name, const char* fmt, ...)
Djava_vm_ext.cc582 void JavaVMExt::JniAbortV(const char* jni_function_name, const char* fmt, va_list ap) { in JniAbortV() argument
584 StringAppendV(&msg, fmt, ap); in JniAbortV()
588 void JavaVMExt::JniAbortF(const char* jni_function_name, const char* fmt, ...) { in JniAbortF() argument
590 va_start(args, fmt); in JniAbortF()
591 JniAbortV(jni_function_name, fmt, args); in JniAbortF()
/art/profman/
Dprofman.cc81 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
83 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
87 static void UsageError(const char* fmt, ...) { in UsageError() argument
89 va_start(ap, fmt); in UsageError()
90 UsageErrorV(fmt, ap); in UsageError()
94 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
96 va_start(ap, fmt); in Usage()
97 UsageErrorV(fmt, ap); in Usage()
/art/runtime/interpreter/
Dinterpreter_common.cc216 void AbortTransactionF(Thread* self, const char* fmt, ...) { in AbortTransactionF() argument
218 va_start(args, fmt); in AbortTransactionF()
219 AbortTransactionV(self, fmt, args); in AbortTransactionF()
223 void AbortTransactionV(Thread* self, const char* fmt, va_list args) { in AbortTransactionV() argument
227 android::base::StringAppendV(&abort_msg, fmt, args); in AbortTransactionV()
Dunstarted_runtime.cc71 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...)
75 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...) { in AbortTransactionOrFail() argument
78 va_start(args, fmt); in AbortTransactionOrFail()
79 AbortTransactionV(self, fmt, args); in AbortTransactionOrFail()
82 va_start(args, fmt); in AbortTransactionOrFail()
84 StringAppendV(&msg, fmt, args); in AbortTransactionOrFail()
Dinterpreter_common.h115 void AbortTransactionF(Thread* self, const char* fmt, ...)
119 void AbortTransactionV(Thread* self, const char* fmt, va_list args)
/art/dex2oat/
Ddex2oat.cc203 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
205 StringAppendV(&error, fmt, ap); in UsageErrorV()
209 static void UsageError(const char* fmt, ...) { in UsageError() argument
211 va_start(ap, fmt); in UsageError()
212 UsageErrorV(fmt, ap); in UsageError()
216 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() argument
218 va_start(ap, fmt); in Usage()
219 UsageErrorV(fmt, ap); in Usage()
/art/libdexfile/dex/
Ddex_file_verifier.cc339 void ErrorStringPrintf(const char* fmt, ...) in ErrorStringPrintf() argument
342 va_start(ap, fmt); in ErrorStringPrintf()
345 StringAppendV(&failure_reason_, fmt, ap); in ErrorStringPrintf()
/art/compiler/optimizing/
Dinstruction_simplifier.cc2613 HIntConstant* fmt = block->GetGraph()->GetIntConstant(static_cast<int32_t>(format)); in TryReplaceStringBuilderAppend() local
2616 new (allocator) HStringBuilderAppend(fmt, num_args, allocator, invoke->GetDexPc()); in TryReplaceStringBuilderAppend()