Home
last modified time | relevance | path

Searched refs:callStack (Results 1 – 18 of 18) sorted by relevance

/external/guice/core/test/com/google/inject/spi/
DElementSourceTest.java65 StackTraceElement[] callStack = elementSource.getStackTrace(); in testGetCallStack_IntegrationTest() local
76 assertEquals(0, callStack.length); in testGetCallStack_IntegrationTest()
80 assertEquals(0, callStack.length); in testGetCallStack_IntegrationTest()
87 "com.google.inject.spi.Elements$RecordingBinder", callStack[0].getClassName()); in testGetCallStack_IntegrationTest()
89 "com.google.inject.spi.Elements$RecordingBinder", callStack[1].getClassName()); in testGetCallStack_IntegrationTest()
90 assertEquals("com.google.inject.AbstractModule", callStack[2].getClassName()); in testGetCallStack_IntegrationTest()
93 "com.google.inject.spi.ElementSourceTest$C", callStack[3].getClassName()); in testGetCallStack_IntegrationTest()
94 assertEquals("configure", callStack[3].getMethodName()); in testGetCallStack_IntegrationTest()
95 assertEquals("Unknown Source", callStack[3].getFileName()); in testGetCallStack_IntegrationTest()
96 assertEquals("com.google.inject.AbstractModule", callStack[4].getClassName()); in testGetCallStack_IntegrationTest()
[all …]
DModuleSourceTest.java43 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeOne() local
44 assertEquals(BINDER_INSTALL, callStack[0]); in checkSizeOne()
51 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeTwo() local
52 assertEquals(BINDER_INSTALL, callStack[0]); in checkSizeTwo()
56 callStack[1]); in checkSizeTwo()
57 assertEquals(BINDER_INSTALL, callStack[2]); in checkSizeTwo()
64 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeThree() local
65 assertEquals(BINDER_INSTALL, callStack[0]); in checkSizeThree()
66 assertEquals(new StackTraceElement("class1", "method1", "Unknown Source", 1), callStack[1]); in checkSizeThree()
67 assertEquals(new StackTraceElement("class2", "method2", "Unknown Source", 2), callStack[2]); in checkSizeThree()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DParseTreeBuilder.cs45 Stack<ParseTree> callStack = new Stack<ParseTree>(); field in Antlr.Runtime.Debug.ParseTreeBuilder
51 callStack.Push(root); in ParseTreeBuilder()
55 var enumerator = callStack.GetEnumerator(); in GetTree()
84 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
87 callStack.Push(ruleNode); in EnterRule()
93 ParseTree ruleNode = callStack.Peek(); in ExitRule()
97 callStack.Pop(); in ExitRule()
103 ParseTree ruleNode = callStack.Peek(); in ConsumeToken()
119 ParseTree ruleNode = callStack.Peek(); in RecognitionException()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParseTreeBuilder.cs47 Stack<ParseTree> callStack = new Stack<ParseTree>(); field in Antlr.Runtime.Debug.ParseTreeBuilder
54 callStack.Push( root ); in ParseTreeBuilder()
61 ParseTree[] stack = callStack.ToArray();
95 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
98 callStack.Push( ruleNode ); in EnterRule()
105 ParseTree ruleNode = callStack.Peek(); in ExitRule()
110 callStack.Pop(); in ExitRule()
117 ParseTree ruleNode = callStack.Peek(); in ConsumeToken()
135 ParseTree ruleNode = callStack.Peek(); in RecognitionException()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DParseTreeBuilder.java44 Stack<ParseTree> callStack = new Stack<ParseTree>(); field in ParseTreeBuilder
50 callStack.push(root); in ParseTreeBuilder()
54 return callStack.elementAt(0); in getTree()
77 ParseTree parentRuleNode = callStack.peek(); in enterRule()
80 callStack.push(ruleNode); in enterRule()
86 ParseTree ruleNode = callStack.peek(); in exitRule()
90 callStack.pop(); in exitRule()
96 ParseTree ruleNode = callStack.peek(); in consumeToken()
112 ParseTree ruleNode = callStack.peek(); in recognitionException()
/external/apache-harmony/support/src/test/java/tests/util/
DCallVerificationStack.java45 private final Stack<StackTraceElement> callStack = new Stack<StackTraceElement>(); field in CallVerificationStack
86 this.callStack.push(eles[i]); in pushCallStack()
95 return this.callStack.peek().getClassName(); in getCurrentSourceClass()
104 return this.callStack.peek().getMethodName(); in getCurrentSourceMethod()
112 this.callStack.clear(); in clear()
192 this.callStack.pop(); in pop()
/external/guice/core/src/com/google/inject/spi/
DElementSource.java174 StackTraceElement[] callStack = new StackTraceElement[size]; in getStackTrace() local
178 callStack, in getStackTrace() local
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize); in getStackTrace() local
182 return callStack; in getStackTrace()
DModuleSource.java163 StackTraceElement[] callStack = new StackTraceElement[stackTraceSize]; in getStackTrace() local
170 System.arraycopy(chunk, 0, callStack, cursor, chunkSize); in getStackTrace()
174 return callStack; in getStackTrace()
DElements.java529 StackTraceElement[] callStack = null; in getElementSource() local
544 callStack = new Throwable().getStackTrace(); in getElementSource()
547 partialCallStack = getPartialCallStack(callStack); in getElementSource()
554 declaringSource = sourceProvider.get(callStack); in getElementSource()
569 private StackTraceElement[] getPartialCallStack(StackTraceElement[] callStack) { in getPartialCallStack() argument
575 int chunkSize = callStack.length - toSkip - 1; in getPartialCallStack()
578 System.arraycopy(callStack, 1, partialCallStack, 0, chunkSize); in getPartialCallStack()
/external/harfbuzz_ng/src/
Dhb-cff-interp-cs-common.hh132 callStack.init (); in init()
140 callStack.fini (); in fini()
147 return callStack.in_error () || SUPER::in_error (); in in_error()
167 || callStack.get_count () >= kMaxCallLimit)) in call_subr()
173 callStack.push (context); in call_subr()
183 context = callStack.pop (); in return_from_subr()
215 call_stack_t callStack; member
Dhb-cff2-interp-cs.hh109 if (this->callStack.is_empty ()) in fetch_op()
Dhb-subset-cff1.cc415 for (unsigned int i = 0; i < env.callStack.get_count (); i++) in finalize_parsed_str()
417 parsed_cs_str_t *parsed_str = param.get_parsed_str_for_context (env.callStack[i]); in finalize_parsed_str()
/external/freetype/src/truetype/
Dttinterp.h207 TT_CallStack callStack; /* call stack */ member
Dttinterp.c255 FT_FREE( exec->callStack ); in TT_Done_Context()
301 if ( FT_NEW_ARRAY( exec->callStack, exec->callSize ) ) in Init_Context()
3531 exc->IP > exc->callStack[exc->callTop - 1].Def->end ) ) in Ins_JMPR()
3911 pRec = &exc->callStack[exc->callTop]; in Ins_ENDF()
4008 pCrec = exc->callStack + exc->callTop; in Ins_CALL()
4096 pCrec = exc->callStack + exc->callTop; in Ins_LOOPCALL()
7675 call = exc->callStack + exc->callTop++; in Ins_UNKNOWN()
8527 callrec = &exc->callStack[exc->callTop]; in TT_RunIns()
/external/swiftshader/src/Shader/
DVertexProgram.hpp52 Array<UInt> callStack; member in sw::VertexProgram
DPixelProgram.hpp57 Array<UInt> callStack; member in sw::PixelProgram
DVertexProgram.cpp33 callStack(shader->getLimits().stack) in VertexProgram()
1141 callStack[stackIndex++] = UInt(callSiteIndex); in CALL()
1181 callStack[stackIndex++] = UInt(callSiteIndex); in CALLNZb()
1210 callStack[stackIndex++] = UInt(callSiteIndex); in CALLNZp()
1551 UInt index = callStack[--stackIndex]; in RET()
DPixelProgram.cpp34 callStack(shader->getLimits().stack) in PixelProgram()
1457 callStack[stackIndex++] = UInt(callSiteIndex); in CALL()
1497 callStack[stackIndex++] = UInt(callSiteIndex); in CALLNZb()
1526 callStack[stackIndex++] = UInt(callSiteIndex); in CALLNZp()
1866 UInt index = callStack[--stackIndex]; in RET()