Home
last modified time | relevance | path

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

/cts/tools/dasm/src/dasm/
Dparser.java812 java.util.Stack stack, in do_action() argument
817 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()
896 java.util.Stack CUP$stack, in CUP$do_action() argument
918 …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 …]
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java242 protected Stack stack = new Stack(); field in lr_parser
275 Stack stack, in do_action() argument
500 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 …]
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonWriter
127 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()
DJsonReader.java191 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonReader
507 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()
/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp71 std::stack<std::vector<unsigned char>> stack; in PushRedefinition() local
72 redefinitions_[name] = std::move(stack); in PushRedefinition()
78 auto stack = redefinitions_.find(name); in RetrieveRedefinition() local
79 if (stack == redefinitions_.end() || stack->second.empty()) { in RetrieveRedefinition()
82 *data = stack->second.top(); in RetrieveRedefinition()
89 auto stack = redefinitions_.find(name); in PopRedefinition() local
90 if (stack == redefinitions_.end() || stack->second.empty()) { in PopRedefinition()
93 stack->second.pop(); in PopRedefinition()
99 std::unordered_map<std::string, std::stack<std::vector<unsigned char>>> redefinitions_;
/cts/tools/dasm/src/java_cup/
Dparser.java303 java.util.Stack stack, in do_action() argument
308 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action()
430 java.util.Stack CUP$stack, in CUP$do_action() argument
452 …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 …]
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
DActivityManagerState.java143 final ActivityStack stack = ActivityStack.create(mSysDump, mStackIdPattern, in parseSysDump() local
146 if (stack != null) { in parseSysDump()
147 mStacks.add(stack); in parseSysDump()
148 mDisplayStacks.get(currentDisplayId).add(stack); in parseSysDump()
149 if (stack.mResumedActivity != null) { in parseSysDump()
150 mResumedActivities.add(stack.mResumedActivity); in parseSysDump()
230 for (ActivityStack stack : mStacks) { in getStackById()
231 if (stackId == stack.mStackId) { in getStackById()
232 return stack; in getStackById()
256 for (ActivityStack stack : mStacks) { in containsActivity()
[all …]
DWindowManagerState.java200 final WindowStack stack = in parseSysDump() local
203 if (stack != null) { in parseSysDump()
204 mStacks.add(stack); in parseSysDump()
205 mDisplayStacks.get(currentDisplayId).add(stack); in parseSysDump()
476 for (WindowStack stack : mStacks) { in containsStack()
477 if (stackId == stack.mStackId) { in containsStack()
522 for (WindowStack stack : mStacks) { in getStack()
523 if (stackId == stack.mStackId) { in getStack()
524 return stack; in getStack()
609 final WindowStack stack = new WindowStack(); in create() local
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dimage_and_kernel.rsh21 // of a stack of kernel matrices.
23 // The starting position of a kernel matrix in a buffer of a stack of kernel
Dlayered_filter_d1new_helper.rsh18 // This allocation contains the kernel stack info: only one float per cell
130 // Extracts kernel matrix from kernel stack using kernel_info.
185 // Extracts kernel matrix from kernel stack using kernel_info.
218 // Extracts kernel matrix from kernel stack using kernel_info.
Dlayered_filter_f32_helper.rsh70 // Extracts kernel matrix from kernel stack using kernel_info.
122 // Extracts kernel matrix from kernel stack using kernel_info.
158 // Extracts kernel matrix from kernel stack using kernel_info.
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
DActivityManagerFreeformStackTests.java71 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds() local
81 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
DActivityManagerAppConfigurationTests.java272 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall() local
275 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
DActivityManagerPinnedStackTests.java880 ActivityStack stack = amState.getStackById(PINNED_STACK_ID); in testFinishPipActivityWithTaskOverlay()
881 return stack == null; in testFinishPipActivityWithTaskOverlay()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java93 StackTraceElement[] stack = entry.getValue(); in getTestName() local
94 for (int index = 0; index < stack.length; ++index) { in getTestName()
96 String methodName = stack[index].getMethodName(); in getTestName()
105 clazz = Class.forName(stack[index].getClassName()); in getTestName()
129 while (index + depth < stack.length in getTestName()
130 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
131 && stack[index + depth].getClassName().equals( in getTestName()
138 if (index + depth < stack.length) { in getTestName()
139 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
142 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java510 ByteArrayOutputStream stack = new ByteArrayOutputStream(); in run()
511 due.printStackTrace(new PrintWriter(stack, true)); in run()
512 StreamUtil.close(stack); in run()
515 stack.toString()); in run()
/cts/tools/dasm/etc/
Djava_cup.jar ... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...
Djava_cup-new.jar ... .runtime.token cur_token protected java.util.Stack stack protected short[][] production_tab protected short ...
Djava_cup.jar.old ... java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception } ...
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex107918 private char[] stack
Dclasses.out.dex138840 private com.google.android.mms.pdu.PduComposer$LengthRecordNode stack