Searched refs:atomic_int (Results 1 – 12 of 12) sorted by relevance
3 typedef _Atomic(int) atomic_int; typedef4 typedef _Atomic int atomic_int; typedef5 typedef _Atomic _Atomic _Atomic(int) atomic_int; // expected-warning {{duplicate '_Atomic' declarat… typedef9 typedef const atomic_int const_atomic_int;
13 atomic_int i;29 // expected-error@-16 {{use of undeclared identifier 'atomic_int'}}59 void foo(atomic_int * ptr) {}61 atomic_int i;64 …i++; // expected-error {{invalid argument type 'atomic_int' (aka '_Atomic(int)') to unary expressi…66 …i += 1; // expected-error {{invalid operands to binary expression ('atomic_int' (aka '_Atomic(int)…67 …ted-error {{invalid operands to binary expression ('atomic_int' (aka '_Atomic(int)') and 'atomic_i…
91 std::atomic_int checked_in{0}; in TEST_F()106 static void TestFunc(std::atomic_int &checked_in, int i) { checked_in += i; } in TestFunc()111 std::atomic_int checked_in{0}; in TEST_F()124 std::atomic_int i{0}; in TEST_F()139 std::atomic_int i{0}; in TEST_F()155 std::atomic_int checked_in{0}; in TEST_F()
35 int fi1c(atomic_int *i) { in fi1c()60 void fi2c(atomic_int *i) { in fi2c()102 int fi3e(atomic_int *i) { in fi3e()151 _Bool fi4c(atomic_int *i) { in fi4c()
176 test<std::atomic_int, int>(); in main()193 test<volatile std::atomic_int, int>(); in main()
39 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), ""); in main()
44 atomic_int ref;
97 typedef _Atomic(int) atomic_int; typedef
325 set(atomic_int OFF) variable337 set(atomic_int ON) variable340 set(atomic_int ON) variable347 set (DBUS_HAVE_ATOMIC_INT ${atomic_int} CACHE STRING "Some atomic integer implementation present")
42 _Static_assert(atomic_is_lock_free((atomic_int*)0), "");206 atomic_int n = ATOMIC_VAR_INIT(123); in f()
439 std::atomic_int in_use;
483 typedef atomic<int> atomic_int;1744 typedef atomic<int> atomic_int;