/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_fetch_add.pass.cpp | 43 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()
|
D | atomic_fetch_sub.pass.cpp | 43 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()
|
D | atomic_fetch_add_explicit.pass.cpp | 43 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()
|
D | atomic_fetch_sub_explicit.pass.cpp | 44 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()
|
D | atomic_init.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 37 std::atomic_init(&vt, T(2)); in operator ()()
|
D | atomic_load.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 37 std::atomic_init(&vt, T(2)); in operator ()()
|
D | atomic_load_explicit.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 37 std::atomic_init(&vt, T(2)); in operator ()()
|
D | atomic_exchange.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 38 std::atomic_init(&vt, T(3)); in operator ()()
|
D | atomic_fetch_or.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 41 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_exchange_explicit.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 39 std::atomic_init(&vt, T(3)); in operator ()()
|
D | atomic_fetch_xor.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 41 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_fetch_and.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 41 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_fetch_and_explicit.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 42 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_fetch_xor_explicit.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 42 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_fetch_or_explicit.pass.cpp | 34 std::atomic_init(&t, T(1)); in operator ()() 42 std::atomic_init(&t, T(3)); in operator ()()
|
D | atomic_compare_exchange_weak.pass.cpp | 37 std::atomic_init(&a, t); in operator ()() 49 std::atomic_init(&a, t); in operator ()()
|
D | atomic_compare_exchange_strong.pass.cpp | 36 std::atomic_init(&a, t); in operator ()() 48 std::atomic_init(&a, t); in operator ()()
|
D | atomic_compare_exchange_weak_explicit.pass.cpp | 41 std::atomic_init(&a, t); in operator ()() 55 std::atomic_init(&a, t); in operator ()()
|
D | atomic_compare_exchange_strong_explicit.pass.cpp | 39 std::atomic_init(&a, t); in operator ()() 53 std::atomic_init(&a, t); in operator ()()
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 67 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()
|
D | address.pass.cpp | 89 std::atomic_init(&obj, T(1)); in do_test() 91 std::atomic_init(&obj, T(2)); in do_test()
|
D | integral.pass.cpp | 103 std::atomic_init(&obj, T(1)); in do_test() 105 std::atomic_init(&obj, T(2)); in do_test()
|
/external/clang/test/CodeGenCXX/ |
D | atomicinit.cpp | 32 void atomic_init(A& a, int i) { in atomic_init() function
|
/external/clang/test/Sema/ |
D | atomic-ops.c | 216 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/ |
D | stdatomic.h | 57 #define atomic_init __c11_atomic_init macro
|