Home
last modified time | relevance | path

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

12

/tools/repohooks/tools/
Dcpplint.py1520 def FindEndOfExpressionInLine(line, startpos, stack): argument
1537 stack.append(char)
1542 if stack and stack[-1] == '<':
1543 stack.pop()
1544 if not stack:
1551 stack.append('<')
1557 while stack and stack[-1] == '<':
1558 stack.pop()
1559 if not stack:
1561 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.cpp54 volatile char stack[32]; in test_crash_stack() local
55 volatile char* p_stack = stack; in test_crash_stack()
78 volatile int stack[10]; in test_msan_crash_stack() local
79 stack[5] = 0; in test_msan_crash_stack()
80 if (stack[0]) { // NOLINT in test_msan_crash_stack()
81 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 in trebuchet.util.StartEndBuilder
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/contrib/src/com/android/monkey/
DMonkeyBase.java464 String stack = kernelErrors.get(i).getStack(); in runMonkey() local
465 if (stack != null) { in runMonkey()
466 CLog.d("Kernel Error #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
470 String stack = kernelResets.get(i).getStack(); in runMonkey() local
471 if (stack != null) { in runMonkey()
472 CLog.d("Kernel Reset #%d: %s", i + 1, stack.split("\n")[0].trim()); in runMonkey()
/tools/security/fuzzing/example_fuzzer/
DREADME.md37 - a stack-buffer-overflow is caught by AddressSanitizer
53 ==32069==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x007fe3caf8c3 at pc 0x007891974…
65 Address 0x007fe3caf8c3 is located in stack of thread T0 at offset 35 in frame
71 HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcon…
73 SUMMARY: AddressSanitizer: stack-buffer-overflow (/system/lib64/libclang_rt.asan-aarch64-android.so…
/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt407 val stack = Stack<ItemTree>() in createTree() constant
409 stack.push(root) in createTree()
421 val parent = stack.peek() in createTree()
424 stack.push(node) in createTree()
433 stack.pop() in createTree()
/tools/tradefederation/core/src/com/android/tradefed/result/
DConsoleResultReporter.java199 String stack = testResult.getStackTrace(); in getTestSummary() local
200 if (stack != null && !stack.isEmpty()) { in getTestSummary()
202 String lines[] = stack.split("\\r?\\n"); in getTestSummary()
/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.java109 protected void setExitCode(ExitCode code, Throwable stack) { in setUp()
180 protected void setExitCode(ExitCode code, Throwable stack) { in testParentSandboxInvocation_sharding()
282 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_sharding_notTests()
345 protected void setExitCode(ExitCode code, Throwable stack) { in testInvocation_preInvocationFailing()
DTestInvocationTest.java311 protected void setExitCode(ExitCode code, Throwable stack) { in setUp()
1656 protected void setExitCode(ExitCode code, Throwable stack) { in testInvoke_deviceInfoBuild_noEnv()
1750 protected void setExitCode(ExitCode code, Throwable stack) { in testInvoke_deviceInfoBuild_withEnv()
1852 protected void setExitCode(ExitCode code, Throwable stack) { in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt458 var stack = 0 in <lambda>() variable
461 '<' -> stack-- in <lambda>()
462 '>' -> stack++ in <lambda>()
463 '.' -> if (stack == 0) return ref.substring(0, i) in <lambda>()
/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/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java101 private TestResult createResult(TestStatus status, String stack, long startTime, long endTime) { in createResult() argument
104 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.java280 String stack = jsonObject.getString(CAUSE_KEY); in InvocationFailedEventInfo() local
281 mCause = new Throwable(stack); in InvocationFailedEventInfo()
/tools/test/connectivity/acts_tests/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.java982 protected void setExitCode(ExitCode code, Throwable stack) { in setExitCode() argument
984 .setLastInvocationExitCode(code, stack); in setExitCode()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java321 public void setLastInvocationExitCode(ExitCode code, Throwable stack); in setLastInvocationExitCode() argument

12