/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_stack_test.cc | 20 static void TestStackTrace(StackTrace *trace) { in TestStackTrace() argument 23 trace->ObtainCurrent(&thr, 0); in TestStackTrace() 24 EXPECT_EQ(trace->Size(), (uptr)0); in TestStackTrace() 26 trace->ObtainCurrent(&thr, 42); in TestStackTrace() 27 EXPECT_EQ(trace->Size(), (uptr)1); in TestStackTrace() 28 EXPECT_EQ(trace->Get(0), (uptr)42); in TestStackTrace() 32 trace->ObtainCurrent(&thr, 0); in TestStackTrace() 33 EXPECT_EQ(trace->Size(), (uptr)2); in TestStackTrace() 34 EXPECT_EQ(trace->Get(0), (uptr)100); in TestStackTrace() 35 EXPECT_EQ(trace->Get(1), (uptr)101); in TestStackTrace() [all …]
|
/external/v8/test/mjsunit/ |
D | object-toprimitive.js | 39 var trace = []; variable 43 trace.push("vo"); 47 trace.push("ts"); 53 var ot = { get toString() { trace.push("gts"); 55 get valueOf() { trace.push("gvo"); 61 assertEquals(["gvo","vo"], trace); 63 trace = []; 66 assertEquals(["gts","ts"], trace); 68 trace = []; 72 assertEquals(["gvo", "vo", "gts", "ts"], trace); [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stacktrace_test.cc | 28 StackTrace trace; member in __sanitizer::FastUnwindTest 48 trace.size = 0; in SetUp() 49 trace.max_size = ARRAY_SIZE(fake_stack); in SetUp() 50 trace.trace[0] = start_pc; in SetUp() 54 trace.FastUnwindStack(start_pc, (uptr)&fake_stack[0], in TEST_F() 57 EXPECT_EQ(6U, trace.size); in TEST_F() 58 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F() 60 EXPECT_EQ(i*2 - 1, trace.trace[i]); in TEST_F() 68 trace.FastUnwindStack(start_pc, (uptr)&fake_stack[0], in TEST_F() 71 EXPECT_EQ(4U, trace.size); in TEST_F() [all …]
|
/external/v8/tools/ |
D | gc-nvp-trace-processor.py | 59 trace = [] 64 info['i'] = len(trace) 65 trace.append(info) 66 return trace 173 def generate_datafile(datafile_name, trace, fields): argument 175 for line in trace: 180 def generate_script_and_datafile(plot, trace, datafile, output): argument 182 generate_datafile(datafile, trace, fields) 203 def plot_all(plots, trace, prefix): argument 209 script = generate_script_and_datafile(plot, trace, '~datafile', outfilename) [all …]
|
/external/quake/quake/src/QW/client/ |
D | pmovetst.c | 176 …siveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, pmtrace_t *trace) in PM_RecursiveHullCheck() argument 192 trace->allsolid = false; in PM_RecursiveHullCheck() 194 trace->inopen = true; in PM_RecursiveHullCheck() 196 trace->inwater = true; in PM_RecursiveHullCheck() 199 trace->startsolid = true; in PM_RecursiveHullCheck() 225 return PM_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck() 227 return PM_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck() 230 return PM_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck() 232 return PM_RecursiveHullCheck (hull, node->children[1], p1f, p2f, p1, p2, trace); in PM_RecursiveHullCheck() 252 if (!PM_RecursiveHullCheck (hull, node->children[side], p1f, midf, p1, mid, trace) ) in PM_RecursiveHullCheck() [all …]
|
D | pmove.c | 116 pmtrace_t trace; in PM_FlyMove() local 135 trace = PM_PlayerMove (pmove.origin, end); in PM_FlyMove() 137 if (trace.startsolid || trace.allsolid) in PM_FlyMove() 143 if (trace.fraction > 0) in PM_FlyMove() 145 VectorCopy (trace.endpos, pmove.origin); in PM_FlyMove() 149 if (trace.fraction == 1) in PM_FlyMove() 153 pmove.touchindex[pmove.numtouch] = trace.ent; in PM_FlyMove() 156 if (trace.plane.normal[2] > 0.7) in PM_FlyMove() 160 if (!trace.plane.normal[2]) in PM_FlyMove() 165 time_left -= time_left * trace.fraction; in PM_FlyMove() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.c | 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 = (struct wpabuf_trace *) nbuf; in wpabuf_resize() 85 buf = (struct wpabuf *) (trace + 1); in wpabuf_resize() [all …]
|
/external/quake/quake/src/WinQuake/ |
D | world.cpp | 39 trace_t trace; member 553 trace_t trace; in SV_TestEntityPosition() local 555 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, ent->u.v.origin, 0, ent); in SV_TestEntityPosition() 557 if (trace.startsolid) in SV_TestEntityPosition() 581 …ursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) in SV_RecursiveHullCheck() argument 597 trace->allsolid = false; in SV_RecursiveHullCheck() 599 trace->inopen = true; in SV_RecursiveHullCheck() 601 trace->inwater = true; in SV_RecursiveHullCheck() 604 trace->startsolid = true; in SV_RecursiveHullCheck() 630 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in SV_RecursiveHullCheck() [all …]
|
D | sv_move.cpp | 40 trace_t trace; in SV_CheckBottom() local 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); in SV_CheckBottom() 76 if (trace.fraction == 1.0) in SV_CheckBottom() 78 mid = bottom = trace.endpos[2]; in SV_CheckBottom() 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); in SV_CheckBottom() 89 if (trace.fraction != 1.0 && trace.endpos[2] > bottom) in SV_CheckBottom() 90 bottom = trace.endpos[2]; in SV_CheckBottom() 91 if (trace.fraction == 1.0 || mid - trace.endpos[2] > STEPSIZE) in SV_CheckBottom() 114 trace_t trace; in SV_movestep() local 138 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, neworg, false, ent); in SV_movestep() [all …]
|
/external/quake/quake/src/QW/server/ |
D | world.c | 39 trace_t trace; member 506 trace_t trace; in SV_TestEntityPosition() local 508 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, ent->v.origin, 0, ent); in SV_TestEntityPosition() 510 if (trace.startsolid) in SV_TestEntityPosition() 533 …ursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace) in SV_RecursiveHullCheck() argument 549 trace->allsolid = false; in SV_RecursiveHullCheck() 551 trace->inopen = true; in SV_RecursiveHullCheck() 553 trace->inwater = true; in SV_RecursiveHullCheck() 556 trace->startsolid = true; in SV_RecursiveHullCheck() 582 return SV_RecursiveHullCheck (hull, node->children[0], p1f, p2f, p1, p2, trace); in SV_RecursiveHullCheck() [all …]
|
D | sv_move.c | 40 trace_t trace; in SV_CheckBottom() local 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); in SV_CheckBottom() 76 if (trace.fraction == 1.0) in SV_CheckBottom() 78 mid = bottom = trace.endpos[2]; in SV_CheckBottom() 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); in SV_CheckBottom() 89 if (trace.fraction != 1.0 && trace.endpos[2] > bottom) in SV_CheckBottom() 90 bottom = trace.endpos[2]; in SV_CheckBottom() 91 if (trace.fraction == 1.0 || mid - trace.endpos[2] > STEPSIZE) in SV_CheckBottom() 114 trace_t trace; in SV_movestep() local 138 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, neworg, false, ent); in SV_movestep() [all …]
|
D | sv_phys.c | 247 trace_t trace; in SV_FlyMove() local 266 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, false, ent); in SV_FlyMove() 268 if (trace.allsolid) in SV_FlyMove() 274 if (trace.fraction > 0) in SV_FlyMove() 276 VectorCopy (trace.endpos, ent->v.origin); in SV_FlyMove() 281 if (trace.fraction == 1) in SV_FlyMove() 284 if (!trace.ent) in SV_FlyMove() 287 if (trace.plane.normal[2] > 0.7) in SV_FlyMove() 290 if (trace.ent->v.solid == SOLID_BSP) in SV_FlyMove() 293 ent->v.groundentity = EDICT_TO_PROG(trace.ent); in SV_FlyMove() [all …]
|
/external/chromium-trace/ |
D | README | 1 The trace-viewer directory contains code from: 3 http://trace-viewer.googlecode.com/svn/trunk/ 6 pulled. Changes should be made upstream and then pulled into the trace-viewer 12 into the git repository, and they get embedded in each trace HTML file that 15 To make development of trace-viewer code in the context of systrace easier, 17 trace-viewer development directory rather than embedding the JS and CSS in the 18 HTML. Do take advantage of this, you should check out the trace-viewer code in 19 a new directory (e.g. trace-viewer-dev) and use systrace as follows: 21 $ ./systrace.py --link-assets --asset-dir trace-viewer-dev
|
/external/libnfc-nxp/Linux_x86/ |
D | phDal4Nfc_debug.h | 15 char trace[MAX_TRACE_BUFFER]; \ 16 snprintf(trace,MAX_TRACE_BUFFER,str,arg); \ 17 phOsalNfc_DbgString(trace); \ 23 char trace[MAX_TRACE_BUFFER]; \ 24 snprintf(trace,MAX_TRACE_BUFFER,"\n\t %s:",msg); \ 25 phOsalNfc_DbgString(trace); \
|
/external/openssh/regress/ |
D | multiplex.sh | 19 trace "start master, fork to background" 27 trace "env passing over multiplexed connection" 37 trace "ssh transfer over multiplexed connection and check result" 43 trace "ssh transfer over multiplexed connection and check result" 49 trace "sftp transfer over multiplexed connection and check result" 56 trace "scp transfer over multiplexed connection and check result" 64 trace "exit status $s over multiplexed connection" 73 trace "exit status $s with early close over multiplexed connection"
|
D | agent-pkcs11.sh | 23 trace "start agent" 29 trace "generating key/cert" 39 trace "add pkcs11 key to agent" 46 trace "pkcs11 list via agent" 53 trace "pkcs11 connect via agent" 60 trace "remove pkcs11 keys" 67 trace "kill agent"
|
D | agent-timeout.sh | 8 trace "start agent" 14 trace "add keys with timeout" 22 trace "agent has $n keys" 26 trace "sleeping 2*${SSHAGENT_TIMEOUT} seconds" 34 trace "kill agent"
|
D | agent.sh | 11 trace "start agent" 21 trace "overwrite authorized keys" 46 trace "simple connect via agent" 54 trace "agent forwarding" 67 trace "delete all agent keys" 73 trace "kill agent"
|
D | forwarding.sh | 24 trace "start forwarding, fork to background" 27 trace "transfer over forwarded channels and check result" 38 trace "exit on -$d forward failure, proto $p" 67 trace "simple clear forwarding proto $p" 70 trace "clear local forward proto $p" 83 trace "clear remote forward proto $p" 98 trace "stdio forwarding proto $p"
|
/external/llvm/docs/HistoricalNotes/ |
D | 2003-06-25-Reoptimizer1.txt | 56 together to form our trace. But we do not allow more than 5 paths; if 60 exit edge from the hot trace is less than 10% of the number of 87 When we finally generate an optimized trace we first copy the code 88 into the trace cache. This leaves us with 3 copies of the code: the 89 original code, the instrumented code, and the optimized trace. The 90 optimized trace does not have instrumentation. The original code and 91 the instrumented code are modified to have a branch to the trace 97 trace cache. Then we instrument that code. The process is similar for 98 generating the final optimized trace; we copy the same basic blocks 105 original code, trace, and instrumented code. So we have to keep the [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_report.cc | 33 static ReportStack *SymbolizeStack(const StackTrace& trace); 103 static ReportStack *SymbolizeStack(const StackTrace& trace) { in SymbolizeStack() argument 104 if (trace.IsEmpty()) in SymbolizeStack() 107 for (uptr si = 0; si < trace.Size(); si++) { in SymbolizeStack() 110 bool is_last = (si == trace.Size() - 1); in SymbolizeStack() 111 ReportStack *ent = SymbolizeCode(trace.Get(si) - !is_last); in SymbolizeStack() 198 StackTrace trace; in AddThread() local 199 trace.Init(stack, ssz); in AddThread() 200 rt->stack = SymbolizeStack(trace); in AddThread() 267 StackTrace trace; in AddMutex() local [all …]
|
/external/linux-tools-perf/Documentation/ |
D | perf-script.txt | 6 perf-script - Read perf.data (created by perf record) and display trace output 19 This command reads the input file and displays the trace recorded. 23 'perf script' to see a detailed trace of the workload that was 27 summarize the raw trace data in various ways (the list of scripts is 39 trace --list' i.e. the actual script name minus any language 71 information on how to write and run your own trace scripts. 80 Display verbose dump of the trace data. 88 Display a list of available trace scripts. 92 Process trace data with the given script ([lang]:script[.ext]). 118 comm, tid, pid, time, cpu, event, trace, sym. Field [all …]
|
/external/compiler-rt/lib/msan/ |
D | msan_report.cc | 47 static void PrintStack(const uptr *trace, uptr size) { in PrintStack() argument 49 StackTrace::PrintStack(trace, size, true, flags()->strip_path_prefix, 0); in PrintStack() 69 const uptr *trace = StackDepotGet(origin, &size); in DescribeOrigin() local 72 PrintStack(trace, size); in DescribeOrigin() 79 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); in ReportSummary() 98 PrintStack(stack->trace, stack->size); in ReportUMR() 109 PrintStack(stack->trace, stack->size); in ReportExpectedUMRNotFound()
|
/external/kernel-headers/original/linux/ |
D | stacktrace.h | 10 extern void save_stack_trace(struct stack_trace *trace, 14 extern void print_stack_trace(struct stack_trace *trace, int spaces); 16 # define save_stack_trace(trace, task, all, skip) do { } while (0) argument 17 # define print_stack_trace(trace) do { } while (0) argument
|
/external/chromium/base/debug/ |
D | stack_trace_unittest.cc | 24 StackTrace trace; in TEST() local 28 trace.OutputToStream(&os); in TEST() 39 trace.Addresses(&frames_found); in TEST() 105 StackTrace trace; in TEST() local 107 trace.OutputToStream(&os); in TEST()
|