Home
last modified time | relevance | path

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

12

/tools/repohooks/tools/
Dcpplint.py1514 def FindEndOfExpressionInLine(line, startpos, stack): argument
1531 stack.append(char)
1536 if stack and stack[-1] == '<':
1537 stack.pop()
1538 if not stack:
1545 stack.append('<')
1551 while stack and stack[-1] == '<':
1552 stack.pop()
1553 if not stack:
1555 if ((stack[-1] == '(' and char == ')') or
[all …]
Dcheckpatch.pl1318 my @stack = ();
1325 @stack = (['', 0]) if ($#stack == -1);
1359 push(@stack, [ $type, $level ]);
1361 ($type, $level) = @{$stack[$#stack - 1]};
1363 ($type, $level) = @{pop(@stack)};
1522 my @stack = ($level);
1531 push(@stack, $level);
1533 $level = $stack[$#stack - 1];
1535 $level = pop(@stack);
/tools/loganalysis/src/com/android/loganalysis/parser/
DTracesParser.java57 StringBuffer stack = null; in parse() local
60 if (stack == null) { in parse()
71 stack = new StringBuffer(); in parse()
72 stack.append(line); in parse()
73 stack.append("\n"); in parse()
76 stack.append(line); in parse()
77 stack.append("\n"); in parse()
79 traces.setStack(stack.toString().trim()); in parse()
83 if (stack == null) { in parse()
86 traces.setStack(stack.toString().trim()); in parse()
DJavaCrashParser.java56 StringBuilder stack = new StringBuilder(); in parse() local
67 stack = new StringBuilder(); in parse()
108 addMessageStack(jc, message.toString(), stack.toString()); in parse()
115 stack.append(line); in parse()
116 stack.append("\n"); in parse()
120 addMessageStack(jc, message.toString(), stack.toString()); in parse()
127 private void addMessageStack(JavaCrashItem jc, String message, String stack) { in addMessageStack() argument
132 jc.setStack(stack.trim()); in addMessageStack()
DNativeCrashParser.java43 StringBuilder stack = new StringBuilder(); in parse() local
60 stack.append(line); in parse()
61 stack.append("\n"); in parse()
65 nc.setStack(stack.toString().trim()); in parse()
DAnrParser.java65 StringBuilder stack = new StringBuilder(); in parse() local
111 stack.append(line); in parse()
112 stack.append("\n"); in parse()
117 anr.setStack(stack.toString().trim()); in parse()
/tools/security/sanitizer-status/
Dsanitizer-status.c41 volatile char stack[32]; in test_crash_stack() local
42 volatile char* p_stack = stack; in test_crash_stack()
59 volatile int stack[10]; in test_msan_crash_stack() local
60 stack[5] = 0; in test_msan_crash_stack()
61 if (stack[0]) { in test_msan_crash_stack()
62 stack[0] = 1; in test_msan_crash_stack()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBuilders.kt27 private val stack = mutableListOf<P>() in noReset() constant
35 stack.add(p) in noReset()
40 if (stack.isEmpty()) return null in noReset()
41 val p = stack.removeAt(stack.lastIndex) in noReset()
/tools/tradefederation/core/src/com/android/tradefed/result/
DConsoleResultReporter.java128 String stack = testResult.getStackTrace(); in getTestSummary() local
129 if (stack != null && !stack.isEmpty()) { in getTestSummary()
131 String lines[] = stack.split("\\r?\\n"); in getTestSummary()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java461 String stack = kernelErrors.get(i).getStack(); in runMonkey() local
462 if (stack != null) { in runMonkey()
463 CLog.d("Kernel Error #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
467 String stack = kernelResets.get(i).getStack(); in runMonkey() local
468 if (stack != null) { in runMonkey()
469 CLog.d("Kernel Reset #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt393 val stack = Stack<ItemTree>() in createTree() constant
395 stack.push(root) in createTree()
407 val parent = stack.peek() in createTree()
410 stack.push(node) in createTree()
416 stack.pop() in createTree()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java372 String stack = testResult.getStackTrace(); in getTestSummary() local
373 if (stack != null && !stack.isEmpty()) { in getTestSummary()
375 String lines[] = stack.split("\\r?\\n"); in getTestSummary()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java98 protected void setExitCode(ExitCode code, Throwable stack) { in setUp()
165 protected void setExitCode(ExitCode code, Throwable stack) { in testParentSandboxInvocation_sharding()
265 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_sharding_notTests()
328 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_preInvocationFailing()
/tools/loganalysis/src/com/android/loganalysis/item/
DTracesItem.java89 public void setStack(String stack) { in setStack() argument
90 setAttribute(STACK, stack); in setStack()
DMiscKernelLogItem.java108 public void setStack(String stack) { in setStack() argument
109 setAttribute(STACK, stack); in setStack()
DMiscLogcatItem.java196 public void setStack(String stack) { in setStack() argument
197 setAttribute(STACK, stack); in setStack()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt461 var stack = 0 in <lambda>() variable
465 '<' -> stack-- in <lambda>()
466 '>' -> stack++ in <lambda>()
467 '.' -> if (stack == 0) return ref.substring(0, i) in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java99 private TestResult createResult(TestStatus status, String stack, long startTime, long endTime) { in createResult() argument
102 result.setStackTrace(stack); in createResult()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto77 // https://cs.corp.google.com/#android/system/bt/stack/include/btm_api.h&q=major_computer.
180 // See: system/bt/stack/include/hcidefs.h, HCI_ERR_CONN_FAILED_ESTABLISHMENT
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java189 String stack = jsonObject.getString("cause"); in InvocationFailedEventInfo() local
190 mCause = new Throwable(stack); in InvocationFailedEventInfo()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java311 public void setLastInvocationExitCode(ExitCode code, Throwable stack); in setLastInvocationExitCode() argument
/tools/test/connectivity/acts/framework/acts/libs/
Dversion_selector.py45 return [_FrameInfo(*info) for info in inspect.stack()]
/tools/apksig/etc/
Dapksigner.bat49 REM By default, give apksigner a max heap size of 1 gig and a stack size of 1meg.
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS17 Note: Use this stack change to test all LE testcases:
18 https://android-review.googlesource.com/#/c/319838/1/stack/btm/btm_ble_multi_adv.cc TSPC_bd_addr_iu…
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java787 protected void setExitCode(ExitCode code, Throwable stack) { in setExitCode() argument
789 .setLastInvocationExitCode(code, stack); in setExitCode()

12