Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 29) 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.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.cc752 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { in UsageMessageV() argument
753 hook_vfprintf_(stream, fmt, ap); in UsageMessageV()
756 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { in UsageMessage() argument
758 va_start(ap, fmt); in UsageMessage()
759 UsageMessageV(stream, fmt, ap); in UsageMessage()
763 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() argument
764 bool error = (fmt != nullptr); in Usage()
767 if (fmt != nullptr) { in Usage()
769 va_start(ap, fmt); in Usage()
770 UsageMessageV(stream, fmt, ap); in Usage()
Dmonitor.cc650 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...)
653 static void ThrowIllegalMonitorStateExceptionF(const char* fmt, ...) in ThrowIllegalMonitorStateExceptionF() argument
656 va_start(args, fmt); in ThrowIllegalMonitorStateExceptionF()
658 self->ThrowNewExceptionV("Ljava/lang/IllegalMonitorStateException;", fmt, args); in ThrowIllegalMonitorStateExceptionF()
Dthread.h541 void ThrowNewExceptionF(const char* exception_class_descriptor, const char* fmt, ...)
545 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/program/mutators/
DRandomInstructionGenerator.java151 AbstractFormat fmt = newOpcodeInfo.format; in generateMutation() local
153 if (fmt instanceof ContainsConst) { in generateMutation()
155 mutation.constValue = rng.nextLong() % ((ContainsConst)fmt).getConstRange(); in generateMutation()
157 if (fmt instanceof ContainsPoolIndex) { in generateMutation()
159 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) fmt; in generateMutation()
171 if (fmt instanceof ContainsVRegs) { in generateMutation()
173 ContainsVRegs containsVregs = (ContainsVRegs) fmt; in generateMutation()
220 AbstractFormat fmt = newInsn.insn.info.format; in applyMutation() local
223 ContainsConst containsConst = (ContainsConst) fmt; in applyMutation()
227 ContainsPoolIndex containsPoolIndex = (ContainsPoolIndex) fmt; in applyMutation()
/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/openjdkjvm/
DOpenjdkJvm.cc181 JNIEXPORT int jio_fprintf(FILE* fp, const char* fmt, ...) { in jio_fprintf() argument
184 va_start(args, fmt); in jio_fprintf()
185 int len = jio_vfprintf(fp, fmt, args); in jio_fprintf()
191 JNIEXPORT int jio_vfprintf(FILE* fp, const char* fmt, va_list args) { in jio_vfprintf() argument
193 return vfprintf(fp, fmt, args); in jio_vfprintf()
221 int jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args) { in jio_vsnprintf() argument
223 return vsnprintf(str, count, fmt, args); in jio_vsnprintf()
226 int jio_snprintf(char *str, size_t count, const char *fmt, ...) { in jio_snprintf() argument
229 va_start(args, fmt); in jio_snprintf()
230 len = jio_vsnprintf(str, count, fmt, args); in jio_snprintf()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc59 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
61 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
65 static void UsageError(const char* fmt, ...) { in UsageError() argument
67 va_start(ap, fmt); in UsageError()
68 UsageErrorV(fmt, ap); in UsageError()
72 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
74 va_start(ap, fmt); in Usage()
75 UsageErrorV(fmt, ap); in Usage()
/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),
152 fmt.Sprintf("-Wframe-larger-than=%d", hostFrameSizeLimit),
153 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.h84 void JniAbortV(const char* jni_function_name, const char* fmt, va_list ap);
86 void JniAbortF(const char* jni_function_name, const char* fmt, ...)
Dcheck_jni.cc228 JniValueType GetValue(char fmt) { in GetValue() argument
231 switch (fmt) { in GetValue()
244 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
251 switch (fmt) { in GetValue()
266 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
550 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument
565 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
566 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
567 if (fmt[i + 1] != '\0') { in Check()
590 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
[all …]
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/odrefresh/
Dodrefresh.cc88 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
90 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
98 static void UsageError(const char* fmt, ...) { in UsageError() argument
100 va_start(ap, fmt); in UsageError()
101 UsageErrorV(fmt, ap); in UsageError()
105 NO_RETURN static void ArgumentError(const char* fmt, ...) { in ArgumentError() argument
107 va_start(ap, fmt); in ArgumentError()
108 UsageErrorV(fmt, ap); in ArgumentError()
/art/profman/
Dprofman.cc88 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
90 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
94 static void UsageError(const char* fmt, ...) { in UsageError() argument
96 va_start(ap, fmt); in UsageError()
97 UsageErrorV(fmt, ap); in UsageError()
101 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
103 va_start(ap, fmt); in Usage()
104 UsageErrorV(fmt, ap); in Usage()
/art/runtime/interpreter/
Dinterpreter_common.cc212 void AbortTransactionF(Thread* self, const char* fmt, ...) { in AbortTransactionF() argument
214 va_start(args, fmt); in AbortTransactionF()
215 AbortTransactionV(self, fmt, args); in AbortTransactionF()
219 void AbortTransactionV(Thread* self, const char* fmt, va_list args) { in AbortTransactionV() argument
223 android::base::StringAppendV(&abort_msg, fmt, args); in AbortTransactionV()
Dunstarted_runtime.cc72 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...)
76 static void AbortTransactionOrFail(Thread* self, const char* fmt, ...) { in AbortTransactionOrFail() argument
79 va_start(args, fmt); in AbortTransactionOrFail()
80 AbortTransactionV(self, fmt, args); in AbortTransactionOrFail()
83 va_start(args, fmt); in AbortTransactionOrFail()
85 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.cc214 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
216 StringAppendV(&error, fmt, ap); in UsageErrorV()
220 static void UsageError(const char* fmt, ...) { in UsageError() argument
222 va_start(ap, fmt); in UsageError()
223 UsageErrorV(fmt, ap); in UsageError()
227 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() argument
229 va_start(ap, fmt); in Usage()
230 UsageErrorV(fmt, ap); in Usage()

12