• Home
  • Raw
  • Download

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 (void) dvmHashTableLookup(gDvm.dbgRegistry, registryHash((u4) id), in registerObject()
233 (void*)(u4) id, registryCompare, true); in registerObject()
237 return id; in registerObject()
277 static bool objectIsRegistered(ObjectId id, RegistryType type) in objectIsRegistered() argument
281 if (id == 0) // null reference? in objectIsRegistered()
285 bool result = lookupId(id); in objectIsRegistered()
306 static ClassObject* refTypeIdToClassObject(RefTypeId id) in refTypeIdToClassObject() argument
308 assert(objectIsRegistered(id, kRefTypeId) || !gDvm.debuggerConnected); in refTypeIdToClassObject()
309 return (ClassObject*)(u4) id; in refTypeIdToClassObject()
323 static Object* objectIdToObject(ObjectId id) in objectIdToObject() argument
325 assert(objectIsRegistered(id, kObjectId) || !gDvm.debuggerConnected); in objectIdToObject()
326 return (Object*)(u4) id; in objectIdToObject()
336 void dvmDbgRegisterObjectId(ObjectId id) in dvmDbgRegisterObjectId() argument
338 Object* obj = (Object*)(u4) id; in dvmDbgRegisterObjectId()
353 static Method* methodIdToMethod(RefTypeId refTypeId, MethodId id) in methodIdToMethod() argument
356 return (Method*)(u4) id; in methodIdToMethod()
369 static Field* fieldIdToField(RefTypeId refTypeId, FieldId id) in fieldIdToField() argument
372 return (Field*)(u4) id; in fieldIdToField()
384 static void* frameIdToFrame(FrameId id) in frameIdToFrame() argument
386 return (void*)(u4) id; in frameIdToFrame()
534 const char* dvmDbgGetClassDescriptor(RefTypeId id) in dvmDbgGetClassDescriptor() argument
538 clazz = refTypeIdToClassObject(id); in dvmDbgGetClassDescriptor()
545 ObjectId dvmDbgGetClassObject(RefTypeId id) in dvmDbgGetClassObject() argument
547 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetClassObject()
554 RefTypeId dvmDbgGetSuperclass(RefTypeId id) in dvmDbgGetSuperclass() argument
556 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetSuperclass()
563 RefTypeId dvmDbgGetClassLoader(RefTypeId id) in dvmDbgGetClassLoader() argument
565 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetClassLoader()
572 u4 dvmDbgGetAccessFlags(RefTypeId id) in dvmDbgGetAccessFlags() argument
574 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgGetAccessFlags()
581 bool dvmDbgIsInterface(RefTypeId id) in dvmDbgIsInterface() argument
583 ClassObject* clazz = refTypeIdToClassObject(id); in dvmDbgIsInterface()
1134 ObjectId id = dvmReadObjectId(&buf); in dvmDbgSetArrayElements() local
1135 *pObjects++ = objectIdToObject(id); in dvmDbgSetArrayElements()
1204 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id) in dvmDbgGetMethodName() argument
1208 meth = methodIdToMethod(refTypeId, id); in dvmDbgGetMethodName()