Lines Matching refs:f

1045 static void GetSetBooleanStatic(ArtField* f, Thread* self,  in GetSetBooleanStatic()  argument
1054 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetBooleanStatic()
1061 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetBooleanStatic()
1070 UNUSED(f, self, referrer, test); in GetSetBooleanStatic()
1076 static void GetSetByteStatic(ArtField* f, Thread* self, ArtMethod* referrer, in GetSetByteStatic() argument
1084 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetByteStatic()
1091 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetByteStatic()
1099 UNUSED(f, self, referrer, test); in GetSetByteStatic()
1107 static void GetSetBooleanInstance(Handle<mirror::Object>* obj, ArtField* f, Thread* self, in GetSetBooleanInstance() argument
1115 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetBooleanInstance()
1122 uint8_t res = f->GetBoolean(obj->Get()); in GetSetBooleanInstance()
1125 f->SetBoolean<false>(obj->Get(), res); in GetSetBooleanInstance()
1127 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetBooleanInstance()
1136 UNUSED(obj, f, self, referrer, test); in GetSetBooleanInstance()
1142 static void GetSetByteInstance(Handle<mirror::Object>* obj, ArtField* f, in GetSetByteInstance() argument
1150 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetByteInstance()
1157 int8_t res = f->GetByte(obj->Get()); in GetSetByteInstance()
1159 f->SetByte<false>(obj->Get(), ++res); in GetSetByteInstance()
1161 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetByteInstance()
1170 UNUSED(obj, f, self, referrer, test); in GetSetByteInstance()
1177 static void GetSetCharStatic(ArtField* f, Thread* self, ArtMethod* referrer, in GetSetCharStatic() argument
1185 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetCharStatic()
1192 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetCharStatic()
1201 UNUSED(f, self, referrer, test); in GetSetCharStatic()
1207 static void GetSetShortStatic(ArtField* f, Thread* self, in GetSetShortStatic() argument
1215 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetShortStatic()
1222 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetShortStatic()
1231 UNUSED(f, self, referrer, test); in GetSetShortStatic()
1238 static void GetSetCharInstance(Handle<mirror::Object>* obj, ArtField* f, in GetSetCharInstance() argument
1246 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetCharInstance()
1253 uint16_t res = f->GetChar(obj->Get()); in GetSetCharInstance()
1255 f->SetChar<false>(obj->Get(), ++res); in GetSetCharInstance()
1257 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetCharInstance()
1266 UNUSED(obj, f, self, referrer, test); in GetSetCharInstance()
1272 static void GetSetShortInstance(Handle<mirror::Object>* obj, ArtField* f, in GetSetShortInstance() argument
1280 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetShortInstance()
1287 int16_t res = f->GetShort(obj->Get()); in GetSetShortInstance()
1289 f->SetShort<false>(obj->Get(), ++res); in GetSetShortInstance()
1291 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSetShortInstance()
1300 UNUSED(obj, f, self, referrer, test); in GetSetShortInstance()
1307 static void GetSet32Static(ArtField* f, Thread* self, ArtMethod* referrer, in GetSet32Static() argument
1315 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet32Static()
1322 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet32Static()
1331 UNUSED(f, self, referrer, test); in GetSet32Static()
1339 static void GetSet32Instance(Handle<mirror::Object>* obj, ArtField* f, in GetSet32Instance() argument
1347 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet32Instance()
1354 int32_t res = f->GetInt(obj->Get()); in GetSet32Instance()
1358 f->SetInt<false>(obj->Get(), res); in GetSet32Instance()
1360 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet32Instance()
1369 UNUSED(obj, f, self, referrer, test); in GetSet32Instance()
1406 static void GetSetObjStatic(ArtField* f, Thread* self, ArtMethod* referrer, in GetSetObjStatic() argument
1411 set_and_check_static(f->GetDexFieldIndex(), nullptr, self, referrer, test); in GetSetObjStatic()
1415 set_and_check_static(f->GetDexFieldIndex(), str, self, referrer, test); in GetSetObjStatic()
1417 set_and_check_static(f->GetDexFieldIndex(), nullptr, self, referrer, test); in GetSetObjStatic()
1419 UNUSED(f, self, referrer, test); in GetSetObjStatic()
1429 static void set_and_check_instance(ArtField* f, in set_and_check_instance() argument
1439 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in set_and_check_instance()
1446 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in set_and_check_instance()
1455 EXPECT_OBJ_PTR_EQ(h_val.Get(), f->GetObj(h_trg.Get())); in set_and_check_instance()
1459 static void GetSetObjInstance(Handle<mirror::Object>* obj, ArtField* f, in GetSetObjInstance() argument
1464 set_and_check_instance(f, obj->Get(), nullptr, self, referrer, test); in GetSetObjInstance()
1468 set_and_check_instance(f, obj->Get(), str, self, referrer, test); in GetSetObjInstance()
1470 set_and_check_instance(f, obj->Get(), nullptr, self, referrer, test); in GetSetObjInstance()
1472 UNUSED(obj, f, self, referrer, test); in GetSetObjInstance()
1482 static void GetSet64Static(ArtField* f, Thread* self, ArtMethod* referrer, in GetSet64Static() argument
1490 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet64Static()
1497 size_t res = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet64Static()
1506 UNUSED(f, self, referrer, test); in GetSet64Static()
1514 static void GetSet64Instance(Handle<mirror::Object>* obj, ArtField* f, in GetSet64Instance() argument
1521 test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet64Instance()
1528 int64_t res = f->GetLong(obj->Get()); in GetSet64Instance()
1532 f->SetLong<false>(obj->Get(), res); in GetSet64Instance()
1534 size_t res2 = test->Invoke3WithReferrer(static_cast<size_t>(f->GetDexFieldIndex()), in GetSet64Instance()
1543 UNUSED(obj, f, self, referrer, test); in GetSet64Instance()
1569 for (ArtField& f : c->GetSFields()) { in TestFields()
1570 Primitive::Type type = f.GetTypeAsPrimitiveType(); in TestFields()
1576 GetSetBooleanStatic(&f, self, m, test); in TestFields()
1579 GetSetByteStatic(&f, self, m, test); in TestFields()
1582 GetSetCharStatic(&f, self, m, test); in TestFields()
1585 GetSetShortStatic(&f, self, m, test); in TestFields()
1588 GetSet32Static(&f, self, m, test); in TestFields()
1591 GetSet64Static(&f, self, m, test); in TestFields()
1595 if (f.GetTypeDescriptor()[0] != '[') { in TestFields()
1596 GetSetObjStatic(&f, self, m, test); in TestFields()
1605 for (ArtField& f : c->GetIFields()) { in TestFields()
1606 Primitive::Type type = f.GetTypeAsPrimitiveType(); in TestFields()
1612 GetSetBooleanInstance(&obj, &f, self, m, test); in TestFields()
1615 GetSetByteInstance(&obj, &f, self, m, test); in TestFields()
1618 GetSetCharInstance(&obj, &f, self, m, test); in TestFields()
1621 GetSetShortInstance(&obj, &f, self, m, test); in TestFields()
1624 GetSet32Instance(&obj, &f, self, m, test); in TestFields()
1627 GetSet64Instance(&obj, &f, self, m, test); in TestFields()
1631 if (f.GetTypeDescriptor()[0] != '[') { in TestFields()
1632 GetSetObjInstance(&obj, &f, self, m, test); in TestFields()