Home | History | Annotate | Download | only in c++

Lines Matching refs:std

30 	atf_set "descr" "compile and run std::call_once"
37 atf_set "descr" "compile and run std::call_once with profiling option"
44 atf_set "descr" "compile and run PIC std::call_once"
51 atf_set "descr" "compile and run 32-bit PIC std::call_once"
58 atf_set "descr" "compile and run PIC std::call_once with profiling flag"
65 atf_set "descr" "compile and run 32-bit PIC std::call_once with profiling flag"
72 atf_set "descr" "compile and run 32-bit std::call_once with profiling flag"
79 atf_set "descr" "compile and run position independent (PIE) std::call_once"
86 atf_set "descr" "compile and run std::call_once for/in netbsd32 emulation"
93 atf_set "descr" "compile and run std::call_once with static flag"
103 std::once_flag flag, flag_throw;
104 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
105 void throw_once(void) { throw std::exception(); }
108 std::thread threads[nr_threads];
111 threads[i] = std::thread(print_once);
118 std::call_once(flag_throw, throw_once);
120 std::cout << "world!" << std::endl;
135 std::once_flag flag, flag_throw;
136 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
137 void throw_once(void) { throw std::exception(); }
140 std::thread threads[nr_threads];
143 threads[i] = std::thread(print_once);
150 std::call_once(flag_throw, throw_once);
152 std::cout << "world!" << std::endl;
179 std::once_flag flag, flag_throw;
180 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
181 void throw_once(void) { throw std::exception(); }
184 std::thread threads[nr_threads];
187 threads[i] = std::thread(print_once);
194 std::call_once(flag_throw, throw_once);
196 std::cout << "world!" << std::endl;
216 std::once_flag flag, flag_throw;
217 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
218 void throw_once(void) { throw std::exception(); }
221 std::thread threads[nr_threads];
224 threads[i] = std::thread(print_once);
231 std::call_once(flag_throw, throw_once);
233 std::cout << "world!" << std::endl;
270 std::once_flag flag, flag_throw;
271 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
272 void throw_once(void) { throw std::exception(); }
275 std::thread threads[nr_threads];
278 threads[i] = std::thread(print_once);
285 std::call_once(flag_throw, throw_once);
287 std::cout << "world!" << std::endl;
313 std::once_flag flag, flag_throw;
314 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
315 void throw_once(void) { throw std::exception(); }
318 std::thread threads[nr_threads];
321 threads[i] = std::thread(print_once);
328 std::call_once(flag_throw, throw_once);
330 std::cout << "world!" << std::endl;
368 std::once_flag flag, flag_throw;
369 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
370 void throw_once(void) { throw std::exception(); }
373 std::thread threads[nr_threads];
376 threads[i] = std::thread(print_once);
383 std::call_once(flag_throw, throw_once);
385 std::cout << "world!" << std::endl;
409 std::once_flag flag, flag_throw;
410 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
411 void throw_once(void) { throw std::exception(); }
414 std::thread threads[nr_threads];
417 threads[i] = std::thread(print_once);
424 std::call_once(flag_throw, throw_once);
426 std::cout << "world!" << std::endl;
452 std::once_flag flag, flag_throw;
453 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
454 void throw_once(void) { throw std::exception(); }
457 std::thread threads[nr_threads];
460 threads[i] = std::thread(print_once);
467 std::call_once(flag_throw, throw_once);
469 std::cout << "world!" << std::endl;
492 std::once_flag flag, flag_throw;
493 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
494 void throw_once(void) { throw std::exception(); }
497 std::thread threads[nr_threads];
500 threads[i] = std::thread(print_once);
507 std::call_once(flag_throw, throw_once);
509 std::cout << "world!" << std::endl;
524 std::once_flag flag, flag_throw;
525 void print_once(void) { std::call_once(flag, [](){ std::cout << "hello, " << std::flush; }); }
526 void throw_once(void) { throw std::exception(); }
529 std::thread threads[nr_threads];
532 threads[i] = std::thread(print_once);
539 std::call_once(flag_throw, throw_once);
541 std::cout << "world!" << std::endl;