Lines Matching refs:fmt

188   JniValueType GetValue(char fmt) {
191 switch (fmt) {
202 LOG(FATAL) << "Illegal type format char " << fmt;
209 switch (fmt) {
220 LOG(FATAL) << "Illegal type format char " << fmt;
467 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args)
482 for (size_t i = 0; fmt[i] != '\0'; ++i) {
483 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg);
484 if (fmt[i + 1] != '\0') {
507 for (size_t i = 0; fmt[i] != '\0'; ++i) {
508 if (!CheckPossibleHeapValue(soa, fmt[i], args[i])) {
516 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) {
530 for (size_t i = 0; fmt[i] != '\0'; ++i) {
531 TraceNonHeapValue(fmt[i], args[i], &msg);
532 if (fmt[i + 1] != '\0') {
558 for (size_t i = 0; fmt[i] != '\0'; ++i) {
559 if (!CheckNonHeapValue(fmt[i], args[i])) {
843 bool CheckPossibleHeapValue(ScopedObjectAccess& soa, char fmt, JniValueType arg)
845 switch (fmt) {
867 return CheckNonHeapValue(fmt, arg);
893 bool CheckNonHeapValue(char fmt, JniValueType arg) {
894 switch (fmt) {
930 AbortF("unknown format specifier: '%c'", fmt);
936 void TracePossibleHeapValue(ScopedObjectAccess& soa, bool entry, char fmt, JniValueType arg,
939 switch (fmt) {
1004 TraceNonHeapValue(fmt, arg, msg);
1009 void TraceNonHeapValue(char fmt, JniValueType arg, std::string* msg) {
1010 switch (fmt) {
1108 LOG(FATAL) << function_name_ << ": unknown trace format specifier: '" << fmt << "'";
1348 void AbortF(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) {
1350 va_start(args, fmt);
1351 Runtime::Current()->GetJavaVM()->JniAbortV(function_name_, fmt, args);
1515 static void AbortF(const char* jni_function_name, const char* fmt, ...) {
1517 va_start(args, fmt);
1518 Runtime::Current()->GetJavaVM()->JniAbortV(jni_function_name, fmt, args);