/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
TracesParserTest.java | 102 TracesItem traces = new TracesParser().parse(lines); local 103 assertEquals(2887, traces.getPid().intValue()); 104 assertEquals("com.android.package", traces.getApp()); 105 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); 139 TracesItem traces = new TracesParser().parse(lines); local 140 assertEquals(2887, traces.getPid().intValue()); 141 assertEquals("com.android.package", traces.getApp()); 142 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); 162 traces = new TracesParser().parse(lines); 163 assertEquals(2887, traces.getPid().intValue()) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
rule-tracing.rb | 16 @traces = [] 20 attr_accessor :stack, :traces 23 @traces << ">#{rule_name}" 27 @traces << "<#{rule_name}" 33 @traces = [] 37 attr_accessor :stack, :traces 40 @traces << ">#{rule_name}" 44 @traces << "<#{rule_name}" 62 lexer.traces.should == [ 68 parser.traces.should == [ [all...] |
/art/tools/dmtracedump/ |
dmtracedump.pl | 4 @traces = grep { /.*\.dmtrace\.data/ } readdir(DIR); 6 foreach (@traces)
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
TracesParser.java | 25 * A {@link IParser} to parse Android traces files. 28 * stack from {@code /data/anr/traces.txt} which can be used to give some context about the ANR. If 56 TracesItem traces = new TracesItem(); local 63 traces.setPid(Integer.parseInt(m.group(1))); 67 traces.setApp(m.group(1)); 79 traces.setStack(stack.toString().trim()); 80 return traces; 86 traces.setStack(stack.toString().trim()); 87 return traces;
|
BugreportParser.java | 57 private static final String ANR_TRACES_SECTION_REGEX = "------ VM TRACES AT LAST ANR .*"; 223 TracesItem traces = (TracesItem) getSection(mTracesParser); local 224 if (traces != null && traces.getApp() != null && traces.getStack() != null && 226 addAnrTrace(mBugreport.getSystemLog().getAnrs(), traces.getApp(), 227 traces.getStack());
|
MonkeyLogParser.java | 82 private static final Pattern TRACES_START = Pattern.compile("anr traces:"); 83 private static final Pattern TRACES_STOP = Pattern.compile("// anr traces status was \\d+"); 176 TracesItem traces = new TracesParser().parse(mBlock); local 179 if (traces != null && traces.getApp() != null && traces.getStack() != null && 181 traces.getApp().equals(mMonkeyLog.getCrash().getApp())) { 182 ((AnrItem) mMonkeyLog.getCrash()).setTrace(traces.getStack());
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t044trace.py | 16 self.traces = [] 20 self.traces.append('>'+ruleName) 24 self.traces.append('<'+ruleName) 39 self.traces = [] 43 self.traces.append('>'+ruleName) 47 self.traces.append('<'+ruleName) 68 lexer.traces, 76 parser.traces,
|
t047treeparser.py | 13 self.traces = [] 17 self.traces.append('>'+ruleName) 21 self.traces.append('<'+ruleName) 73 walker.traces,
|
t052import.py | 31 self.traces.append('>'+ruleName) 35 self.traces.append('<'+ruleName) 58 self.traces.append('>'+ruleName) 62 self.traces.append('<'+ruleName) [all...] |
/external/trappy/tests/ |
test_plot_utils.py | 125 # Strip out devfreq traces 145 traces = [trace1, trace2] 147 plot_utils.plot_temperature(traces, ylim="default") 155 traces = [trace1, trace2] 157 plot_utils.plot_load(traces, self.map_label, height=5) 172 traces = [trace1, trace2] 174 plot_utils.plot_allfreqs(traces, self.map_label, width=20) 193 traces = [trappy.FTrace(name="first"), trappy.FTrace(name="second")] 196 plot_utils.plot_allfreqs(traces, map_label) 204 traces = [trace1, trace2 [all...] |
/art/test/063-process-manager/src/ |
Main.java | 26 Map<Thread, StackTraceElement[]> traces = Thread.getAllStackTraces(); local 30 traces.entrySet()) {
|
/external/trappy/trappy/plotter/ |
AbstractDataPlotter.py | 32 def __init__(self, traces=None, attr=None, templates=None): 35 self.traces = traces 55 data = listify(self.traces) 96 for trace in listify(self.traces):
|
BarPlot.py | 28 :param traces: The input data 29 :type traces: A single instance or a list of :mod:`trappy.trace.FTrace`, 71 def __init__(self, traces, templates=None, **kwargs): 75 traces=traces,
|
LinePlot.py | 31 :param traces: The input data 32 :type traces: a list of :mod:`trappy.trace.FTrace`, 70 :param permute: Draw one plot for each of the traces specified 114 def __init__(self, traces, templates=None, **kwargs): 118 traces=traces,
|
ILinePlot.py | 44 :param traces: The input data 45 :type traces: a list of :mod:`trappy.trace.FTrace`, 80 :param permute: Draw one plot for each of the traces specified 134 def __init__(self, traces, templates=None, **kwargs): 137 super(ILinePlot, self).__init__(traces=traces, 160 self.c_mgr = ConstraintManager(traces, self._attr["column"], self.templates, 239 title = self.traces[plot_index].name 289 In case of multiple traces with different indexes (i.e. x-axis values), 292 # 1) Check if we are processing multiple traces [all...] |
StaticPlot.py | 34 :param traces: The input data 35 :type traces: a list of :mod:`trappy.trace.FTrace`, 70 :param permute: Draw one plot for each of the traces specified 114 def __init__(self, traces, templates, **kwargs): 117 super(StaticPlot, self).__init__(traces=traces, 137 self.c_mgr = ConstraintManager(traces, self._attr["column"],
|
Constraint.py | 214 :param traces: Input Trace data 215 :type traces: :mod:`trappy.trace.BareTrace`, list(:mod:`trappy.trace.BareTrace`) 230 :param zip_constraints: Permutes the columns and traces instead 235 def __init__(self, traces, columns, templates, pivot, filters, 239 self._ip_vec.append(listify(traces)) 263 Len[traces] == Len[columns] == Len[templates] 269 Len[traces] = 1 275 Len[traces] = 1 309 all the columns in each of the traces. _populate_constraints() 312 creates a constraint for every combination of traces and column [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_report.cc | 434 static bool HandleRacyStacks(ThreadState *thr, VarSizeStackTrace traces[2], 443 hash.hash[0] = md5_hash(traces[0].trace, traces[0].size * sizeof(uptr)); 444 hash.hash[1] = md5_hash(traces[1].trace, traces[1].size * sizeof(uptr)); 480 static void AddRacyStacks(ThreadState *thr, VarSizeStackTrace traces[2], 485 hash.hash[0] = md5_hash(traces[0].trace, traces[0].size * sizeof(uptr)); 486 hash.hash[1] = md5_hash(traces[1].trace, traces[1].size * sizeof(uptr)) 626 VarSizeStackTrace traces[kMop]; local [all...] |
/external/minijail/tools/ |
generate_seccomp_policy.py | 73 def main(traces): 102 for trace_filename in traces:
|
/external/v8/tools/ |
run_perf.py | 153 """Place holder for result traces.""" 154 def __init__(self, traces=None, errors=None): 155 self.traces = traces or [] 159 return {"traces": self.traces, "errors": self.errors} 166 self.traces += other.traces 262 results for a configured list of traces. 265 graph_names: List of names that configure the base path of the traces. E.g [all...] |
/external/blktrace/ |
blkrawverify.c | 39 static struct trace_info traces[] = { variable in typeref:struct:trace_info 54 #define N_TRACES (sizeof(traces) / sizeof(struct trace_info)) 94 sprintf(buf2, "| %s ", traces[i].string); 215 * skip notify traces, they don't have valid sequences 259 fprintf(ofp, "%8s %d traces\n", "", nbad_trace);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ThreadTest.java | 196 StackTraceElement[] traces = t1.getStackTrace(); local 197 StackTraceElement trace = traces[traces.length - 2]; 216 // Expect to see the traces of all threads (not just t2) 217 assertTrue("Must have traces for all threads", visibleTraces.get() > 1);
|
/prebuilts/go/darwin-x86/src/cmd/trace/ |
main.go | 55 [pkg.test] argument is required for traces produced by Go 1.6 and below. 85 // Go 1.7 traces embed symbol info and does not require the binary. 86 // But we optionally accept binary as first arg for Go 1.5 traces.
|
/prebuilts/go/linux-x86/src/cmd/trace/ |
main.go | 55 [pkg.test] argument is required for traces produced by Go 1.6 and below. 85 // Go 1.7 traces embed symbol info and does not require the binary. 86 // But we optionally accept binary as first arg for Go 1.5 traces.
|
/external/chromium-trace/catapult/tracing/tracing/trace_data/ |
trace_data.py | 96 """ TraceData holds a collection of traces from multiple sources. 98 A TraceData can have multiple active parts. Each part represents traces 133 """ Return the list of traces for |part| in string or dictionary forms. 135 Note: since this API return the traces that can be directly accessed in 145 # Since this API return the traces in memory form, and since the memory 148 # all traces for part of form TraceFileHandle to the JSON form. 156 traces = self.GetTracesFor(part) 157 assert len(traces) == 1 158 return traces[0] 161 """ Remove all the traces that this has handles to [all...] |