Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 61) sorted by relevance

123

/dalvik/vm/alloc/
DHeapBitmap.cpp26 bool dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize, in dvmHeapBitmapInit() argument
42 hb->base = (uintptr_t)base; in dvmHeapBitmapInit()
43 hb->max = hb->base - 1; in dvmHeapBitmapInit()
73 hb->max = hb->base - 1; in dvmHeapBitmapZero()
86 const uintptr_t offset = (uintptr_t)obj - hb->base; in dvmHeapBitmapCoversAddress()
103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in dvmHeapBitmapWalk()
108 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base; in dvmHeapBitmapWalk()
137 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in dvmHeapBitmapScanWalk()
143 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base; in dvmHeapBitmapScanWalk()
144 void *finger = (void *)(HB_INDEX_TO_OFFSET(i + 1) + bitmap->base); in dvmHeapBitmapScanWalk()
[all …]
DHeapSource.cpp94 char *base; member
241 if ((const char *)ptr >= heap->base && (const char *)ptr < heap->limit) { in ptr2heap()
289 static mspace createMspace(void *base, size_t startSize, size_t maximumSize) in createMspace() argument
303 maximumSize, /*locked=*/false, base); in createMspace()
334 hs->heaps[0].base = hs->heapBase; in addInitialHeap()
363 char *base = (char *)ALIGN_UP_TO_PAGE_SIZE(sbrk0); in addNewHeap() local
364 size_t overhead = base - hs->heaps[0].base; in addNewHeap()
365 assert(((size_t)hs->heaps[0].base & (SYSTEM_PAGE_SIZE - 1)) == 0); in addNewHeap()
376 heap.base = base; in addNewHeap()
377 heap.limit = heap.base + heap.maximumSize; in addNewHeap()
[all …]
DHeapBitmapInlines.h30 const uintptr_t offset = (uintptr_t)obj - hb->base; in _heapBitmapModifyObjectBit()
35 assert((uintptr_t)obj >= hb->base); in _heapBitmapModifyObjectBit()
98 assert((uintptr_t)obj >= hb->base); in dvmHeapBitmapIsObjectBitSet()
100 const uintptr_t offset = (uintptr_t)obj - hb->base; in dvmHeapBitmapIsObjectBitSet()
DHeapBitmap.h64 uintptr_t base; member
85 bool dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize,
126 uintptr_t base, uintptr_t max,
DMarkSweep.cpp48 madvise(stack->base, length, MADV_NORMAL); in createMarkStack()
49 stack->top = stack->base; in createMarkStack()
60 madvise(stack->base, stack->length, MADV_DONTNEED); in destroyMarkStack()
70 assert(stack->base <= stack->top); in markStackPush()
83 assert(stack->base < stack->top); in markStackPop()
475 assert(ctx->stack.top >= ctx->stack.base); in processMarkStack()
477 while (stack->top > stack->base) { in processMarkStack()
500 static Object *nextGrayObject(const u1 *base, const u1 *limit, in nextGrayObject() argument
505 assert(base < limit); in nextGrayObject()
506 assert(limit - base <= GC_CARD_SIZE); in nextGrayObject()
[all …]
DMarkSweep.h33 const Object **base; member
DHeapSource.h78 void dvmHeapSourceGetRegions(uintptr_t *base, uintptr_t *max, size_t numHeaps);
/dalvik/tests/017-float/
Dexpected.txt1 base values: d=3.1415926535 f=3.1415927
2 base values: d=3.1415926535 f=3.1415927
3 base values: f=3.1415927 d=3.1415926535
/dalvik/vm/alloc/TEST/HeapBitmapTest/
Dmain.c35 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()
[all …]
/dalvik/vm/mterp/armv5te/
DOP_GOTO_32.S21 ldrle rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
26 ldrle rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
Dzcmp.S20 ldrmi rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh table base
24 ldrmi rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh table base
DOP_PACKED_SWITCH.S26 ldrle rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
31 ldrle rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
DOP_EXECUTE_INLINE_RANGE.S45 4: add ip, r9, #3 @ base+3
47 3: add ip, r9, #2 @ base+2
49 2: add ip, r9, #1 @ base+1
DOP_GOTO_16.S13 ldrmi rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
DOP_GOTO.S15 ldrmi rIBASE, [rSELF, #offThread_curHandlerTable] @ refresh handler base
DOP_IPUT_OBJECT_QUICK.S13 ldr r2, [rSELF, #offThread_cardTable] @ r2<- card table base
/dalvik/tests/003-omnibus-opcodes/src/
DMethodCall.java56 MethodCallBase base = inst; in run() local
57 base.tryThing(); in run()
/dalvik/tests/065-mismatched-implements/src/
DIndirect.java25 Base base = new Base(); in main() local
/dalvik/tests/066-mismatched-super/src/
DIndirect.java25 Base base = new Base(); in main() local
/dalvik/tests/072-precise-gc/src/
DMain.java61 static String generateString(String base, int num) { in generateString() argument
62 return base + num; in generateString()
/dalvik/tests/068-classloader/
Dexpected.txt1 base: class DoubledImplement
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecList.java334 public RegisterSpecList withSequentialRegisters(int base, in withSequentialRegisters() argument
347 result.set0(i, one.withReg(base)); in withSequentialRegisters()
351 base += one.getCategory(); in withSequentialRegisters()
/dalvik/dexgen/src/com/android/dexgen/rop/type/
DPrototype.java166 Prototype base = intern(descriptor); in intern() local
169 return base; in intern()
176 return base.withFirstParameter(definer); in intern()
/dalvik/dx/src/com/android/dx/rop/type/
DPrototype.java170 Prototype base = intern(descriptor); in intern() local
173 return base; in intern()
180 return base.withFirstParameter(definer); in intern()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecList.java373 public RegisterSpecList withExpandedRegisters(int base, in withExpandedRegisters() argument
390 result.set0(i, one.withReg(base)); in withExpandedRegisters()
392 base += one.getCategory(); in withExpandedRegisters()

123