Lines Matching defs:st
14 // explicit stop_callback(const stop_token& st, C&& cb)
61 const std::stop_token st = ss.get_token();
65 std::stop_callback sc(st, [&] { called = true; });
72 const std::stop_token st = ss.get_token();
75 std::stop_callback sc(st, [&] { called = true; });
84 std::stop_token st;
86 std::stop_callback sc(st, [&] { called = true; });
93 const std::stop_token st = ss.get_token();
96 std::stop_callback sc(st, [&] { ++calledTimes; });
112 const std::stop_token st = ss.get_token();
116 std::stop_callback sc(st, [&] {
128 std::stop_callback sc2(st, [&] { secondCallbackCalled = true; });
140 const std::stop_token st = ss.get_token();
147 std::stop_callback sc{st, [&] { callbackCalledTimes.fetch_add(1, std::memory_order_relaxed); }};
183 const std::stop_token st = ss.get_token();
187 st, CBWithTracking{lvalueCalled, lvalueConstCalled, rvalueCalled, rvalueConstCalled});
198 const std::stop_token st = ss.get_token();
202 st, CBWithTracking{lvalueCalled, lvalueConstCalled, rvalueCalled, rvalueConstCalled});
213 const std::stop_token st = ss.get_token();
216 std::stop_callback<CBWithTracking&> sc(st, cb);
227 const std::stop_token st = ss.get_token();
230 std::stop_callback<const CBWithTracking&> sc(st, cb);