Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_fetch_add.pass.cpp43 std::atomic_init(&t, T(1)); in operator ()()
50 std::atomic_init(&t, T(1)); in operator ()()
64 std::atomic_init(&t, T(1*sizeof(X))); in testp()
72 std::atomic_init(&t, T(1*sizeof(X))); in testp()
Datomic_fetch_sub.pass.cpp43 std::atomic_init(&t, T(3)); in operator ()()
50 std::atomic_init(&t, T(3)); in operator ()()
64 std::atomic_init(&t, T(3*sizeof(X))); in testp()
72 std::atomic_init(&t, T(3*sizeof(X))); in testp()
Datomic_fetch_add_explicit.pass.cpp43 std::atomic_init(&t, T(1)); in operator ()()
51 std::atomic_init(&t, T(1)); in operator ()()
67 std::atomic_init(&t, T(1*sizeof(X))); in testp()
76 std::atomic_init(&t, T(1*sizeof(X))); in testp()
Datomic_fetch_sub_explicit.pass.cpp44 std::atomic_init(&t, T(3)); in operator ()()
52 std::atomic_init(&t, T(3)); in operator ()()
67 std::atomic_init(&t, T(3*sizeof(X))); in testp()
76 std::atomic_init(&t, T(3*sizeof(X))); in testp()
Datomic_init.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
37 std::atomic_init(&vt, T(2)); in operator ()()
Datomic_load.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
37 std::atomic_init(&vt, T(2)); in operator ()()
Datomic_load_explicit.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
37 std::atomic_init(&vt, T(2)); in operator ()()
Datomic_exchange.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
38 std::atomic_init(&vt, T(3)); in operator ()()
Datomic_fetch_and.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
41 std::atomic_init(&t, T(3)); in operator ()()
Datomic_fetch_xor.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
41 std::atomic_init(&t, T(3)); in operator ()()
Datomic_exchange_explicit.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
39 std::atomic_init(&vt, T(3)); in operator ()()
Datomic_fetch_or.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
41 std::atomic_init(&t, T(3)); in operator ()()
Datomic_fetch_or_explicit.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
42 std::atomic_init(&t, T(3)); in operator ()()
Datomic_fetch_xor_explicit.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
42 std::atomic_init(&t, T(3)); in operator ()()
Datomic_fetch_and_explicit.pass.cpp34 std::atomic_init(&t, T(1)); in operator ()()
42 std::atomic_init(&t, T(3)); in operator ()()
Datomic_compare_exchange_strong.pass.cpp36 std::atomic_init(&a, t); in operator ()()
48 std::atomic_init(&a, t); in operator ()()
Datomic_compare_exchange_weak.pass.cpp37 std::atomic_init(&a, t); in operator ()()
49 std::atomic_init(&a, t); in operator ()()
Datomic_compare_exchange_weak_explicit.pass.cpp41 std::atomic_init(&a, t); in operator ()()
55 std::atomic_init(&a, t); in operator ()()
Datomic_compare_exchange_strong_explicit.pass.cpp39 std::atomic_init(&a, t); in operator ()()
53 std::atomic_init(&a, t); in operator ()()
/external/libcxx/test/std/atomics/atomics.types.generic/
Dbool.pass.cpp67 std::atomic_init(&obj, false); in main()
69 std::atomic_init(&obj, true); in main()
122 std::atomic_init(&obj, false); in main()
124 std::atomic_init(&obj, true); in main()
177 std::atomic_init(&obj, false); in main()
179 std::atomic_init(&obj, true); in main()
Daddress.pass.cpp89 std::atomic_init(&obj, T(1)); in do_test()
91 std::atomic_init(&obj, T(2)); in do_test()
Dintegral.pass.cpp103 std::atomic_init(&obj, T(1)); in do_test()
105 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.c216 atomic_init(&n, 456); in f()
217 atomic_init(&n, (void*)0); // expected-warning {{passing 'void *' to parameter of type 'int'}} in f()
220 atomic_init(&cawt, L'x'); // expected-error {{non-const}} in f()
222 atomic_init(&awt, L'x'); in f()
/external/clang/lib/Headers/
Dstdatomic.h57 #define atomic_init __c11_atomic_init macro

12