Home
last modified time | relevance | path

Searched refs:bitsLen (Results 1 – 6 of 6) sorted by relevance

/dalvik/vm/alloc/
DHeapBitmap.cpp30 size_t bitsLen; in dvmHeapBitmapInit() local
34 bitsLen = HB_OFFSET_TO_INDEX(maxSize) * sizeof(*hb->bits); in dvmHeapBitmapInit()
35 bits = dvmAllocRegion(bitsLen, PROT_READ | PROT_WRITE, name); in dvmHeapBitmapInit()
37 ALOGE("Could not mmap %zd-byte ashmem region '%s'", bitsLen, name); in dvmHeapBitmapInit()
41 hb->bitsLen = hb->allocLen = bitsLen; in dvmHeapBitmapInit()
72 madvise(hb->bits, hb->bitsLen, MADV_DONTNEED); in dvmHeapBitmapZero()
88 return index < hb->bitsLen / sizeof(*hb->bits); in dvmHeapBitmapCoversAddress()
172 assert(liveHb->bitsLen == markHb->bitsLen); in dvmHeapBitmapSweepWalk()
DHeapBitmap.h53 size_t bitsLen; member
DHeapBitmapInlines.h36 assert(index < hb->bitsLen / sizeof(*hb->bits)); in _heapBitmapModifyObjectBit()
DHeapSource.cpp888 assert(gHs->liveBits.bitsLen == gHs->markBits.bitsLen); in dvmMarkImmuneObjects()
DCopying.cpp832 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) { in sumHeapBitmap()
/dalvik/vm/alloc/TEST/HeapBitmapTest/
Dmain.c34 assert(hb.bitsLen >= HB_OFFSET_TO_INDEX(HEAP_SIZE)); in test_init()
54 assert(hb.bitsLen == 0); in test_init()
70 for (i = 0; i < hb->bitsLen / sizeof (*hb->bits); i++) { in is_zeroed()
81 assert(hb->bitsLen >= HB_OFFSET_TO_INDEX(HEAP_SIZE)); in assert_empty()