/third_party/python/Lib/test/ |
H A D | test_yield_from.py | 25 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 [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | gen_restricted_traces.py | 8 # Generates integration code for the restricted trace tests. 26 # A list of all restricted trace tests, paired with their context. 42 // {filename}: Types and enumerations for trace tests. 106 // {filename}: Types and enumerations for trace tests. 152 'src/tests/restricted_traces/{trace}': {{ 155 'package': '{trace_prefix}/{trace}', 176 def get_angledata_filename(trace): 177 angledata_files = glob.glob('%s/%s*angledata.gz' % (trace, trace)) 179 trace, le [all...] |
H A D | retrace_restricted_traces.py | 8 Script that re-captures the traces in the restricted trace folder. We can 27 # We preserve select metadata in the trace header that can't be re-captured properly. 32 def src_trace_path(trace): 34 return os.path.join(script_dir, trace) 37 def context_header(trace, trace_path): 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): 50 trace_path = src_trace_path(trace) 67 def get_trace_metadata(trace) [all...] |
H A D | sync_restricted_traces_to_cipd.py | 42 trace, trace_version = trace_info.split(' ') 44 if args.filter and not fnmatch.fnmatch(trace, args.filter): 45 logging.debug('Skipping %s because it does not match the test filter.' % trace) 54 trace_name = '%s/%s' % (trace_prefix, trace) 57 logging.info('%s version %s already present' % (trace, trace_version)) 60 logging.info('%s version %s missing. calling create.' % (trace, trace_version)) 61 trace_folder = os.path.join(SCRIPT_DIR, trace) 64 logging.error('%s version %s create failed' % (trace, trace_version))
|
/third_party/node/deps/v8/tools/ |
H A D | gc-nvp-trace-processor.py | 33 # run with flags --trace-gc --trace-gc-nvp. Relies on gnuplot for actual 36 # Usage: gc-nvp-trace-processor.py <GC-trace-filename> 154 def generate_datafile(datafile_name, trace, fields): 156 for line in trace: 161 def generate_script_and_datafile(plot, trace, datafile, output): 163 generate_datafile(datafile, trace, fields) 184 def plot_all(plots, trace, prefix): 190 script = generate_script_and_datafile(plot, trace, '~datafil [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | derive.rs | 114 trace!( in insert() 147 CanDerive::Yes => trace!( in constrain_type() 151 CanDerive::Manually => trace!( in constrain_type() 155 CanDerive::No => trace!( in constrain_type() 164 trace!( in constrain_type() 171 trace!("ty: {:?}", ty); in constrain_type() 177 trace!( in constrain_type() 191 trace!( in constrain_type() 197 trace!( in constrain_type() 241 trace!( in constrain_type() [all...] |
H A D | template_params.rs | 235 trace!( in constrain_instantiation_of_blocklisted_template() 276 trace!(" template instantiation"); in constrain_instantiation() 293 trace!( in constrain_instantiation() 301 trace!(" param is used by template definition"); in constrain_instantiation() 335 trace!(" other item: join with successors' usage"); in constrain_join() 337 item.trace( in constrain_join() 361 trace!( in constrain_join() 390 i.trace( in new() 408 item.trace( in new() 476 item.trace( in new() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpabuf.c | 12 #include "trace.h" 33 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 in wpabuf_resize() 116 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + wpabuf_alloc() local 138 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + wpabuf_alloc_ext_data() local 185 struct wpabuf_trace *trace; wpabuf_free() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | wpabuf.c | 12 #include "trace.h" 33 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 in wpabuf_resize() 116 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + wpabuf_alloc() local 138 struct wpabuf_trace *trace = os_zalloc(sizeof(struct wpabuf_trace) + wpabuf_alloc_ext_data() local 185 struct wpabuf_trace *trace; wpabuf_free() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/ |
H A D | perf_test.cc | 56 const std::string &trace, in ResultsToString() 67 modifier.c_str(), trace.c_str(), prefix.c_str(), values.c_str(), in ResultsToString() 73 const std::string &trace, in PrintResultsImpl() 82 ResultsToString(measurement, modifier, trace, values, prefix, suffix, units, important) in PrintResultsImpl() 94 const std::string &trace, in PrintResult() 99 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult() 105 const std::string &trace, in PrintResult() 110 PrintResultsImpl(measurement, modifier, trace, NumberToString(value), std::string(), in PrintResult() 117 const std::string &trace, in AppendResult() 122 output += ResultsToString(measurement, modifier, trace, NumberToStrin in AppendResult() 54 ResultsToString(const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &values, const std::string &prefix, const std::string &suffix, const std::string &units, bool important) ResultsToString() argument 71 PrintResultsImpl(const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &values, const std::string &prefix, const std::string &suffix, const std::string &units, bool important) PrintResultsImpl() argument 92 PrintResult(const std::string &measurement, const std::string &modifier, const std::string &trace, size_t value, const std::string &units, bool important) PrintResult() argument 103 PrintResult(const std::string &measurement, const std::string &modifier, const std::string &trace, double value, const std::string &units, bool important) PrintResult() argument 114 AppendResult(std::string &output, const std::string &measurement, const std::string &modifier, const std::string &trace, size_t value, const std::string &units, bool important) AppendResult() argument 126 PrintResult(const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &value, const std::string &units, bool important) PrintResult() argument 137 AppendResult(std::string &output, const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &value, const std::string &units, bool important) AppendResult() argument 149 PrintResultMeanAndError(const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &mean_and_error, const std::string &units, bool important) PrintResultMeanAndError() argument 159 AppendResultMeanAndError(std::string &output, const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &mean_and_error, const std::string &units, bool important) AppendResultMeanAndError() argument 171 PrintResultList(const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &values, const std::string &units, bool important) PrintResultList() argument 181 AppendResultList(std::string &output, const std::string &measurement, const std::string &modifier, const std::string &trace, const std::string &values, const std::string &units, bool important) AppendResultList() argument [all...] |
H A D | perf_test.h | 17 // "_browser"; |trace| is a description of the particular data point, e.g. 24 // string to specify a particular graph and the |trace| to identify a trace 28 const std::string &trace, 34 const std::string &trace, 42 const std::string &trace, 51 const std::string &trace, 59 const std::string &trace, 69 const std::string &trace, 77 const std::string &trace, [all...] |
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_variables.py | 118 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/node/test/parallel/ |
H A D | test-trace-events-api.js | 10 common.skip('missing trace events'); 24 const indexOfCatFlag = process.execArgv.indexOf('--trace-event-categories'); 84 trace: { 90 const { trace } = internalBinding('trace_events'); 94 trace(kBeforeEvent, 'foo', 'test1', 0, 'test'); 96 trace(kEndEvent, 'foo', 'test1'); 124 testApiInChildProcess(['--trace-event-categories', 'foo'], () => { 125 testApiInChildProcess(['--trace-event-categories', 'foo']); 155 .filter((trace) => trace [all...] |
H A D | test-trace-events-dynamic-enable.js | 12 trace: { 17 const { trace } = internalBinding('trace_events'); 46 trace(kBeforeEvent, 'foo', 'test1', 0, 'test'); 51 trace(kBeforeEvent, 'foo', 'test2', 0, 'test'); 52 trace(kBeforeEvent, 'bar', 'test3', 0, 'test'); 56 trace(kBeforeEvent, 'foo', 'test4', 0, 'test');
|
H A D | test-trace-events-async-hooks-dynamic.js | 10 common.skip('missing trace events'); 45 function filterTimeoutTraces(trace) { 46 if (trace.pid !== proc.pid) 48 if (trace.cat !== 'node,node.async_hooks') 50 if (trace.name !== 'Timeout') 59 for (const trace of timeoutTraces) { 60 threads.add(trace.tid);
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/ |
H A D | wasm-runtime.cpp | 38 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(tim in env$$time() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
H A D | debug.h | 33 void trace(const char *format, ...); 34 inline void trace() {} in trace() function 37 // A macro to output a trace of a function call and its arguments to the debugging log 41 #define TRACE(message, ...) es::trace("trace: %s(%d): " message "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__) 48 #define FIXME(message, ...) do {es::trace("fixme: %s(%d): " message "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); assert(false);} while(false) 55 #define ERR(message, ...) do {es::trace("err: %s(%d): " message "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); assert(false);} while(false) 74 es::trace("\t! Unimplemented: %s(%d): ", __FUNCTION__, __LINE__); \ 75 es::trace(__VA_ARGS__); \ 76 es::trace("\ [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Debug.hpp | 30 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): " #expression "\n", __FUNCTION__, __LINE__); assert(expression);}
|
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | persistent-node.h | 13 #include "cppgc/trace-trait.h" 33 void InitializeAsUsedNode(void* owner, TraceRootCallback trace) { in InitializeAsUsedNode() argument 34 CPPGC_DCHECK(trace); in InitializeAsUsedNode() 36 trace_ = trace; in InitializeAsUsedNode() 97 TraceRootCallback trace) { in TryAllocateNodeFromFreeList() 103 node->InitializeAsUsedNode(owner, trace); in TryAllocateNodeFromFreeList() 119 TraceRootCallback trace); 146 V8_INLINE PersistentNode* AllocateNode(void* owner, TraceRootCallback trace) { in AllocateNode() argument 148 auto* node = TryAllocateNodeFromFreeList(owner, trace); in AllocateNode() 153 return RefillFreeListAndAllocateNode(owner, trace); in AllocateNode() 96 TryAllocateNodeFromFreeList(void* owner, TraceRootCallback trace) TryAllocateNodeFromFreeList() argument 190 AllocateNode(void* owner, TraceRootCallback trace) AllocateNode() argument [all...] |
/third_party/node/deps/v8/include/cppgc/internal/ |
H A D | persistent-node.h | 13 #include "cppgc/trace-trait.h" 35 void InitializeAsUsedNode(void* owner, TraceCallback trace) { in InitializeAsUsedNode() argument 36 CPPGC_DCHECK(trace); in InitializeAsUsedNode() 38 trace_ = trace; in InitializeAsUsedNode() 99 TraceCallback trace) { in TryAllocateNodeFromFreeList() 105 node->InitializeAsUsedNode(owner, trace); in TryAllocateNodeFromFreeList() 121 TraceCallback trace); 148 V8_INLINE PersistentNode* AllocateNode(void* owner, TraceCallback trace) { in AllocateNode() argument 150 auto* node = TryAllocateNodeFromFreeList(owner, trace); in AllocateNode() 155 return RefillFreeListAndAllocateNode(owner, trace); in AllocateNode() 98 TryAllocateNodeFromFreeList(void* owner, TraceCallback trace) TryAllocateNodeFromFreeList() argument 192 AllocateNode(void* owner, TraceCallback trace) AllocateNode() argument [all...] |
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_cond-smasher.c | 50 # 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() 109 trace("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("mai in main() [all...] |
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler.cc | 165 // string. Therefore code generated for a non-trivial trace is specialized 166 // to that trace. The code generator therefore has the ability to generate 170 // trace is flushed and a generic version of the code for a node is emitted. 172 // trace is not recorded in the node and so it cannot currently be reused in 173 // the event that code generation is requested for an identical trace. 411 // The chronologically first deferred action in the trace in PerformDeferredActions() 585 void NegativeSubmatchSuccess::Emit(RegExpCompiler* compiler, Trace* trace) { in Emit() argument 588 // Omit flushing the trace. We discard the entire stack frame anyway. in Emit() 591 // We are completely independent of the trace, since we ignore it, in Emit() 611 void EndNode::Emit(RegExpCompiler* compiler, Trace* trace) { in Emit() argument 723 GenerateGuard(RegExpMacroAssembler* macro_assembler, Guard* guard, Trace* trace) GenerateGuard() argument 1320 LimitVersions(RegExpCompiler* compiler, Trace* trace) LimitVersions() argument 1503 EmitQuickCheck(RegExpCompiler* compiler, Trace* bounds_check_trace, Trace* trace, bool preload_has_checked_bounds, Label* on_possible_success, QuickCheckDetails* details, bool fall_through_on_failure, ChoiceNode* predecessor) EmitQuickCheck() argument 2116 EmitHat(RegExpCompiler* compiler, RegExpNode* on_success, Trace* trace) EmitHat() argument 2158 EmitBoundaryCheck(RegExpCompiler* compiler, Trace* trace) EmitBoundaryCheck() argument 2205 BacktrackIfPrevious( RegExpCompiler* compiler, Trace* trace, AssertionNode::IfPrevious backtrack_if_previous) BacktrackIfPrevious() argument 2253 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument 2333 TextEmitPass(RegExpCompiler* compiler, TextEmitPassType pass, bool preloaded, Trace* trace, bool first_element_checked, int* checked_up_to) TextEmitPass() argument 2464 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument 2614 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument 3043 AssertGuardsMentionRegisters(Trace* trace) AssertGuardsMentionRegisters() argument 3072 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument 3137 EmitGreedyLoop(RegExpCompiler* compiler, Trace* trace, AlternativeGenerationList* alt_gens, PreloadState* preload, GreedyLoopState* greedy_loop_state, int text_length) EmitGreedyLoop() argument 3179 EmitOptimizedUnanchoredSearch(RegExpCompiler* compiler, Trace* trace) EmitOptimizedUnanchoredSearch() argument 3225 EmitChoices(RegExpCompiler* compiler, AlternativeGenerationList* alt_gens, int first_choice, Trace* trace, PreloadState* preload) EmitChoices() argument 3308 EmitOutOfLineContinuation(RegExpCompiler* compiler, Trace* trace, GuardedAlternative alternative, AlternativeGeneration* alt_gen, int preload_characters, bool next_expects_preload) EmitOutOfLineContinuation() argument 3347 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument 3467 Emit(RegExpCompiler* compiler, Trace* trace) Emit() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | trace.h | 15 // The Trace API produces a trace event file that can be consumed with Chrome's 18 // https://www.chromium.org/developers/how-tos/trace-event-profiling-tool 41 // Trace writes a trace event file into the current working directory that can 62 Trace* const trace; member in marl::Trace::ScopedEvent 71 Trace* const trace; member in marl::Trace::ScopedAsyncEvent 174 Trace::ScopedEvent::ScopedEvent(const char* fmt, ...) : trace(Trace::get()) { in ScopedEvent() 175 if (trace != nullptr) { in ScopedEvent() 182 trace->beginEvent(name); in ScopedEvent() 187 if (trace != nullptr) { in ~ScopedEvent() 188 trace in ~ScopedEvent() [all...] |
/third_party/curl/tests/ |
H A D | memanalyze.pl | 48 $trace=1; 107 if($trace && ($i =~ /([^ ]*) reached memlimit/)) { 131 if($trace) { 158 if($trace) { 184 if($trace) { 198 if($trace) { 207 if($trace) { 229 if($trace) { 249 if($trace) { 355 if($trace) { [all...] |
/third_party/node/lib/internal/source_map/ |
H A D | prepare_stack_trace.js | 32 const prepareStackTrace = (globalThis, error, trace) => { 39 return f(error, trace); 43 maybeOverridePrepareStackTrace(globalThis, error, trace); 53 if (trace.length === 0) { 59 const preparedTrace = ArrayPrototypeJoin(ArrayPrototypeMap(trace, (t, i) => { 62 // A stack trace will often have several call sites in a row within the 83 const name = getOriginalSymbolName(sm, trace, i); 84 // Construct call site name based on: v8.dev/docs/stack-trace-api: 113 // trace, if possible restore it from the names field of the source map: 114 function getOriginalSymbolName(sourceMap, trace, curInde [all...] |