Lines Matching refs:c

261     mirror::Class* c = o->GetClass();  in CheckInstanceFieldID()  local
262 if (c->FindInstanceField(f->GetName(), f->GetTypeDescriptor()) == nullptr) { in CheckInstanceFieldID()
309 mirror::Class* c = soa_.Decode<mirror::Class*>(java_class); in CheckStaticFieldID() local
314 if (f->GetDeclaringClass() != c) { in CheckStaticFieldID()
316 fid, PrettyClass(c).c_str()); in CheckStaticFieldID()
335 mirror::Class* c = soa_.Decode<mirror::Class*>(java_class); in CheckStaticMethod() local
336 if (!m->GetDeclaringClass()->IsAssignableFrom(c)) { in CheckStaticMethod()
338 PrettyMethod(m).c_str(), PrettyClass(c).c_str()); in CheckStaticMethod()
427 jchar c = va_arg(ap, int); in Check() local
428 if (c < 0x7f && c >= ' ') { in Check()
429 StringAppendF(&msg, "U+%x ('%c')", c, c); in Check()
431 StringAppendF(&msg, "U+%x", c); in Check()
462 mirror::Class* c = reinterpret_cast<mirror::Class*>(Thread::Current()->DecodeJObject(jc)); in Check() local
463 if (c == nullptr) { in Check()
465 } else if (c == kInvalidIndirectRefObject || in Check()
466 !Runtime::Current()->GetHeap()->IsValidObjectAddress(c)) { in Check()
468 } else if (!c->IsClass()) { in Check()
469 msg += "INVALID NON-CLASS OBJECT OF TYPE:" + PrettyTypeOf(c); in Check()
471 msg += PrettyClass(c); in Check()
1137 static jclass GetSuperclass(JNIEnv* env, jclass c) { in GetSuperclass() argument
1138 CHECK_JNI_ENTRY(kFlag_Default, "Ec", env, c); in GetSuperclass()
1139 return CHECK_JNI_EXIT("c", baseEnv(env)->GetSuperclass(env, c)); in GetSuperclass()
1175 static jint ThrowNew(JNIEnv* env, jclass c, const char* message) { in ThrowNew() argument
1176 CHECK_JNI_ENTRY(kFlag_NullableUtf, "Ecu", env, c, message); in ThrowNew()
1177 return CHECK_JNI_EXIT("I", baseEnv(env)->ThrowNew(env, c, message)); in ThrowNew()
1269 static jobject AllocObject(JNIEnv* env, jclass c) { in AllocObject() argument
1270 CHECK_JNI_ENTRY(kFlag_Default, "Ec", env, c); in AllocObject()
1271 return CHECK_JNI_EXIT("L", baseEnv(env)->AllocObject(env, c)); in AllocObject()
1274 static jobject NewObject(JNIEnv* env, jclass c, jmethodID mid, ...) { in NewObject() argument
1275 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); in NewObject()
1278 jobject result = baseEnv(env)->NewObjectV(env, c, mid, args); in NewObject()
1283 static jobject NewObjectV(JNIEnv* env, jclass c, jmethodID mid, va_list args) { in NewObjectV() argument
1284 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); in NewObjectV()
1285 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectV(env, c, mid, args)); in NewObjectV()
1288 static jobject NewObjectA(JNIEnv* env, jclass c, jmethodID mid, jvalue* args) { in NewObjectA() argument
1289 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); in NewObjectA()
1290 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectA(env, c, mid, args)); in NewObjectA()
1298 static jboolean IsInstanceOf(JNIEnv* env, jobject obj, jclass c) { in IsInstanceOf() argument
1299 CHECK_JNI_ENTRY(kFlag_Default, "ELc", env, obj, c); in IsInstanceOf()
1300 return CHECK_JNI_EXIT("b", baseEnv(env)->IsInstanceOf(env, obj, c)); in IsInstanceOf()
1303 static jmethodID GetMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetMethodID() argument
1304 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetMethodID()
1305 return CHECK_JNI_EXIT("m", baseEnv(env)->GetMethodID(env, c, name, sig)); in GetMethodID()
1308 static jfieldID GetFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetFieldID() argument
1309 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetFieldID()
1310 return CHECK_JNI_EXIT("f", baseEnv(env)->GetFieldID(env, c, name, sig)); in GetFieldID()
1313 static jmethodID GetStaticMethodID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticMethodID() argument
1314 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetStaticMethodID()
1315 return CHECK_JNI_EXIT("m", baseEnv(env)->GetStaticMethodID(env, c, name, sig)); in GetStaticMethodID()
1318 static jfieldID GetStaticFieldID(JNIEnv* env, jclass c, const char* name, const char* sig) { in GetStaticFieldID() argument
1319 CHECK_JNI_ENTRY(kFlag_Default, "Ecuu", env, c, name, sig); in GetStaticFieldID()
1320 return CHECK_JNI_EXIT("f", baseEnv(env)->GetStaticFieldID(env, c, name, sig)); in GetStaticFieldID()
1324 static _ctype GetStatic##_jname##Field(JNIEnv* env, jclass c, jfieldID fid) { \
1325 CHECK_JNI_ENTRY(kFlag_Default, "Ecf", env, c, fid); \
1326 sc.CheckStaticFieldID(c, fid); \
1327 return CHECK_JNI_EXIT(_type, baseEnv(env)->GetStatic##_jname##Field(env, c, fid)); \
1334 static void SetStatic##_jname##Field(JNIEnv* env, jclass c, jfieldID fid, _ctype value) { \
1335 CHECK_JNI_ENTRY(kFlag_Default, "Ecf" _type, env, c, fid, value); \
1336 sc.CheckStaticFieldID(c, fid); \
1341 baseEnv(env)->SetStatic##_jname##Field(env, c, fid, value); \
1358 FIELD_ACCESSORS(jchar, Char, c, "C");
1402 jobject obj, jclass c, jmethodID mid, ...) \
1404 CHECK_JNI_ENTRY(kFlag_Default, "ELcm.", env, obj, c, mid); /* TODO: args! */ \
1410 _retasgn(baseEnv(env)->CallNonvirtual##_jname##MethodV(env, obj, c, mid, args)); \
1415 jobject obj, jclass c, jmethodID mid, va_list args) \
1417 CHECK_JNI_ENTRY(kFlag_Default, "ELcm.", env, obj, c, mid); /* TODO: args! */ \
1421 _retasgn(baseEnv(env)->CallNonvirtual##_jname##MethodV(env, obj, c, mid, args)); \
1425 jobject obj, jclass c, jmethodID mid, jvalue* args) \
1427 CHECK_JNI_ENTRY(kFlag_Default, "ELcm.", env, obj, c, mid); /* TODO: args! */ \
1431 _retasgn(baseEnv(env)->CallNonvirtual##_jname##MethodA(env, obj, c, mid, args)); \
1435 static _ctype CallStatic##_jname##Method(JNIEnv* env, jclass c, jmethodID mid, ...) \
1437 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); /* TODO: args! */ \
1439 sc.CheckStaticMethod(c, mid); \
1443 _retasgn(baseEnv(env)->CallStatic##_jname##MethodV(env, c, mid, args)); \
1447 static _ctype CallStatic##_jname##MethodV(JNIEnv* env, jclass c, jmethodID mid, va_list args) \
1449 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); /* TODO: args! */ \
1451 sc.CheckStaticMethod(c, mid); \
1453 _retasgn(baseEnv(env)->CallStatic##_jname##MethodV(env, c, mid, args)); \
1456 static _ctype CallStatic##_jname##MethodA(JNIEnv* env, jclass c, jmethodID mid, jvalue* args) \
1458 CHECK_JNI_ENTRY(kFlag_Default, "Ecm.", env, c, mid); /* TODO: args! */ \
1460 sc.CheckStaticMethod(c, mid); \
1462 _retasgn(baseEnv(env)->CallStatic##_jname##MethodA(env, c, mid, args)); \
1653 …static jint RegisterNatives(JNIEnv* env, jclass c, const JNINativeMethod* methods, jint nMethods) { in RegisterNatives() argument
1654 CHECK_JNI_ENTRY(kFlag_Default, "EcpI", env, c, methods, nMethods); in RegisterNatives()
1655 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, c, methods, nMethods)); in RegisterNatives()
1658 static jint UnregisterNatives(JNIEnv* env, jclass c) { in UnregisterNatives() argument
1659 CHECK_JNI_ENTRY(kFlag_Default, "Ec", env, c); in UnregisterNatives()
1660 return CHECK_JNI_EXIT("I", baseEnv(env)->UnregisterNatives(env, c)); in UnregisterNatives()