Lines Matching defs:ifield
187 static void getInstFieldValue(const InstField* ifield, Object* obj,
190 if (!dvmIsVolatileField(ifield)) {
192 switch (ifield->signature[0]) {
194 value->i = dvmGetFieldBoolean(obj, ifield->byteOffset);
197 value->i = dvmGetFieldByte(obj, ifield->byteOffset);
200 value->i = dvmGetFieldShort(obj, ifield->byteOffset);
203 value->i = dvmGetFieldChar(obj, ifield->byteOffset);
206 value->i = dvmGetFieldInt(obj, ifield->byteOffset);
209 value->f = dvmGetFieldFloat(obj, ifield->byteOffset);
212 value->j = dvmGetFieldLong(obj, ifield->byteOffset);
215 value->d = dvmGetFieldDouble(obj, ifield->byteOffset);
219 value->l = dvmGetFieldObject(obj, ifield->byteOffset);
222 ALOGE("Unhandled field signature '%s'", ifield->signature);
227 switch (ifield->signature[0]) {
229 value->i = dvmGetFieldBooleanVolatile(obj, ifield->byteOffset);
232 value->i = dvmGetFieldByteVolatile(obj, ifield->byteOffset);
235 value->i = dvmGetFieldShortVolatile(obj, ifield->byteOffset);
238 value->i = dvmGetFieldCharVolatile(obj, ifield->byteOffset);
241 value->i = dvmGetFieldIntVolatile(obj, ifield->byteOffset);
244 value->f = dvmGetFieldFloatVolatile(obj, ifield->byteOffset);
247 value->j = dvmGetFieldLongVolatile(obj, ifield->byteOffset);
250 value->d = dvmGetFieldDoubleVolatile(obj, ifield->byteOffset);
254 value->l = dvmGetFieldObjectVolatile(obj, ifield->byteOffset);
257 ALOGE("Unhandled field signature '%s'", ifield->signature);
334 static void setInstFieldValue(InstField* ifield, Object* obj,
337 if (!dvmIsVolatileField(ifield)) {
339 switch (ifield->signature[0]) {
341 dvmSetFieldBoolean(obj, ifield->byteOffset, value->z);
344 dvmSetFieldByte(obj, ifield->byteOffset, value->b);
347 dvmSetFieldShort(obj, ifield->byteOffset, value->s);
350 dvmSetFieldChar(obj, ifield->byteOffset, value->c);
353 dvmSetFieldInt(obj, ifield->byteOffset, value->i);
356 dvmSetFieldFloat(obj, ifield->byteOffset, value->f);
359 dvmSetFieldLong(obj, ifield->byteOffset, value->j);
362 dvmSetFieldDouble(obj, ifield->byteOffset, value->d);
366 dvmSetFieldObject(obj, ifield->byteOffset, (Object *)value->l);
369 ALOGE("Unhandled field signature '%s'", ifield->signature);
377 if (dvmIsFinalField(ifield)) {
383 switch (ifield->signature[0]) {
385 dvmSetFieldBooleanVolatile(obj, ifield->byteOffset, value->z);
388 dvmSetFieldByteVolatile(obj, ifield->byteOffset, value->b);
391 dvmSetFieldShortVolatile(obj, ifield->byteOffset, value->s);
394 dvmSetFieldCharVolatile(obj, ifield->byteOffset, value->c);
397 dvmSetFieldIntVolatile(obj, ifield->byteOffset, value->i);
400 dvmSetFieldFloatVolatile(obj, ifield->byteOffset, value->f);
403 dvmSetFieldLongVolatile(obj, ifield->byteOffset, value->j);
406 dvmSetFieldDoubleVolatile(obj, ifield->byteOffset, value->d);
410 dvmSetFieldObjectVolatile(obj, ifield->byteOffset, (Object*)value->l);
413 ALOGE("Unhandled field signature '%s'", ifield->signature);