Home
last modified time | relevance | path

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

12

/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.h71 void Usage(const char* fmt, ...);
72 void UsageMessage(FILE* stream, const char* fmt, ...);
73 void UsageMessageV(FILE* stream, const char* fmt, va_list ap);
Dparsed_options.cc720 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { in UsageMessageV() argument
721 hook_vfprintf_(stream, fmt, ap); in UsageMessageV()
724 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { in UsageMessage() argument
726 va_start(ap, fmt); in UsageMessage()
727 UsageMessageV(stream, fmt, ap); in UsageMessage()
731 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() argument
732 bool error = (fmt != nullptr); in Usage()
735 if (fmt != nullptr) { in Usage()
737 va_start(ap, fmt); in Usage()
738 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.h535 void ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...)
539 void ThrowNewExceptionV(const char* exception_class_descriptor, const char* fmt, va_list ap)
Dthread.cc3161 void Thread::ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...) { in ThrowNewExceptionF() argument
3163 va_start(args, fmt); in ThrowNewExceptionF()
3164 ThrowNewExceptionV(exception_class_descriptor, fmt, args); in ThrowNewExceptionF()
3169 const char* fmt, va_list ap) { in ThrowNewExceptionV() argument
3171 StringAppendV(&msg, fmt, ap); in ThrowNewExceptionV()
/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/runtime/jni/
Dcheck_jni.cc213 JniValueType GetValue(char fmt) { in GetValue() argument
216 switch (fmt) { in GetValue()
229 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
236 switch (fmt) { in GetValue()
251 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
535 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument
550 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
551 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
552 if (fmt[i + 1] != '\0') { in Check()
575 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
[all …]
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.cc584 void JavaVMExt::JniAbortV(const char* jni_function_name, const char* fmt, va_list ap) { in JniAbortV() argument
586 StringAppendV(&msg, fmt, ap); in JniAbortV()
590 void JavaVMExt::JniAbortF(const char* jni_function_name, const char* fmt, ...) { in JniAbortF() argument
592 va_start(args, fmt); in JniAbortF()
593 JniAbortV(jni_function_name, fmt, args); in JniAbortF()
/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/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()

12