Searched refs:stack (Results 1 – 15 of 15) sorted by relevance
31 final String stack = ""; in testGetFailureMessageFromStackTrace_empty() local32 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_empty()39 final String stack = "this is a line"; in testGetFailureMessageFromStackTrace_oneLine() local40 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneLine()48 final String stack = "this is a line\n"; in testGetFailureMessageFromStackTrace_oneNewLine() local49 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneNewLine()56 final String stack = "this is a line\nthis is also a line"; in testGetFailureMessageFromStackTrace_twoLines() local57 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_twoLines()64 final String stack = "this is a line\nthis is also a line\n oh look another line"; in testGetFailureMessageFromStackTrace_multiLines() local66 Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_multiLines()
812 java.util.Stack stack, in do_action() argument817 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()896 java.util.Stack CUP$stack, in CUP$do_action() argument918 …SparseSwitchData((/*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*off*/(relative_numbe… in CUP$do_action()926 …Asm.addSparseSwitchData((/*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*w*/(str_token… in CUP$do_action()950 dAsm.newSparseSwitch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()974 …dAsm.addPackedSwitchData((/*target*/(relative_number_token)CUP$stack.elementAt(CUP$top-1)).int_val… in CUP$do_action()982 … dAsm.addPackedSwitchData((/*target*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()1006 …dAsm.newPackedSwitch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-2)).str_val, (/*k*/(int_token)CU… in CUP$do_action()1030 … dAsm.addFillArrayData(new Integer((/*data*/(int_token)CUP$stack.elementAt(CUP$top-1)).int_val)); in CUP$do_action()[all …]
242 protected Stack stack = new Stack(); field in lr_parser275 Stack stack, in do_action() argument500 stack.push(new symbol(0, start_state())); in parse()509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); in parse()516 stack.push(cur_token); in parse()526 lhs_sym = do_action((-act)-1, this, stack, tos); in parse()535 stack.pop(); in parse()540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); in parse()544 stack.push(lhs_sym); in parse()583 if (stack == null) in dump_stack()[all …]
125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonWriter127 stack.add(JsonScope.EMPTY_DOCUMENT);215 stack.add(empty); in open()228 throw new IllegalStateException("Nesting problem: " + stack); in close()231 stack.remove(stack.size() - 1); in close()243 return stack.get(stack.size() - 1); in peek()250 stack.set(stack.size() - 1, topOfStack); in replaceTop()411 for (int i = 1; i < stack.size(); i++) { in newline()425 throw new IllegalStateException("Nesting problem: " + stack); in beforeName()469 throw new IllegalStateException("Nesting problem: " + stack); in beforeValue()
191 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonReader507 stack.clear(); in close()508 stack.add(JsonScope.CLOSED); in close()535 return stack.get(stack.size() - 1); in peekStack()539 return stack.remove(stack.size() - 1); in pop()543 stack.add(newTop); in push()550 stack.set(stack.size() - 1, newTop); in replaceTop()
303 java.util.Stack stack, in do_action() argument308 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()430 java.util.Stack CUP$stack, in CUP$do_action() argument452 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()460 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()468 …tr_token)CUP$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-… in CUP$do_action()478 …if (symbols.get((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_va… in CUP$do_action()481 …lexer.emit_error( "Symbol \"" + (/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CU… in CUP$do_action()488 …new non_terminal((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_v… in CUP$do_action()491 …non_terms.put((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,… in CUP$do_action()[all …]
61 StackTraceElement[] stack = entry.getValue(); in getTestName() local62 for (int index = 0; index < stack.length; ++index) { in getTestName()64 String methodName = stack[index].getMethodName(); in getTestName()73 clazz = Class.forName(stack[index].getClassName()); in getTestName()97 while (index + depth < stack.length in getTestName()98 && stack[index + depth].getMethodName().equals("invoke") in getTestName()99 && stack[index + depth].getClassName().equals( in getTestName()106 if (index + depth < stack.length) { in getTestName()107 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()110 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
314 static String getFailureMessageFromStackTrace(String stack) { in getFailureMessageFromStackTrace() argument316 int endPoint = stack.indexOf('\n'); in getFailureMessageFromStackTrace()318 int nextLine = stack.indexOf('\n', endPoint + 1); in getFailureMessageFromStackTrace()320 return stack.substring(0, nextLine); in getFailureMessageFromStackTrace()323 return stack; in getFailureMessageFromStackTrace()
114 String stack = result.getStackTrace() == null ? "" : "\n" + result.getStackTrace(); in testEnded() local116 stack); in testEnded()
898 return e.stack ? e.stack.split('\n').slice(2).join('\n') : '';4466 var stack = evaluator.execute(initialStack);4469 var out = stack.pop();4512 this.stack = initialStack || [];4517 if (this.stack.length >= MAX_STACK_SIZE)4519 this.stack.push(value);4522 if (this.stack.length <= 0)4524 return this.stack.pop();4527 if (this.stack.length + n >= MAX_STACK_SIZE)4529 var stack = this.stack;[all …]
4508 assert(false,"MandreelInterCallFunction missing stack pointer paramenter");
... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...
991 stack = [],1040 if ( stack && stack.length ) {1041 memory = stack.shift();1123 list = stack = memory = undefined;1132 stack = undefined;1140 return !stack;1144 if ( stack ) {1147 stack.push( [ context, args ] );
107918 private char[] stack
138840 private com.google.android.mms.pdu.PduComposer$LengthRecordNode stack