Home
last modified time | relevance | path

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

12

/art/compiler/utils/
Dassembler_test.h79 std::string RepeatR(void (Ass::*f)(Reg), const std::string& fmt) { in RepeatR() argument
83 fmt); in RepeatR()
86 std::string Repeatr(void (Ass::*f)(Reg), const std::string& fmt) { in Repeatr() argument
90 fmt); in Repeatr()
94 const std::string& fmt,
101 fmt,
105 std::string RepeatRRNoDupes(void (Ass::*f)(Reg, Reg), const std::string& fmt) { in RepeatRRNoDupes() argument
111 fmt); in RepeatRRNoDupes()
115 const std::string& fmt,
122 fmt,
[all …]
/art/runtime/
Dcommon_throws.cc64 const char* fmt, in ThrowException() argument
70 StringAppendV(&vmsg, fmt, *args); in ThrowException()
73 msg << fmt; in ThrowException()
82 const char* fmt, in ThrowWrappedException() argument
88 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException()
91 msg << fmt; in ThrowWrappedException()
138 void ThrowBootstrapMethodError(const char* fmt, ...) { in ThrowBootstrapMethodError() argument
140 va_start(args, fmt); in ThrowBootstrapMethodError()
141 ThrowException("Ljava/lang/BootstrapMethodError;", nullptr, fmt, &args); in ThrowBootstrapMethodError()
145 void ThrowWrappedBootstrapMethodError(const char* fmt, ...) { in ThrowWrappedBootstrapMethodError() argument
[all …]
Dcommon_throws.h66 void ThrowBootstrapMethodError(const char* fmt, ...)
69 void ThrowWrappedBootstrapMethodError(const char* fmt, ...)
77 void ThrowClassCircularityError(ObjPtr<mirror::Class> c, const char* fmt, ...)
90 EXPORT void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
114 void ThrowIllegalAccessError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
156 void ThrowIncompatibleClassChangeError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
170 void ThrowInternalError(const char* fmt, ...)
176 void ThrowIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
179 void ThrowWrappedIOException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2)))
184 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.cc818 void ParsedOptions::UsageMessageV(FILE* stream, const char* fmt, va_list ap) { in UsageMessageV() argument
819 hook_vfprintf_(stream, fmt, ap); in UsageMessageV()
822 void ParsedOptions::UsageMessage(FILE* stream, const char* fmt, ...) { in UsageMessage() argument
824 va_start(ap, fmt); in UsageMessage()
825 UsageMessageV(stream, fmt, ap); in UsageMessage()
829 void ParsedOptions::Usage(const char* fmt, ...) { in Usage() argument
830 bool error = (fmt != nullptr); in Usage()
833 if (fmt != nullptr) { in Usage()
835 va_start(ap, fmt); in Usage()
836 UsageMessageV(stream, fmt, ap); in Usage()
/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()
/art/odrefresh/
Dodrefresh_main.cc60 void UsageMsgV(const char* fmt, va_list ap) { in UsageMsgV() argument
62 android::base::StringAppendV(&error, fmt, ap); in UsageMsgV()
70 void UsageMsg(const char* fmt, ...) { in UsageMsg() argument
72 va_start(ap, fmt); in UsageMsg()
73 UsageMsgV(fmt, ap); in UsageMsg()
77 NO_RETURN void ArgumentError(const char* fmt, ...) { in ArgumentError() argument
79 va_start(ap, fmt); in ArgumentError()
80 UsageMsgV(fmt, ap); in ArgumentError()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc58 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
60 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
64 static void UsageError(const char* fmt, ...) { in UsageError() argument
66 va_start(ap, fmt); in UsageError()
67 UsageErrorV(fmt, ap); in UsageError()
71 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
73 va_start(ap, fmt); in Usage()
74 UsageErrorV(fmt, ap); in Usage()
/art/openjdkjvm/
DOpenjdkJvm.cc183 JNIEXPORT int jio_fprintf(FILE* fp, const char* fmt, ...) { in jio_fprintf() argument
186 va_start(args, fmt); in jio_fprintf()
187 int len = jio_vfprintf(fp, fmt, args); in jio_fprintf()
193 JNIEXPORT int jio_vfprintf(FILE* fp, const char* fmt, va_list args) { in jio_vfprintf() argument
195 return vfprintf(fp, fmt, args); in jio_vfprintf()
249 int jio_vsnprintf(char *str, size_t count, const char *fmt, va_list args) { in jio_vsnprintf() argument
251 return vsnprintf(str, count, fmt, args); in jio_vsnprintf()
254 int jio_snprintf(char *str, size_t count, const char *fmt, ...) { in jio_snprintf() argument
257 va_start(args, fmt); in jio_snprintf()
258 len = jio_vsnprintf(str, count, fmt, args); in jio_snprintf()
/art/tools/luci/config/
Dformat.sh3 lucicfg fmt
DREADME.md11 Format is akin to `go fmt` and will automatically re-format the .star files.
/art/build/
Dart.go134 fmt.Sprintf("-Wframe-larger-than=%d", deviceFrameSizeLimit),
135 fmt.Sprintf("-DART_FRAME_SIZE_LIMIT=%d", deviceFrameSizeLimit),
160 fmt.Sprintf("-Wframe-larger-than=%d", hostFrameSizeLimit),
161 fmt.Sprintf("-DART_FRAME_SIZE_LIMIT=%d", hostFrameSizeLimit),
176 cflags = append(cflags, fmt.Sprintf("-DART_CLANG_PATH=\"%s\"", clang_path))
/art/compiler/utils/riscv64/
Dassembler_riscv64_test.cc456 for (auto [value, fmt] : test_values2) { in TestLoadConst64()
459 std::string base = fmt; in TestLoadConst64()
1035 const std::string& fmt) { in RepeatFFFFRoundingMode() argument
1040 std::string base1 = fmt; in RepeatFFFFRoundingMode()
1068 const std::string& fmt) { in RepeatFFFRoundingMode() argument
1073 std::string base1 = fmt; in RepeatFFFRoundingMode()
1102 const std::string& fmt) { in RepeatCTemplateRegImm() argument
1116 std::string base = fmt; in RepeatCTemplateRegImm()
1133 const std::string& fmt) { in RepeatCRImm() argument
1141 f, regs, &AssemblerRISCV64Test::GetRegisterName, imm_bits, shift, no_zero_imm, fmt); in RepeatCRImm()
[all …]
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java836 String fmt = "["; in valueToString() local
840 fmt += valueToString(arrayElement); in valueToString()
843 fmt += ","; in valueToString()
846 fmt += "]"; in valueToString()
848 return fmt; in valueToString()
/art/runtime/oat/
Daot_class_linker.cc480 void AotClassLinker::AbortTransactionF(Thread* self, const char* fmt, ...) { in AbortTransactionF() argument
482 va_start(args, fmt); in AbortTransactionF()
483 AbortTransactionV(self, fmt, args); in AbortTransactionF()
487 void AotClassLinker::AbortTransactionV(Thread* self, const char* fmt, va_list args) { in AbortTransactionV() argument
491 android::base::StringAppendV(&abort_message, fmt, args); in AbortTransactionV()
Daot_class_linker.h134 void AbortTransactionF(Thread* self, const char* fmt, ...) override
137 void AbortTransactionV(Thread* self, const char* fmt, va_list args) override
/art/tools/hiddenapi/
Dhiddenapi.cc58 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
60 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
64 static void UsageError(const char* fmt, ...) { in UsageError() argument
66 va_start(ap, fmt); in UsageError()
67 UsageErrorV(fmt, ap); in UsageError()
71 NO_RETURN static void Usage(const char* fmt, ...) { in Usage() argument
73 va_start(ap, fmt); in Usage()
74 UsageErrorV(fmt, ap); in Usage()
/art/artd/
Dpath_utils.cc253 fmt::underlying(profile_path.getTag())); in BuildWritableProfilePath()
291 fmt::underlying(profile_path.getTag())); in BuildProfileOrDmPath()
316 fmt::underlying(profile_path.getTag())); in PreRebootFlag()
/art/runtime/jni/
Dcheck_jni.cc234 JniValueType GetValue(char fmt) { in GetValue() argument
237 switch (fmt) { in GetValue()
250 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
257 switch (fmt) { in GetValue()
272 LOG(FATAL) << "Illegal type format char " << fmt; in GetValue()
556 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument
571 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
572 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
573 if (fmt[i + 1] != '\0') { in Check()
596 for (size_t i = 0; fmt[i] != '\0'; ++i) { in Check()
[all …]
Djava_vm_ext.h88 void JniAbortV(const char* jni_function_name, const char* fmt, va_list ap);
90 void JniAbortF(const char* jni_function_name, const char* fmt, ...)
Djava_vm_ext.cc603 void JavaVMExt::JniAbortV(const char* jni_function_name, const char* fmt, va_list ap) { in JniAbortV() argument
605 StringAppendV(&msg, fmt, ap); in JniAbortV()
609 void JavaVMExt::JniAbortF(const char* jni_function_name, const char* fmt, ...) { in JniAbortF() argument
611 va_start(args, fmt); in JniAbortF()
612 JniAbortV(jni_function_name, fmt, args); in JniAbortF()
/art/libartbase/base/
Dmacros.h37 #define ART_FORMAT(str, ...) ::fmt::format(FMT_STRING(str), __VA_ARGS__)
/art/profman/
Dprofman.cc87 static void UsageErrorV(const char* fmt, va_list ap) { in UsageErrorV() argument
89 android::base::StringAppendV(&error, fmt, ap); in UsageErrorV()
93 static void UsageError(const char* fmt, ...) { in UsageError() argument
95 va_start(ap, fmt); in UsageError()
96 UsageErrorV(fmt, ap); in UsageError()
100 NO_RETURN static void Usage(const char *fmt, ...) { in Usage() argument
102 va_start(ap, fmt); in Usage()
103 UsageErrorV(fmt, ap); in Usage()

12