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

Lines Matching refs:pthread_once

28 atf_test_case pthread_once
30 atf_set "descr" "compile and run std::pthread_once"
36 atf_set "descr" "compile and run std::pthread_once with profiling option"
42 atf_set "descr" "compile and run PIC std::pthread_once"
48 atf_set "descr" "compile and run 32-bit PIC std::pthread_once"
54 atf_set "descr" "compile and run PIC std::pthread_once with profiling &flag"
60 atf_set "descr" "compile and run 32-bit PIC std::pthread_once with profiling &flag"
66 atf_set "descr" "compile and run 32-bit std::pthread_once with profiling &flag"
72 atf_set "descr" "compile and run position independent (PIE) std::pthread_once"
78 atf_set "descr" "compile and run std::pthread_once for/in netbsd32 emulation"
84 atf_set "descr" "compile and run std::pthread_once with static &flag"
94 pthread_once(&flag, [](){ printf("hello, world!\n"); });
98 atf_check -s exit:0 -o ignore -e ignore c++ -o pthread_once test.cpp -pthread
99 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
114 pthread_once(&flag, [](){ printf("hello, world!\n"); });
118 atf_check -s exit:0 -o ignore -e ignore c++ -static -pg -o pthread_once test.cpp -pthread
119 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
146 pthread_once(&flag, [](){ printf("hello, world!\n"); });
150 atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o pthread_once test.cpp -pthread
151 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
165 pthread_once(&flag, [](){ printf("hello, world!\n"); });
173 c++ -o pthread_once test.cpp -L. -ltest -pthread
176 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
202 pthread_once(&flag, [](){ printf("hello, world!\n"); });
210 c++ -m32 -o pthread_once test.cpp -L. -ltest -pthread
213 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
233 pthread_once(&flag, [](){ printf("hello, world!\n"); });
241 c++ -pg -o pthread_once test.cpp -L. -ltest -pthread
244 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
276 pthread_once(&flag, [](){ printf("hello, world!\n"); });
284 c++ -m32 -pg -o pthread_once test.cpp -L. -ltest -pthread
287 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
300 pthread_once(&flag, [](){ printf("hello, world!\n"); });
304 atf_check -s exit:0 -o ignore -e ignore c++ -fpie -pie -o pthread_once test.cpp -pthread
305 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
326 pthread_once(&flag, [](){ printf("hello, world!\n"); });
349 pthread_once(&flag, [](){ printf("hello, world!\n"); });
353 atf_check -s exit:0 -o ignore -e ignore c++ -o pthread_once -m32 -pthread \
355 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
364 pthread_once(&flag, [](){ printf("hello, world!\n"); });
368 atf_check -s exit:0 -o ignore -e ignore c++ -static -o pthread_once test.cpp -pthread
369 atf_check -s exit:0 -o inline:"hello, world!\n" ./pthread_once
375 atf_add_test_case pthread_once