Searched defs:sfield (Results 1 - 6 of 6) sorted by relevance

/dalvik/vm/native/
H A Djava_lang_reflect_Field.cpp138 static void getStaticFieldValue(const StaticField* sfield, JValue* value) argument
140 if (!dvmIsVolatileField(sfield)) {
142 *value = sfield->value;
145 switch (sfield->signature[0]) {
147 value->i = dvmGetStaticFieldBooleanVolatile(sfield);
150 value->i = dvmGetStaticFieldByteVolatile(sfield);
153 value->i = dvmGetStaticFieldShortVolatile(sfield);
156 value->i = dvmGetStaticFieldCharVolatile(sfield);
159 value->i = dvmGetStaticFieldIntVolatile(sfield);
162 value->f = dvmGetStaticFieldFloatVolatile(sfield);
279 setStaticFieldValue(StaticField* sfield, const JValue* value) argument
[all...]
/dalvik/vm/oo/
H A DObjectInlines.h206 INLINE JValue* dvmStaticFieldPtr(const StaticField* sfield) { argument
207 return (JValue*)&sfield->value;
210 INLINE bool dvmGetStaticFieldBoolean(const StaticField* sfield) { argument
211 return sfield->value.z;
213 INLINE s1 dvmGetStaticFieldByte(const StaticField* sfield) { argument
214 return sfield->value.b;
216 INLINE s2 dvmGetStaticFieldShort(const StaticField* sfield) { argument
217 return sfield->value.s;
219 INLINE u2 dvmGetStaticFieldChar(const StaticField* sfield) { argument
220 return sfield
222 dvmGetStaticFieldInt(const StaticField* sfield) argument
225 dvmGetStaticFieldFloat(const StaticField* sfield) argument
228 dvmGetStaticFieldLong(const StaticField* sfield) argument
231 dvmGetStaticFieldDouble(const StaticField* sfield) argument
234 dvmGetStaticFieldObject(const StaticField* sfield) argument
237 dvmGetStaticFieldBooleanVolatile(const StaticField* sfield) argument
241 dvmGetStaticFieldByteVolatile(const StaticField* sfield) argument
245 dvmGetStaticFieldShortVolatile(const StaticField* sfield) argument
249 dvmGetStaticFieldCharVolatile(const StaticField* sfield) argument
253 dvmGetStaticFieldIntVolatile(const StaticField* sfield) argument
257 dvmGetStaticFieldFloatVolatile(const StaticField* sfield) argument
263 dvmGetStaticFieldLongVolatile(const StaticField* sfield) argument
269 dvmGetStaticFieldDoubleVolatile(const StaticField* sfield) argument
276 dvmGetStaticFieldObjectVolatile(const StaticField* sfield) argument
281 dvmSetStaticFieldBoolean(StaticField* sfield, bool val) argument
284 dvmSetStaticFieldByte(StaticField* sfield, s1 val) argument
287 dvmSetStaticFieldShort(StaticField* sfield, s2 val) argument
290 dvmSetStaticFieldChar(StaticField* sfield, u2 val) argument
293 dvmSetStaticFieldInt(StaticField* sfield, s4 val) argument
296 dvmSetStaticFieldFloat(StaticField* sfield, float val) argument
299 dvmSetStaticFieldLong(StaticField* sfield, s8 val) argument
302 dvmSetStaticFieldDouble(StaticField* sfield, double val) argument
305 dvmSetStaticFieldObject(StaticField* sfield, Object* val) argument
311 dvmSetStaticFieldIntVolatile(StaticField* sfield, s4 val) argument
317 dvmSetStaticFieldBooleanVolatile(StaticField* sfield, bool val) argument
320 dvmSetStaticFieldByteVolatile(StaticField* sfield, s1 val) argument
323 dvmSetStaticFieldShortVolatile(StaticField* sfield, s2 val) argument
326 dvmSetStaticFieldCharVolatile(StaticField* sfield, u2 val) argument
329 dvmSetStaticFieldFloatVolatile(StaticField* sfield, float val) argument
334 dvmSetStaticFieldLongVolatile(StaticField* sfield, s8 val) argument
338 dvmSetStaticFieldDoubleVolatile(StaticField* sfield, double val) argument
343 dvmSetStaticFieldObjectVolatile(StaticField* sfield, Object* val) argument
[all...]
H A DClass.cpp183 const DexField* pDexSField, StaticField* sfield);
2336 const DexField* pDexSField, StaticField* sfield)
2343 sfield->clazz = clazz;
2344 sfield->name = dexStringById(pDexFile, pFieldId->nameIdx);
2345 sfield->signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx);
2346 sfield->accessFlags = pDexSField->accessFlags;
2352 //sfield->value.j = 0;
2353 assert(sfield->value.j == 0LL); // cleared earlier with calloc
3817 StaticField* sfield = &clazz->sfields[i]; local
3818 const char* descriptor = sfield
2335 loadSFieldFromDex(ClassObject* clazz, const DexField* pDexSField, StaticField* sfield) argument
[all...]
/dalvik/vm/reflect/
H A DProxy.cpp178 StaticField* sfield = &newClass->sfields[kThrowsField]; local
179 sfield->clazz = newClass;
180 sfield->name = "throws";
181 sfield->signature = "[[Ljava/lang/Throwable;";
182 sfield->accessFlags = ACC_STATIC | ACC_PRIVATE;
183 dvmSetStaticFieldObject(sfield, (Object*)throws);
1003 const StaticField* sfield = &method->clazz->sfields[kThrowsField]; local
1004 const ArrayObject* throws = (ArrayObject*) dvmGetStaticFieldObject(sfield);
H A DAnnotation.cpp461 StaticField* sfield; local
463 sfield = dvmResolveStaticField(clazz, idx);
464 if (sfield == NULL) {
467 assert(sfield->clazz->descriptor[0] == 'L');
468 elemObj = sfield->value.l;
/dalvik/vm/
H A DDebugger.cpp1563 StaticField* sfield = (StaticField*) fieldIdToField(refTypeId, fieldId); local
1564 u1 tag = basicTagFromDescriptor(sfield->signature);
1567 Object* objVal = dvmGetStaticFieldObject(sfield);
1580 expandBufAdd1(pReply, dvmGetStaticFieldBoolean(sfield));
1583 expandBufAdd1(pReply, dvmGetStaticFieldByte(sfield));
1586 expandBufAdd2BE(pReply, dvmGetStaticFieldShort(sfield));
1589 expandBufAdd2BE(pReply, dvmGetStaticFieldChar(sfield));
1592 expandBufAdd4BE(pReply, dvmGetStaticFieldInt(sfield));
1595 value.f = dvmGetStaticFieldFloat(sfield);
1599 expandBufAdd8BE(pReply, dvmGetStaticFieldLong(sfield));
1619 StaticField* sfield = (StaticField*) fieldIdToField(refTypeId, fieldId); local
[all...]

Completed in 151 milliseconds