Lines Matching refs:id
187 static bool lookupId(ObjectId id) in lookupId() argument
191 found = dvmHashTableLookup(gDvm.dbgRegistry, registryHash((u4) id), in lookupId()
192 (void*)(u4) id, registryCompare, false); in lookupId()
195 assert(found == (void*)(u4) id); in lookupId()
211 ObjectId id; in registerObject() local
219 id = (ObjectId)(u4)obj | ((u8) type) << 32; in registerObject()
221 return id; in registerObject()
232 dvmHashTableLookup(gDvm.dbgRegistry, registryHash((u4) id), in registerObject()
233 (void*)(u4) id, registryCompare, true); in registerObject()
237 return id; in registerObject()
251 static bool objectIsRegistered(ObjectId id, RegistryType type) in objectIsRegistered() argument
255 if (id == 0) // null reference? in objectIsRegistered()
259 bool result = lookupId(id); in objectIsRegistered()
280 static ClassObject* refTypeIdToClassObject(RefTypeId id) in refTypeIdToClassObject() argument
282 assert(objectIsRegistered(id, kRefTypeId) || !gDvm.debuggerConnected); in refTypeIdToClassObject()
283 return (ClassObject*)(u4) id; in refTypeIdToClassObject()
297 static Object* objectIdToObject(ObjectId id) in objectIdToObject() argument
299 assert(objectIsRegistered(id, kObjectId) || !gDvm.debuggerConnected); in objectIdToObject()
300 return (Object*)(u4) id; in objectIdToObject()
310 void dvmDbgRegisterObjectId(ObjectId id) in dvmDbgRegisterObjectId() argument
312 Object* obj = (Object*)(u4) id; in dvmDbgRegisterObjectId()
327 static Method* methodIdToMethod(RefTypeId refTypeId, MethodId id) in methodIdToMethod() argument
330 return (Method*)(u4) id; in methodIdToMethod()
343 static Field* fieldIdToField(RefTypeId refTypeId, FieldId id) in fieldIdToField() argument
346 return (Field*)(u4) id; in fieldIdToField()
358 static u4* frameIdToFrame(FrameId id) in frameIdToFrame() argument
360 return (u4*)(u4) id; in frameIdToFrame()
510 const char* dvmDbgGetClassDescriptor(RefTypeId id) in dvmDbgGetClassDescriptor() argument
514 clazz = refTypeIdToClassObject(id); in dvmDbgGetClassDescriptor()
521 ObjectId dvmDbgGetClassObject(RefTypeId id) in dvmDbgGetClassObject() argument
523 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetClassObject()
530 RefTypeId dvmDbgGetSuperclass(RefTypeId id) in dvmDbgGetSuperclass() argument
532 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetSuperclass()
539 RefTypeId dvmDbgGetClassLoader(RefTypeId id) in dvmDbgGetClassLoader() argument
541 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetClassLoader()
548 u4 dvmDbgGetAccessFlags(RefTypeId id) in dvmDbgGetAccessFlags() argument
550 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetAccessFlags()
557 bool dvmDbgIsInterface(RefTypeId id) in dvmDbgIsInterface() argument
559 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgIsInterface()
1074 ObjectId id = dvmReadObjectId(&buf); in dvmDbgSetArrayElements() local
1075 *pObjects++ = objectIdToObject(id); in dvmDbgSetArrayElements()
1144 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id) in dvmDbgGetMethodName() argument
1148 meth = methodIdToMethod(refTypeId, id); in dvmDbgGetMethodName()