Home
last modified time | relevance | path

Searched refs:Check (Results 1 – 10 of 10) sorted by relevance

/art/runtime/
Djni_internal_test.cc138 check_jni_abort_catcher.Check("name == null"); in TEST_F()
142 check_jni_abort_catcher.Check("illegal class name 'java.lang.String'"); in TEST_F()
144 check_jni_abort_catcher.Check("illegal class name 'Ljava.lang.String;'"); in TEST_F()
146 check_jni_abort_catcher.Check("illegal class name '[Ljava.lang.String;'"); in TEST_F()
148 check_jni_abort_catcher.Check("illegal class name '[java.lang.String'"); in TEST_F()
152 check_jni_abort_catcher.Check("illegal class name 'Ljava/lang/String;'"); in TEST_F()
156 check_jni_abort_catcher.Check("illegal class name '[java/lang/String'"); in TEST_F()
159 check_jni_abort_catcher.Check("illegal class name '[K'"); in TEST_F()
163 check_jni_abort_catcher.Check("illegal class name '[V'"); in TEST_F()
214 check_jni_abort_catcher.Check("java_class == null"); in TEST_F()
[all …]
Dcheck_jni.cc400 void Check(bool entry, const char* fmt0, ...) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Check() function in art::ScopedCheck
896 sc.Check(true, types, ##args)
900 sc.Check(false, type, _rc); \
903 sc.Check(false, "V")
980 static void Check(const char* functionName, const void* dataBuf, bool modOkay) { in Check() function
1101 GuardedCopy::Check(__FUNCTION__, dataBuf, true); in ReleaseGuardedPACopy()
1508 GuardedCopy::Check(__FUNCTION__, chars, false); in ReleaseStringChars()
1540 GuardedCopy::Check(__FUNCTION__, utf, false); in ReleaseStringUTFChars()
1594 ResultT Check(JNIEnv* env, jarray array, jboolean* isCopy, ResultT result) { in Check() function
1608 …_ctype* result = ForceCopyGetChecker(sc, isCopy).Check(env, array, isCopy, baseEnv(env)->Get##_jna…
[all …]
Dclass_linker_test.cc386 bool Check() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Check() function
604 EXPECT_TRUE(ObjectOffsets().Check()); in TEST_F()
605 EXPECT_TRUE(ArtFieldOffsets().Check()); in TEST_F()
606 EXPECT_TRUE(ArtMethodOffsets().Check()); in TEST_F()
607 EXPECT_TRUE(ClassOffsets().Check()); in TEST_F()
608 EXPECT_TRUE(StringOffsets().Check()); in TEST_F()
609 EXPECT_TRUE(ThrowableOffsets().Check()); in TEST_F()
610 EXPECT_TRUE(StackTraceElementOffsets().Check()); in TEST_F()
611 EXPECT_TRUE(ClassLoaderOffsets().Check()); in TEST_F()
612 EXPECT_TRUE(ProxyOffsets().Check()); in TEST_F()
[all …]
Dcommon_runtime_test.h131 void Check(const char* expected_text);
Dcommon_runtime_test.cc375 void CheckJniAbortCatcher::Check(const char* expected_text) { in Check() function in art::CheckJniAbortCatcher
/art/test/120-hashcode/
Dinfo.txt1 Check that object hashCode and System.identityHashCode never cause the hash to change.
/art/test/131-structural-change/
Dinfo.txt1 Check whether a structural change in a (non-native) multi-dex scenario is detected.
/art/compiler/optimizing/
Dregister_allocator_test.cc34 static bool Check(const uint16_t* data) { in Check() function
159 ASSERT_TRUE(Check(data)); in TEST()
198 ASSERT_TRUE(Check(data)); in TEST()
247 ASSERT_TRUE(Check(data)); in TEST()
/art/compiler/jni/
Djni_compiler_test.cc978 …check_jni_abort_catcher.Check("attempt to return an instance of java.lang.String from java.lang.Cl… in UpcallReturnTypeChecking_InstanceImpl()
982 …check_jni_abort_catcher.Check("attempt to return an instance of java.lang.String from java.lang.Cl… in UpcallReturnTypeChecking_InstanceImpl()
984 …check_jni_abort_catcher.Check("calling non-static method java.lang.Class MyClassNatives.instanceMe… in UpcallReturnTypeChecking_InstanceImpl()
998 …check_jni_abort_catcher.Check("attempt to return an instance of java.lang.String from java.lang.Cl… in JNI_TEST()
1002 …check_jni_abort_catcher.Check("attempt to return an instance of java.lang.String from java.lang.Cl… in JNI_TEST()
1004 …check_jni_abort_catcher.Check("calling static method java.lang.Class MyClassNatives.staticMethodTh… in JNI_TEST()
1025 …check_jni_abort_catcher.Check("bad arguments passed to void MyClassNatives.instanceMethodThatShoul… in UpcallArgumentTypeChecking_InstanceImpl()
1038 …check_jni_abort_catcher.Check("bad arguments passed to void MyClassNatives.staticMethodThatShouldT… in JNI_TEST()
/art/tools/
Dcpplint.py700 def Check(self, error, filename, linenum): member in _FunctionState
2013 function_state.Check(error, filename, linenum)