Searched defs:base (Results 1 - 24 of 24) sorted by relevance

/dalvik/tests/072-precise-gc/src/
H A DMain.java61 static String generateString(String base, int num) { argument
62 return base + num;
/dalvik/vm/alloc/
H A DHeapBitmap.h25 /* <offset> is the difference from .base to a pointer address.
61 /* The base address, which corresponds to the first bit in
64 uintptr_t base; member in struct:HeapBitmap
68 * to a set bit. If there are no bits set, (max < base).
82 * enough to cover a heap at <base> of <maxSize> bytes, where
85 bool dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize,
126 uintptr_t base, uintptr_t max,
H A DMarkSweep.h33 const Object **base; member in struct:GcMarkStack
H A DHeapBitmap.cpp23 * enough to cover a heap at <base> of <maxSize> bytes, where
26 bool dvmHeapBitmapInit(HeapBitmap *hb, const void *base, size_t maxSize, argument
42 hb->base = (uintptr_t)base;
43 hb->max = hb->base - 1;
73 hb->max = hb->base - 1;
86 const uintptr_t offset = (uintptr_t)obj - hb->base;
103 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
108 uintptr_t ptrBase = HB_INDEX_TO_OFFSET(i) + bitmap->base;
137 uintptr_t end = HB_OFFSET_TO_INDEX(bitmap->max - bitmap->base);
163 dvmHeapBitmapSweepWalk(const HeapBitmap *liveHb, const HeapBitmap *markHb, uintptr_t base, uintptr_t max, BitmapSweepCallback *callback, void *callbackArg) argument
[all...]
H A DCopying.cpp180 /* The base address of backing store. */
196 * indexing in the block queue. TODO: make the block queue base
796 u1 *base, *limit; local
801 base = heapSource->blockBase;
802 assert(addr >= base);
805 offset = addr - base;
H A DHeapSource.cpp87 char *base; member in struct:Heap
160 * The base address of the virtual memory reservation.
252 if ((const char *)ptr >= heap->base && (const char *)ptr < heap->limit) {
344 // Should never be asked for negative footprint (ie before base).
345 assert(original_brk + increment > heap->base);
372 hs->heaps[0].base = hs->heapBase;
401 char *base = hs->heaps[0].brk; local
402 size_t overhead = base - hs->heaps[0].base;
403 assert(((size_t)hs->heaps[0].base
556 void *base; local
784 dvmHeapSourceGetRegions(uintptr_t *base, uintptr_t *max, size_t numHeaps) argument
[all...]
H A DMarkSweep.cpp48 madvise(stack->base, length, MADV_NORMAL);
49 stack->top = stack->base;
60 madvise(stack->base, stack->length, MADV_DONTNEED);
70 assert(stack->base <= stack->top);
83 assert(stack->base < stack->top);
475 assert(ctx->stack.top >= ctx->stack.base);
477 while (stack->top > stack->base) {
500 static Object *nextGrayObject(const u1 *base, const u1 *limit, argument
505 assert(base < limit);
506 assert(limit - base <
916 uintptr_t base[HEAP_SOURCE_MAX_HEAP_COUNT]; local
[all...]
/dalvik/hit/src/com/android/hit/
H A DQueries.java178 private static ArrayList<ClassObj> traverseSubclasses(ClassObj base) { argument
181 for (ClassObj subclass: base.mSubclasses) {
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpecList.java328 * base, with the first number duplicated if indicated.
330 * @param base the base register number
334 public RegisterSpecList withSequentialRegisters(int base, argument
347 result.set0(i, one.withReg(base));
351 base += one.getCategory();
/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpecList.java363 * the given base, with the first number duplicated if indicated. If
366 * @param base the base register number
373 public RegisterSpecList withExpandedRegisters(int base, argument
390 result.set0(i, one.withReg(base));
392 base += one.getCategory();
/dalvik/vm/alloc/TEST/HeapBitmapTest/
H A Dmain.c35 assert(hb.base == (uintptr_t)HEAP_BASE);
36 assert(hb.max < hb.base);
55 assert(hb.base == 0);
82 assert(hb->base == (uintptr_t)HEAP_BASE);
83 assert(hb->max < hb->base);
353 uintptr_t base; local
356 base = (uintptr_t)HEAP_BASE + offset;
358 base = (uintptr_t)HEAP_BASE + (uintptr_t)HEAP_SIZE + offset;
360 if (base < (uintptr_t)HEAP_BASE) {
361 base
[all...]
/dalvik/vm/compiler/codegen/x86/libenc/
H A Ddec_base.cpp466 RegName base = RegName_Null; local
483 //base and index should be 32 bits!!!
498 if (sib.base != 5 || modrm.mod != 0) {
499 base = getRegName(OpndKind_GPReg, OpndSize_32, EXTEND_REG(sib.base, b)); //Android x86: OpndDesc.size
501 // (sib.base == 5 && modrm.mod == 0) => no base
506 base = getRegName(OpndKind_GPReg, OpndSize_32, EXTEND_REG(modrm.rm, b)); //Android x86: OpndDesc.size
531 else if (modrm.rm == 4 && sib.base == 5) {
537 opnd = EncoderBase::Operand(opndDesc.size, base, inde
[all...]
H A Denc_prvt.h265 * @brief Describes SIB (scale,index,base) byte.
268 unsigned char base:3; member in struct:SIB
H A Dencoder.h333 // Can also serve as a full memory operand with base,index, displacement and scale.
356 inline const R_Opnd & base(void) const { return m_base; } function in class:M_Opnd
363 // a memory operand with base register and displacement
368 M_Base_Opnd(Reg_No base, I_32 disp) : M_Opnd(disp, base, n_reg, 0) {} argument
376 // a memory operand with base register, scaled index register
382 M_Index_Opnd(Reg_No base, Reg_No index, I_32 disp, unsigned scale): argument
383 M_Opnd(disp, base, index, scale) {}
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java251 * Merges the dex files {@code update} and {@code base}, preferring
254 * @param base a file to find the previous dex file. May be a .dex file, a
257 * and the base dex do not exist.
259 private static byte[] mergeIncremental(byte[] update, File base) throws IOException { argument
267 if (base.exists()) {
268 dexB = new DexBuffer(base);
/dalvik/vm/
H A DMisc.cpp613 void *base; local
621 base = mmap(NULL, byteCount, prot, MAP_PRIVATE, fd, 0);
623 if (base == MAP_FAILED) {
627 munmap(base, byteCount);
630 return base;
H A DCheckJni.cpp417 StaticField* base = &clazz->sfields[0]; local
419 if ((StaticField*) fieldID < base || (StaticField*) fieldID >= base + fieldCount) {
422 ALOGW(" base=%p count=%d", base, fieldCount);
1822 /* capture this before the base call tramples on it */ \
1845 elems = NULL; /* base JNI call doesn't currently need */ \
/dalvik/vm/compiler/codegen/arm/Thumb/
H A DFactory.cpp27 static void storePair(CompilationUnit *cUnit, int base, int lowReg,
29 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg);
468 /* Load value from base + scaled index. */
511 /* store value base base + scaled index. */
579 * Load value from base + displacement. Optionally perform null check
580 * on base (which must have an associated sReg and MIR). If not
583 * and base and dest are the same, spill some other register to
819 static void storePair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
822 storeMultiple(cUnit, base, (
829 loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
[all...]
/dalvik/vm/compiler/codegen/mips/Mips32/
H A DFactory.cpp32 static void storePair(CompilationUnit *cUnit, int base, int lowReg,
34 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg);
420 /* Load value from base + scaled index. */
482 /* store value base base + scaled index. */
596 * Load value from base + displacement. Optionally perform null check
597 * on base (which must have an associated sReg and MIR). If not
600 * and base and dest are the same, spill some other register to
823 static void storePair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
825 storeWordDisp(cUnit, base, LOWORD_OFFSE
829 loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
[all...]
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DFactory.cpp871 * Load value from base + displacement. Optionally perform null check
872 * on base (which must have an associated sReg and MIR). If not
1151 static void storePair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
1153 storeBaseDispWide(cUnit, base, 0, lowReg, highReg);
1156 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg) argument
1158 loadBaseDispWide(cUnit, NULL, base, 0, lowReg, highReg, INVALID_SREG);
/dalvik/dexdump/
H A DDexDump.cpp252 * In the base language the access_flags fields are type u2; in Dalvik
331 * string above as the base metric.
1242 const char* base = typeDescriptor+1; local
1244 while (*base != ')') {
1247 while (*base == '[')
1248 *cp++ = *base++;
1250 if (*base == 'L') {
1253 *cp = *base++;
1257 if (strchr("ZBCSIFJD", *base) == NULL) {
1258 fprintf(stderr, "ERROR: bad method signature '%s'\n", base);
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DAssemble.cpp1049 /* Match bit[1] in target with base */
1276 static inline ChainCellCounts* getChainCellCountsPointer(const char *base) argument
1279 u2 *chainCellOffsetP = (u2 *) (base + PROF_COUNTER_ADDR_SIZE);
1304 static JitTraceDescription* getTraceDescriptionPointer(const char *base) argument
1306 ChainCellCounts* pCellCounts = getChainCellCountsPointer(base);
1891 const char *base = getTraceBase(trace); local
1892 ChainCellCounts *pChainCellCounts = getChainCellCountsPointer(base);
2181 static void findClassPointersSingleTrace(char *base, void (*callback)(void *)) argument
2184 ChainCellCounts *pChainCellCounts = getChainCellCountsPointer(base);
2220 JitTraceDescription *desc = getTraceDescriptionPointer(base);
2252 char *base = getTraceBase(entry); local
2269 char *base = codeAddress - cUnit->headerSize - local
[all...]
/dalvik/vm/compiler/codegen/mips/
H A DAssemble.cpp661 static inline ChainCellCounts* getChainCellCountsPointer(const char *base) argument
664 u4 *chainCellOffsetP = (u4 *) (base + PROF_COUNTER_ADDR_SIZE);
689 static JitTraceDescription* getTraceDescriptionPointer(const char *base) argument
691 ChainCellCounts* pCellCounts = getChainCellCountsPointer(base);
1242 const char *base = getTraceBase(trace); local
1243 ChainCellCounts *pChainCellCounts = getChainCellCountsPointer(base);
1553 static void findClassPointersSingleTrace(char *base, void (*callback)(void *)) argument
1556 ChainCellCounts *pChainCellCounts = getChainCellCountsPointer(base);
1592 JitTraceDescription *desc = getTraceDescriptionPointer(base);
1624 char *base local
1641 char *base = codeAddress - cUnit->headerSize; local
[all...]
/dalvik/vm/compiler/codegen/x86/
H A DLowerHelper.cpp123 void set_mem_opnd(LowOpndMem* mem, int disp, int base, bool isPhysical) { argument
129 mem->m_base.physicalReg = base;
131 mem->m_base.logicalReg = base;
138 void set_mem_opnd_scale(LowOpndMem* mem, int base, bool isPhysical, int disp, int index, bool indexPhysical, int scale) { argument
143 mem->m_base.physicalReg = base;
145 mem->m_base.logicalReg = base;
272 //!With NCG O1, we call freeReg to free up physical registers, then call registerAlloc to allocate a physical register for memory base
283 //type of the base is gpr
594 doSpillReg(baseAll); //base can be used now
729 /* do not free register if the base i
[all...]

Completed in 763 milliseconds