• Home
  • Raw
  • Download

Lines Matching refs:arg

220 static void countWhiteReferenceVisitor(void *addr, void *arg)  in countWhiteReferenceVisitor()  argument
226 assert(arg != NULL); in countWhiteReferenceVisitor()
232 ctx = (WhiteReferenceCounter *)arg; in countWhiteReferenceVisitor()
242 static void dumpWhiteReferenceVisitor(void *addr, void *arg) in dumpWhiteReferenceVisitor() argument
248 assert(arg != NULL); in dumpWhiteReferenceVisitor()
254 ctx = (WhiteReferenceCounter*)arg; in dumpWhiteReferenceVisitor()
264 static void dumpReferencesVisitor(void *pObj, void *arg) in dumpReferencesVisitor() argument
267 Object *lookingFor = *(Object **)arg; in dumpReferencesVisitor()
269 *(Object **)arg = NULL; in dumpReferencesVisitor()
273 static void dumpReferencesCallback(Object *obj, void *arg) in dumpReferencesCallback() argument
275 if (obj == (Object *)arg) { in dumpReferencesCallback()
278 dvmVisitObject(dumpReferencesVisitor, obj, &arg); in dumpReferencesCallback()
279 if (arg == NULL) { in dumpReferencesCallback()
280 ALOGD("Found %p in the heap @ %p", arg, obj); in dumpReferencesCallback()
289 RootType type, void *arg) in dumpReferencesRootVisitor() argument
292 Object *lookingFor = *(Object **)arg; in dumpReferencesRootVisitor()
294 ALOGD("Found %p in a root @ %p", arg, ptr); in dumpReferencesRootVisitor()
304 void *arg = (void *)obj; in dumpReferences() local
305 dvmVisitRoots(dumpReferencesRootVisitor, arg); in dumpReferences()
306 dvmHeapBitmapWalk(bitmap, dumpReferencesCallback, arg); in dumpReferences()
367 static void verifyCardTableCallback(Object *obj, void *arg) in verifyCardTableCallback() argument
369 WhiteReferenceCounter ctx = { (HeapBitmap *)arg, 0 }; in verifyCardTableCallback()