/dalvik/vm/alloc/ |
D | HeapBitmap.c | 28 dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize, in dvmHeapBitmapInit() argument 44 hb->base = (uintptr_t)base; in dvmHeapBitmapInit() 45 hb->max = hb->base - 1; in dvmHeapBitmapInit() 77 hb->max = hb->base - 1; in dvmHeapBitmapZero() 110 const uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + hb_->base; \ in dvmHeapBitmapSweepWalk() 124 index = HB_OFFSET_TO_INDEX(hb_->max - hb_->base); \ in dvmHeapBitmapSweepWalk() 136 if (liveHb->base != markHb->base) { in dvmHeapBitmapSweepWalk() 138 liveHb->base, markHb->base); in dvmHeapBitmapSweepWalk() 146 if (liveHb->max < liveHb->base && markHb->max < markHb->base) { in dvmHeapBitmapSweepWalk() 154 if (liveHb->max >= liveHb->base && markHb->max >= markHb->base) { in dvmHeapBitmapSweepWalk() [all …]
|
D | HeapBitmap.h | 74 uintptr_t base; member 92 bool dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize, 119 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in HB_INLINE_PROTO() 125 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base; in HB_INLINE_PROTO() 157 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in HB_INLINE_PROTO() 163 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base; in HB_INLINE_PROTO() 164 void *finger = (void *)(HB_INDEX_TO_OFFSET(i + 1) + bitmap->base); in HB_INLINE_PROTO() 171 end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base); in HB_INLINE_PROTO() 200 const uintptr_t offset = (uintptr_t)obj - hb->base; in HB_INLINE_PROTO() 216 const uintptr_t offset = (uintptr_t)obj - hb->base; in HB_INLINE_PROTO() [all …]
|
D | HeapSource.c | 134 char *base; member 288 if ((const char *)ptr >= heap->base && (const char *)ptr < heap->limit) { in ptr2heap() 344 createMspace(void *base, size_t startSize, size_t absoluteMaxSize) in createMspace() argument 359 absoluteMaxSize, /*locked=*/false, base); in createMspace() 394 heap.base = hs->heapBase; in addNewHeap() 398 char *base = (char *)ALIGN_UP_TO_PAGE_SIZE(sbrk0); in addNewHeap() local 399 size_t overhead = base - hs->heaps[0].base; in addNewHeap() 401 assert(((size_t)hs->heaps[0].base & (SYSTEM_PAGE_SIZE - 1)) == 0); in addNewHeap() 409 hs->heaps[0].limit = base; in addNewHeap() 411 heap.msp = createMspace(base, HEAP_MIN_FREE, heap.absoluteMaxSize); in addNewHeap() [all …]
|
D | MarkSweep.h | 35 const Object **base; member
|
D | MarkSweep.c | 76 stack->base = (const Object **)((uintptr_t)limit + size); in createMarkStack() 77 stack->top = stack->base; in createMarkStack() 84 (uintptr_t)stack->base - (uintptr_t)stack->limit); in destroyMarkStack() 535 const Object **const base = ctx->stack.base; in processMarkStack() local 542 while (ctx->stack.top != base) { in processMarkStack() 564 static Object *nextGrayObject(u1 *base, u1 *limit, HeapBitmap *markBits) in nextGrayObject() argument 568 assert(base < limit); in nextGrayObject() 569 assert(limit - base <= GC_CARD_SIZE); in nextGrayObject() 570 for (ptr = base; ptr < limit; ptr += HB_OBJECT_ALIGNMENT) { in nextGrayObject() 969 assert((uintptr_t)gDvm.gcHeap->markContext.immuneLimit == currLive[0].base); in dvmHeapSweepUnmarkedObjects()
|
/dalvik/tests/017-float/ |
D | expected.txt | 1 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/ |
D | main.c | 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() [all …]
|
/dalvik/vm/mterp/armv5te/ |
D | OP_EXECUTE_INLINE_RANGE.S | 41 4: add ip, r9, #3 @ base+3 43 3: add ip, r9, #2 @ base+2 45 2: add ip, r9, #1 @ base+1
|
D | OP_IPUT_OBJECT_QUICK.S | 13 ldr r2, [rGLUE, #offGlue_cardTable] @ r2<- card table base
|
D | OP_SPUT_OBJECT.S | 31 ldr r2, [rGLUE, #offGlue_cardTable] @ r2<- card table base
|
D | OP_IPUT_OBJECT.S | 42 ldr r2, [rGLUE, #offGlue_cardTable] @ r2<- card table base
|
/dalvik/tests/065-mismatched-implements/src/ |
D | Indirect.java | 25 Base base = new Base(); in main() local
|
/dalvik/tests/066-mismatched-super/src/ |
D | Indirect.java | 25 Base base = new Base(); in main() local
|
/dalvik/tests/003-omnibus-opcodes/src/ |
D | MethodCall.java | 56 MethodCallBase base = inst; in run() local 57 base.tryThing(); in run()
|
/dalvik/tests/072-precise-gc/src/ |
D | Main.java | 61 static String generateString(String base, int num) { in generateString() argument 62 return base + num; in generateString()
|
/dalvik/tests/068-classloader/ |
D | expected.txt | 1 base: class DoubledImplement
|
/dalvik/libnativehelper/ |
D | README | 8 frameworks/base/).
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | RegisterSpecList.java | 334 public RegisterSpecList withSequentialRegisters(int base, in withSequentialRegisters() argument 347 result.set0(i, one.withReg(base)); in withSequentialRegisters() 351 base += one.getCategory(); in withSequentialRegisters()
|
/dalvik/vm/mterp/x86-atom/ |
D | entry.S | 34 movl %ebp, -4(%esp) # save caller base pointer 38 lea -40(%esp), %ebp # set callee base pointer 53 #movl 36(%ebp), %ebp # restore caller base pointer 60 movl -4(%esp), %ebp # restore caller base pointer
|
/dalvik/dx/src/com/android/dx/rop/type/ |
D | Prototype.java | 167 Prototype base = intern(descriptor); in intern() local 170 return base; in intern() 177 return base.withFirstParameter(definer); in intern()
|
/dalvik/vm/compiler/codegen/arm/Thumb/ |
D | Factory.c | 27 static void storePair(CompilationUnit *cUnit, int base, int lowReg, 29 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg); 798 static void storePair(CompilationUnit *cUnit, int base, int lowReg, int highReg) in storePair() argument 801 storeMultiple(cUnit, base, (1 << lowReg) | (1 << highReg)); in storePair() 803 storeWordDisp(cUnit, base, 0, lowReg); in storePair() 804 storeWordDisp(cUnit, base, 4, highReg); in storePair() 808 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg) in loadPair() argument 811 loadMultiple(cUnit, base, (1 << lowReg) | (1 << highReg)); in loadPair() 813 loadWordDisp(cUnit, base, 0 , lowReg); in loadPair() 814 loadWordDisp(cUnit, base, 4 , highReg); in loadPair()
|
/dalvik/hit/src/com/android/hit/ |
D | Queries.java | 178 private static ArrayList<ClassObj> traverseSubclasses(ClassObj base) { in traverseSubclasses() argument 181 for (ClassObj subclass: base.mSubclasses) { in traverseSubclasses()
|
/dalvik/vm/ |
D | Misc.c | 700 void *base; in dvmAllocRegion() local 708 base = mmap(NULL, size, prot, MAP_PRIVATE, fd, 0); in dvmAllocRegion() 710 if (base == MAP_FAILED) { in dvmAllocRegion() 716 return base; in dvmAllocRegion()
|
/dalvik/vm/mterp/x86/ |
D | OP_APUT_OBJECT.S | 43 movl offGlue_cardTable(%eax),%eax # get card table base
|
D | OP_SPUT_OBJECT.S | 30 movl offGlue_cardTable(%ecx),%ecx # get card table base
|