Home
last modified time | relevance | path

Searched refs:byteOffset (Results 1 – 23 of 23) sorted by relevance

/dalvik/vm/native/
Djava_lang_reflect_Field.cpp194 value->i = dvmGetFieldBoolean(obj, ifield->byteOffset); in getInstFieldValue()
197 value->i = dvmGetFieldByte(obj, ifield->byteOffset); in getInstFieldValue()
200 value->i = dvmGetFieldShort(obj, ifield->byteOffset); in getInstFieldValue()
203 value->i = dvmGetFieldChar(obj, ifield->byteOffset); in getInstFieldValue()
206 value->i = dvmGetFieldInt(obj, ifield->byteOffset); in getInstFieldValue()
209 value->f = dvmGetFieldFloat(obj, ifield->byteOffset); in getInstFieldValue()
212 value->j = dvmGetFieldLong(obj, ifield->byteOffset); in getInstFieldValue()
215 value->d = dvmGetFieldDouble(obj, ifield->byteOffset); in getInstFieldValue()
219 value->l = dvmGetFieldObject(obj, ifield->byteOffset); in getInstFieldValue()
229 value->i = dvmGetFieldBooleanVolatile(obj, ifield->byteOffset); in getInstFieldValue()
[all …]
Dsun_misc_Unsafe.cpp32 s8 result = ((s8) field->byteOffset); in Dalvik_sun_misc_Unsafe_objectFieldOffset0()
/dalvik/vm/oo/
DObject.h159 #define _CLASS_BIT_NUMBER_FROM_OFFSET(byteOffset) \ argument
160 (((unsigned int)(byteOffset) - CLASS_SMALLEST_OFFSET) / \
165 #define CLASS_CAN_ENCODE_OFFSET(byteOffset) \ argument
166 (_CLASS_BIT_NUMBER_FROM_OFFSET(byteOffset) < CLASS_BITS_PER_WORD)
171 #define CLASS_BIT_FROM_OFFSET(byteOffset) \ argument
172 (CLASS_HIGH_BIT >> _CLASS_BIT_NUMBER_FROM_OFFSET(byteOffset))
326 int byteOffset; member
667 return pField->byteOffset; in dvmFindFieldOffset()
DObject.cpp765 dval = dvmGetFieldFloat(obj, pField->byteOffset); in dvmDumpObject()
767 dval = dvmGetFieldDouble(obj, pField->byteOffset); in dvmDumpObject()
771 pField->accessFlags, pField->byteOffset, dval); in dvmDumpObject()
776 lval = dvmGetFieldLong(obj, pField->byteOffset); in dvmDumpObject()
778 lval = dvmGetFieldBoolean(obj, pField->byteOffset); in dvmDumpObject()
780 lval = dvmGetFieldInt(obj, pField->byteOffset); in dvmDumpObject()
784 pField->accessFlags, pField->byteOffset, lval); in dvmDumpObject()
795 size_t byteOffset = (size_t)pField - (size_t)sfields; in dvmDumpObject() local
808 pField->accessFlags, byteOffset, dval); in dvmDumpObject()
821 pField->accessFlags, byteOffset, lval); in dvmDumpObject()
DClass.cpp2372 assert(ifield->byteOffset == 0); // cleared earlier with calloc in loadIFieldFromDex()
2373 ifield->byteOffset = -1; // make it obvious if we fail to set later in loadIFieldFromDex()
2410 tmpByteOffset = swapField->byteOffset; in precacheReferenceOffsets()
2411 swapField->byteOffset = pField->byteOffset; in precacheReferenceOffsets()
2412 pField->byteOffset = tmpByteOffset; in precacheReferenceOffsets()
2474 assert(f->byteOffset >= (int) CLASS_SMALLEST_OFFSET); in computeRefOffsets()
2475 assert((f->byteOffset & (CLASS_OFFSET_ALIGNMENT - 1)) == 0); in computeRefOffsets()
2476 if (CLASS_CAN_ENCODE_OFFSET(f->byteOffset)) { in computeRefOffsets()
2477 u4 newBit = CLASS_BIT_FROM_OFFSET(f->byteOffset); in computeRefOffsets()
3604 pField->byteOffset = fieldOffset; in computeFieldOffsets()
[all …]
/dalvik/vm/hprof/
DHprofHeap.cpp440 (u1)dvmGetFieldByte(obj, f->byteOffset)); in hprofDumpHeapObject()
443 (u2)dvmGetFieldChar(obj, f->byteOffset)); in hprofDumpHeapObject()
446 (u4)dvmGetFieldInt(obj, f->byteOffset)); in hprofDumpHeapObject()
449 (u8)dvmGetFieldLong(obj, f->byteOffset)); in hprofDumpHeapObject()
/dalvik/vm/
DDebugger.cpp1471 Object* objVal = dvmGetFieldObject(obj, ifield->byteOffset); in dvmDbgGetFieldValue()
1482 expandBufAdd1(pReply, dvmGetFieldBoolean(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1485 expandBufAdd1(pReply, dvmGetFieldByte(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1488 expandBufAdd2BE(pReply, dvmGetFieldShort(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1491 expandBufAdd2BE(pReply, dvmGetFieldChar(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1495 expandBufAdd4BE(pReply, dvmGetFieldInt(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1499 expandBufAdd8BE(pReply, dvmGetFieldLong(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1522 dvmSetFieldBoolean(obj, field->byteOffset, value != 0); in dvmDbgSetFieldValue()
1526 dvmSetFieldInt(obj, field->byteOffset, value); in dvmDbgSetFieldValue()
1531 dvmSetFieldInt(obj, field->byteOffset, value); in dvmDbgSetFieldValue()
[all …]
DJni.cpp1836 dvmGetFieldObjectVolatile(obj, field->byteOffset); \
1840 dvmGetField##_jname##Volatile(obj, field->byteOffset); \
1844 Object* valObj = dvmGetFieldObject(obj, field->byteOffset); \
1847 value = (_ctype) dvmGetField##_jname(obj, field->byteOffset);\
1875 dvmSetFieldObjectVolatile(obj, field->byteOffset, valObj); \
1878 field->byteOffset, (_ctype2)value); \
1883 dvmSetFieldObject(obj, field->byteOffset, valObj); \
1886 field->byteOffset, (_ctype2)value); \
/dalvik/vm/alloc/
DVisitInlines.h43 size_t offset = field->byteOffset; in visitFields()
DMarkSweep.cpp237 void *addr = BYTE_OFFSET(obj, field->byteOffset); in scanFields()
DCopying.cpp1271 size_t offset = field->byteOffset; in scavengeDataObject()
/dalvik/vm/analysis/
DOptimize.cpp697 } else if (quickOpc != OP_NOP && instField->byteOffset < 65536) { in rewriteInstField()
699 dvmUpdateCodeUnit(method, insns+1, (u2) instField->byteOffset); in rewriteInstField()
702 instField->byteOffset); in rewriteInstField()
/dalvik/vm/mterp/common/
Dasm-constants.h127 MTERP_OFFSET(offInstField_byteOffset, InstField, byteOffset, 16)
/dalvik/vm/mterp/c/
Dopcommon.cpp527 dvmGetField##_ftype(obj, ifield->byteOffset)); \
570 dvmSetField##_ftype(obj, ifield->byteOffset, \
/dalvik/vm/mterp/out/
DInterpC-armv7-a.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-armv7-a-neon.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-armv5te-vfp.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-armv5te.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-x86-atom.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-x86.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-allstubs.cpp1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1076 dvmSetField##_ftype(obj, ifield->byteOffset, \
DInterpC-portable.cpp981 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1024 dvmSetField##_ftype(obj, ifield->byteOffset, \
/dalvik/vm/compiler/codegen/arm/
DCodegenDriver.cpp2428 fieldOffset = ((InstField *)fieldPtr)->byteOffset; in handleFmt22c()