Home
last modified time | relevance | path

Searched refs:atomic_init (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_fetch_add.pass.cpp42 std::atomic_init(&t, T(1)); in test()
49 std::atomic_init(&t, T(1)); in test()
63 std::atomic_init(&t, T(1*sizeof(X))); in testp()
71 std::atomic_init(&t, T(1*sizeof(X))); in testp()
Datomic_fetch_sub.pass.cpp42 std::atomic_init(&t, T(3)); in test()
49 std::atomic_init(&t, T(3)); in test()
63 std::atomic_init(&t, T(3*sizeof(X))); in testp()
71 std::atomic_init(&t, T(3*sizeof(X))); in testp()
Datomic_fetch_sub_explicit.pass.cpp43 std::atomic_init(&t, T(3)); in test()
51 std::atomic_init(&t, T(3)); in test()
66 std::atomic_init(&t, T(3*sizeof(X))); in testp()
75 std::atomic_init(&t, T(3*sizeof(X))); in testp()
Datomic_fetch_add_explicit.pass.cpp42 std::atomic_init(&t, T(1)); in test()
50 std::atomic_init(&t, T(1)); in test()
65 std::atomic_init(&t, T(1*sizeof(X))); in testp()
74 std::atomic_init(&t, T(1*sizeof(X))); in testp()
Datomic_fetch_and.pass.cpp33 std::atomic_init(&t, T(1)); in test()
40 std::atomic_init(&t, T(3)); in test()
Datomic_fetch_or.pass.cpp33 std::atomic_init(&t, T(1)); in test()
40 std::atomic_init(&t, T(3)); in test()
Datomic_fetch_xor.pass.cpp33 std::atomic_init(&t, T(1)); in test()
40 std::atomic_init(&t, T(3)); in test()
Datomic_init.pass.cpp33 std::atomic_init(&t, T(1)); in test()
36 std::atomic_init(&vt, T(2)); in test()
Datomic_fetch_or_explicit.pass.cpp33 std::atomic_init(&t, T(1)); in test()
41 std::atomic_init(&t, T(3)); in test()
Datomic_fetch_and_explicit.pass.cpp33 std::atomic_init(&t, T(1)); in test()
41 std::atomic_init(&t, T(3)); in test()
Datomic_fetch_xor_explicit.pass.cpp33 std::atomic_init(&t, T(1)); in test()
41 std::atomic_init(&t, T(3)); in test()
Datomic_load.pass.cpp33 std::atomic_init(&t, T(1)); in test()
36 std::atomic_init(&vt, T(2)); in test()
Datomic_load_explicit.pass.cpp33 std::atomic_init(&t, T(1)); in test()
36 std::atomic_init(&vt, T(2)); in test()
Datomic_exchange.pass.cpp33 std::atomic_init(&t, T(1)); in test()
37 std::atomic_init(&vt, T(3)); in test()
Datomic_exchange_explicit.pass.cpp33 std::atomic_init(&t, T(1)); in test()
38 std::atomic_init(&vt, T(3)); in test()
Datomic_compare_exchange_weak.pass.cpp37 std::atomic_init(&a, t); in test()
49 std::atomic_init(&a, t); in test()
Datomic_compare_exchange_strong.pass.cpp35 std::atomic_init(&a, t); in test()
47 std::atomic_init(&a, t); in test()
Datomic_compare_exchange_weak_explicit.pass.cpp40 std::atomic_init(&a, t); in test()
54 std::atomic_init(&a, t); in test()
Datomic_compare_exchange_strong_explicit.pass.cpp38 std::atomic_init(&a, t); in test()
52 std::atomic_init(&a, t); in test()
/external/libcxx/test/std/atomics/atomics.types.generic/
Dbool.pass.cpp65 std::atomic_init(&obj, false); in main()
67 std::atomic_init(&obj, true); in main()
120 std::atomic_init(&obj, false); in main()
122 std::atomic_init(&obj, true); in main()
175 std::atomic_init(&obj, false); in main()
177 std::atomic_init(&obj, true); in main()
Daddress.pass.cpp87 std::atomic_init(&obj, T(1)); in do_test()
89 std::atomic_init(&obj, T(2)); in do_test()
Dintegral.pass.cpp101 std::atomic_init(&obj, T(1)); in do_test()
103 std::atomic_init(&obj, T(2)); in do_test()
/external/clang/test/CodeGenCXX/
Datomicinit.cpp32 void atomic_init(A& a, int i) { in atomic_init() function
/external/clang/test/Sema/
Datomic-ops.c207 atomic_init(&n, 456); in f()
208 atomic_init(&n, (void*)0); // expected-warning {{passing 'void *' to parameter of type 'int'}} in f()
211 atomic_init(&cawt, L'x'); // expected-error {{non-const}} in f()
213 atomic_init(&awt, L'x'); in f()
/external/clang/lib/Headers/
Dstdatomic.h57 #define atomic_init __c11_atomic_init macro

12