Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/third_party/python/Lib/test/
Dtest_yield_from.py25 trace = []
27 trace.append("Starting g1")
29 trace.append("Finishing g1")
31 trace.append("Starting g2")
33 trace.append("Finishing g2")
35 trace.append("Yielded %s" % (x,))
36 self.assertEqual(trace,[
48 trace = []
51 trace.append("Starting g1")
54 trace.append("Finishing g1")
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Dgen_restricted_traces.py176 def get_angledata_filename(trace): argument
177 angledata_files = glob.glob('%s/%s*angledata.gz' % (trace, trace))
179 trace, len(angledata_files))
186 for trace in traces:
187 context = get_context(trace)
188 angledata_file = get_angledata_filename(trace)
189 txt_file = '%s/%s_capture_context%s_files.txt' % (trace, trace, context)
190 json_file_name = '%s/%s.json' % (trace, trace)
195 source_files = ['"%s/%s"' % (trace, file.strip()) for file in files]
202 source_files = ['"%s/%s"' % (trace, file.strip()) for file in files]
[all …]
Dretrace_restricted_traces.py32 def src_trace_path(trace): argument
34 return os.path.join(script_dir, trace)
37 def context_header(trace, trace_path): argument
41 header = try_path_expr % (trace, context_id)
45 logging.fatal('Could not find context header for %s' % trace)
49 def get_num_frames(trace): argument
50 trace_path = src_trace_path(trace)
67 def get_trace_metadata(trace): argument
68 trace_path = src_trace_path(trace)
69 header_file = context_header(trace, trace_path)
[all …]
/third_party/node/test/parallel/
Dtest-trace-events-metadata.js25 .filter((trace) => trace.cat === '__metadata');
27 assert(traces.some((trace) =>
28 trace.name === 'thread_name' &&
29 trace.args.name === 'JavaScriptMainThread'));
30 assert(traces.some((trace) =>
31 trace.name === 'thread_name' &&
32 trace.args.name === 'PlatformWorkerThread'));
33 assert(traces.some((trace) =>
34 trace.name === 'version' &&
35 trace.args.node === process.versions.node));
[all …]
Dtest-trace-events-async-hooks.js27 assert(!traces.some((trace) => {
28 if (trace.pid !== proc.pid)
30 if (trace.cat !== 'v8')
32 if (trace.name !== 'V8.ScriptCompiler')
38 assert(traces.some((trace) => {
39 if (trace.pid !== proc.pid)
41 if (trace.cat !== 'node,node.async_hooks')
47 assert(traces.some((trace) => {
48 if (trace.pid !== proc.pid)
50 if (trace.cat !== 'node,node.async_hooks')
[all …]
Dtest-trace-events-all.js25 assert(traces.some((trace) => {
26 if (trace.pid !== proc.pid)
28 if (trace.cat !== 'v8')
30 if (trace.name !== 'V8.ScriptCompiler')
36 assert(traces.some((trace) => {
37 if (trace.pid !== proc.pid)
39 if (trace.cat !== 'node,node.async_hooks')
46 assert(traces.some((trace) => {
47 if (trace.pid !== proc.pid)
49 if (trace.cat !== 'node,node.async_hooks')
[all …]
Dtest-trace-events-v8.js27 assert(traces.some((trace) => {
28 if (trace.pid !== proc.pid)
30 if (trace.cat !== 'v8')
32 if (trace.name !== 'V8.ScriptCompiler')
38 assert(!traces.some((trace) => {
39 if (trace.pid !== proc.pid)
41 if (trace.cat !== 'node.async_hooks')
48 assert(!traces.some((trace) => {
49 if (trace.pid !== proc.pid)
51 if (trace.cat !== 'node.async_hooks')
[all …]
Dtest-trace-events-perf.js53 .filter((trace) => trace.cat !== '__metadata');
59 traces.forEach((trace) => {
60 assert.strictEqual(trace.pid, proc.pid);
61 switch (trace.ph) {
63 assert.strictEqual(trace.cat,
65 assert.strictEqual(trace.name,
70 assert.strictEqual(trace.cat, expectedBegin.cat);
71 assert.strictEqual(trace.name, expectedBegin.name);
75 assert.strictEqual(trace.cat, expectedEnd.cat);
76 assert.strictEqual(trace.name, expectedEnd.name);
Dtest-trace-events-console.js50 .filter((trace) => trace.cat !== '__metadata')
51 .forEach((trace) => {
52 assert.strictEqual(trace.pid, proc.pid);
53 assert(names.includes(trace.name));
54 if (trace.name === 'count::bar')
55 assert.strictEqual(trace.args.data, expectedCounts.shift());
56 else if (trace.name === 'time::foo')
57 assert.strictEqual(trace.ph, expectedTimeTypes.shift());
Dtest-trace-events-promises.js36 .filter((trace) => trace.cat !== '__metadata');
37 traces.forEach((trace) => {
38 assert.strictEqual(trace.pid, proc.pid);
39 assert.strictEqual(trace.name, 'rejections');
40 assert(trace.args.unhandled <= 2);
41 assert(trace.args.handledAfter <= 1);
/third_party/node/deps/npm/node_modules/dashdash/etc/
Ddashdash.bash_completion.in93 function trace {
110 trace ""
111 trace "_dashdash_complete(idx=$idx, context=$context)"
112 trace " shortopts: $shortopts"
113 trace " longopts: $longopts"
114 trace " optargs: $optargs"
115 trace " subcmds: $subcmds"
116 trace " allsubcmds: $allsubcmds"
135 trace " consider argv[$i]: '$arg'"
138 trace " dashdash seen"
[all …]
/third_party/googletest/googletest/test/
Dgoogletest-output-test-golden-lin.txt7 Stack trace: (omitted)
13 Stack trace: (omitted)
47 Stack trace: (omitted)
55 Stack trace: (omitted)
69 Stack trace: (omitted)
80 Stack trace: (omitted)
90 Stack trace: (omitted)
99 Stack trace: (omitted)
109 Stack trace: (omitted)
115 Stack trace: (omitted)
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/
Dperf_test.cc56 const std::string& trace, in ResultsToString() argument
67 trace.c_str(), prefix.c_str(), values.c_str(), suffix.c_str(), in ResultsToString()
73 const std::string& trace, in PrintResultsImpl() argument
80 printf("%s", ResultsToString(measurement, modifier, trace, values, in PrintResultsImpl()
91 const std::string& trace, in PrintResult() argument
97 trace, in PrintResult()
107 const std::string& trace, in PrintResult() argument
113 trace, in PrintResult()
124 const std::string& trace, in AppendResult() argument
131 trace, in AppendResult()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/
Dperf_test.cc56 const std::string &trace, in ResultsToString() argument
67 modifier.c_str(), trace.c_str(), prefix.c_str(), values.c_str(), in ResultsToString()
73 const std::string &trace, in PrintResultsImpl() argument
82 ResultsToString(measurement, modifier, trace, values, prefix, suffix, units, important) in PrintResultsImpl()
94 const std::string &trace, in PrintResult() argument
99 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult()
105 const std::string &trace, in PrintResult() argument
110 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult()
117 const std::string &trace, in AppendResult() argument
122 output += ResultsToString(measurement, modifier, trace, NumberToString(value), std::string(), in AppendResult()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpabuf.c33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() local
34 if (trace->magic != WPABUF_MAGIC) { in wpabuf_overflow()
36 trace->magic); in wpabuf_overflow()
51 struct wpabuf_trace *trace; in wpabuf_resize() local
60 trace = wpabuf_get_trace(buf); in wpabuf_resize()
61 if (trace->magic != WPABUF_MAGIC) { in wpabuf_resize()
63 trace->magic); in wpabuf_resize()
79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize()
84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize()
85 buf = (struct wpabuf *) (trace + 1); in wpabuf_resize()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpabuf.c33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); in wpabuf_overflow() local
34 if (trace->magic != WPABUF_MAGIC) { in wpabuf_overflow()
36 trace->magic); in wpabuf_overflow()
51 struct wpabuf_trace *trace; in wpabuf_resize() local
60 trace = wpabuf_get_trace(buf); in wpabuf_resize()
61 if (trace->magic != WPABUF_MAGIC) { in wpabuf_resize()
63 trace->magic); in wpabuf_resize()
79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize()
84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize()
85 buf = (struct wpabuf *) (trace + 1); in wpabuf_resize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/
Dwasm-runtime.cpp38 template <typename T> T trace(T x) { in trace() function
42 void trace() { std::cerr << "(void)" << std::endl; } in trace() function
45 template <typename T> T trace(T x) { return x; } in trace() function
46 void trace() {} in trace() function
180 return trace(OldBreak); in env$$sbrk()
259 return trace(abs(a)); in env$$abs()
264 return trace(clock()); in env$$clock()
272 return trace(WasmPtr<char>(GlobalData->StrBuf).asInt()); in env$$ctime()
277 return trace(pow(x, y)); in env$$pow()
283 return trace(time(TimePtr)); in env$$time()
[all …]
/third_party/node/doc/api/
Dtracing.md12 Tracing can be enabled with the `--trace-event-categories` command-line flag
13 or by using the `trace_events` module. The `--trace-event-categories` flag
19 * `node.async_hooks`: Enables capture of detailed [`async_hooks`][] trace data.
25 * `node.dns.native`: Enables capture of trace data for DNS queries.
27 * `node.fs.sync`: Enables capture of trace data for file system sync methods.
33 * `node.promises.rejections`: Enables capture of trace data tracking the number
35 * `node.vm.script`: Enables capture of trace data for the `vm` module's
42 node --trace-event-categories v8,node,node.async_hooks server.js
45 Prior versions of Node.js required the use of the `--trace-events-enabled`
46 flag to enable trace events. This requirement has been removed. However, the
[all …]
/third_party/grpc/src/cpp/ext/filters/census/
Dcontext.h50 CensusContext() : span_(::opencensus::trace::Span::BlankSpan()), tags_({}) {} in CensusContext()
54 : span_(::opencensus::trace::Span::StartSpan(name)), tags_(tags) {} in CensusContext()
56 CensusContext(absl::string_view name, const ::opencensus::trace::Span* parent, in CensusContext()
58 : span_(::opencensus::trace::Span::StartSpan(name, parent)), in CensusContext()
62 const ::opencensus::trace::SpanContext& parent_ctxt) in CensusContext()
63 : span_(::opencensus::trace::Span::StartSpanWithRemoteParent( in CensusContext()
67 const ::opencensus::trace::Span& Span() const { return span_; } in Span()
70 ::opencensus::trace::SpanContext Context() const { return Span().context(); } in Context()
74 ::opencensus::trace::Span span_;
80 size_t TraceContextSerialize(const ::opencensus::trace::SpanContext& context,
[all …]
Drpc_encoding.h38 explicit GrpcTraceContext(const ::opencensus::trace::SpanContext& ctx) { in GrpcTraceContext()
44 ::opencensus::trace::SpanContext ToSpanContext() const { in ToSpanContext()
45 return ::opencensus::trace::SpanContext( in ToSpanContext()
46 ::opencensus::trace::TraceId(trace_id), in ToSpanContext()
47 ::opencensus::trace::SpanId(span_id), in ToSpanContext()
48 ::opencensus::trace::TraceOptions(trace_options)); in ToSpanContext()
54 uint8_t trace_id[::opencensus::trace::TraceId::kSize];
56 uint8_t span_id[::opencensus::trace::SpanId::kSize];
58 uint8_t trace_options[::opencensus::trace::TraceOptions::kSize];
111 opencensus::trace::TraceId::kSize); in Encode()
[all …]
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_variables.py118 trace = []
120 trace.append(('read',) + args)
122 trace.append(('write',) + args)
126 self.assertEqual(trace, [])
129 self.assertEqual(trace, [('write', vname, '', 'w')])
131 trace = []
133 self.assertEqual(trace, [('read', vname, '', 'r')])
135 trace = []
145 self.assertEqual(trace, [('read', vname, '', 'r')])
147 trace = []
[all …]
/third_party/musl/libc-test/src/regression/
Dpthread_cond-smasher.c50 # define trace(...) trace1(__LINE__, __VA_ARGS__) macro
52 # define trace(...) do { if (0) trace1(__LINE__, __VA_ARGS__); } while (0) macro
56 #define tell(...) trace(__VA_ARGS__)
88 trace("thread %u in phase %u\n", *number, i); in client()
92 trace("thread %u is last, signalling main\n", *number); in client()
94 trace("thread %u is last, signalling main, %s\n", *number, errorstring(ret)); in client()
102 trace("thread %u in phase %u (%u), finished, %s\n", *number, i, phase, errorstring(ret)); in client()
109trace("thread %u in phase %u (%u), has unlocked mutex: %s\n", *number, i, phase, errorstring(ret)); in client()
135 trace("main seeing %u threads in phase %u, waiting\n", inside[phase], phase); in main()
152 trace("main has broadcast to %u: %s\n", phase, errorstring(ret)); in main()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Common/
DDebug.hpp30 void trace(const char *format, ...);
31 inline void trace() {} in trace() function
35 …#define TRACE(format, ...) sw::trace("[0x%0.8X]%s(" format ")\n", this, __FUNCTION__, ##__VA_ARGS_…
42 sw::trace("\t! Unimplemented: %s(%d): ", __FUNCTION__, __LINE__); \
43 sw::trace(__VA_ARGS__); \
44 sw::trace("\n"); \
52 …#define ASSERT(expression) {if(!(expression)) sw::trace("\t! Assert failed in %s(%d): " #expressio…
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
Ddebug.h33 void trace(const char *format, ...);
34 inline void trace() {} in trace() function
41 #define TRACE(message, ...) es::trace("trace: %s(%d): " message "\n", __FUNCTION__, __LINE__, ##__V…
48 #define FIXME(message, ...) do {es::trace("fixme: %s(%d): " message "\n", __FUNCTION__, __LINE__, #…
55 #define ERR(message, ...) do {es::trace("err: %s(%d): " message "\n", __FUNCTION__, __LINE__, ##__V…
74 es::trace("\t! Unimplemented: %s(%d): ", __FUNCTION__, __LINE__); \
75 es::trace(__VA_ARGS__); \
76 es::trace("\n"); \
/third_party/node/lib/internal/source_map/
Dprepare_stack_trace.js30 const prepareStackTrace = (globalThis, error, trace) => { argument
37 return f(error, trace);
41 maybeOverridePrepareStackTrace(globalThis, error, trace);
46 if (trace.length === 0) {
53 const preparedTrace = ArrayPrototypeJoin(ArrayPrototypeMap(trace, (t, i) => {
74 const name = getOriginalSymbolName(sm, trace, i);
112 function getOriginalSymbolName(sourceMap, trace, curIndex) { argument
115 trace[curIndex].getEnclosingLineNumber() - 1,
116 trace[curIndex].getEnclosingColumnNumber() - 1
120 const currentFileName = trace[curIndex].getFileName();
[all …]

12345678910>>...41