Searched refs:GetAccessModeByMethodName (Results 1 – 3 of 3) sorted by relevance
/art/runtime/mirror/ |
D | var_handle_test.cc | 1096 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName(nullptr, &access_mode)); in TEST_F() 1097 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("", &access_mode)); in TEST_F() 1098 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("CompareAndExchange", &access_mode)); in TEST_F() 1099 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("compareAndExchangX", &access_mode)); in TEST_F() 1102 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchange", &access_mode)); in TEST_F() 1104 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchangeAcquire", &access_mode)); in TEST_F() 1106 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchangeRelease", &access_mode)); in TEST_F() 1108 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndSet", &access_mode)); in TEST_F() 1110 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("get", &access_mode)); in TEST_F() 1112 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("getAcquire", &access_mode)); in TEST_F() [all …]
|
D | var_handle.h | 161 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode);
|
D | var_handle.cc | 1476 if (!GetAccessModeByMethodName(accessor_name, &access_mode)) { in GetReturnTypeDescriptor() 1539 bool VarHandle::GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode) { in GetAccessModeByMethodName() function in art::mirror::VarHandle
|