Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/stack/stack.cons/
H A Ddeduct.pass.cpp42 std::stack stk(v); in main() local
45 assert(stk.size() == v.size()); in main()
46 assert(stk.top() == v.back()); in main()
54 assert(stk.size() == 10); in main()
55 assert(stk.top() == 19); in main()
69 std::stack stk(source); // stack(stack &) in main() local
72 assert(stk.size() == 0); in main()
85 std::stack stk(cont, Alloc(2)); in main() local
91 std::stack stk(cont, ConvertibleToAlloc(2)); in main() local
97 std::stack stk(std::move(cont), Alloc(2)); in main() local
[all …]
H A Ddeduct.fail.cpp31 …std::stack stk(std::list<int>({1,2,3}), 45); // expected-error {{no viable constructor or deducti… in main()
38 …std::stack stk(source, 45); // expected-error {{no viable constructor or deduction guide for dedu… in main() local
44 …std::stack stk((std::allocator<int>())); // expected-error {{no viable constructor or deduction g… in main()
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_trace_test.cpp93 VarSizeStackTrace stk; in TRACE_TEST() local
101 CHECK_EQ(stk.size, 3); in TRACE_TEST()
102 CHECK_EQ(stk.trace[0], 0x1000); in TRACE_TEST()
103 CHECK_EQ(stk.trace[1], 0x1002); in TRACE_TEST()
104 CHECK_EQ(stk.trace[2], 0x2002); in TRACE_TEST()
153 VarSizeStackTrace stk; in TRACE_TEST() local
162 CHECK_EQ(stk.size, 2); in TRACE_TEST()
181 VarSizeStackTrace stk; in TRACE_TEST() local
188 CHECK_EQ(stk.size, 2); in TRACE_TEST()
224 VarSizeStackTrace stk; in TRACE_TEST() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector.h59 bool addLock(uptr lock_id, uptr current_epoch, u32 stk) { in addLock() argument
70 LockWithContext l = {lock_id_short, stk}; in addLock()
102 return all_locks_with_contexts_[i].stk; in findLockContext()
121 u32 stk; member
216 dtls->addLock(cur_idx, current_epoch_, stk);
240 uptr addEdges(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk, in addEdges() argument
250 dtls->findLockContext(added_edges[i]), stk, in addEdges()
278 addEdges(dtls, cur_node, stk, 0);
279 onLockAfter(dtls, cur_node, stk);
291 dtls->addLock(cur_idx, current_epoch_, stk);
[all …]
H A Dsanitizer_deadlock_detector1.cpp94 m->stk = cb->Unwind(); in MutexInit()
147 rep->loop[i].stk[0] = stk_to; in ReportDeadlock()
148 rep->loop[i].stk[1] = stk_from; in ReportDeadlock()
154 u32 stk = 0; in MutexAfterLock() local
156 stk = cb->Unwind(); in MutexAfterLock()
158 if (dd.onFirstLock(&lt->dd, m->id, stk)) in MutexAfterLock()
160 if (dd.onLockFast(&lt->dd, m->id, stk)) in MutexAfterLock()
168 dd.addEdges(&lt->dd, m->id, stk ? stk : cb->Unwind(), cb->UniqueTid()); in MutexAfterLock()
169 dd.onLockAfter(&lt->dd, m->id, stk); in MutexAfterLock()
H A Dsanitizer_deadlock_detector_interface.h37 u32 stk; // creation stack member
59 u32 stk[2]; // stack ids for the edge member
H A Dsanitizer_deadlock_detector2.cpp67 u32 stk; member
209 tm->stk = cb->Unwind(); in MutexBeforeLock()
220 u32 stk1 = lt->locked[i].stk; in MutexBeforeLock()
296 tm->stk = cb->Unwind(); in MutexAfterLock()
407 rep->loop[i].stk[0] = flags.second_deadlock_stack ? link->stk0 : 0; in Report()
408 rep->loop[i].stk[1] = link->stk1; in Report()
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp31 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace() argument
32 StackTrace stack = StackDepotGet(stk); in PrintStackTrace()
47 PrintStackTrace(thr, rep->loop[i].stk[1]); in ReportDeadlock()
48 if (rep->loop[i].stk[0]) { in ReportDeadlock()
51 PrintStackTrace(thr, rep->loop[i].stk[0]); in ReportDeadlock()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DDWARFLocationExpression.cpp79 SimpleTypeKind stk = ti.getSimpleKind(); in GetIntegralTypeInfo() local
80 return {GetTypeSizeForSimpleKind(stk), IsSimpleTypeSignedInteger(stk)}; in GetIntegralTypeInfo()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cpp534 rep.AddMutex(r->loop[i].mtx_ctx0, r->loop[i].stk[0]); in ReportDeadlock()
541 u32 stk = r->loop[i].stk[j]; in ReportDeadlock() local
542 if (stk && stk != kInvalidStackID) { in ReportDeadlock()
543 rep.AddStack(StackDepotGet(stk), true); in ReportDeadlock()
H A Dtsan_defs.h186 StackID stk; member
H A Dtsan_rtl_access.cpp106 StackID stk) { in TraceMutexLock() argument
115 ev.stack_lo = stk; in TraceMutexLock()
116 ev.stack_hi = stk >> EventLock::kStackIDLoBits; in TraceMutexLock()
H A Dtsan_sync.cpp53 b->stk = CurrentStackId(thr, pc); in AllocBlock()
H A Dtsan_debugging.cpp258 StackTrace stack = StackDepotGet(b->stk); in __tsan_get_alloc_stack()
H A Dtsan_rtl.h759 StackID stk);
H A Dtsan_rtl_report.cpp313 loc->stack = SymbolizeStackId(b->stk); in AddLocation()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_mutex.cpp542 u32 stk = r->loop[i].stk[j]; in ReportDeadlock() local
543 if (stk && stk != 0xffffffff) { in ReportDeadlock()
544 rep.AddStack(StackDepotGet(stk), true); in ReportDeadlock()
H A Dtsan_rtl_access.cpp96 StackID stk) { in TraceMutexLock() argument
105 ev.stack_lo = stk; in TraceMutexLock()
106 ev.stack_hi = stk >> EventLock::kStackIDLoBits; in TraceMutexLock()
H A Dtsan_defs.h207 StackID stk; member
H A Dtsan_rtl_report.cpp353 loc->stack = SymbolizeStackId(b->stk); in AddLocation()
390 void RestoreStack(Tid tid, const u64 epoch, VarSizeStackTrace *stk, in RestoreStack() argument
449 stk->Init(&stack[0], pos); in RestoreStack()
450 ExtractTagFromStack(stk, tag); in RestoreStack()
H A Dtsan_debugging.cpp258 StackTrace stack = StackDepotGet(b->stk); in __tsan_get_alloc_stack()
H A Dtsan_sync.cpp65 b->stk = CurrentStackId(thr, pc); in AllocBlock()
H A Dtsan_rtl.h392 void RestoreStack(Tid tid, const u64 epoch, VarSizeStackTrace *stk,
745 StackID stk);
/llvm-project-15.0.7/compiler-rt/lib/tsan/go/
H A Dtsan_go.cpp107 loc->stack = SymbolizeStackId(b->stk); in SymbolizeData()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_itt.inl942 KMP_ITT_DEBUG_PRINT("[stk cre] %p\n", id);
953 KMP_ITT_DEBUG_PRINT("[stk des] %p\n", id);
963 KMP_ITT_DEBUG_PRINT("[stk ent] %p\n", id);
973 KMP_ITT_DEBUG_PRINT("[stk lea] %p\n", id);