Lines Matching refs:call_once
28 atf_test_case call_once
30 atf_set "descr" "compile and run std::call_once"
36 atf_set "descr" "compile and run std::call_once with profiling option"
42 atf_set "descr" "compile and run PIC std::call_once"
48 atf_set "descr" "compile and run 32-bit PIC std::call_once"
54 atf_set "descr" "compile and run PIC std::call_once with profiling flag"
60 atf_set "descr" "compile and run 32-bit PIC std::call_once with profiling flag"
66 atf_set "descr" "compile and run 32-bit std::call_once with profiling flag"
72 atf_set "descr" "compile and run position independent (PIE) std::call_once"
78 atf_set "descr" "compile and run std::call_once for/in netbsd32 emulation"
84 atf_set "descr" "compile and run std::call_once with static flag"
95 std::call_once(flag, [](){ printf("hello, world!\n"); });
99 atf_check -s exit:0 -o ignore -e ignore c++ -o call_once test.cpp -pthread
100 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
116 std::call_once(flag, [](){ printf("hello, world!\n"); });
120 atf_check -s exit:0 -o ignore -e ignore c++ -static -pg -o call_once test.cpp -pthread
121 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
149 std::call_once(flag, [](){ printf("hello, world!\n"); });
153 atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o call_once test.cpp -pthread
154 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
169 std::call_once(flag, [](){ printf("hello, world!\n"); });
177 c++ -o call_once test.cpp -L. -ltest -pthread
180 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
207 std::call_once(flag, [](){ printf("hello, world!\n"); });
215 c++ -m32 -o call_once test.cpp -L. -ltest -pthread
218 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
239 std::call_once(flag, [](){ printf("hello, world!\n"); });
247 c++ -pg -o call_once test.cpp -L. -ltest -pthread
250 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
283 std::call_once(flag, [](){ printf("hello, world!\n"); });
291 c++ -m32 -pg -o call_once test.cpp -L. -ltest -pthread
294 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
308 std::call_once(flag, [](){ printf("hello, world!\n"); });
312 atf_check -s exit:0 -o ignore -e ignore c++ -fpie -pie -o call_once test.cpp -pthread
313 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
335 std::call_once(flag, [](){ printf("hello, world!\n"); });
359 std::call_once(flag, [](){ printf("hello, world!\n"); });
363 atf_check -s exit:0 -o ignore -e ignore c++ -o call_once -m32 -pthread \
365 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
375 std::call_once(flag, [](){ printf("hello, world!\n"); });
379 atf_check -s exit:0 -o ignore -e ignore c++ -static -o call_once test.cpp -pthread
380 atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
386 atf_add_test_case call_once