Lines Matching defs:L2
12 // template <class L1, class L2, class... L3>
13 // void lock(L1&, L2&, L3&...);
64 class L2
69 L2() : locked_(false) {}
112 L2 l1;
125 L2 l0;
140 L2 l1;
153 L2 l0;
167 L2 l0;
168 L2 l1;
184 L0 l2;
185 std::lock(l0, l1, l2);
188 assert(l2.locked());
191 L2 l0;
192 L2 l1;
193 L2 l2;
196 std::lock(l0, l1, l2);
203 assert(!l2.locked());
209 L1 l2;
210 std::lock(l0, l1, l2);
213 assert(l2.locked());
218 L0 l2;
219 std::lock(l0, l1, l2);
222 assert(l2.locked());
227 L0 l2;
228 std::lock(l0, l1, l2);
231 assert(l2.locked());
236 L2 l2;
239 std::lock(l0, l1, l2);
246 assert(!l2.locked());
251 L2 l1;
252 L0 l2;
255 std::lock(l0, l1, l2);
262 assert(!l2.locked());
266 L2 l0;
268 L0 l2;
271 std::lock(l0, l1, l2);
278 assert(!l2.locked());
282 L2 l0;
283 L2 l1;
284 L0 l2;
287 std::lock(l0, l1, l2);
294 assert(!l2.locked());
298 L2 l0;
300 L2 l2;
303 std::lock(l0, l1, l2);
310 assert(!l2.locked());
315 L2 l1;
316 L2 l2;
319 std::lock(l0, l1, l2);
326 assert(!l2.locked());
330 L2 l0;
331 L2 l1;
332 L1 l2;
335 std::lock(l0, l1, l2);
342 assert(!l2.locked());
346 L2 l0;
348 L2 l2;
351 std::lock(l0, l1, l2);
358 assert(!l2.locked());
363 L2 l1;
364 L2 l2;
367 std::lock(l0, l1, l2);
374 assert(!l2.locked());
380 L0 l2;
382 std::lock(l0, l1, l2, l3);
385 assert(l2.locked());
391 L0 l2;
393 std::lock(l0, l1, l2, l3);
396 assert(l2.locked());
402 L1 l2;
404 std::lock(l0, l1, l2, l3);
407 assert(l2.locked());
413 L0 l2;
415 std::lock(l0, l1, l2, l3);
418 assert(l2.locked());
424 L0 l2;
426 std::lock(l0, l1, l2, l3);
429 assert(l2.locked());
435 L0 l2;
436 L2 l3;
439 std::lock(l0, l1, l2, l3);
446 assert(!l2.locked());
453 L2 l2;
457 std::lock(l0, l1, l2, l3);
464 assert(!l2.locked());
470 L2 l1;
471 L0 l2;
475 std::lock(l0, l1, l2, l3);
482 assert(!l2.locked());
487 L2 l0;
489 L0 l2;
493 std::lock(l0, l1, l2, l3);
500 assert(!l2.locked());