Lines Matching refs:bitmap
22 * Initialize a HeapBitmap so that it points to a bitmap large
48 * Clean up any resources associated with the bitmap.
61 * Fill the bitmap with zeroes. Returns the bitmap's memory to
79 * bitmap could potentially cover, even if a bit has not been set
95 * change the bitmap bits or max during the traversal.
97 void dvmHeapBitmapWalk(const HeapBitmap *bitmap, BitmapCallback *callback,
100 assert(bitmap != NULL);
101 assert(bitmap->bits != NULL);
103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
105 unsigned long word = bitmap->bits[i];
108 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base;
121 * to change the bitmap bits and max during traversal. Used by the
131 void dvmHeapBitmapScanWalk(HeapBitmap *bitmap,
134 assert(bitmap != NULL);
135 assert(bitmap->bits != NULL);
137 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
140 unsigned long word = bitmap->bits[i];
143 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base;
144 void *finger = (void *)(HB_INDEX_TO_OFFSET(i + 1) + bitmap->base);
151 end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
161 * The callback is not permitted to increase the max of either bitmap.