Lines Matching refs:field

32   mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead,  in artGet32StaticFromCode()  local
34 if (LIKELY(field != NULL)) { in artGet32StaticFromCode()
35 return field->Get32(field->GetDeclaringClass()); in artGet32StaticFromCode()
38 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int32_t)); in artGet32StaticFromCode()
39 if (LIKELY(field != NULL)) { in artGet32StaticFromCode()
40 return field->Get32(field->GetDeclaringClass()); in artGet32StaticFromCode()
49 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveRead, in artGet64StaticFromCode() local
51 if (LIKELY(field != NULL)) { in artGet64StaticFromCode()
52 return field->Get64(field->GetDeclaringClass()); in artGet64StaticFromCode()
55 field = FindFieldFromCode<StaticPrimitiveRead, true>(field_idx, referrer, self, sizeof(int64_t)); in artGet64StaticFromCode()
56 if (LIKELY(field != NULL)) { in artGet64StaticFromCode()
57 return field->Get64(field->GetDeclaringClass()); in artGet64StaticFromCode()
67 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectRead, in artGetObjStaticFromCode() local
69 if (LIKELY(field != NULL)) { in artGetObjStaticFromCode()
70 return field->GetObj(field->GetDeclaringClass()); in artGetObjStaticFromCode()
73 field = FindFieldFromCode<StaticObjectRead, true>(field_idx, referrer, self, in artGetObjStaticFromCode()
75 if (LIKELY(field != NULL)) { in artGetObjStaticFromCode()
76 return field->GetObj(field->GetDeclaringClass()); in artGetObjStaticFromCode()
85 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, in artGet32InstanceFromCode() local
87 if (LIKELY(field != NULL && obj != NULL)) { in artGet32InstanceFromCode()
88 return field->Get32(obj); in artGet32InstanceFromCode()
91 field = FindFieldFromCode<InstancePrimitiveRead, true>(field_idx, referrer, self, in artGet32InstanceFromCode()
93 if (LIKELY(field != NULL)) { in artGet32InstanceFromCode()
96 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); in artGet32InstanceFromCode()
98 return field->Get32(obj); in artGet32InstanceFromCode()
108 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveRead, in artGet64InstanceFromCode() local
110 if (LIKELY(field != NULL && obj != NULL)) { in artGet64InstanceFromCode()
111 return field->Get64(obj); in artGet64InstanceFromCode()
114 field = FindFieldFromCode<InstancePrimitiveRead, true>(field_idx, referrer, self, in artGet64InstanceFromCode()
116 if (LIKELY(field != NULL)) { in artGet64InstanceFromCode()
119 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); in artGet64InstanceFromCode()
121 return field->Get64(obj); in artGet64InstanceFromCode()
132 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectRead, in artGetObjInstanceFromCode() local
134 if (LIKELY(field != NULL && obj != NULL)) { in artGetObjInstanceFromCode()
135 return field->GetObj(obj); in artGetObjInstanceFromCode()
138 field = FindFieldFromCode<InstanceObjectRead, true>(field_idx, referrer, self, in artGetObjInstanceFromCode()
140 if (LIKELY(field != NULL)) { in artGetObjInstanceFromCode()
143 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true); in artGetObjInstanceFromCode()
145 return field->GetObj(obj); in artGetObjInstanceFromCode()
155 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, in artSet32StaticFromCode() local
157 if (LIKELY(field != NULL)) { in artSet32StaticFromCode()
159 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode()
163 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, self, sizeof(int32_t)); in artSet32StaticFromCode()
164 if (LIKELY(field != NULL)) { in artSet32StaticFromCode()
166 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode()
176 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticPrimitiveWrite, in artSet64StaticFromCode() local
178 if (LIKELY(field != NULL)) { in artSet64StaticFromCode()
180 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode()
184 field = FindFieldFromCode<StaticPrimitiveWrite, true>(field_idx, referrer, self, sizeof(int64_t)); in artSet64StaticFromCode()
185 if (LIKELY(field != NULL)) { in artSet64StaticFromCode()
187 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode()
197 mirror::ArtField* field = FindFieldFast(field_idx, referrer, StaticObjectWrite, in artSetObjStaticFromCode() local
199 if (LIKELY(field != NULL)) { in artSetObjStaticFromCode()
200 if (LIKELY(!field->IsPrimitiveType())) { in artSetObjStaticFromCode()
202 field->SetObj<false>(field->GetDeclaringClass(), new_value); in artSetObjStaticFromCode()
207 field = FindFieldFromCode<StaticObjectWrite, true>(field_idx, referrer, self, in artSetObjStaticFromCode()
209 if (LIKELY(field != NULL)) { in artSetObjStaticFromCode()
211 field->SetObj<false>(field->GetDeclaringClass(), new_value); in artSetObjStaticFromCode()
221 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, in artSet32InstanceFromCode() local
223 if (LIKELY(field != NULL && obj != NULL)) { in artSet32InstanceFromCode()
225 field->Set32<false>(obj, new_value); in artSet32InstanceFromCode()
232 field = FindFieldFromCode<InstancePrimitiveWrite, true>(field_idx, referrer, self, in artSet32InstanceFromCode()
235 if (LIKELY(field != NULL)) { in artSet32InstanceFromCode()
238 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false); in artSet32InstanceFromCode()
241 field->Set32<false>(obj, new_value); in artSet32InstanceFromCode()
255 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstancePrimitiveWrite, in artSet64InstanceFromCode() local
257 if (LIKELY(field != NULL && obj != NULL)) { in artSet64InstanceFromCode()
259 field->Set64<false>(obj, new_value); in artSet64InstanceFromCode()
264 field = FindFieldFromCode<InstancePrimitiveWrite, true>(field_idx, referrer, self, in artSet64InstanceFromCode()
266 if (LIKELY(field != NULL)) { in artSet64InstanceFromCode()
269 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false); in artSet64InstanceFromCode()
272 field->Set64<false>(obj, new_value); in artSet64InstanceFromCode()
284 mirror::ArtField* field = FindFieldFast(field_idx, referrer, InstanceObjectWrite, in artSetObjInstanceFromCode() local
286 if (LIKELY(field != NULL && obj != NULL)) { in artSetObjInstanceFromCode()
288 field->SetObj<false>(obj, new_value); in artSetObjInstanceFromCode()
292 field = FindFieldFromCode<InstanceObjectWrite, true>(field_idx, referrer, self, in artSetObjInstanceFromCode()
294 if (LIKELY(field != NULL)) { in artSetObjInstanceFromCode()
297 ThrowNullPointerExceptionForFieldAccess(throw_location, field, false); in artSetObjInstanceFromCode()
300 field->SetObj<false>(obj, new_value); in artSetObjInstanceFromCode()