Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 230) sorted by relevance

12345678910

/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java34 private final TypeBearer[] stack; field in ExecutionStack
55 stack = new TypeBearer[maxStack]; in ExecutionStack()
66 ExecutionStack result = new ExecutionStack(stack.length); in copy()
68 System.arraycopy(stack, 0, result.stack, 0, stack.length); in copy()
88 stackElementString(stack[i])); in annotate()
109 if (stack[i] == type) { in makeInitialized()
110 stack[i] = initializedType; in makeInitialized()
121 return stack.length; in getMaxStack()
140 stack[i] = null; in clear()
167 if ((stackPtr + category) > stack.length) { in push()
[all …]
DFrame.java36 private final ExecutionStack stack; field in Frame
47 private Frame(LocalsArray locals, ExecutionStack stack) { in Frame() argument
48 this(locals, stack, IntList.EMPTY); in Frame()
60 ExecutionStack stack, IntList subroutines) { in Frame() argument
65 if (stack == null) { in Frame()
72 this.stack = stack; in Frame()
98 return new Frame(locals.copy(), stack.copy(), subroutines); in copy()
106 stack.setImmutable(); in setImmutable()
118 stack.makeInitialized(type); in makeInitialized()
136 return stack; in getStack()
[all …]
DSimulator.java366 ExecutionStack stack = frame.getStack(); in visitNoArgs() local
368 Type foundArrayType = stack.peekType(peekDepth); in visitNoArgs()
369 boolean foundArrayLocal = stack.peekLocal(peekDepth); in visitNoArgs()
387 ExecutionStack stack = frame.getStack(); in visitNoArgs() local
390 if (stack.peekType(0).isCategory2()) { in visitNoArgs()
394 } else if (stack.peekType(1).isCategory1()) { in visitNoArgs()
419 ExecutionStack stack = frame.getStack(); in visitNoArgs() local
421 if (!(stack.peekType(0).isCategory1() && in visitNoArgs()
422 stack.peekType(1).isCategory1())) { in visitNoArgs()
431 ExecutionStack stack = frame.getStack(); in visitNoArgs() local
[all …]
DBaseMachine.java120 ExecutionStack stack = frame.getStack(); in popArgs() local
130 args[i] = stack.pop(); in popArgs()
552 ExecutionStack stack = frame.getStack(); in storeResults() local
555 stack.setLocal(); in storeResults()
557 stack.push(results[i]); in storeResults()
/dalvik/vm/alloc/
DMarkSweep.cpp43 static bool createMarkStack(GcMarkStack *stack) in createMarkStack() argument
45 assert(stack != NULL); in createMarkStack()
48 madvise(stack->base, length, MADV_NORMAL); in createMarkStack()
49 stack->top = stack->base; in createMarkStack()
57 static void destroyMarkStack(GcMarkStack *stack) in destroyMarkStack() argument
59 assert(stack != NULL); in destroyMarkStack()
60 madvise(stack->base, stack->length, MADV_DONTNEED); in destroyMarkStack()
61 stack->top = NULL; in destroyMarkStack()
67 static void markStackPush(GcMarkStack *stack, const Object *obj) in markStackPush() argument
69 assert(stack != NULL); in markStackPush()
[all …]
DHeapSource.cpp518 static bool allocMarkStack(GcMarkStack *stack, size_t maximumSize) in allocMarkStack() argument
523 assert(stack != NULL); in allocMarkStack()
524 stack->length = maximumSize * sizeof(Object*) / in allocMarkStack()
526 addr = dvmAllocRegion(stack->length, PROT_READ | PROT_WRITE, name); in allocMarkStack()
530 stack->base = (const Object **)addr; in allocMarkStack()
531 stack->limit = (const Object **)((char *)addr + stack->length); in allocMarkStack()
532 stack->top = NULL; in allocMarkStack()
533 madvise(stack->base, stack->length, MADV_DONTNEED); in allocMarkStack()
537 static void freeMarkStack(GcMarkStack *stack) in freeMarkStack() argument
539 assert(stack != NULL); in freeMarkStack()
[all …]
/dalvik/dx/tests/071-dex-java-stack-ops/
Dblort.j20 .limit stack 0
27 .limit stack 0
34 .limit stack 0
41 .limit stack 0
48 .limit stack 0
55 .limit stack 0
63 .limit stack 0
70 .limit stack 0
77 .limit stack 0
84 .limit stack 0
[all …]
/dalvik/vm/mterp/x86/
DOP_REM_DOUBLE.S5 fldl (rFP,%ecx,4) # vCC to fp stack
6 fldl (rFP,%eax,4) # vCC to fp stack
DOP_REM_DOUBLE_2ADDR.S5 fldl (rFP,rINST,4) # vBB to fp stack
7 fldl (rFP,%ecx,4) # vAA to fp stack
DOP_REM_FLOAT_2ADDR.S5 flds (rFP,rINST,4) # vBB to fp stack
7 flds (rFP,%ecx,4) # vAA to fp stack
DOP_REM_FLOAT.S5 flds (rFP,%ecx,4) # vCC to fp stack
6 flds (rFP,%eax,4) # vCC to fp stack
Dbinflop.S9 $load (rFP,%eax,4) # vCC to fp stack
/dalvik/dx/src/com/android/dx/ssa/
DSsaMethod.java759 Stack<SsaBasicBlock> stack = new Stack<SsaBasicBlock>(); in forEachBlockDepthFirst() local
768 stack.add(null); // Start with null parent. in forEachBlockDepthFirst()
769 stack.add(rootBlock); in forEachBlockDepthFirst()
771 while (stack.size() > 0) { in forEachBlockDepthFirst()
772 SsaBasicBlock cur = stack.pop(); in forEachBlockDepthFirst()
773 SsaBasicBlock parent = stack.pop(); in forEachBlockDepthFirst()
780 stack.add(cur); in forEachBlockDepthFirst()
781 stack.add(blocks.get(i)); in forEachBlockDepthFirst()
798 Stack<SsaBasicBlock> stack = new Stack<SsaBasicBlock>(); in forEachBlockDepthFirstDom() local
800 stack.add(getEntryBlock()); in forEachBlockDepthFirstDom()
[all …]
/dalvik/dx/tests/109-int-branch/
Dblort.j20 .limit stack 3
54 .limit stack 3
74 .limit stack 3
/dalvik/vm/arch/arm/
DCallOldABI.S88 @ Standard gcc stack frame setup. We don't need to push the original
96 @ We need to push a variable number of arguments onto the stack.
98 @ the stack pointers.
119 @ to the stack. We need to push the last item in argv first, and we
137 @ Load the last two args. These are coming out of the interpreted stack,
DCallEABI.S195 @ Expand the stack by the specified amount. We want to extract the
197 @ from the stack pointer.
335 @ because we don't push the first two arg words on the stack (they're
412 * registers for EABI 64-bit stack alignment.)
/dalvik/dx/tests/114-value-propagation/
Dinfo.txt2 stack location to a local variable. (regression test)
/dalvik/dx/tests/107-verify-stack-ops/
Dinfo.txt1 This tests that the various stack manipulation opcodes verify that their
/dalvik/vm/compiler/template/armv5te/
DTEMPLATE_INVOKE_METHOD_CHAIN.S14 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
16 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
20 bxlo r12 @ return to raise stack overflow excep.
DTEMPLATE_INVOKE_METHOD_NO_OPT.S12 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
14 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
17 bxlo lr @ return to raise stack overflow excep.
DTEMPLATE_INVOKE_METHOD_NATIVE.S6 SAVEAREA_FROM_FP(r1, rFP) @ r1<- stack save area
8 SAVEAREA_FROM_FP(r10, r1) @ r10<- stack save area
10 bxlo lr @ return to raise stack overflow excep.
34 SAVEAREA_FROM_FP(r10, r1) @ r10<- new stack save area
/dalvik/hit/src/com/android/hit/
DRootObj.java41 public RootObj(RootType type, long id, int thread, StackTrace stack) { in RootObj() argument
45 mStack = stack; in RootObj()
DHprofParser.java412 StackTrace stack = mState.getStackTrace(thread.mStackTrace); in loadThreadBlock() local
414 threadSerialNumber, stack); in loadThreadBlock()
438 StackTrace stack = mState.getStackTrace(stackSerialNumber); in loadClassDump() local
497 ClassObj theClass = new ClassObj(id, stack, mClassNames.get(id)); in loadClassDump()
518 StackTrace stack = mState.getStackTrace(stackId); in loadInstanceDump() local
521 ClassInstance instance = new ClassInstance(id, stack, classId); in loadInstanceDump()
533 StackTrace stack = mState.getStackTrace(stackId); in loadObjectArrayDump() local
542 ArrayInstance array = new ArrayInstance(id, stack, Types.OBJECT, in loadObjectArrayDump()
555 StackTrace stack = mState.getStackTrace(stackId); in loadPrimitiveArrayDump() local
564 ArrayInstance array = new ArrayInstance(id, stack, type, numElements, in loadPrimitiveArrayDump()
/dalvik/tests/302-float-conversion/
Dinfo.txt2 properly handled by the VM. For example, x86 systems using the x87 stack
/dalvik/tests/094-pattern/
Dinfo.txt3 The test may throw a StackOverflowError if the stack size is too small. With

12345678910