Lines Matching refs:base
35 assert(hb.base == (uintptr_t)HEAP_BASE); in test_init()
36 assert(hb.max < hb.base); in test_init()
55 assert(hb.base == 0); in test_init()
82 assert(hb->base == (uintptr_t)HEAP_BASE); in assert_empty()
83 assert(hb->max < hb->base); in assert_empty()
353 uintptr_t base; in run_xor() local
356 base = (uintptr_t)HEAP_BASE + offset; in run_xor()
358 base = (uintptr_t)HEAP_BASE + (uintptr_t)HEAP_SIZE + offset; in run_xor()
360 if (base < (uintptr_t)HEAP_BASE) { in run_xor()
361 base = (uintptr_t)HEAP_BASE; in run_xor()
362 } else if (base > (uintptr_t)(HEAP_BASE + HEAP_SIZE)) { in run_xor()
363 base = (uintptr_t)(HEAP_BASE + HEAP_SIZE); in run_xor()
365 base = (base + HB_OBJECT_ALIGNMENT - 1) & ~(HB_OBJECT_ALIGNMENT - 1); in run_xor()
368 top = base + step * NUM_XOR_PTRS; in run_xor()
382 for (addr = base; addr < top; addr += step) { in run_xor()
408 dvmHeapBitmapSetObjectBit(&hb1, (void *)base); in run_xor()
415 dvmHeapBitmapSetObjectBit(&hb2, (void *)base); in run_xor()